mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-08 18:36:28 +00:00
(PS3) Add optional input logging
This commit is contained in:
parent
2605951f8b
commit
83a416308c
@ -253,6 +253,7 @@ static void ps3_input_poll(void *data)
|
||||
int16_t ls_y = ((lsy - 128) * 256);
|
||||
int16_t rs_x = ((rsx - 128) * 256);
|
||||
int16_t rs_y = ((rsy - 128) * 256);
|
||||
//RARCH_LOG("lsx : %d (%hd) lsy : %d (%hd) rsx : %d (%hd) rsy : %d (%hd)\n", lsx, ls_x, lsy, ls_y, rsx, rs_x, rsy, rs_y);
|
||||
ps3->analog_state[port][RETRO_DEVICE_INDEX_ANALOG_LEFT ][RETRO_DEVICE_ID_ANALOG_X] = ls_x;
|
||||
ps3->analog_state[port][RETRO_DEVICE_INDEX_ANALOG_LEFT ][RETRO_DEVICE_ID_ANALOG_Y] = ls_y;
|
||||
ps3->analog_state[port][RETRO_DEVICE_INDEX_ANALOG_RIGHT][RETRO_DEVICE_ID_ANALOG_X] = rs_x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user