mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
qnx: support analog sticks
This commit is contained in:
parent
ab34a0a34f
commit
2ff9bfb24d
@ -835,6 +835,11 @@ static int16_t qnx_input_state(void *data,
|
||||
if (qnx_is_pressed(qnx, joypad_info, binds[port], port, id))
|
||||
return true;
|
||||
break;
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
if (binds[port])
|
||||
return input_joypad_analog(qnx->joypad, joypad_info,
|
||||
port, idx, id, binds[port]);
|
||||
return 0;
|
||||
case RETRO_DEVICE_KEYBOARD:
|
||||
return qnx_keyboard_pressed(qnx, id);
|
||||
case RETRO_DEVICE_POINTER:
|
||||
|
Loading…
Reference in New Issue
Block a user