Modding:Spieleranleitung/Tastenbelegung: Unterschied zwischen den Versionen

Aus Stardew Valley Wiki
Zur Navigation springen Zur Suche springen
K
(use header template)
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{../Überschrift}}
+
{{Modding player guide header}}
  
 
Manche Mods lassen dich die Tastenbelegung ändern (Controller-, Tastatur- und Maustasten, welche im Spiel etwas tun. Diese Seite erklärt, wie du diese knofigurieren kannst
 
Manche Mods lassen dich die Tastenbelegung ändern (Controller-, Tastatur- und Maustasten, welche im Spiel etwas tun. Diese Seite erklärt, wie du diese knofigurieren kannst
Zeile 9: Zeile 9:
 
# Install the mod ([[:en:Modding:Player Guide/Getting Started|see help]]).
 
# Install the mod ([[:en:Modding:Player Guide/Getting Started|see help]]).
 
# Run SMAPI at least once with the mod to let it generate its config file.
 
# Run SMAPI at least once with the mod to let it generate its config file.
# Edit <tt>config.json</tt> in the mod's folder with a text editor.
+
# Edit <samp>config.json</samp> in the mod's folder with a text editor.
 
# Change the key options using the values below. (On Mac, make sure it doesn't change to curly quotes.)
 
# Change the key options using the values below. (On Mac, make sure it doesn't change to curly quotes.)
  
Zeile 22: Zeile 22:
  
 
; common keys
 
; common keys
: {| class="wikitable"
+
: {|class="wikitable"
 
|-
 
|-
 
! value
 
! value
 
! description
 
! description
 
|-
 
|-
| <tt>A</tt> through <tt>Z</tt>
+
| <samp>A</samp> through <samp>Z</samp>
 
| The letter keys.
 
| The letter keys.
 
|-
 
|-
| <tt>D0</tt> through <tt>D9</tt>
+
| <samp>D0</samp> through <samp>D9</samp>
 
| The number keys.
 
| The number keys.
 
|-
 
|-
| <tt>Down</tt>, <tt>Left</tt>,<br /><tt>Right</tt>, <tt>Up</tt>
+
| <samp>Down</samp>, <samp>Left</samp>,<br /><samp>Right</samp>, <samp>Up</samp>
 
| The arrow keys.
 
| The arrow keys.
 
|-
 
|-
| <tt>F1</tt> through <tt>F24</tt>
+
| <samp>F1</samp> through <samp>F24</samp>
 
| The function keys.
 
| The function keys.
 
|-
 
|-
| <tt>Apps</tt>
+
| <samp>Apps</samp>
 
| The applications or menu ({{key|▤}}) key, typically located next to your right {{key|CTRL}} key.
 
| The applications or menu ({{key|▤}}) key, typically located next to your right {{key|CTRL}} key.
 
|-
 
|-
| <tt>Back</tt>
+
| <samp>Back</samp>
 
| The backspace ({{key|⌫}} or {{key|⟵}}) key.
 
| The backspace ({{key|⌫}} or {{key|⟵}}) key.
 
|-
 
|-
| <tt>CapsLock</tt>
+
| <samp>CapsLock</samp>
 
| The {{key|CAPS LOCK}} or {{key|⇪}} key.
 
| The {{key|CAPS LOCK}} or {{key|⇪}} key.
 
|-
 
|-
| <tt>Enter</tt>
+
| <samp>Enter</samp>
 
| The {{key|ENTER}} or {{key|↵}} key.
 
| The {{key|ENTER}} or {{key|↵}} key.
 
|-
 
|-
| <tt>Escape</tt>
+
| <samp>Escape</samp>
 
| The {{key|ESC}} key.
 
| The {{key|ESC}} key.
 
|-
 
|-
| <tt>LeftAlt</tt>, <tt>RightAlt</tt>
+
| <samp>LeftAlt</samp>, <samp>RightAlt</samp>
 
| The {{key|ALT}} keys.
 
| The {{key|ALT}} keys.
 
|-
 
|-
| <tt>LeftControl</tt>, <tt>RightControl</tt>
+
| <samp>LeftControl</samp>, <samp>RightControl</samp>
 
| The {{key|CTRL}} key.
 
| The {{key|CTRL}} key.
 
|-
 
|-
| <tt>LeftShift</tt>, <tt>RightShift</tt>
+
| <samp>LeftShift</samp>, <samp>RightShift</samp>
 
| The {{key|SHIFT}} or {{key|⇧}} keys.
 
| The {{key|SHIFT}} or {{key|⇧}} keys.
 
|-
 
|-
| <tt>LeftWindows</tt>, <tt>RightWindows</tt>
+
| <samp>LeftWindows</samp>, <samp>RightWindows</samp>
 
| The Windows keys.
 
| The Windows keys.
 
|-
 
|-
| <tt>OemCloseBrackets</tt>
+
| <samp>OemCloseBrackets</samp>
 
| The {{key|]}} key.
 
| The {{key|]}} key.
 
|-
 
|-
| <tt>OemComma</tt>
+
| <samp>OemComma</samp>
 
| The {{key|,}} key.
 
| The {{key|,}} key.
 
|-
 
|-
| <tt>OemMinus</tt>
+
| <samp>OemMinus</samp>
 
| The {{key|-}} key.
 
| The {{key|-}} key.
 
|-
 
|-
| <tt>OemOpenBrackets</tt>
+
| <samp>OemOpenBrackets</samp>
 
| The {{key|[}} key.
 
| The {{key|[}} key.
 
|-
 
|-
| <tt>OemPeriod</tt>
+
| <samp>OemPeriod</samp>
 
| The {{key|.}} key.
 
| The {{key|.}} key.
 
|-
 
|-
| <tt>OemPipe</tt>
+
| <samp>OemPipe</samp>
 
| The {{key|&#124;}} key.
 
| The {{key|&#124;}} key.
 
|-
 
|-
| <tt>OemPlus</tt>
+
| <samp>OemPlus</samp>
 
| The {{key|+}} key.
 
| The {{key|+}} key.
 
|-
 
|-
| <tt>OemQuestion</tt>
+
| <samp>OemQuestion</samp>
 
| The {{key|?}} key on a US standard keyboard.
 
| The {{key|?}} key on a US standard keyboard.
 
|-
 
|-
| <tt>OemQuotes</tt>
+
| <samp>OemQuotes</samp>
 
| The {{key|'}} or {{key|"}} key on a US standard keyboard.
 
| The {{key|'}} or {{key|"}} key on a US standard keyboard.
 
|-
 
|-
| <tt>OemSemicolon</tt>
+
| <samp>OemSemicolon</samp>
 
| The {{key|;}} key on a US standard keyboard.
 
| The {{key|;}} key on a US standard keyboard.
 
|-
 
|-
| <tt>OemTilde</tt>
+
| <samp>OemTilde</samp>
 
| The {{key|~}} key on a US standard keyboard.
 
| The {{key|~}} key on a US standard keyboard.
 
|-
 
|-
| <tt>Space</tt>
+
| <samp>Space</samp>
 
| The space bar.
 
| The space bar.
 
|-
 
|-
| <tt>Tab</tt>
+
| <samp>Tab</samp>
 
| The {{key|TAB}} or {{key|
 
| The {{key|TAB}} or {{key|
 
Subtract Subtract key
 
Subtract Subtract key
Zeile 110: Zeile 110:
  
 
; numeric pad
 
; numeric pad
:{| class="wikitable"
+
:{|class="wikitable"
 
|-
 
|-
 
! value
 
! value
 
! description
 
! description
 
|-
 
|-
| <tt>Numpad0</tt> through <tt>Numpad9</tt>
+
| <samp>Numpad0</samp> through <samp>Numpad9</samp>
 
| The numpad number keys.
 
| The numpad number keys.
 
|-
 
|-
| <tt>Add</tt>
+
| <samp>Add</samp>
 
| The {{key|+}} numpad key.
 
| The {{key|+}} numpad key.
 
|-
 
|-
| <tt>Subtract</tt>
+
| <samp>Subtract</samp>
 
| The {{key|-}} numpad key.
 
| The {{key|-}} numpad key.
 
|-
 
|-
| <tt>Divide</tt>
+
| <samp>Divide</samp>
 
| The {{key|/}} numpad key.
 
| The {{key|/}} numpad key.
 
|-
 
|-
| <tt>Multiply</tt>
+
| <samp>Multiply</samp>
 
| The {{key|*}} numpad key.
 
| The {{key|*}} numpad key.
 
|-
 
|-
| <tt>NumLock</tt>
+
| <samp>NumLock</samp>
 
| The numeric lock, {{key|NUMLOCK}}, {{key|NUMLK}}, or {{key|NUM}} key.
 
| The numeric lock, {{key|NUMLOCK}}, {{key|NUMLK}}, or {{key|NUM}} key.
 
|}
 
|}
  
 
; control keys (above arrow keys)
 
; control keys (above arrow keys)
:{| class="wikitable"
+
:{|class="wikitable"
 
|-
 
|-
 
! value
 
! value
 
! description
 
! description
 
|-
 
|-
| <tt>Delete</tt>
+
| <samp>Delete</samp>
 
| The {{key|DEL}} key.
 
| The {{key|DEL}} key.
 
|-
 
|-
| <tt>End</tt>
+
| <samp>End</samp>
 
| The {{key|END}} key.
 
| The {{key|END}} key.
 
|-
 
|-
| <tt>Insert</tt>
+
| <samp>Insert</samp>
 
| The {{key|INS}} key.
 
| The {{key|INS}} key.
 
|-
 
|-
| <tt>PageDown</tt>, <tt>PageUp</tt>
+
| <samp>PageDown</samp>, <samp>PageUp</samp>
 
| The {{key|PAGE UP}} and {{key|PAGE DOWN}} keys.
 
| The {{key|PAGE UP}} and {{key|PAGE DOWN}} keys.
 
|-
 
|-
| <tt>Pause</tt>
+
| <samp>Pause</samp>
 
| The {{key|PAUSE}} key.
 
| The {{key|PAUSE}} key.
 
|-
 
|-
| <tt>PrintScreen</tt>
+
| <samp>PrintScreen</samp>
 
| The {{key|PRT SCR}} key.
 
| The {{key|PRT SCR}} key.
 
|-
 
|-
| <tt>Scroll</tt>
+
| <samp>Scroll</samp>
 
| The {{key|SCR LK}} key.
 
| The {{key|SCR LK}} key.
 
|}
 
|}
  
 
; uncommon keys
 
; uncommon keys
:{| class="mw-collapsible mw-collapsed wikitable"
+
:{|class="mw-collapsible mw-collapsed wikitable"
 
|-
 
|-
 
!
 
!
Zeile 170: Zeile 170:
 
! description
 
! description
 
|-
 
|-
| <tt>BrowserBack</tt>
+
| <samp>BrowserBack</samp>
 
| The browser back key.
 
| The browser back key.
 
|-
 
|-
| <tt>BrowserFavorites</tt>
+
| <samp>BrowserFavorites</samp>
 
| The browser favorites key.
 
| The browser favorites key.
 
|-
 
|-
| <tt>BrowserForward</tt>
+
| <samp>BrowserForward</samp>
 
| The browser forward key.
 
| The browser forward key.
 
|-
 
|-
| <tt>BrowserHome</tt>
+
| <samp>BrowserHome</samp>
 
| The browser start and home key.
 
| The browser start and home key.
 
|-
 
|-
| <tt>BrowserRefresh</tt>
+
| <samp>BrowserRefresh</samp>
 
| The browser refresh key.
 
| The browser refresh key.
 
|-
 
|-
| <tt>BrowserSearch</tt>
+
| <samp>BrowserSearch</samp>
 
| The browser search key.
 
| The browser search key.
 
|-
 
|-
| <tt>BrowserStop</tt>
+
| <samp>BrowserStop</samp>
 
| The browser stop key.
 
| The browser stop key.
 
|-
 
|-
| <tt>ChatPadGreen</tt>
+
| <samp>ChatPadGreen</samp>
 
| The green ChatPad key.
 
| The green ChatPad key.
 
|-
 
|-
| <tt>ChatPadOrange</tt>
+
| <samp>ChatPadOrange</samp>
 
| The orange ChatPad key.
 
| The orange ChatPad key.
 
|-
 
|-
| <tt>Crsel</tt>
+
| <samp>Crsel</samp>
 
| The cursor select key.
 
| The cursor select key.
 
|-
 
|-
| <tt>Decimal</tt>
+
| <samp>Decimal</samp>
 
| The decimal key.
 
| The decimal key.
 
|-
 
|-
| <tt>EraseEof</tt>
+
| <samp>EraseEof</samp>
 
| The erase EOF key.
 
| The erase EOF key.
 
|-
 
|-
| <tt>Execute</tt>
+
| <samp>Execute</samp>
 
| The execute key.
 
| The execute key.
 
|-
 
|-
| <tt>Exsel</tt>
+
| <samp>Exsel</samp>
 
| The execute selection key.
 
| The execute selection key.
 
|-
 
|-
| <tt>Help</tt>
+
| <samp>Help</samp>
 
| The help key.
 
| The help key.
 
|-
 
|-
| <tt>Home</tt>
+
| <samp>Home</samp>
 
| The home key.
 
| The home key.
 
|-
 
|-
| <tt>ImeConvert</tt>
+
| <samp>ImeConvert</samp>
 
| The IME convert key.
 
| The IME convert key.
 
|-
 
|-
| <tt>ImeNoConvert</tt>
+
| <samp>ImeNoConvert</samp>
 
| The IME no-convert key.
 
| The IME no-convert key.
 
|-
 
|-
| <tt>Kana</tt>
+
| <samp>Kana</samp>
 
| The Kana key on Japanese keyboards.
 
| The Kana key on Japanese keyboards.
 
|-
 
|-
| <tt>Kanji</tt>
+
| <samp>Kanji</samp>
 
| The Kanji key on Japanese keyboards.
 
| The Kanji key on Japanese keyboards.
 
|-
 
|-
| <tt>LaunchApplication1</tt>
+
| <samp>LaunchApplication1</samp>
 
| The Start Application 1 key.
 
| The Start Application 1 key.
 
|-
 
|-
| <tt>LaunchApplication2</tt>
+
| <samp>LaunchApplication2</samp>
 
| The Start Application 2 key.
 
| The Start Application 2 key.
 
|-  
 
|-  
| <tt>LaunchMail</tt>
+
| <samp>LaunchMail</samp>
 
| The Start Mail key.
 
| The Start Mail key.
 
|-
 
|-
| <tt>MediaNextTrack</tt>
+
| <samp>MediaNextTrack</samp>
 
| The Next Track key.
 
| The Next Track key.
 
|-
 
|-
| <tt>MediaPlayPause</tt>
+
| <samp>MediaPlayPause</samp>
 
| The Play/Pause Media key.
 
| The Play/Pause Media key.
 
|-
 
|-
| <tt>MediaPreviousTrack</tt>
+
| <samp>MediaPreviousTrack</samp>
 
| The Previous Track key.
 
| The Previous Track key.
 
|-
 
|-
| <tt>MediaStop</tt>
+
| <samp>MediaStop</samp>
 
| The Stop Media key.
 
| The Stop Media key.
 
|-
 
|-
| <tt>Oem8</tt>
+
| <samp>Oem8</samp>
 
| Varies by keyboard.
 
| Varies by keyboard.
 
|-
 
|-
| <tt>OemAuto</tt>
+
| <samp>OemAuto</samp>
 
| OEM Auto key.
 
| OEM Auto key.
 
|-
 
|-
| <tt>OemBackslash</tt>
+
| <samp>OemBackslash</samp>
 
| The The OEM angle bracket or backslash key on the RT 102 key keyboard.
 
| The The OEM angle bracket or backslash key on the RT 102 key keyboard.
 
|-
 
|-
| <tt>OemClear</tt>
+
| <samp>OemClear</samp>
 
| The OEM clear key.
 
| The OEM clear key.
 
|-
 
|-
| <tt>OemCopy</tt>
+
| <samp>OemCopy</samp>
 
| The OEM copy key.
 
| The OEM copy key.
 
|-
 
|-
| <tt>OemEnlW</tt>
+
| <samp>OemEnlW</samp>
 
| The OEM Enlarge Window key.
 
| The OEM Enlarge Window key.
 
|-
 
|-
| <tt>PA1</tt>
+
| <samp>PA1</samp>
 
| The PA1 key.
 
| The PA1 key.
 
|-
 
|-
| <tt>Play</tt>
+
| <samp>Play</samp>
 
| The play key.
 
| The play key.
 
|-
 
|-
| <tt>Print</tt>
+
| <samp>Print</samp>
 
| The {{key|PRINT}} key.
 
| The {{key|PRINT}} key.
 
|-
 
|-
| <tt>ProcessKey</tt>
+
| <samp>ProcessKey</samp>
 
| The IME process key.
 
| The IME process key.
 
|-
 
|-
| <tt>Select</tt>
+
| <samp>Select</samp>
 
| The select key.
 
| The select key.
 
|-
 
|-
| <tt>SelectMedia</tt>
+
| <samp>SelectMedia</samp>
 
| The select media key.
 
| The select media key.
 
|-
 
|-
| <tt>Separator</tt>
+
| <samp>Separator</samp>
 
| The separator key.
 
| The separator key.
 
|-
 
|-
| <tt>Sleep</tt>
+
| <samp>Sleep</samp>
 
| The computer sleep key.
 
| The computer sleep key.
 
|-
 
|-
| <tt>VolumeDown</tt>, <tt>VolumeUp</tt>
+
| <samp>VolumeDown</samp>, <samp>VolumeUp</samp>
 
| The volume down/up keys.
 
| The volume down/up keys.
 
|-
 
|-
| <tt>VolumeMute</tt>
+
| <samp>VolumeMute</samp>
 
| The volume mute keys.
 
| The volume mute keys.
 
|-
 
|-
| <tt>Zoom</tt>
+
| <samp>Zoom</samp>
 
| The zoom key.
 
| The zoom key.
 
|}
 
|}
Zeile 306: Zeile 306:
 
Controller bindings are supported by mods using SMAPI 2.0+ features, and some older mods.
 
Controller bindings are supported by mods using SMAPI 2.0+ features, and some older mods.
  
{| class="wikitable"
+
{|class="wikitable"
 
|-
 
|-
 
! value
 
! value
 
! description
 
! description
 
|-
 
|-
| <tt>ControllerA</tt>, <tt>ControllerB</tt>,<br /><tt>ControllerX</tt>, <tt>ControllerY</tt>
+
| <samp>ControllerA</samp>, <samp>ControllerB</samp>,<br /><samp>ControllerX</samp>, <samp>ControllerY</samp>
 
| The main buttons.
 
| The main buttons.
 
|-
 
|-
| <tt>ControllerBack</tt>
+
| <samp>ControllerBack</samp>
 
| The 'BACK' button on an XBox controller.
 
| The 'BACK' button on an XBox controller.
 
|-
 
|-
| <tt>ControllerStart</tt>
+
| <samp>ControllerStart</samp>
 
| The 'START' button.
 
| The 'START' button.
 
|-
 
|-
| <tt>BigButton</tt>
+
| <samp>BigButton</samp>
 
| The 'big button' on the XBox Big Button controller.
 
| The 'big button' on the XBox Big Button controller.
 
|-
 
|-
| <tt>DPadDown</tt>, <tt>DPadLeft</tt><br /><tt>DPadRight</tt>, <tt>DPadUp</tt>
+
| <samp>DPadDown</samp>, <samp>DPadLeft</samp><br /><samp>DPadRight</samp>, <samp>DPadUp</samp>
 
| The directional pad buttons.
 
| The directional pad buttons.
 
|-
 
|-
| <tt>LeftShoulder</tt>, <tt>RightShoulder</tt>
+
| <samp>LeftShoulder</samp>, <samp>RightShoulder</samp>
 
| The bumper (shoulder) buttons.
 
| The bumper (shoulder) buttons.
 
|-
 
|-
| <tt>LeftStick</tt>, <tt>RightStick</tt>
+
| <samp>LeftStick</samp>, <samp>RightStick</samp>
 
| The left/right thumbsticks when pressed as a button.
 
| The left/right thumbsticks when pressed as a button.
 
|-
 
|-
| <tt>LeftThumbstickDown</tt>, <tt>LeftThumbstickLeft</tt>,<br /><tt>LeftThumbstickRight</tt>, <tt>LeftThumbstickUp</tt>
+
| <samp>LeftThumbstickDown</samp>, <samp>LeftThumbstickLeft</samp>,<br /><samp>LeftThumbstickRight</samp>, <samp>LeftThumbstickUp</samp>
 
| The left thumbstick when pushed in a direction.
 
| The left thumbstick when pushed in a direction.
 
|-
 
|-
| <tt>LeftTrigger</tt>, <tt>RightTrigger</tt>
+
| <samp>LeftTrigger</samp>, <samp>RightTrigger</samp>
 
| The trigger buttons.
 
| The trigger buttons.
 
|-
 
|-
| <tt>RightThumbstickDown</tt>, <tt>RightThumbstickLeft</tt>,<br /><tt>RightThumbstickRight</tt>, <tt>RightThumbstickUp</tt>
+
| <samp>RightThumbstickDown</samp>, <samp>RightThumbstickLeft</samp>,<br /><samp>RightThumbstickRight</samp>, <samp>RightThumbstickUp</samp>
 
| The right thumbstick when pushed in a direction.
 
| The right thumbstick when pushed in a direction.
 
|}
 
|}
Zeile 345: Zeile 345:
 
Mouse bindings are supported by mods using SMAPI 2.0+ features.
 
Mouse bindings are supported by mods using SMAPI 2.0+ features.
  
{| class="wikitable"
+
{|class="wikitable"
 
|-
 
|-
 
! value
 
! value
 
! description
 
! description
 
|-
 
|-
| <tt>MouseLeft</tt>
+
| <samp>MouseLeft</samp>
 
| The left mouse button.
 
| The left mouse button.
 
|-
 
|-
| <tt>MouseRight</tt>
+
| <samp>MouseRight</samp>
 
| The right mouse button.
 
| The right mouse button.
 
|-
 
|-
| <tt>MouseMiddle</tt>
+
| <samp>MouseMiddle</samp>
 
| The middle mouse button.
 
| The middle mouse button.
 
|-
 
|-
| <tt>MouseX1</tt>, <tt>MouseX2</tt>
+
| <samp>MouseX1</samp>, <samp>MouseX2</samp>
 
| The extended mouse buttons (varies by mouse).
 
| The extended mouse buttons (varies by mouse).
 
|}
 
|}
  
 
==For modders==
 
==For modders==
These constants are part of the [[:en:Modding:Modder Guide/APIs/Input|SMAPI input events]], specifically SMAPI's <tt>SButton</tt> enum which unifies XNA's [https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.buttons.aspx <tt>Buttons</tt>], [https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.keys.aspx <tt>Keys</tt>], and [https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.mousestate.aspx <tt>MouseState</tt>].
+
These constants are part of the [[:en:Modding:Modder Guide/APIs/Input|SMAPI input events]], specifically SMAPI's <samp>SButton</samp> enum which unifies XNA's [https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.buttons.aspx <samp>Buttons</samp>], [https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.keys.aspx <samp>Keys</samp>], and [https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.mousestate.aspx <samp>MouseState</samp>].
  
 
[[en:Modding:Player Guide/Key Bindings]]
 
[[en:Modding:Player Guide/Key Bindings]]

Aktuelle Version vom 22. August 2022, 16:36 Uhr

Spieleranleitung für die Verwendung von Mods SMAPI mascot.png

Manche Mods lassen dich die Tastenbelegung ändern (Controller-, Tastatur- und Maustasten, welche im Spiel etwas tun. Diese Seite erklärt, wie du diese knofigurieren kannst

Robin building.png
Ich habe noch eine Menge Arbeit vor mir
— Robin

Unvollständige Übersetzung

Dieser Artikel oder Abschnitt wurde noch nicht vollständig ins Deutsche übersetzt. Du bist herzlich eingeladen, uns dabei durch die Bearbeitung dieses Textes zu unterstützen!
Zuletzt bearbeitet von Margotbean am 22. Aug. 2022 um 16:36:55.


How to configure a mod's bindings

  1. Install the mod (see help).
  2. Run SMAPI at least once with the mod to let it generate its config file.
  3. Edit config.json in the mod's folder with a text editor.
  4. Change the key options using the values below. (On Mac, make sure it doesn't change to curly quotes.)

Note that some mods may not be configurable.

Reserved bindings

You can't use the key bound to the chat box in multiplayer (default T).

Available bindings

Keyboard

Keyboard bindings are supported by virtually all configurable mods.

common keys
value description
A through Z The letter keys.
D0 through D9 The number keys.
Down, Left,
Right, Up
The arrow keys.
F1 through F24 The function keys.
Apps The applications or menu () key, typically located next to your right CTRL key.
Back The backspace ( or ) key.
CapsLock The CAPS LOCK or key.
Enter The ENTER or key.
Escape The ESC key.
LeftAlt, RightAlt The ALT keys.
LeftControl, RightControl The CTRL key.
LeftShift, RightShift The SHIFT or keys.
LeftWindows, RightWindows The Windows keys.
OemCloseBrackets The ] key.
OemComma The , key.
OemMinus The - key.
OemOpenBrackets The [ key.
OemPeriod The . key.
OemPipe The | key.
OemPlus The + key.
OemQuestion The ? key on a US standard keyboard.
OemQuotes The ' or " key on a US standard keyboard.
OemSemicolon The ; key on a US standard keyboard.
OemTilde The ~ key on a US standard keyboard.
Space The space bar.
Tab

Subtract Subtract key Tab TAB key

numeric pad
value description
Numpad0 through Numpad9 The numpad number keys.
Add The + numpad key.
Subtract The - numpad key.
Divide The / numpad key.
Multiply The * numpad key.
NumLock The numeric lock, NUMLOCK, NUMLK, or NUM key.
control keys (above arrow keys)
value description
Delete The DEL key.
End The END key.
Insert The INS key.
PageDown, PageUp The PAGE UP and PAGE DOWN keys.
Pause The PAUSE key.
PrintScreen The PRT SCR key.
Scroll The SCR LK key.
uncommon keys
value description
BrowserBack The browser back key.
BrowserFavorites The browser favorites key.
BrowserForward The browser forward key.
BrowserHome The browser start and home key.
BrowserRefresh The browser refresh key.
BrowserSearch The browser search key.
BrowserStop The browser stop key.
ChatPadGreen The green ChatPad key.
ChatPadOrange The orange ChatPad key.
Crsel The cursor select key.
Decimal The decimal key.
EraseEof The erase EOF key.
Execute The execute key.
Exsel The execute selection key.
Help The help key.
Home The home key.
ImeConvert The IME convert key.
ImeNoConvert The IME no-convert key.
Kana The Kana key on Japanese keyboards.
Kanji The Kanji key on Japanese keyboards.
LaunchApplication1 The Start Application 1 key.
LaunchApplication2 The Start Application 2 key.
LaunchMail The Start Mail key.
MediaNextTrack The Next Track key.
MediaPlayPause The Play/Pause Media key.
MediaPreviousTrack The Previous Track key.
MediaStop The Stop Media key.
Oem8 Varies by keyboard.
OemAuto OEM Auto key.
OemBackslash The The OEM angle bracket or backslash key on the RT 102 key keyboard.
OemClear The OEM clear key.
OemCopy The OEM copy key.
OemEnlW The OEM Enlarge Window key.
PA1 The PA1 key.
Play The play key.
Print The PRINT key.
ProcessKey The IME process key.
Select The select key.
SelectMedia The select media key.
Separator The separator key.
Sleep The computer sleep key.
VolumeDown, VolumeUp The volume down/up keys.
VolumeMute The volume mute keys.
Zoom The zoom key.

Controller

Controller bindings are supported by mods using SMAPI 2.0+ features, and some older mods.

value description
ControllerA, ControllerB,
ControllerX, ControllerY
The main buttons.
ControllerBack The 'BACK' button on an XBox controller.
ControllerStart The 'START' button.
BigButton The 'big button' on the XBox Big Button controller.
DPadDown, DPadLeft
DPadRight, DPadUp
The directional pad buttons.
LeftShoulder, RightShoulder The bumper (shoulder) buttons.
LeftStick, RightStick The left/right thumbsticks when pressed as a button.
LeftThumbstickDown, LeftThumbstickLeft,
LeftThumbstickRight, LeftThumbstickUp
The left thumbstick when pushed in a direction.
LeftTrigger, RightTrigger The trigger buttons.
RightThumbstickDown, RightThumbstickLeft,
RightThumbstickRight, RightThumbstickUp
The right thumbstick when pushed in a direction.

Mouse

Mouse bindings are supported by mods using SMAPI 2.0+ features.

value description
MouseLeft The left mouse button.
MouseRight The right mouse button.
MouseMiddle The middle mouse button.
MouseX1, MouseX2 The extended mouse buttons (varies by mouse).

For modders

These constants are part of the SMAPI input events, specifically SMAPI's SButton enum which unifies XNA's Buttons, Keys, and MouseState.