Skip to content

Commit 10637e7

Browse files
ernieRippeR37
authored andcommitted
Fix smooth turn sensitivity
1 parent a3b2994 commit 10637e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/vr/vr_input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1303,7 +1303,7 @@ static void IN_VRJoystick( qboolean isRightController, float joystickX, float jo
13031303
// turning while initiating weapon selection with a sideways thumbstick push
13041304
if (vr_snapturn->integer <= 0 && vr_weaponSelectorMode->integer != WS_HMD)
13051305
{
1306-
Com_QueueEvent(in_vrEventTime, SE_JOYSTICK_AXIS, 2, curvedX * 32767.0f, 0, NULL);
1306+
Com_QueueEvent(in_vrEventTime, SE_JOYSTICK_AXIS, 2, curvedX * (cl_sensitivity->value / 100.0f) * 32767.0f, 0, NULL);
13071307
}
13081308

13091309
float joystickValue = length(curvedX, curvedY);

0 commit comments

Comments
 (0)