mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-19 09:48:14 +00:00
joystick: Remove force_centering flag; we handle this on disconnect now.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user