mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-05 01:33:31 +00:00
Fix wayland
This commit is contained in:
parent
6d85e1f0a6
commit
cffe023085
@ -215,7 +215,7 @@ static int16_t input_wl_state(void *data,
|
||||
{
|
||||
case RETRO_DEVICE_JOYPAD:
|
||||
if (id < RARCH_BIND_LIST_END)
|
||||
return BIT_GET(wl->key_state, rarch_keysym_lut[binds[id]->key]);
|
||||
return BIT_GET(wl->key_state, rarch_keysym_lut[binds[port][id].key]);
|
||||
return input_joypad_pressed(wl->joypad, joypad_info, port, binds[port], id);
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
ret = input_wl_analog_pressed(wl, binds[port], idx, id);
|
||||
|
Loading…
Reference in New Issue
Block a user