MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / inputdevice_do_kb_reset

Function inputdevice_do_kb_reset

src/inputdevice.cpp:4741–4757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4739}
4740
4741void inputdevice_do_kb_reset(void)
4742{
4743 int mode = keyboard_reset_seq_mode;
4744 custom_reset(false, true);
4745 if (mode == 3) {
4746 if (!keyboardresetkeys()) {
4747 keyboard_reset_seq_mode = 0;
4748 keyboard_reset_seq = 0;
4749 uae_reset(0, 1);
4750 } else {
4751 cpu_inreset();
4752 keyboard_reset_seq_mode = 4;
4753 }
4754 } else {
4755 uae_reset(0, 1);
4756 }
4757}
4758
4759#ifdef AMIBERRY
4760static const int mousespeed_values[] = {2, 5, 10, 20, 40};

Callers 4

resetwarning_checkFunction · 0.85
dec_counterFunction · 0.85
keymcu3_runFunction · 0.85
keymcu_runFunction · 0.85

Calls 4

custom_resetFunction · 0.85
keyboardresetkeysFunction · 0.85
uae_resetFunction · 0.85
cpu_inresetFunction · 0.85

Tested by

no test coverage detected