summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2018-08-09 22:53:43 -0700
committerSam Lantinga <slouken@libsdl.org>2018-08-09 22:53:43 -0700
commit1083673899a10e2298ff2fb341d9578c1300eadf (patch)
tree456930a018abc5fae111f3cf63962c804ef0cf9f
parentf06a19104810743f326f3e9f94b07aa8dbb9206b (diff)
Re-enabled the HIDAPI joystick driver on Windows and Mac OS X
-rw-r--r--include/SDL_config_macosx.h2
-rw-r--r--include/SDL_config_windows.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h
index dab722cd33..5e0f836dce 100644
--- a/include/SDL_config_macosx.h
+++ b/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 */
diff --git a/include/SDL_config_windows.h b/include/SDL_config_windows.h
index 9788966f55..2a208f8845 100644
--- a/include/SDL_config_windows.h
+++ b/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