mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 22:20:31 +00:00
cleanup
This commit is contained in:
parent
eef86d5f72
commit
6e2709d62a
@ -1060,14 +1060,13 @@ static int16_t udev_input_state(
|
|||||||
(binds[port][id].key < RETROK_LAST) &&
|
(binds[port][id].key < RETROK_LAST) &&
|
||||||
udev_keyboard_pressed(udev, binds[port][id].key)
|
udev_keyboard_pressed(udev, binds[port][id].key)
|
||||||
&& (( id != RARCH_GAME_FOCUS_TOGGLE)
|
&& (( id != RARCH_GAME_FOCUS_TOGGLE)
|
||||||
|| !keyboard_mapping_blocked)
|
&& !keyboard_mapping_blocked)
|
||||||
)
|
)
|
||||||
return 1;
|
return 1;
|
||||||
else if (
|
else if (
|
||||||
(binds[port][id].key < RETROK_LAST) &&
|
(binds[port][id].key < RETROK_LAST) &&
|
||||||
udev_keyboard_pressed(udev, binds[port][id].key)
|
udev_keyboard_pressed(udev, binds[port][id].key)
|
||||||
&& (( id == RARCH_GAME_FOCUS_TOGGLE)
|
&& ( id == RARCH_GAME_FOCUS_TOGGLE)
|
||||||
|| !keyboard_mapping_blocked)
|
|
||||||
)
|
)
|
||||||
return 1;
|
return 1;
|
||||||
else if (udev_mouse_button_pressed(udev, port,
|
else if (udev_mouse_button_pressed(udev, port,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user