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.

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.