From 467219918c969f5f5e2f645d011c62817eb258c1 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 9 Sep 2011 21:46:37 +0000 Subject: Changed the joystick axis to key remap to start at K_JOY17 (fits better with hat_keys and K_JOY16 is used by button). --- src/sdl/sdl_input.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/sdl') diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index 08efbfa5..2e4fa000 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -584,13 +584,12 @@ static void IN_DeactivateMouse( void ) static int joy_keys[16] = { K_LEFTARROW, K_RIGHTARROW, K_UPARROW, K_DOWNARROW, - K_JOY16, K_JOY17, - K_JOY18, K_JOY19, - K_JOY20, K_JOY21, - K_JOY22, K_JOY23, - - K_JOY24, K_JOY25, - K_JOY26, K_JOY27 + K_JOY17, K_JOY18, + K_JOY19, K_JOY20, + K_JOY21, K_JOY22, + K_JOY23, K_JOY24, + K_JOY25, K_JOY26, + K_JOY27, K_JOY28 }; // translate hat events into keypresses -- cgit