Input Commands

Below is a searchable list of all input console commands from Counter-Strike: Global Offensive. This category contains all commands that trigger an input action on your keyboard, mouse, or other device. For example, pressing a key on your keyboard.

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

Commands List

button_info <Key or Button>

This command displays technical information regarding a specific key or button, such as its state and any bound actions.

Name Description
Key or Button

The specific key or button to display information for.

Examples, Generator & More
input_filter_relative_analog_inputs <0 / 1>

This command sets whether to filter relative analog inputs, such as those from a joystick, to enhance precision.

Name Description
0 / 1

Enable or disable the filtering of relative analog inputs.

Examples, Generator & More
input_forceuser <Player Index>

This command forces the user input to a specified split screen player, useful for debugging or controlling multiple characters.

Name Description
Player Index

The index of the split screen player to force input to.

Examples, Generator & More
invnextselect

This command cycles to the next item in the player's inventory and selects it.

Examples, Generator & More
panorama_focus_world_panels <0 / 1>

This command requests key focus for world panels when they are enabled, affecting how input is directed in these contexts.

Name Description
0 / 1

Determines whether to request key focus for world panels when enabled.

Examples, Generator & More
player0_using_joystick <0 / 1>

Determines whether the first player is using a joystick for input. When set to true, game inputs are expected to come from a joystick device.

Name Description
0 / 1

Enable or disable joystick controls for the first player.

Examples, Generator & More
repeat_last_console_command

Repeats the last command that was entered into the console. This is useful for quickly re-executing commands without needing to type them again.

Examples, Generator & More