(udev) Fix game focus toggle for udev input driver

This commit is contained in:
twinaphex 2018-07-15 14:20:26 +02:00
parent 98190294db
commit 13431c7cbf

View File

@ -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)
{