Changes

Jump to navigation Jump to search
no edit summary
Line 75: Line 75:  
|-
 
|-
 
| <samp>LeftControl</samp>, <samp>RightControl</samp>
 
| <samp>LeftControl</samp>, <samp>RightControl</samp>
| The {{key|CTRL}} key.
+
| The {{key|CTRL}} keys.
 
|-
 
|-
 
| <samp>LeftShift</samp>, <samp>RightShift</samp>
 
| <samp>LeftShift</samp>, <samp>RightShift</samp>
Line 382: Line 382:  
| The volume up/down buttons.
 
| The volume up/down buttons.
 
|}
 
|}
 +
 +
==Device mappings==
 +
===Steam Deck===
 +
The Steam deck is mapped as a controller (see [[#Controller|controller codes]]), and you can remap buttons using Steam Input. Here's how the different Steam Deck buttons are mapped by default:
 +
 +
{| class="wikitable"
 +
|-
 +
! button
 +
! mapped as
 +
|-
 +
| A, B, X, Y<br />left/right shoulder<br />left/right trigger buttons<br />left/right thumbstick<br />D-Pad<br />Start<br />Select
 +
| Sends the equivalent controller codes.
 +
|-
 +
| left touchpad
 +
| Sends equivalent D-Pad codes when touching the edges (e.g. left edge is <samp>DPadLeft</samp>).
 +
|-
 +
| right touchpad
 +
| Sends right thumbstick codes.
 +
|-
 +
| 'Back grip' buttons (L4, L5, R4, R5)
 +
| Not sent to the game by default, unless mapped to a key in Steam Input.
 +
|-
 +
| {{key|Steam}}<br />{{key|...}}
 +
| Not sent to the game.
 +
|}
 +
 +
You can also rebind physical keys in the Steam Deck settings:
 +
# Go to ''Controller Settings > Edit Layout''.
 +
# Choose the button to rebind.
 +
# Choose ''Command Page > Keyboard''.
 +
# Choose the keyboard button to bind it to.
 +
# Now when you press that physical button in-game, it'll send the new keyboard code instead.
    
==Multi-key bindings==
 
==Multi-key bindings==
Line 393: Line 425:  
* [[Controls]] for the game's default bindings
 
* [[Controls]] for the game's default bindings
 
* [[Modding:Modder Guide/APIs/Input|SMAPI input events]] for mod authors
 
* [[Modding:Modder Guide/APIs/Input|SMAPI input events]] for mod authors
 +
 +
[[Category:Modding]]
    
[[de:Modding:Spieleranleitung/Tastenbelegung]]
 
[[de:Modding:Spieleranleitung/Tastenbelegung]]
[[es:Modding:Guía_del_jugador/Enlaces_de_teclas]]
+
[[es:Modding:Guía del jugador/Enlaces de teclas]]
 
[[zh:模组:使用指南/按键绑定]]
 
[[zh:模组:使用指南/按键绑定]]
106,729

edits

Navigation menu