This commit is contained in:
Grant 2021-06-19 08:47:35 +01:00
parent eef86d5f72
commit 6e2709d62a

View File

@ -1060,14 +1060,13 @@ static int16_t udev_input_state(
(binds[port][id].key < RETROK_LAST) &&
udev_keyboard_pressed(udev, binds[port][id].key)
&& (( id != RARCH_GAME_FOCUS_TOGGLE)
|| !keyboard_mapping_blocked)
&& !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)
|| !keyboard_mapping_blocked)
&& ( id == RARCH_GAME_FOCUS_TOGGLE)
)
return 1;
else if (udev_mouse_button_pressed(udev, port,