S&box Wiki

Revision Difference

default_keybinds#546443

<cat>Play.Intro</cat> <title>Default Keybinds</title> ⤶ <warning>Not everything on this list is confirmed to be the correct button or the right description</warning>⤶ ⤶ # Mouse & Keyboard⤶ ⤶ ## Movement⤶ ⤶ - <key>W</key> Forwards⤶ - <key>S</key> Backwards⤶ - <key>A</key> Left⤶ - <key>D</key> Right⤶ - <key>Ctrl</key> Crouch⤶ - <key>Shift</key> Sprint⤶ - <key>Alt</key> Sneak⤶ - <key>Space</key> Jump⤶ ⤶ ## Interacting⤶ ⤶ - <key>Left Mouse Button</key> Primary Attack⤶ - <key>Right Mouse Button</key> Secondary Attack⤶ - <key>Mouse Wheel Button</key> Zoom⤶ - <key>Mouse Wheel</key> Switch weapons/Scroll⤶ - <key>E</key> Interact⤶ - <key>G</key> Drop current weapon (if allowed)⤶ - <key>F</key> Toggle flashlight⤶ - <key>1</key> to <key>9</key> Pick weapon from hotbar⤶ - <key>Q</key> Show spawnmenu ⤶ - <key>C</key> Toggle First/Thirdperson⤶ - <key>V</key> Voice Chat⤶ ⤶ ## Menus⤶ ⤶ - <key>TAB</key> Playerlist⤶ - <key>ESC</key> Exit Menu⤶ - <key>F1</key> or <key>`</key> View console⤶ - <key>F2</key> Developer Camera⤶ - <key>F5</key> Async Screenshot⤶ - <key>F12</key> Screenshot⤶ - <key>Enter</key> Open chat⤶ ⤶ # Controller⤶ ⤶ You can change these in Steam's controller configuration.⤶ The following are based on the Xbox controller, but should be near identical for other controller types:⤶ ⤶ - <key>Left stick X</key> Move left/right⤶ - <key>Left stick Y</key> Move forwards/back⤶ - <key>Left stick press</key> Run⤶ - <key>DPad up</key> Flashlight⤶ - <key>DPad left</key> Slot 1⤶ - <key>DPad right</key> Slot 2⤶ - <key>DPad down</key> Slot 3⤶ - <key>Left shoulder</key> Previous item⤶ - <key>Right shoulder</key> Next item⤶ - <key>Back button</key> Scoreboard⤶ - <key>Pause button</key> Menu⤶ - <key>Right stick X</key> Look yaw⤶ - <key>Right stick Y</key> Look pitch⤶ - <key>Right stick press</key> View⤶ - <key>A button</key> Jump⤶ - <key>B button</key> Duck⤶ - <key>X button</key> Reload⤶ - <key>Y button</key> Use⤶ - <key>Left trigger</key> Secondary attack⤶ - <key>Right trigger</key> Primary attack⤶ Here's a table with all the current s&box default key bindings - for keyboard/mouse and controller.⤶ ⤶ <note>⤶ Developers: you can view bindings and `InputButton` values on [this page](https://wiki.facepunch.com/sbox/Input_System).⤶ </note>⤶ ⤶ | Action | Default | Controller Default |⤶ | ------------------------ |:-------:|:------------------:|⤶ | Forward | W | Unbound ( Analog ) |⤶ | Back | S | Unbound ( Analog ) |⤶ | Left | A | Unbound ( Analog ) |⤶ | Right | D | Unbound ( Analog ) |⤶ | Jump | Space | A |⤶ | Duck | Ctrl | B |⤶ | Run | Shift | Left Stick Press |⤶ | Walk | Alt | Unbound |⤶ | Primary Attack | Mouse1 | RT ( Soft press ) |⤶ | Secondary Attack | Mouse2 | LT ( Soft press ) |⤶ | Reload | R | X |⤶ | Grenade | | |⤶ | Drop | G | |⤶ | Use | E | Y |⤶ | Flashlight | F | DPAD UP |⤶ | View | C | Right Stick Press |⤶ | Zoom | Mouse3 | Unbound |⤶ | Menu | Q | Pause Button |⤶ | Score | Tab | Back Button |⤶ | Chat | Enter | |⤶ | Voice | V | |⤶ | Next Inventory Slot | | RB |⤶ | Previous Inventory Slot | | LB |⤶ | Inventory Slot 1 | 1 | DPAD LEFT |⤶ | Inventory Slot 2 | 2 | DPAD RIGHT |⤶ | Inventory Slot 3 | 3 | DPAD DOWN |⤶ | Inventory Slot 4 | 4 | |⤶ | Inventory Slot 5 | 5 | |⤶ | Inventory Slot 6 | 6 | |⤶ | Inventory Slot 7 | 7 | |⤶ | Inventory Slot 8 | 8 | |⤶ | Inventory Slot 9 | 9 | |⤶ | Inventory Slot 0 | 0 | |