mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 22:42:22 +00:00
Fixed macOS keyboard bindings in game focus mode. (#14570)
In the game focus mode the keyboard should not be remapped for joypads unless it is used for toggling the game focus mode.
This commit is contained in:
parent
9e84c89233
commit
47070a64e6
@ -424,8 +424,10 @@ static int16_t cocoa_input_state(
|
||||
if (binds[port][id].valid)
|
||||
{
|
||||
if (id < RARCH_BIND_LIST_END)
|
||||
if (apple_key_state[rarch_keysym_lut[binds[port][id].key]])
|
||||
return 1;
|
||||
if (!keyboard_mapping_blocked || (id == RARCH_GAME_FOCUS_TOGGLE))
|
||||
if (apple_key_state[rarch_keysym_lut[binds[port][id].key]])
|
||||
return 1;
|
||||
|
||||
}
|
||||
break;
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
|
Loading…
x
Reference in New Issue
Block a user