From 8597873330e020f3af0f853bd54f765a0f28c796 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 15 Aug 2025 01:02:23 +1000 Subject: [PATCH] SDLInputSource: Fix DirectInput --- src/util/sdl_input_source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/sdl_input_source.cpp b/src/util/sdl_input_source.cpp index 7ab94be9f..88c20a59d 100644 --- a/src/util/sdl_input_source.cpp +++ b/src/util/sdl_input_source.cpp @@ -375,7 +375,7 @@ void SDLInputSource::SetHints() m_joystick_xinput ? "enabled" : "disabled", m_joystick_wgi ? "enabled" : "disabled", m_joystick_gameinput ? "enabled" : "disabled"); SDL_SetHint(SDL_HINT_JOYSTICK_RAWINPUT, m_joystick_rawinput ? "1" : "0"); - SDL_SetHint(SDL_HINT_JOYSTICK_DIRECTINPUT, m_joystick_rawinput ? "1" : "0"); + SDL_SetHint(SDL_HINT_JOYSTICK_DIRECTINPUT, m_joystick_directinput ? "1" : "0"); SDL_SetHint(SDL_HINT_XINPUT_ENABLED, m_joystick_xinput ? "1" : "0"); SDL_SetHint(SDL_HINT_JOYSTICK_WGI, m_joystick_wgi ? "1" : "0"); SDL_SetHint(SDL_HINT_JOYSTICK_GAMEINPUT, m_joystick_gameinput ? "1" : "0");