From 83a416308c977d3460f6086f0b4342d6701cb54b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 9 Jan 2014 23:59:00 +0100 Subject: [PATCH] (PS3) Add optional input logging --- ps3/ps3_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ps3/ps3_input.c b/ps3/ps3_input.c index 7dd99fdb8d..e22a587f7a 100644 --- a/ps3/ps3_input.c +++ b/ps3/ps3_input.c @@ -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;