diff --git a/input/drivers/udev_input.c b/input/drivers/udev_input.c index 6b9492a8f2..b139e2cb8e 100644 --- a/input/drivers/udev_input.c +++ b/input/drivers/udev_input.c @@ -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)