Console Commands - Mouse & Joystick Variables

Console command variables that are specific to mouse and joystick settings.

Command Default Description
hud_capturemouse 1 Enable "snapping" cursor to menu when activated.
lookspring 0 Enable automatic view centering if +mlook is off.
lookstrafe 0 Enable strafing if +mlook is off.
m_filter 0 Enable mouse filter.
m_forward 1 Set mouse forward sensitivity (multiplier).
m_pitch -0.022 Set mouse pitch sensitivity (multiplier). Positive values do not invert the mouse; negative values do.
m_side 0.800 Set mouse strafing sensitivity (multiplier).
m_yaw 0.022 Set mouse yaw sensitivity (multiplier).
sensitivity 3 Set mouse sensitivity.
zoom_sensitivity_ratio 1.200 set the ratio of normal mouse sensitivity to zoomed-in (alt fire crossbow or .357 in HL, sniper rifle in TFC) mouse sensitivity
joyadvanced 0 This must be 1 before changing advanced joystick variables.
joyadvancedupdate   This must be 1 to activate advanced joystick variable changes.
joyadvaxisr 0 Set mapping of DirectInput axis R (joystick rudder). 0 = not used, 1 = forward and backward movement, 2 = looking up/down, 3 = side-to-side, 4 = turn left/right.
joyadvaxisu 0 Set mapping of DirectInput axis U (Assassin 3D, WingMan Warrior, SpaceOrb). Set the Assassin 3D to left/right. 0 = not used, 1 = forward and backward movement, 2 = looking up/ down, 3 = side- to- side, 4 = turn left/ right.
joyadvaxisv 0 Set mapping of DirectInput axis V (Assassin 3D, WingMan Warrior, SpaceOrb) Sets the Assassin 3D to joystick-look up/down. 0 = not used, 1 = forward and backward movement, 2 = looking up/ down, 3 = side- to- side, 4 = turn left/ right.
joyadvaxisx 0 Set mapping of DirectInput axis X (joystick left/right). 0 = not used, 1 = forward and backward movement, 2 = looking up/ down, 3 = side- to- side, 4 = turn left/ right.
joyadvaxisy 0 Set mapping of DirectInput axis Y (typically joystick forward and backward). Allows the joystick to move forward and backward. 0 = not used, 1 = forward and backward movement, 2 = looking up/ down, 3 = side- to- side, 4 = Turning left/ right.
joyadvaxisz 0 mapping of DirectInput axis Z (typically joystick throttle). Not used.
joyforwardsensitivity -1 Set how much joystick must move for "full speed" forwards/backwards. Again, negative numbers invert controls.
joyforwardthreshold 0.150 Set "dead zone" for moving forwards/backwards.
joyname 0 Set joystick name.
joypitchsensitivity 1 Set ratio used when player looks up and down using the Assassin 3D. Again, negative numbers invert controls.
joypitchthreshold 0.150 Set "dead zone" for looking up/down.
joysidesensitivity -1 Set how much joystick must move for "full speed" side-to-side. Again, negative numbers invert controls.
joysidethreshold 0.150 Set "dead zone" for side-to-side movement.
joystick 0 Disable joystick if set to 0.
joywwhack1 0 Set this to 1 for Logitech WingMan Warrior.
joywwhack2 0 Set this to 1 for Logitech WingMan Warrior.
joyyawsensitivity -1 Set ratio used when player looks left/right using the Assassin 3D.
joyyawthreshold 0.150 Set "dead zone" for looking left/ right.