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

main
Sam Lantinga 2022-10-14 14:35:52 -07:00
parent 6af17369ca
commit 5129a07707
1 changed files with 1 additions and 3 deletions

View File

@ -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