Mouse Commands

Below is a searchable list of all mouse console commands from Counter-Strike: Global Offensive. This category contains all of the console commands that adjust how your mouse works in CS:GO, such as changing the sensitivity or turning mouse acceleration on or off.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help

Change Sensitivity Command

You can change your sensitivity with the sensitivity command. This command accepts a number as a parameter, which is set as your sensitivity levels. Higher numbers are more sensitive (faster) than lower numbers. Replace NUMBER with your desired sensitivity in the below command and type it into your console to apply:

sensitivity NUMBER

This command would set your sensitivity to 1:

sensitivity 1

And this console command would set your sensitivity to 0.5 (which is considerably low):

sensitivity 0.5

Raw Input Command

The m_rawinput command can be used to turn on and off raw input from your mouse. With raw input on, your operating system (e.g. Windows) settings like mouse acceleration, etc are completely ignored, which allows all of CS:GO's settings to have full effect. To enable raw input, type this into your console:

m_rawinput 1

You can disable raw input with this command:

m_rawinput 0

Invert Mouse Command

To invert your mouse in CS:GO, you have to invert the m_yaw and m_pitch values. You can do this by copying and pasting the following command into your developer console:

m_pitch -0.022; m_yaw -0.022

To return your mouse direction back to normal, use the following command:

m_pitch 0.022; m_yaw 0.022
Ad

Commands List

Game Version
  • CS2
  • Both
  • CS:GO
CS:GO & CS2 Compatible
cl_mouselook <0 / 1>

This console command controls how you look around in game. You can set it between your mouse (default) or your keyboard.

Name Description
0 / 1

Set to 1 to use your mouse to look around, and 0 to use your keyboard. 1 is the default value for this command. This command cannot be adjusted while connected to a server, so you'll need to be on the main menu to use it.

Examples, Generator & More
CS:GO Command
m_customaccel <0 / 1 / 2 / 3>

This command is used to choose what level of custom mouse acceleration you have. It can be set to disabled, or from a couple of choices.

Name Description
0 / 1 / 2 / 3

Enter a 0 after the command to turn custom acceleration off (default). Enter a 1 after the command to turn on custom max acceleration, meaning your camera will move faster the quicker you move your mouse. Enter a 2 after this command to turn on custom mouse acceleration, but for your X and Y axis sensitivity to be set by the m_pitch and m_yaw commands respectively. Enter a 3 after the command to turn on custom mouse acceleration, but for the mouse acceleration to be affected by your sensitivity .

Examples, Generator & More
CS:GO Command
m_customaccel_exponent <Start Point>

This is the command that sets what speed you need to be moving your mouse before the custom mouse acceleration kicks in, if you have that command enabled too.

Name Description
Start Point

This is the value that dictates when your mouse acceleration begins speeding up your mouse. The higher you set this command, the sooner its activated, and the more out-of-control your mouse becomes. The default value for this command is 1.05.

Examples, Generator & More
CS:GO Command
m_customaccel_max <Max Point>

This is the console command that determines the limit for how fast your mouse can move depending on how fast you're moving it in real life. It can be set to have no limit.

Name Description
Max Point

This value is used to determine the cut off point of you moving your mouse when the mouse movement in game will no longer get sped up. The default value for this command is 0, which sets there to be no limit.

Examples, Generator & More
CS:GO Command
m_customaccel_scale <Scale>

This is the command that determines what the value is for the custom mouse acceleration command. The higher this is, the faster your mouse acceleration will be.

Name Description
Scale

How high or low you want your mouse acceleration to be. The default value for this command is 0.04.

Examples, Generator & More
CS:GO Command
m_forward <Value>

This console command is used to set the mouse forward factor.

Name Description
Value

The forward factor you want to use for your mouse settings. The default value for this command is 1, and it can be set anywhere from 0.0001 to 1,000.

Examples, Generator & More
CS:GO Command
m_mouseaccel1 <Value>

This console command sets the mouse acceleration value for its initial threshold, up to 2x movement speed.

Name Description
Value

The value you want to set mouse acceleration to for the initial speed threshold (up to 2x). The default value for this command is 0.

Examples, Generator & More
CS:GO Command
m_mouseaccel2 <Value>

This console command sets the mouse acceleration value for its second threshold, up to 4x movement speed.

Name Description
Value

The value you want to set mouse acceleration to for the second speed threshold (up to 4x). The default value for this command is 0.

Examples, Generator & More
CS:GO Command
m_mousespeed <0 / 1 / 2>

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

Name Description
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.

Examples, Generator & More
CS:GO & CS2 Compatible
m_pitch <Y Sensitivity>

This command controls the sensitivity of your Y axis . That means it only adjusts your look sensitivity when looking up or down.

Name Description
Y Sensitivity

The sensitivity you want to set to your Y axis (up/down). The default value for this command is 0.022. To balance your sens on all angles, you need to use the m_yaw command that controls your X axis sensitivity.

Examples, Generator & More
CS:GO Command
m_rawinput <0 / 1>

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.

Name Description
0 / 1

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

Examples, Generator & More
CS:GO Command
m_side <Side Factor>

This console command is used to set your mouse side factor.

Name Description
Side Factor

The side factor you want to set this command to. The default value is 0.8.

Examples, Generator & More
CS:GO & CS2 Compatible
m_yaw <X Sensitivity>

This console command is used to adjust your mouse sensitivity only on the X axis , which is looking left/right.

Name Description
X Sensitivity

This is the sensitivity value you want to use on the X axis. This will only change how fast you move around when looking left or right. The default value for this command is 0.022. To balance the two values, you'll need to use the m_pitch command that controls the Y axis.

Examples, Generator & More
CS:GO & CS2 Compatible
sensitivity <Sensitivity>

This command sets your mouse sensitivity to the specified value.

Name Description
Sensitivity

Your desired mouse sensitivity - e.g. 1 or 1.25.

Examples, Generator & More