Browse Source

Fixed accidental call to SDL_PrivateJoystickHat()

Sam Lantinga 9 years ago
parent
commit
925859aaa6
1 changed files with 0 additions and 1 deletions
  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]);