From cbda8cf9578da39dcc9e8cf2fbb8e15d2739a735 Mon Sep 17 00:00:00 2001 From: chrisbrasington Date: Mon, 21 Dec 2015 15:03:14 -0700 Subject: [PATCH] adds missing button for wii-u pro gamepad, right-DPAD. NKCODEs are still mismatched in linux (360 controller and wii-u pro gamepad), but they were not changed to so that a user's controls.ini will load correctly. --- SDL/SDLJoystick.h | 1 + 1 file changed, 1 insertion(+) diff --git a/SDL/SDLJoystick.h b/SDL/SDLJoystick.h index 87d350fb2f..6ee57576c9 100644 --- a/SDL/SDLJoystick.h +++ b/SDL/SDLJoystick.h @@ -78,6 +78,7 @@ private: SDLJoyButtonMap[13] = NKCODE_BUTTON_4; SDLJoyButtonMap[14] = NKCODE_BUTTON_1; SDLJoyButtonMap[15] = NKCODE_BUTTON_11; + SDLJoyButtonMap[16] = NKCODE_BUTTON_12; SDLJoyAxisMap[0] = JOYSTICK_AXIS_X; SDLJoyAxisMap[1] = JOYSTICK_AXIS_Y;