mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
(udev) Fix game focus toggle for udev input driver
This commit is contained in:
parent
98190294db
commit
13431c7cbf
@ -900,7 +900,8 @@ static bool udev_is_pressed(udev_input_t *udev,
|
||||
const struct retro_keybind *bind = &binds[id];
|
||||
|
||||
if ( (bind->key < RETROK_LAST) && udev_keyboard_pressed(udev, bind->key) )
|
||||
return true;
|
||||
if ((id == RARCH_GAME_FOCUS_TOGGLE) || !udev->blocked)
|
||||
return true;
|
||||
|
||||
if (binds && binds[id].valid)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user