src/joystick/windows/SDL_windowsjoystick.c
changeset 10479 aa816d06ed78
parent 10226 cb13d22b7f09
child 10617 346c02ff71b6
     1.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Fri Oct 07 16:19:50 2016 -0700
     1.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Fri Oct 07 16:32:58 2016 -0700
     1.3 @@ -509,6 +509,9 @@
     1.4  
     1.5      SDL_DINPUT_JoystickQuit();
     1.6      SDL_XINPUT_JoystickQuit();
     1.7 +
     1.8 +    s_bDeviceAdded = SDL_FALSE;
     1.9 +    s_bDeviceRemoved = SDL_FALSE;
    1.10  }
    1.11  
    1.12  /* return the stable device guid for this device index */