mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-13 14:21:08 +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;
|
static bool deferred_wait_keys;
|
||||||
|
|
||||||
if (code == RETROK_RETURN || code == RETROK_UNKNOWN)
|
if (code == RETROK_RETURN || (!down && code == RETROK_UNKNOWN))
|
||||||
return_pressed = down;
|
return_pressed = down;
|
||||||
|
|
||||||
if (deferred_wait_keys)
|
if (deferred_wait_keys)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user