src/joystick/windows/SDL_windowsjoystick.c
changeset 12201 8bdc4d340419
parent 12090 c3209fca27b2
child 12359 691c32a30fb9
equal deleted inserted replaced
12200:c0b17b32b95e 12201:8bdc4d340419
   253             }
   253             }
   254 #else
   254 #else
   255             /* WM_DEVICECHANGE not working, no XINPUT, no point in keeping thread alive */
   255             /* WM_DEVICECHANGE not working, no XINPUT, no point in keeping thread alive */
   256             break;
   256             break;
   257 #endif /* SDL_JOYSTICK_XINPUT */
   257 #endif /* SDL_JOYSTICK_XINPUT */
   258 		}
   258         }
   259 
   259 
   260         if (s_bWindowsDeviceChanged || bXInputChanged) {
   260         if (s_bWindowsDeviceChanged || bXInputChanged) {
   261             s_bDeviceRemoved = SDL_TRUE;
   261             s_bDeviceRemoved = SDL_TRUE;
   262             s_bDeviceAdded = SDL_TRUE;
   262             s_bDeviceAdded = SDL_TRUE;
   263             s_bWindowsDeviceChanged = SDL_FALSE;
   263             s_bWindowsDeviceChanged = SDL_FALSE;