From 0f75bdce178f87ec7896d5a321d0070e6a01641c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 19 Apr 2013 13:54:30 +0900 Subject: [PATCH] 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. --- libs/video/targets/joy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/targets/joy.c b/libs/video/targets/joy.c index f2a1e6b67..939ed6805 100644 --- a/libs/video/targets/joy.c +++ b/libs/video/targets/joy.c @@ -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");