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

JOY_RESPONSE_LOOK_PITCH

CS:GO

This console command sets the look stick response mode for pitch when playing with a joystick.

Syntax
joy_response_look_pitch [0 / 1]

Description

This console command sets the look stick response mode for pitch when playing with a joystick.

How To Use joy_response_look_pitch

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter joy_response_look_pitch [0 / 1], 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_response_look_pitch [0 / 1]
0 / 1 Enter a 0 after the command to use the default look response mode settings for pitch, and a 1 after the command to turn on acceleration promotion.