mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
fix game focus mode
This commit is contained in:
parent
863aaa5b9d
commit
eef86d5f72
@ -1057,6 +1057,13 @@ static int16_t udev_input_state(
|
||||
if (binds[port][id].valid)
|
||||
{
|
||||
if (
|
||||
(binds[port][id].key < RETROK_LAST) &&
|
||||
udev_keyboard_pressed(udev, binds[port][id].key)
|
||||
&& (( id != RARCH_GAME_FOCUS_TOGGLE)
|
||||
|| !keyboard_mapping_blocked)
|
||||
)
|
||||
return 1;
|
||||
else if (
|
||||
(binds[port][id].key < RETROK_LAST) &&
|
||||
udev_keyboard_pressed(udev, binds[port][id].key)
|
||||
&& (( id == RARCH_GAME_FOCUS_TOGGLE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user