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.
This commit is contained in:
Muhammad Rifqi Priyo Susanto
2018-07-11 05:33:40 +07:00
committed by Paramat
parent f7a8e75765
commit 7ebc229b0d
5 changed files with 41 additions and 10 deletions

View File

@@ -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