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

M_RAWINPUT

CS:GO

This command enables raw input from your mouse, if set to 1 (default). When raw input is enabled, input is taken directly from your mouse and your operating system settings (like acceleration, delay, etc) will not come into play.

Syntax
m_rawinput [0 / 1]

Description

This command enables raw input from your mouse, if set to 1 (default). When raw input is enabled, input is taken directly from your mouse and your operating system settings (like acceleration, delay, etc) will not come into play.

How To Use m_rawinput

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter m_rawinput [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

m_rawinput [0 / 1]
0 / 1 Enter a 0 after the command to turn off rawinput, and a 1 after the command to turn it on (default).