mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
fix OSK hang in Windows because we are getting a down event for keycode 0...
This commit is contained in:
parent
b14c3970d1
commit
18cce4cfc9
@ -235,7 +235,7 @@ void input_keyboard_event(bool down, unsigned code,
|
||||
{
|
||||
static bool deferred_wait_keys;
|
||||
|
||||
if (code == RETROK_RETURN || code == RETROK_UNKNOWN)
|
||||
if (code == RETROK_RETURN || (!down && code == RETROK_UNKNOWN))
|
||||
return_pressed = down;
|
||||
|
||||
if (deferred_wait_keys)
|
||||
|
Loading…
Reference in New Issue
Block a user