Skip to content

Commit dcc8498

Browse files
committed
Fixed accidental call to SDL_PrivateJoystickHat()
1 parent 398a513 commit dcc8498

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/joystick/iphoneos/SDL_sysjoystick.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index)
513513
};
514514

515515
hatstate = SDL_SYS_MFIJoystickHatStateForDPad(gamepad.dpad);
516-
SDL_PrivateJoystickHat(joystick, 0, hatstate);
517516

518517
for (i = 0; i < SDL_arraysize(buttons); i++) {
519518
updateplayerindex |= (joystick->buttons[i] != buttons[i]);

0 commit comments

Comments
 (0)