From 1d3dae01e90327da79aad1973d8ded510a30149e Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 23 Oct 2025 11:22:37 +0200 Subject: [PATCH] set SDL_HINT_AUTO_UPDATE_SENSORS hint to 0 we dont need any of that so disable it --- src/sdl/i_system.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index 4716fe97c..2721e2e96 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -964,8 +964,9 @@ void I_InitJoystick(UINT8 index) UINT8 i; SDL_GameController *newcontroller = NULL; - //I_ShutdownJoystick(); - //SDL_SetHintWithPriority("SDL_XINPUT_ENABLED", "0", SDL_HINT_OVERRIDE); + // not sure if this is the best place to put this + SDL_SetHint(SDL_HINT_AUTO_UPDATE_SENSORS, "0"); + if (M_CheckParm("-nojoy")) return;