Browse Source

Steam Controller support defaults off, as documented in SDL_hints.h

Sam Lantinga 2 years ago
parent
commit
5129a07707
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/joystick/hidapi/SDL_hidapi_steam.c

+ 1 - 3
src/joystick/hidapi/SDL_hidapi_steam.c

@@ -1014,9 +1014,7 @@ HIDAPI_DriverSteam_UnregisterHints(SDL_HintCallback callback, void *userdata)
 static SDL_bool
 HIDAPI_DriverSteam_IsEnabled(void)
 {
-    return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_STEAM,
-               SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI,
-                   SDL_HIDAPI_DEFAULT));
+    return SDL_GetHintBoolean(SDL_HINT_JOYSTICK_HIDAPI_STEAM, SDL_FALSE);
 }
 
 static SDL_bool