diff options
author | Zack Middleton <zturtleman@gmail.com> | 2011-09-09 21:46:37 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 23:37:49 +0000 |
commit | 467219918c969f5f5e2f645d011c62817eb258c1 (patch) | |
tree | b96b81adbbd94d62875775218beaf6a2b7c129b4 | |
parent | a5802640d1ecf2b7b87f1dd861b0563665bd0df3 (diff) |
Changed the joystick axis to key remap to start at K_JOY17 (fits better with hat_keys and K_JOY16 is used by button).
-rw-r--r-- | src/sdl/sdl_input.c | 13 |
1 files changed, 6 insertions, 7 deletions
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 |