Set the default joystick preamp to 0.01.

At the request of johnnyonflame. I probably should have done this when I
removed the builtin 1/100 scaling from the joystick code.
This commit is contained in:
Bill Currie 2013-04-19 13:54:30 +09:00
parent 125ef1f0ff
commit 0f75bdce17

View file

@ -471,7 +471,7 @@ JOY_Init_Cvars (void)
"Joystick enable flag");
joy_amp = Cvar_Get ("joy_amp", "1", CVAR_NONE | CVAR_ARCHIVE, joyamp_f,
"Joystick amplification");
joy_pre_amp = Cvar_Get ("joy_pre_amp", "1", CVAR_NONE | CVAR_ARCHIVE,
joy_pre_amp = Cvar_Get ("joy_pre_amp", "0.01", CVAR_NONE | CVAR_ARCHIVE,
joyamp_f, "Joystick pre-amplification");
Cmd_AddCommand ("in_joy", in_joy_f, "Configures the joystick behaviour");