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

M_MOUSESPEED

CS:GO

This is the command used to set your preferences for Windows mouse acceleration.

Syntax
m_mousespeed [0 / 1 / 2]

Description

This is the command used to set your preferences for Windows mouse acceleration.

How To Use m_mousespeed

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter m_mousespeed [0 / 1 / 2], 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_mousespeed [0 / 1 / 2]
0 / 1 / 2 Enter a 0 after this command to turn it off. Enter a 1 after the command to turn on windows mouse acceleration and turn on the initial threshold value set in the m_mouseaccel1 command. Enter a 2 after this command to turn on windows mouse acceleration and turn on the secondary threshold, set by the m_mouseaccel2 command.