浏览代码

Merge commit '3e114872e842879c048b2a7808f2cdbfeb2228fe' into main

Sam Lantinga 3 年之前
父节点
当前提交
fbc9800304
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/joystick/hidapi/SDL_hidapijoystick.c

+ 1 - 0
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;
 }