Änderungen

Zur Navigation springen Zur Suche springen
use header template
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 7: Zeile 7:     
==How to configure a mod's bindings==
 
==How to configure a mod's bindings==
# Install the mod ([[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 [[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]]
105.785

Bearbeitungen

Navigationsmenü