Commit fbc9800304ae44a7e16224e1a7e61c962a755c72

Sam Lantinga 2022-07-05T21:39:27

Merge commit '3e114872e842879c048b2a7808f2cdbfeb2228fe' into main

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c
index b0b9a50..cf35538 100644
--- a/src/joystick/hidapi/SDL_hidapijoystick.c
+++ b/src/joystick/hidapi/SDL_hidapijoystick.c
@@ -1076,6 +1076,7 @@ HIDAPI_JoystickQuit(void)
 
     SDL_hid_exit();
 
+    SDL_HIDAPI_change_count = 0;
     shutting_down = SDL_FALSE;
     initialized = SDL_FALSE;
 }