In other languages: Deutsch Français 日本語 Polski Русский 简体中文

Controls: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (link to replay system and ghost)
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Languages}}
Controls are set by left-clicking them and then pressing the desired key combination. They can be unbound by right-clicking them.
Controls are set by left-clicking them and then pressing the desired key combination. They can be unbound by right-clicking them. The keybindings can be reset in the controls settings menu.


=== Game ===
=== Movement ===
{| class="wikitable"
{| class="wikitable"
|+ Key bindings
|+ Key bindings
! Key combination
! Key combination
! Effect
! Effect
! Description
|-
|-
| {{Keybinding|W}}
| {{Keybinding|W}}
Line 20: Line 19:
| {{Keybinding|S}}
| {{Keybinding|S}}
| Move down
| Move down
|}
=== Basic interaction ===
{| class="wikitable"
|+ Key bindings
! Key combination<br>(Alternative)
! Effect
! Description
|-
|-
| {{Keybinding|E}}
| {{Keybinding|E}}<br>({{Keybinding|Mouse button 4}})
| Open character screen
| Open character screen
|-
|-
| {{Keybinding|T}}
| {{Keybinding|lmb}}
| Open technology screen
| Open object's GUI
|-
|-
| {{Keybinding|E}}
| {{Keybinding|E}}<br>({{Keybinding|Mouse button 4}})
| Close window
| Confirm window
|-
|-
| {{Keybinding|rmb}}
| {{Keybinding|rmb}}
Line 37: Line 44:
|-
|-
| {{Keybinding|shift|lmb}}
| {{Keybinding|shift|lmb}}
| Build ghost
| Build [[ghost]]
|-
| {{Keybinding|shift|lmb}}
| Remove [[Electric system#Distribution|pole]] cables
| Removes wires from the selected electric pole, starting with electric wires and then circuit network wires.
|-
| {{Keybinding|shift|rmb}}
| Copy entity settings
| Copies settings from the selected entity. Note the entity needs to keep existing for them to be pasted onto another entity.
|-
| {{Keybinding|shift|lmb}}
| Paste entity settings
| Pastes settings from the previous copied entity.
|-
| {{Keybinding|lmb}}
| Select for [[blueprint]]
|-
| {{Keybinding|shift|lmb}}
| Select for cancel [[deconstruction planner|deconstruction]]
|-
|-
| {{Keybinding|lmb}}
| {{Keybinding|Q}}<br>({{Keybinding|Mouse button 5}})
| Open object's GUI
|-
| {{Keybinding|alt}}
| Show info
| Toggles showing additional information about built entities such as recipes in assembling machines and container contents.
|-
| {{Keybinding|Tab}}
| Next [[Weapons|weapon]]
| Cycles to the next available weapon.
|-
| {{Keybinding|Q}}
| Clear cursor
| Clear cursor
| Returns the item in the cursor stack to the players inventory. Also cancels wire placement and rail planning.
| Returns the item in the cursor stack to the player's inventory. Also cancels wire placement and rail planning.
|-
|-
| {{Keybinding|Q}}
| {{Keybinding|Q}}<br>({{Keybinding|Mouse button 5}})
| Pipette tool
| Pipette tool
| Picks items from your inventory used to build the currently selected entity and places them in your cursor. For resources it will select the fastest available mining drill.
| Picks items from your inventory used to build the currently selected entity and places them in your cursor. For resources it will select the fastest available mining drill.
|-
| {{Keybinding|Z}}
| Drop item
|-
|-
| {{Keybinding|R}}
| {{Keybinding|R}}
Line 86: Line 61:
| Reverse rotate
| Reverse rotate
| Rotates (counter-clockwise) the item held in the cursor or the selected entity.
| Rotates (counter-clockwise) the item held in the cursor or the selected entity.
|-
| {{Keybinding|F}}
| Flip [[blueprint]] horizontal
|-
| {{Keybinding|G}}
| Flip [[blueprint]] vertical
|-
|-
| {{Keybinding|F}}
| {{Keybinding|F}}
| Pick up items on the ground
| Pick up items on the ground
|-
| {{Keybinding|Z}}
| Drop item
| Drop one item of what you are holding on the ground, on a belt or into a machine.
|-
| {{Keybinding|alt}}
| Toggle "Alt-mode"
| Toggles showing additional information about built entities such as recipes in assembling machines and container contents.
|-
|-
| {{Keybinding|space}}
| {{Keybinding|space}}
| Shoot [[Enemies|enemy]]
| Shoot [[Enemies|enemy]]
| Shoots at the nearest enemy within range.
| Shoots at the nearest enemy to the cursor, or for some weapons shoots at the location of the cursor.
|-
|-
| {{Keybinding|C}}
| {{Keybinding|C}}
| Shoot selected
| Shoot selected
| Shoots at whatever you have selected or if nothing is selected shoots in the direction of the mouse.
| Shoots at whatever you have selected, or for some weapons shoots at the location of the cursor.
|-
| {{Keybinding|Tab}}
| Next [[Weapons|weapon]]
| Cycles to the next equipped weapon.
|-
|-
| {{Keybinding|enter}}
| {{Keybinding|enter}}
| Enter/Leave [[vehicle]]
| Enter/Leave [[vehicle]]
| Enters or exits a vehicle you're driving/standing next to.
| Enters or exits a vehicle you're standing next to or driving.
|-
| {{Keybinding|shift|mwu}}
| [[Blueprint book]] next
| When holding a blueprint book in the cursor, cycles the active blueprint to the next available blueprint.
|-
| {{Keybinding|shift|mwd}}
| Blueprint book previous
| When holding a blueprint book in the cursor, cycles the active blueprint to the previous available blueprint.
|-
|-
| {{Keybinding|mwu}}
| {{Keybinding|mwu}}<br>({{Keybinding|shift|mwu}})
| Zoom in
| Zoom in
|-
|-
| {{Keybinding|mwd}}
| {{Keybinding|mwd}}<br>({{Keybinding|shift|mwd}})
| Zoom out
| Zoom out
|-
|-
| {{Keybinding|mwu}}
| {{Keybinding|grave}}
| Alternative zoom in
| Toggle chat (and Lua [[console]])
| Zoom with ability to zoom into world view from map view.
|-
|-
| {{Keybinding|mwd}}
| {{Keybinding|shift|rmb}}
| Alternative zoom out
| Copy entity settings
| Copies settings from the selected entity. Note that for pasting to work, the source entity must still exist.
|-
|-
| {{Keybinding|esc}}
| {{Keybinding|shift|lmb}}
| Toggle menu
| Paste entity settings
| Pastes settings from the previous copied entity.
|}
 
=== Advanced interaction ===
{| class="wikitable"
|+ Key bindings
! Key combination<br>(Alternative)
! Effect
! Description
|-
|-
| {{Keybinding|P}}
| {{Keybinding|lmb}}<br>({{Keybinding|ctrl|lmb}})
| [[Production statistics]]
| Select for [[blueprint]]
| Select the entities for blueprinting, upgrading or deconstruction.
|-
|-
| {{Keybinding|K}}
| {{Keybinding|shift|lmb}}
| [[Kill statistics]]
| Select for cancel [[deconstruction planner|deconstruction]]
| Select to cancel upgrading or deconstruction.
|-
|-
| {{Keybinding|L}}
| {{Keybinding|rmb}}
| [[Logistic network]]s
| Reverse select
| Activates Downgrade mode with the [[upgrade planner]].
|-
|-
| {{Keybinding|M}}
| {{Keybinding|shift|mwu}}
| Toggle world map
| [[Blueprint book]] next
| When holding a blueprint book in the cursor, cycles the active blueprint to the next available blueprint.
|-
|-
| {{Keybinding|B}}
| {{Keybinding|shift|mwd}}
| [[Blueprint library]]
| Blueprint book previous
| When holding a blueprint book in the cursor, cycles the active blueprint to the previous available blueprint.
|-
|-
| {{Keybinding|tab}}
| {{Keybinding|ctrl|f}}
| Confirm message
| Focus search
|-
| {{Keybinding|G}}
| Connect train
| Connects the train you're driving to any adjacent trains.
|-
| {{Keybinding|V}}
| Disconnect train
| Disconnects the rolling stock you're in from the rest of the rolling stock in the train.
|-
| {{Keybinding|shift|space}}
| Pause game
|-
|-
| {{Keybinding|numplus}}
| {{Keybinding|numplus}}
Line 163: Line 151:
| Decreases the size of the placement area for tiles.
| Decreases the size of the placement area for tiles.
|-
|-
| {{Keybinding|ctrl|f}}
| {{Keybinding|shift|lmb}}
| Focus item search
| Remove [[Electric system#Distribution|pole]] cables
| Removes wires from the selected electric pole, starting with electric wires and then circuit network wires.
|-
|-
| {{Keybinding|BACKSPACE}}
| {{Keybinding|ctrl|lmb}}
| Select previous technology
| Build with obstacle avoidance
| Usable only for rail building. This is the same as ghost build mode, but trees, rocks and cliffs are avoided.
|-
|-
| {{Keybinding|ctrl|t}}
| {{Keybinding|shift|lmb}}
| Toggle research progress bar.
| Add train stop
| Usable only in the locomotive GUI and map view. Hold this modifier while clicking a station in the locomotive GUI minimap or main map to add the station to the schedule.
|-
|-
| {{Keybinding|grave}}
| {{Keybinding|ctrl|lmb}}
| Toggle Lua [[console]]
| Add temporary train stop
| Usable only in the locomotive GUI and map view. Hold this modifier while clicking in the locomotive GUI minimap or main map to quickly go to that location by adding a temporary station to the schedule.
|-
|-
| {{Keybinding|lmb}}
| {{Keybinding|lmb}}
| Drag map
| Drag map
| Usable only in the map.
|-
| {{Keybinding|shift|lmb}}
| Place a tag in chat
| Usable only when the chat is open. Places a chat link to the selected item, recipe, map location, station or train.
|-
| {{Keybinding|ctrl|alt|lmb}}
| Ping a map location
| Quickly create a map ping at the selected location and link it in the chat.
|-
| {{Keybinding|mwu}}
| Zoom into world
| Usable only in the map. Zoom with ability to zoom into world view from map view.
|-
| {{Keybinding|mwd}}
| Zoom out of world
| Usable only in the map. Zoom with ability to zoom into map view from world view.
|-
| {{Keybinding|shift}}
| Activate tooltip
| Show the tooltip when the tooltip delay is set to a large value or "Never".
|}
=== [[Crafting]] ===
{| class="wikitable"
|+ Key bindings
! Key combination
! Effect
! Description
|-
| {{Keybinding|lmb}}
| Craft 1
| Usable only in the recipe GUI. Crafts 1 of a given recipe.
|-
|-
| {{Keybinding|rmb}}
| {{Keybinding|rmb}}
| Place a tag on the map
| Craft 5
| Usable only in the recipe GUI. Crafts 5 of a given recipe.
|-
| {{Keybinding|shift|lmb}}
| Craft all
| Usable only in the recipe GUI. Crafts as many as possible of a given recipe.
|-
|-
| {{Keybinding|shift|SLASH}}
| {{Keybinding|lmb}}
| Toggle tips and tricks
| Cancel crafting 1
| Usable only in the crafting queue.
|-
| {{Keybinding|rmb}}
| Cancel crafting 5
| Usable only in the crafting queue.
|-
| {{Keybinding|shift|lmb}}
| Cancel crafting all
| Usable only in the crafting queue.
|}
|}


Line 197: Line 236:
| {{Keybinding|shift|lmb}}
| {{Keybinding|shift|lmb}}
| Stack transfer
| Stack transfer
| Transfers the selected stack to the opened entity or if your player GUI is open - transfers the selected stack between the different player inventories.
| Transfers the selected stack to the other inventory.
|-
|-
| {{Keybinding|ctrl|lmb}}
| {{Keybinding|ctrl|lmb}}
| Inventory transfer
| Inventory transfer
| Transfers all of the selected stack type to the opened entity or if your player GUI is open - transfers all of the selected stack type between the different player inventories. If an empty slot is clicked all items are transferred.
| Transfers all of the selected stack type to the other inventory. If an empty slot is clicked all items are transferred.
|-
|-
| {{Keybinding|ctrl|lmb}}
| {{Keybinding|ctrl|lmb}}
| Fast entity transfer
| Fast entity transfer
| Transfers the held stack into the selected entity or if the cursor is empty takes anything the entity has and transfers it to your player.
| Transfers the held stack into the selected entity or if the cursor is empty takes anything the entity has and transfers it to your player.
|-
| {{Keybinding|rmb}}
| Cursor split
| Moves half the selected inventory slot into the cursor if empty. Places a single item from the cursor stack to the selected inventory slot when holding an item.
|-
| {{Keybinding|shift|rmb}}
| Stack split
| Transfers half of the selected stack to the other inventory.
|-
| {{Keybinding|ctrl|rmb}}
| Inventory split
| Transfers half of all of the stacks (rounded up) of the selected stack type to the other inventory. If an empty slot is clicked half of all stacks are transferred.
|-
| {{Keybinding|ctrl|rmb}}
| Fast entity split
| Transfers half of the held stack into the selected entity or if the cursor is empty takes half of anything the entity has and transfers it to your player.
|-
|-
| {{Keybinding|mmb}}
| {{Keybinding|mmb}}
| Toggle filter
| Toggle filter
| Create a filter for the selected inventory slot so only the selected item type can be placed in that slot.
|-
| {{Keybinding|rmb}}
| Open item's GUI
|}
=== [[Quickbar]] ===
{| class="wikitable"
|+ Key bindings
! Key combination
! Effect
! Description
|-
| {{Keybinding|X}}
| Rotate active quickbars
|-
| Not set
| Next active quickbar
| Selects the next quickbar for the top quickbar.
|-
| Not set
| Previous active quickbar
| Selects the previous quickbar for the top quickbar.
|-
|-
| {{Keybinding|1}}
| {{Keybinding|1}}
| Quickbar 1
| Shortcut 1
|-
|-
| {{Keybinding|2}}
| {{Keybinding|2}}
| Quickbar 2
| Shortcut 2
|-
|-
| {{Keybinding|3}}
| {{Keybinding|3}}
| Quickbar 3
| Shortcut 3
|-
|-
| {{Keybinding|4}}
| {{Keybinding|4}}
| Quickbar 4
| Shortcut 4
|-
|-
| {{Keybinding|5}}
| {{Keybinding|5}}
| Quickbar 5
| Shortcut 5
|-
| {{Keybinding|6}}
| Shortcut 6
|-
| {{Keybinding|7}}
| Shortcut 7
|-
| {{Keybinding|8}}
| Shortcut 8
|-
| {{Keybinding|9}}
| Shortcut 9
|-
| {{Keybinding|0}}
| Shortcut 10
|-
| Not set
| Secondary shortcut 1
|-
| Not set
| Secondary shortcut 2
|-
| Not set
| Secondary shortcut 3
|-
| Not set
| Secondary shortcut 4
|-
| Not set
| Secondary shortcut 5
|-
| Not set
| Secondary shortcut 6
|-
| Not set
| Secondary shortcut 7
|-
| Not set
| Secondary shortcut 8
|-
| Not set
| Secondary shortcut 9
|-
| Not set
| Secondary shortcut 10
|-
|-
| {{Keybinding|shift|1}}
| {{Keybinding|shift|1}}
| Quickbar 6
| Select quickbar 1
|-
|-
| {{Keybinding|shift|2}}
| {{Keybinding|shift|2}}
| Quickbar 7
| Select quickbar 2
|-
|-
| {{Keybinding|shift|3}}
| {{Keybinding|shift|3}}
| Quickbar 8
| Select quickbar 3
|-
|-
| {{Keybinding|shift|4}}
| {{Keybinding|shift|4}}
| Quickbar 9
| Select quickbar 4
|-
|-
| {{Keybinding|shift|5}}
| {{Keybinding|shift|5}}
| Quickbar 10
| Select quickbar 5
|-
| {{Keybinding|shift|6}}
| Select quickbar 6
|-
| {{Keybinding|shift|7}}
| Select quickbar 7
|-
| {{Keybinding|shift|8}}
| Select quickbar 8
|-
| {{Keybinding|shift|9}}
| Select quickbar 9
|-
| {{Keybinding|shift|0}}
| Select quickbar 10
|}
 
=== Tools ===
{| class="wikitable"
|+ Key bindings
! Key combination
! Effect
! Description
|-
| {{Keybinding|ctrl|C}}
| Copy
| Select an area of entities to be copied.
|-
| {{Keybinding|ctrl|X}}
| Cut
| Select an area of entities to be copied and marked for deconstruction.
|-
| {{Keybinding|ctrl|V}}
| Paste
| Paste the last copied entities.
|-
| {{Keybinding|shift|mwu}}
| Next clipboard
| Cycle the clipboard history while holding the paste tool.
|-
| {{Keybinding|shift|mwd}}
| Previous clipboard
| Cycle the clipboard history while holding the paste tool.
|-
| {{Keybinding|ctrl|Z}}
| Undo
| Undo some actions such as manual entity building/removal, placing of blueprints and usage of the deconstruction planner.
|-
| {{Keybinding|alt|B}}
| Make new [[blueprint]]
|-
|-
| {{Keybinding|rmb}}
| Not set
| Cursor split
| Make new [[blueprint book]]
| Moves half the selected inventory slot into the cursor if empty. Places a single item from the cursor stack to the selected inventory slot when holding an item.
|-
|-
| {{Keybinding|shift|rmb}}
| {{Keybinding|alt|D}}
| Stack split
| Make new [[deconstruction planner]]
| Transfers half of the selected stack to the opened entity or if your player GUI is open - transfers half of the selected stack between the different player inventories.
|-
|-
| {{Keybinding|ctrl|rmb}}
| {{Keybinding|alt|U}}
| Inventory split
| Make new [[upgrade planner]]
| Transfers half of all of the stacks (rounded up) of the selected stack type to the opened entity or if your player GUI is open - transfers half of all of the selected stack type between the different player inventories. If an empty slot is clicked all items are transferred.
|-
|-
| {{Keybinding|ctrl|rmb}}
| {{Keybinding|alt|E}}
| Fast entity split
| Toggle [[exoskeleton]]
| Transfers half of the held stack into the selected entity or if the cursor is empty takes half of anything the entity has and transfers it to your player.
|-
|-
| {{Keybinding|X}}
| {{Keybinding|alt|L}}
| Change active quickbar
| Toggle personal logistics requests
|-
|-
| {{Keybinding|rmb}}
| {{Keybinding|alt|R}}
| Open item's GUI
| Toggle [[personal roboport]]
|}
|}


=== [[Crafting]] ===
=== Panels ===
{| class="wikitable"
{| class="wikitable"
|+ Key bindings
|+ Key bindings
! Key combination
! Key combination
! Effect
|-
| {{Keybinding|F1}}
| Open character logistics
|-
| {{Keybinding|F2}}
| Open character crafting
|-
| {{Keybinding|esc}}
| Toggle menu
|-
| {{Keybinding|M}}
| Toggle world map
|-
| {{Keybinding|T}}
| Toggle technology screen
|-
| {{Keybinding|P}}
| Toggle [[production statistics]]
|-
| {{Keybinding|L}}
| Toggle [[logistic network]]s
|-
| {{Keybinding|B}}
| Toggle [[blueprint library]]
|-
| {{Keybinding|O}}
| Toggle train overview
|}
=== Miscellaneous ===
{| class="wikitable"
|+ Key bindings
! Key combination<br>(Alternative)
! Effect
! Effect
! Description
! Description
|-
|-
| {{Keybinding|lmb}}
| {{Keybinding|shift|space}}
| Craft 1
| Pause game
| Crafts 1 of a given recipe.
|-
| {{Keybinding|tab}}
| Confirm message
|-
| {{Keybinding|BACKSPACE}}
| Select previous technology
| Usable only in the technology screen. Selects the technology you previously had selected.
|-
|-
| {{Keybinding|rmb}}
| {{Keybinding|BACKSPACE}}<br>({{Keybinding|Mouse button 4}})
| Craft 5
| Select previous mod
| Crafts 5 of a given recipe.
| Usable only in the mods GUI. Selects the mod you previously had selected.
|-
|-
| {{Keybinding|shift|lmb}}
| {{Keybinding|G}}
| Craft all
| Connect train
| Crafts as many as possible of a given recipe.
| Connects the selected train or the train you're driving to any adjacent trains.
|-
|-
| {{Keybinding|lmb}}
| {{Keybinding|V}}
| Cancel crafting 1
| Disconnect train
| Disconnects the selected rolling stock or the rolling stock you are in from the rest of the train.
|-
|-
| {{Keybinding|rmb}}
| {{Keybinding|F10}}
| Cancel crafting 5
| Next player in [[replay system|replay]]
|-
|-
| {{Keybinding|shift|lmb}}
| {{Keybinding|ctrl|lmb}}
| Cancel crafting all
| Order to follow
| Used with [[spidertron remote]] to force the connected [[spidertron]] follow the given target.
|}
|}


<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
=== Editor ===
=== Editor ===
{| class="wikitable"
{| class="wikitable"
Line 299: Line 509:
! Effect
! Effect
|-
|-
| {{Keybinding|lmb}}
| {{Keybinding|mmb}}
| Primary action
| Next variation
|-
| {{Keybinding|shift|mmb}}
| Previous variation
|-
| {{Keybinding|shift|mmb}}
| Clone item
|-
| {{Keybinding|ctrl|mmb}}
| Delete item
|-
| {{Keybinding|Numpad 0}}
| Toggle entity paused
|-
| {{Keybinding|Numpad .}}
| Tick once
|-
|-
| {{Keybinding|rmb}}
| {{Keybinding|shift|Numpad +}}
| Secondary action
| Increase game speed
|-
|-
| {{Keybinding|X}}
| {{Keybinding|shift|Numpad -}}
| Remove entity
| Decrease game speed
|-
|-
| {{Keybinding|T}}
| {{Keybinding|shift|Numpad *}}
| Edit entity details
| Reset game speed to 1
|-
|-
| {{Keybinding|F8}}
| {{Keybinding|shift|rmb}}
| Show all difficulties
| Set clone brush source
|-
|-
| {{Keybinding|F9}}
| {{Keybinding|shift|lmb}}
| Show easy difficulty
| Set clone brush destination
|-
|-
| {{Keybinding|F10}}
| {{Keybinding|ctrl}}
| Show normal difficulty
| Switch to surface #
| Switches to the surface number pressed in combination with this hotkey: CTRL + 3 -> switches to surface 3.
|-
|-
| {{Keybinding|F11}}
| {{Keybinding|shift|rmb}}
| Show hard difficulty
| Remove scripting object
|}
|}


Line 330: Line 556:
! Effect
! Effect
|-
|-
| {{Keybinding|F3}}
| {{Keybinding|ctrl|F3}}
| Toggle atlas GUI
| Toggle atlas GUI
|-
|-
Line 338: Line 564:
| {{Keybinding|F5}}
| {{Keybinding|F5}}
| Toggle basic debug
| Toggle basic debug
|-
| {{Keybinding|F6}}
| Toggle detailed debug
|-
| {{Keybinding|F7}}
| Toggle full debug
|-
|-
| {{Keybinding|F9}}
| {{Keybinding|F9}}
| Reset zoom level
| Reset zoom level
|-
| {{Keybinding|shift|F9}}
| Set zoom level to 2x
|-
|-
| {{Keybinding|ctrl|F5}}
| {{Keybinding|ctrl|F5}}
| Toggle GUI debug
| Toggle GUI debug
|-
| {{Keybinding|ctrl|F6}}
| Toggle GUI style view
|-
| {{Keybinding|ctrl|F7}}
| Toggle GUI shadows
|-
| {{Keybinding|ctrl|F8}}
| Toggle GUI glows
|-
| {{Keybinding|ctrl|shift|E}}
| Open prototypes GUI
|-
| {{Keybinding|ctrl|shift|F}}
| Open prototype explorer GUI
|-
| {{Keybinding|ctrl|numplus}}
| Increase UI scale
|-
| {{Keybinding|ctrl|numminus}}
| Decrease UI scale
|-
| {{Keybinding|ctrl|Numpad 0}}
| Reset UI scale to automatic
|}
|}
</div>
{{clear}}
[[File:Keyboard_bindings.png|thumb|left|200x200px|Click on the image for a higher resolution.]]
== Resetting your keybindings ==
To reset your keybindings, enter the control menu and find the reset keybinds button.


