(PS3) Add optional input logging

This commit is contained in:
twinaphex 2014-01-09 23:59:00 +01:00
parent 2605951f8b
commit 83a416308c

View File

@ -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;