mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-25 18:31:14 +00:00
ignore key repeat
This commit is contained in:
parent
d20ba5d179
commit
43cb7718e6
@ -2302,6 +2302,8 @@ static void handle_events(void)
|
||||
|
||||
// Keyboard
|
||||
case SDL_KEYDOWN: {
|
||||
if (event.key.repeat)
|
||||
break;
|
||||
int code = CODE_INVALID;
|
||||
if (use_keycodes && event2keycode(event.key, true) != CODE_HOTKEY)
|
||||
code = keycode_table[event.key.keysym.scancode & 0xff];
|
||||
|
Loading…
Reference in New Issue
Block a user