joystick: Remove force_centering flag; we handle this on disconnect now.
This commit is contained in:
parent
fba081e489
commit
8c165adde7
4 changed files with 1 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue