Browse Source

No, this wasn't right

Sam Lantinga 1 year ago
parent
commit
e761770c24
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/joystick/apple/SDL_mfijoystick.m

+ 2 - 4
src/joystick/apple/SDL_mfijoystick.m

@@ -2102,12 +2102,10 @@ const char *IOS_GetAppleSFSymbolsNameForButton(SDL_Gamepad *gamepad, SDL_Gamepad
                     GetAppleSFSymbolsNameForElement(elements[GCInputXboxPaddleOne], elementName);
                     break;
                 case SDL_GAMEPAD_BUTTON_LEFT_PADDLE1:
-                    /* TODO: Is this right? SDL_gamepad.h says P2 is the lower right */
-                    GetAppleSFSymbolsNameForElement(elements[GCInputXboxPaddleTwo], elementName);
+                    GetAppleSFSymbolsNameForElement(elements[GCInputXboxPaddleThree], elementName);
                     break;
                 case SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2:
-                    /* TODO: Is this right? SDL_gamepad.h says P3 is the upper left */
-                    GetAppleSFSymbolsNameForElement(elements[GCInputXboxPaddleThree], elementName);
+                    GetAppleSFSymbolsNameForElement(elements[GCInputXboxPaddleTwo], elementName);
                     break;
                 case SDL_GAMEPAD_BUTTON_LEFT_PADDLE2:
                     GetAppleSFSymbolsNameForElement(elements[GCInputXboxPaddleFour], elementName);