NB! It seems this console command is not compatible with CS2.
Command Profile

JOY_PITCHTHRESHOLD

CS:GO

This is a joystick command that adjusts your pitch threshold to the value you enter.

Syntax
joy_pitchthreshold [Value]

Description

This is a joystick command that adjusts your pitch threshold to the value you enter.

How To Use joy_pitchthreshold

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter joy_pitchthreshold [Value], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

joy_pitchthreshold [Value]
Value The default value for this command is 0.15.