mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-10-08 11:33:28 +00:00
Add another Button to the Button map for Controllers ( like DS3) with 16
Buttons. Fixes Square button not being recognised by PPSSPP when using a Dual Shock 3 Controller.
This commit is contained in:
parent
656f5bf9dd
commit
372a7a4027
@ -34,7 +34,7 @@ private:
|
||||
void fillMapping()
|
||||
{
|
||||
// This is just a standard mapping that matches the X360 controller on MacOSX. Names will probably be all wrong
|
||||
// on other controllers.
|
||||
// on other controllers.
|
||||
|
||||
//TODO: C++11 aggregate initialization
|
||||
//would remove runtime overhead completely
|
||||
@ -77,6 +77,7 @@ private:
|
||||
SDLJoyButtonMap[12] = NKCODE_BUTTON_3;
|
||||
SDLJoyButtonMap[13] = NKCODE_BUTTON_4;
|
||||
SDLJoyButtonMap[14] = NKCODE_BUTTON_1;
|
||||
SDLJoyButtonMap[15] = NKCODE_BUTTON_11;
|
||||
|
||||
SDLJoyAxisMap[0] = JOYSTICK_AXIS_X;
|
||||
SDLJoyAxisMap[1] = JOYSTICK_AXIS_Y;
|
||||
|
Loading…
Reference in New Issue
Block a user