joystick: Remove force_centering flag; we handle this on disconnect now.

This commit is contained in:
Ryan C. Gordon 2020-04-07 23:17:27 -04:00
parent fba081e489
commit 8c165adde7
4 changed files with 1 additions and 9 deletions

View file

@ -1371,12 +1371,6 @@ SDL_JoystickUpdate(void)
}
SDL_UnlockJoysticks();
}
/* !!! FIXME: only one thing sets force_recentering now (the Darwin code), see if that can be removed. */
if (joystick->force_recentering) {
SDL_PrivateJoystickForceRecentering(joystick);
joystick->force_recentering = SDL_FALSE;
}
}
SDL_LockJoysticks();