mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Android) Should hopefully fix hotkey binds being mappable for
gamepad
This commit is contained in:
parent
47b17e8d65
commit
13aab06d2d
@ -1505,8 +1505,10 @@ static int16_t android_input_state(void *data,
|
||||
else if (((float)abs(android->joypad->axis(
|
||||
joypad_info.joy_idx, joyaxis)) / 0x8000) > joypad_info.axis_threshold)
|
||||
res = true;
|
||||
if (!ret && (id < RARCH_BIND_LIST_END))
|
||||
ret = android_keyboard_port_input_pressed(binds[port], id);
|
||||
if (!res)
|
||||
res = android_keyboard_port_input_pressed(binds[port], id);
|
||||
if (res)
|
||||
ret |= (1 << i);
|
||||
}
|
||||
return ret;
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
|
Loading…
x
Reference in New Issue
Block a user