X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=vid_sdl.c;h=0bdfbf5517237e8bb5b8afeeb88975442880b535;hp=8b41854a43983fd85a9cda6c095a0aa20cdb587d;hb=a2535521709ba873592188925ed1c9c170eb662c;hpb=e7a93776d7db4fd5d8e3292e4949a69c3ee0020f diff --git a/vid_sdl.c b/vid_sdl.c index 8b41854a..0bdfbf55 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -28,7 +28,7 @@ int cl_available = true; qboolean vid_supportrefreshrate = false; cvar_t joy_detected = {CVAR_READONLY, "joy_detected", "0", "number of joysticks detected by engine"}; -cvar_t joy_enable = {0, "joy_enable", "1", "enables joystick support"}; +cvar_t joy_enable = {CVAR_SAVE, "joy_enable", "0", "enables joystick support"}; cvar_t joy_index = {0, "joy_index", "0", "selects which joystick to use if you have multiple"}; cvar_t joy_axisforward = {0, "joy_axisforward", "1", "which joystick axis to query for forward/backward movement"}; cvar_t joy_axisside = {0, "joy_axisside", "0", "which joystick axis to query for right/left movement"};