mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
fix keyboard regression with mupen cores
This commit is contained in:
parent
26711ec0d5
commit
e067dac2a4
@ -231,7 +231,7 @@ static int16_t x_input_state(void *data,
|
||||
{
|
||||
int keycode = XKeysymToKeycode(x11->display,
|
||||
rarch_keysym_lut[(enum retro_key)binds[port][id].key]);
|
||||
ret = x11->state[keycode >> 3] & (1 << (keycode & 7));
|
||||
ret = (binds[port][id].key < RETROK_LAST) && (x11->state[keycode >> 3] & (1 << (keycode & 7)));
|
||||
if (!ret)
|
||||
ret = input_joypad_pressed(x11->joypad,
|
||||
joypad_info, port, binds[port], id);
|
||||
|
Loading…
Reference in New Issue
Block a user