Browse Source

SDL: disable HIDAPI in SDL on Windows/Mac.

Sam Lantinga 6 năm trước cách đây
mục cha
commit
b37518b3d8
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      include/SDL_config_macosx.h
  2. 1 1
      include/SDL_config_windows.h

+ 1 - 1
include/SDL_config_macosx.h

@@ -137,7 +137,7 @@
 
 /* Enable various input drivers */
 #define SDL_JOYSTICK_IOKIT  1
-#define SDL_JOYSTICK_HIDAPI  1
+//#define SDL_JOYSTICK_HIDAPI  1
 #define SDL_HAPTIC_IOKIT    1
 
 /* Enable various shared object loading systems */

+ 1 - 1
include/SDL_config_windows.h

@@ -190,7 +190,7 @@ typedef unsigned int uintptr_t;
 /* Enable various input drivers */
 #define SDL_JOYSTICK_DINPUT 1
 #define SDL_JOYSTICK_XINPUT 1
-#define SDL_JOYSTICK_HIDAPI 1
+//#define SDL_JOYSTICK_HIDAPI 1
 #define SDL_HAPTIC_DINPUT   1
 #define SDL_HAPTIC_XINPUT   1