Changes

Jump to navigation Jump to search
→‎How to…: + use key bindings on Android
Line 14: Line 14:  
===Disable a mod's key binding===
 
===Disable a mod's key binding===
 
For mods using SMAPI 2.0+ features, you can use <tt>None</tt> to disable a key binding.
 
For mods using SMAPI 2.0+ features, you can use <tt>None</tt> to disable a key binding.
 +
 +
===Use key bindings on Android===
 +
You can [[#Mobile|bind physical mobile buttons]], but there aren't many available. [[Modding:Installing SMAPI on Android|SMAPI on Android]] includes a Virtual Keyboard mod which lets you add on-screen buttons you can tap to send keyboard input to your installed mods.
 +
 +
To use the virtual keyboard:
 +
# In-game, a keyboard icon should appear in the top-left corner of the screen.
 +
# Tap the keyboard icon to show the configured buttons.
 +
# Tap the button to send.
 +
 +
To add a new key:
 +
# Run the game once to generate the default <tt>config.json</tt> file.
 +
# Open the <tt>Mods/VirtualKeyboard/config.json</tt> file in a text editor.
 +
# Add new buttons to the <tt>buttons</tt> field in the same format.<br />''Tip: when you add a button, set its <tt>X</tt> value to the previous button + 96.''
    
==Reserved bindings==
 
==Reserved bindings==
translators
8,403

edits

Navigation menu