set SDL_HINT_AUTO_UPDATE_SENSORS hint to 0
we dont need any of that so disable it
This commit is contained in:
1 parent
736a626ccf
commit
1d3dae01e9
1 file changed
+3
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user