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

@@ -936,7 +936,6 @@ DARWIN_JoystickUpdate(SDL_Joystick * joystick)
if (device->removed) { /* device was unplugged; ignore it. */
if (joystick->hwdata) {
joystick->force_recentering = SDL_TRUE;
joystick->hwdata = NULL;
}
return;