There was an error while loading. Please reload this page.
1 parent 398a513 commit dcc8498Copy full SHA for dcc8498
src/joystick/iphoneos/SDL_sysjoystick.m
@@ -513,7 +513,6 @@ SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index)
513
};
514
515
hatstate = SDL_SYS_MFIJoystickHatStateForDPad(gamepad.dpad);
516
- SDL_PrivateJoystickHat(joystick, 0, hatstate);
517
518
for (i = 0; i < SDL_arraysize(buttons); i++) {
519
updateplayerindex |= (joystick->buttons[i] != buttons[i]);
0 commit comments