Steam
Input lab · verified 7 September 2026

CS2 autoexec generator
and config studio

A config you built rather than copied. Choose the sensitivity, the crosshair, the viewmodel and the buy binds; take away a file where every single line carries the reason it is in there. Then find out whether your keyboard is counter-strafing on your behalf.

Distance per 360°—
eDPI—
Lines in your file—
autoexec.cfglive
01 / Config

Every line, and why it is there

A config you cannot read is a config you cannot debug. Change anything on the left and the file rewrites itself; the list on the right explains each line in the same order it appears in the file.

Crosshair

Since the 23 September 2026 update these are plain pixels at your resolution, and codes saved before it no longer import. Convert an old crosshair code, or bring your VALORANT crosshair.

Viewmodel and binds

Save the file in game/csgo/cfg and add +exec autoexec.cfg to your launch options so it runs on every start. Grenade aliases have been changed by updates before — re-check the jump-throw bind after a patch.

02 / Scope

What zoom_sensitivity_ratio actually keeps

Two different things hide behind one convar, and most players match the wrong one. At the default the scoped view keeps the same speed across your screen. It does not keep the same speed through the world, because the scope narrowed the view. Both numbers are below.

Hip sensitivity1.2
Scoped — same speed on screen—
Scoped — same speed through the world—

Pick one deliberately. Matching neither is how a scoped shot ends up consistently short of the head: the hand moves the distance it learned unscoped and the world moves less than it expects.

03 / Counter-strafe

Is your keyboard stopping for you?

Counter-strafing is release, then tap the opposite key — the skill this game is built on. Some keyboards do the releasing for you the instant the opposite key goes down, and Valve moved against it. The browser can see it, because the board sends a real key-up your finger never made.

Your keyboard may only behave this way in its game mode or on one profile. Test the profile you actually play on.

—
Not run yet

The result names the behaviour, not the feature. We can see that a key was released without a finger; we cannot see which setting did it.

Browser timestamps are deliberately coarsened for security. It does not matter here: a hand needs tens of milliseconds to lift a key and a keyboard needs none, so the two cases sit an order of magnitude apart.

04 / Reference

Every default key

Verified 7 September 2026. Most of this game's depth is not in this table — it is in the console lines layered on top of it, which is what the studio above writes.

ActionKeyGroupNote
MoveW / A / S / DMovement
Walk (silent)Left ShiftMovement
CrouchLeft CtrlMovement
JumpSpaceMovement
FireMouse 1Combat
Secondary fire / scope / silencerMouse 2Combat
ReloadRCombat
Primary weapon1Combat
Secondary weapon2Combat
Knife3Combat
Grenades (cycle)4CombatIndividual grenade keys are unbound by default; bind them in Settings or the console.
Bomb (C4)5Combat
Last weapon used (quick switch)QCombat
Drop weaponGCombat
Inspect weaponFCombat
Cycle weaponsScroll Up / Scroll DownCombat
Use / defuse / open doorEInterfaceHold E on the bomb to defuse; a kit halves the time.
Buy menuBInterface
ScoreboardTabInterface
Player pingMouse 3InterfaceMiddle mouse marks a spot for the team.
Choose teamMInterface
Radio commandsZ / X / CInterface
Voice (push to talk)KInterface
Chat / team chatY / UInterface
Spray graffitiTInterface
Console`InterfaceEnable the developer console in Settings › Game first.
05 / Answers

Straight answers

Checked, dated, and the same wording the reference page uses.

What is the default walk key in CS2?+

Left Shift. Holding it drops your speed enough that footsteps are silent to enemies; release it to run at full speed again.

How do I defuse the bomb in CS2?+

Stand at the planted bomb and hold E. Without a defuse kit it takes 10 seconds; with a kit 5 seconds. Releasing E keeps no progress.

How do I bind individual grenades?+

Open Settings › Keyboard / Mouse › Weapon Keys and set Flashbang, Smoke, HE, Molotov and Decoy to keys of your choice (many players use Mouse 4, Mouse 5, 4, C and X). The default 4 only cycles through them.

Which key opens the console?+

The grave/tilde key (` under Escape). It stays disabled until you turn on Enable Developer Console in Settings › Game.

Does CS2 support controllers?+

Not officially. The game is designed around keyboard and mouse and has no controller layout in the settings; Steam Input can map a pad but it is not competitive.

Do I still need to turn on raw input in CS2?+

No. CS2 reads the mouse directly and m_rawinput was removed with the engine change, so there is no setting left to get wrong. Guides that tell you to check it are describing CS:GO.

How do I get the full-map radar in CS2?+

Four rows in Settings › Game › Radar: Radar is Rotating off, Radar Centers the Player off, Radar Map Zoom at 0.4, and Radar Hud Size around 1.1 so the smaller dots stay legible.

Unofficial Keymap Labs is not affiliated with, endorsed by or sponsored by Valve Corporation. Counter-Strike is a trademark of Valve. Console commands change between updates: this page is dated, and a line that stops working is a patch note rather than a mistake here. The crosshair lines follow the pixel crosshair of the 23 September 2026 update; share codes, old and new, are read by the crosshair code converter.