aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorMuhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>2018-07-11 05:33:40 +0700
committerParamat <paramat@users.noreply.github.com>2018-07-10 23:33:40 +0100
commit7ebc229b0d2d59e367b8ba64a41535d79fdd4204 (patch)
tree04a7636198dfc8c36348e81c3f0962d03d18bc6d /builtin
parentf7a8e757655034abf661c0fcb5129b9ddd798a0b (diff)
downloadminetest-7ebc229b0d2d59e367b8ba64a41535d79fdd4204.tar.gz
minetest-7ebc229b0d2d59e367b8ba64a41535d79fdd4204.tar.bz2
minetest-7ebc229b0d2d59e367b8ba64a41535d79fdd4204.zip
Android: Add 'aux' button (#7477)
Add 'aux' button. Use joystick to trigger 'aux' button when forward and out of main circle, by enabling 'virtual_joystick_triggers_aux' setting.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 0b0ec4a4c..125a962c0 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -126,6 +126,10 @@ touchscreen_threshold (Touch screen threshold) int 20 0 100
# If disabled, virtual joystick will center to first-touch's position.
fixed_virtual_joystick (Fixed virtual joystick) bool false
+# (Android) Use virtual joystick to trigger "aux" button.
+# If enabled, virtual joystick will also tap "aux" button when out of main circle.
+virtual_joystick_triggers_aux (Virtual joystick triggers aux button) bool false
+
# Enable joysticks
enable_joysticks (Enable joysticks) bool false