From 925859aaa69be566a4c53a9133fd07d767095ade Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 13 Sep 2016 18:43:55 -0700 Subject: [PATCH] Fixed accidental call to SDL_PrivateJoystickHat() --- src/joystick/iphoneos/SDL_sysjoystick.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/joystick/iphoneos/SDL_sysjoystick.m b/src/joystick/iphoneos/SDL_sysjoystick.m index deeab89eb..a9542ddc4 100644 --- a/src/joystick/iphoneos/SDL_sysjoystick.m +++ b/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]);