mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-23 04:11:11 +00:00
-noxinput command line parameter
This commit is contained in:
parent
5e8e08ad95
commit
5e682d612f
1 changed files with 3 additions and 0 deletions
|
@ -2166,6 +2166,9 @@ void I_InitJoystick(void)
|
||||||
if (M_CheckParm("-nojoy"))
|
if (M_CheckParm("-nojoy"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (M_CheckParm("-noxinput"))
|
||||||
|
SDL_SetHintWithPriority("SDL_XINPUT_ENABLED", "0", SDL_HINT_OVERRIDE);
|
||||||
|
|
||||||
if (SDL_WasInit(SDL_INIT_JOYSTICK) == 0)
|
if (SDL_WasInit(SDL_INIT_JOYSTICK) == 0)
|
||||||
{
|
{
|
||||||
CONS_Printf("I_InitJoystick()...\n");
|
CONS_Printf("I_InitJoystick()...\n");
|
||||||
|
|
Loading…
Reference in a new issue