mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 22:17:59 +00:00
joystick: Remove force_centering flag; we handle this on disconnect now.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user