From fd99eb4f1330def3a821947e8cb442c99826a276 Mon Sep 17 00:00:00 2001 From: wolfy852 Date: Wed, 9 Jan 2019 01:38:28 -0600 Subject: [PATCH] -noxinput command line parameter --- src/sdl/i_system.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index f85176183..6f5e265b4 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -2166,6 +2166,9 @@ void I_InitJoystick(void) if (M_CheckParm("-nojoy")) return; + if (M_CheckParm("-noxinput")) + SDL_SetHintWithPriority("SDL_XINPUT_ENABLED", "0", SDL_HINT_OVERRIDE); + if (SDL_WasInit(SDL_INIT_JOYSTICK) == 0) { CONS_Printf("I_InitJoystick()...\n");