Commit ff4bc1389c4bdc04a91edf188380b8de49e2ef5b

Sam Lantinga 2020-11-23T14:28:16

Fixed mapping controllers after adding the touchpad button

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/test/controllermap.c b/test/controllermap.c
index e5774c4..03153ab 100644
--- a/test/controllermap.c
+++ b/test/controllermap.c
@@ -74,6 +74,7 @@ static struct
     { 330, 135, 0.0, MARKER_BUTTON }, /* SDL_CONTROLLER_BUTTON_PADDLE2 */
     { 132, 175, 0.0, MARKER_BUTTON }, /* SDL_CONTROLLER_BUTTON_PADDLE3 */
     { 330, 175, 0.0, MARKER_BUTTON }, /* SDL_CONTROLLER_BUTTON_PADDLE4 */
+    {   0,   0, 0.0, MARKER_BUTTON }, /* SDL_CONTROLLER_BUTTON_TOUCHPAD */
     {  74, 153, 270.0, MARKER_AXIS }, /* SDL_CONTROLLER_BINDING_AXIS_LEFTX_NEGATIVE */
     {  74, 153, 90.0,  MARKER_AXIS }, /* SDL_CONTROLLER_BINDING_AXIS_LEFTX_POSITIVE */
     {  74, 153, 0.0,   MARKER_AXIS }, /* SDL_CONTROLLER_BINDING_AXIS_LEFTY_NEGATIVE */