mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
commit
ae35484eea
@ -1438,6 +1438,8 @@ static int16_t android_input_state(void *data,
|
|||||||
|
|
||||||
switch (device)
|
switch (device)
|
||||||
{
|
{
|
||||||
|
case RETRO_DEVICE_KEYBOARD:
|
||||||
|
return (id < RETROK_LAST) && BIT_GET(android_keyboard_state_get(ANDROID_KEYBOARD_PORT), rarch_keysym_lut[id]);
|
||||||
case RETRO_DEVICE_JOYPAD:
|
case RETRO_DEVICE_JOYPAD:
|
||||||
ret = input_joypad_pressed(android->joypad, joypad_info,
|
ret = input_joypad_pressed(android->joypad, joypad_info,
|
||||||
port, binds[port], id);
|
port, binds[port], id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user