== See also ==
== See also ==


* [http://www.factorioforums.com/forum/viewtopic.php?f=5&t=6687 Some tips for players with disabilities]
* [http://www.factorioforums.com/forum/viewtopic.php?f=5&t=6687 Some tips for players with disabilities]
* [[Tutorial:Script_interfaces#Custom_input|Creating keybindings in mods]]
** [[Prototype/CustomInput|Keybinding prototype documentation]]

Revision as of 16:25, 12 November 2021

Controls are set by left-clicking them and then pressing the desired key combination. They can be unbound by right-clicking them. The keybindings can be reset in the controls settings menu.

Movement

Key bindings
Key combination Effect
W Move up
D Move right
A Move left
S Move down

Basic interaction

Key bindings
Key combination
(Alternative)
Effect Description
E
(Mouse button 4)
Open character screen
Left mouse button Open object's GUI
E
(Mouse button 4)
Confirm window
Right mouse button Mine
Left mouse button Build
SHIFT + Left mouse button Build ghost
Q
(Mouse button 5)
Clear cursor Returns the item in the cursor stack to the player's inventory. Also cancels wire placement and rail planning.
Q
(Mouse button 5)
Pipette tool Picks items from your inventory used to build the currently selected entity and places them in your cursor. For resources it will select the fastest available mining drill.
R Rotate Rotates (clockwise) the item held in the cursor or the selected entity.
SHIFT + R Reverse rotate Rotates (counter-clockwise) the item held in the cursor or the selected entity.
F Flip blueprint horizontal
G Flip blueprint vertical
F Pick up items on the ground
Z Drop item Drop one item of what you are holding on the ground, on a belt or into a machine.
ALT Toggle "Alt-mode" Toggles showing additional information about built entities such as recipes in assembling machines and container contents.
SPACE Shoot enemy Shoots at the nearest enemy to the cursor, or for some weapons shoots at the location of the cursor.
C Shoot selected Shoots at whatever you have selected, or for some weapons shoots at the location of the cursor.
Tab Next weapon Cycles to the next equipped weapon.
ENTER Enter/Leave vehicle Enters or exits a vehicle you're standing next to or driving.
Mouse wheel up
(SHIFT + Mouse wheel up)
Zoom in
Mouse wheel down
(SHIFT + Mouse wheel down)
Zoom out
GRAVE Toggle chat (and Lua console)
SHIFT + Right mouse button Copy entity settings Copies settings from the selected entity. Note that for pasting to work, the source entity must still exist.
SHIFT + Left mouse button Paste entity settings Pastes settings from the previous copied entity.

Advanced interaction

Key bindings
Key combination
(Alternative)
Effect Description
Left mouse button
(CTRL + Left mouse button)
Select for blueprint Select the entities for blueprinting, upgrading or deconstruction.
SHIFT + Left mouse button Select for cancel deconstruction Select to cancel upgrading or deconstruction.
Right mouse button Reverse select Activates Downgrade mode with the upgrade planner.
SHIFT + Mouse wheel up Blueprint book next When holding a blueprint book in the cursor, cycles the active blueprint to the next available blueprint.
SHIFT + Mouse wheel down Blueprint book previous When holding a blueprint book in the cursor, cycles the active blueprint to the previous available blueprint.
CTRL + f Focus search
Numpad + Larger tile building area Increases the size of the placement area for tiles.
Numpad - Smaller tile building area Decreases the size of the placement area for tiles.
SHIFT + Left mouse button Remove pole cables Removes wires from the selected electric pole, starting with electric wires and then circuit network wires.
CTRL + Left mouse button Build with obstacle avoidance Usable only for rail building. This is the same as ghost build mode, but trees, rocks and cliffs are avoided.
SHIFT + Left mouse button Add train stop Usable only in the locomotive GUI and map view. Hold this modifier while clicking a station in the locomotive GUI minimap or main map to add the station to the schedule.
CTRL + Left mouse button Add temporary train stop Usable only in the locomotive GUI and map view. Hold this modifier while clicking in the locomotive GUI minimap or main map to quickly go to that location by adding a temporary station to the schedule.
Left mouse button Drag map Usable only in the map.
SHIFT + Left mouse button Place a tag in chat Usable only when the chat is open. Places a chat link to the selected item, recipe, map location, station or train.
CTRL + ALT  + Left mouse button Ping a map location Quickly create a map ping at the selected location and link it in the chat.
Mouse wheel up Zoom into world Usable only in the map. Zoom with ability to zoom into world view from map view.
Mouse wheel down Zoom out of world Usable only in the map. Zoom with ability to zoom into map view from world view.
SHIFT Activate tooltip Show the tooltip when the tooltip delay is set to a large value or "Never".

Crafting

Key bindings
Key combination Effect Description
Left mouse button Craft 1 Usable only in the recipe GUI. Crafts 1 of a given recipe.
Right mouse button Craft 5 Usable only in the recipe GUI. Crafts 5 of a given recipe.
SHIFT + Left mouse button Craft all Usable only in the recipe GUI. Crafts as many as possible of a given recipe.
Left mouse button Cancel crafting 1 Usable only in the crafting queue.
Right mouse button Cancel crafting 5 Usable only in the crafting queue.
SHIFT + Left mouse button Cancel crafting all Usable only in the crafting queue.

Inventory

Key bindings
Key combination Effect Description
Left mouse button Pick up/drop item stack
SHIFT + Left mouse button Stack transfer Transfers the selected stack to the other inventory.
CTRL + Left mouse button Inventory transfer Transfers all of the selected stack type to the other inventory. If an empty slot is clicked all items are transferred.
CTRL + Left mouse button Fast entity transfer Transfers the held stack into the selected entity or if the cursor is empty takes anything the entity has and transfers it to your player.
Right mouse button Cursor split Moves half the selected inventory slot into the cursor if empty. Places a single item from the cursor stack to the selected inventory slot when holding an item.
SHIFT + Right mouse button Stack split Transfers half of the selected stack to the other inventory.
CTRL + Right mouse button Inventory split Transfers half of all of the stacks (rounded up) of the selected stack type to the other inventory. If an empty slot is clicked half of all stacks are transferred.
CTRL + Right mouse button Fast entity split Transfers half of the held stack into the selected entity or if the cursor is empty takes half of anything the entity has and transfers it to your player.
Middle mouse button Toggle filter Create a filter for the selected inventory slot so only the selected item type can be placed in that slot.
Right mouse button Open item's GUI

Quickbar

Key bindings
Key combination Effect Description
X Rotate active quickbars
Not set Next active quickbar Selects the next quickbar for the top quickbar.
Not set Previous active quickbar Selects the previous quickbar for the top quickbar.
1 Shortcut 1
2 Shortcut 2
3 Shortcut 3
4 Shortcut 4
5 Shortcut 5
6 Shortcut 6
7 Shortcut 7
8 Shortcut 8
9 Shortcut 9
0 Shortcut 10
Not set Secondary shortcut 1
Not set Secondary shortcut 2
Not set Secondary shortcut 3
Not set Secondary shortcut 4
Not set Secondary shortcut 5
Not set Secondary shortcut 6
Not set Secondary shortcut 7
Not set Secondary shortcut 8
Not set Secondary shortcut 9
Not set Secondary shortcut 10
SHIFT + 1 Select quickbar 1
SHIFT + 2 Select quickbar 2
SHIFT + 3 Select quickbar 3
SHIFT + 4 Select quickbar 4
SHIFT + 5 Select quickbar 5
SHIFT + 6 Select quickbar 6
SHIFT + 7 Select quickbar 7
SHIFT + 8 Select quickbar 8
SHIFT + 9 Select quickbar 9
SHIFT + 0 Select quickbar 10

Tools

Key bindings
Key combination Effect Description
CTRL + C Copy Select an area of entities to be copied.
CTRL + X Cut Select an area of entities to be copied and marked for deconstruction.
CTRL + V Paste Paste the last copied entities.
SHIFT + Mouse wheel up Next clipboard Cycle the clipboard history while holding the paste tool.
SHIFT + Mouse wheel down Previous clipboard Cycle the clipboard history while holding the paste tool.
CTRL + Z Undo Undo some actions such as manual entity building/removal, placing of blueprints and usage of the deconstruction planner.
ALT + B Make new blueprint
Not set Make new blueprint book
ALT + D Make new deconstruction planner
ALT + U Make new upgrade planner
ALT + E Toggle exoskeleton
ALT + L Toggle personal logistics requests
ALT + R Toggle personal roboport

Panels

Key bindings
Key combination Effect
F1 Open character logistics
F2 Open character crafting
ESC Toggle menu
M Toggle world map
T Toggle technology screen
P Toggle production statistics
L Toggle logistic networks
B Toggle blueprint library
O Toggle train overview

Miscellaneous

Key bindings
Key combination
(Alternative)
Effect Description
SHIFT + SPACE Pause game
TAB Confirm message
BACKSPACE Select previous technology Usable only in the technology screen. Selects the technology you previously had selected.
BACKSPACE
(Mouse button 4)
Select previous mod Usable only in the mods GUI. Selects the mod you previously had selected.
G Connect train Connects the selected train or the train you're driving to any adjacent trains.
V Disconnect train Disconnects the selected rolling stock or the rolling stock you are in from the rest of the train.
F10 Next player in replay
CTRL + Left mouse button Order to follow Used with spidertron remote to force the connected spidertron follow the given target.

Editor

Key bindings
Key combination Effect
Middle mouse button Next variation
SHIFT + Middle mouse button Previous variation
SHIFT + Middle mouse button Clone item
CTRL + Middle mouse button Delete item
Numpad 0 Toggle entity paused
Numpad . Tick once
SHIFT + Numpad + Increase game speed
SHIFT + Numpad - Decrease game speed
SHIFT + Numpad * Reset game speed to 1
SHIFT + Right mouse button Set clone brush source
SHIFT + Left mouse button Set clone brush destination
CTRL Switch to surface # Switches to the surface number pressed in combination with this hotkey: CTRL + 3 -> switches to surface 3.
SHIFT + Right mouse button Remove scripting object

Debug

Key bindings
Key combination Effect
CTRL + F3 Toggle atlas GUI
F4 Toggle debug settings GUI
F5 Toggle basic debug
F9 Reset zoom level
SHIFT + F9 Set zoom level to 2x
CTRL + F5 Toggle GUI debug
CTRL + F6 Toggle GUI style view
CTRL + F7 Toggle GUI shadows
CTRL + F8 Toggle GUI glows
CTRL + SHIFT  + E Open prototypes GUI
CTRL + SHIFT  + F Open prototype explorer GUI
CTRL + Numpad + Increase UI scale
CTRL + Numpad - Decrease UI scale
CTRL + Numpad 0 Reset UI scale to automatic

See also