From cff2711a7c087edea398ae98dd245ae094bc17c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 31 Oct 2013 11:03:44 +0100 Subject: [PATCH] Add a few weird axes seen on Ouya --- input/keycodes.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/input/keycodes.h b/input/keycodes.h index 97ce3453b9..b1a396a822 100644 --- a/input/keycodes.h +++ b/input/keycodes.h @@ -282,8 +282,14 @@ enum AndroidJoystickAxis { JOYSTICK_AXIS_MOUSE_REL_X = 26, JOYSTICK_AXIS_MOUSE_REL_Y = 27, + // Getting these on Ouya, no clue what they are. + JOYSTICK_AXIS_OUYA_UNKNOWN1 = 32, + JOYSTICK_AXIS_OUYA_UNKNOWN2 = 33, + JOYSTICK_AXIS_OUYA_UNKNOWN3 = 34, + JOYSTICK_AXIS_OUYA_UNKNOWN4 = 35, + // Mobile device accelerometer/gyro - JOYSTICK_AXIS_ACCELEROMETER_X, - JOYSTICK_AXIS_ACCELEROMETER_Y, - JOYSTICK_AXIS_ACCELEROMETER_Z, + JOYSTICK_AXIS_ACCELEROMETER_X = 64, + JOYSTICK_AXIS_ACCELEROMETER_Y = 65, + JOYSTICK_AXIS_ACCELEROMETER_Z = 66, };