m_rawinput Command Details
1 Syntax
m_rawinput 1 How to Use
Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console. See our Config Guide for full setup instructions.
Type m_rawinput 1 into the console and press Enter.
Use raw mouse input, bypassing OS acceleration (0=off, 1=on). This command works in all game modes including competitive. The default value is 1.
Frequently Asked Questions
What does m_rawinput do in CS2?
Use raw mouse input, bypassing OS acceleration (0=off, 1=on)
What is the default value for m_rawinput?
The default value for m_rawinput is 1. You can reset it to this value at any time by typing "m_rawinput 1" in the console.
Does m_rawinput require sv_cheats?
No, m_rawinput does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use m_rawinput in competitive?
Yes, m_rawinput works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.