Quellcode durchsuchen

Fixed accidental call to SDL_PrivateJoystickHat()

Sam Lantinga vor 10 Jahren
Ursprung
Commit
925859aaa6
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      src/joystick/iphoneos/SDL_sysjoystick.m

+ 0 - 1
src/joystick/iphoneos/SDL_sysjoystick.m

@@ -513,7 +513,6 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
             };
 
             hatstate = SDL_SYS_MFIJoystickHatStateForDPad(gamepad.dpad);
-            SDL_PrivateJoystickHat(joystick, 0, hatstate);
 
             for (i = 0; i < SDL_arraysize(buttons); i++) {
                 updateplayerindex |= (joystick->buttons[i] != buttons[i]);