touch axis

This commit is contained in:
2021-08-06 01:03:19 +02:00
parent 01a4e93f3f
commit 7c473e0c81
5 changed files with 126 additions and 28 deletions

View File

@@ -80,6 +80,10 @@ mouse_axis = "x"
name = "look_horizontal"
controller_axis = "RightStickX"
[[axis]]
name = "look_horizontal"
touch_axis = "horizontal"
[[axis]]
name = "look_vertical"
mouse_axis = "y"
@@ -88,5 +92,9 @@ mouse_axis = "y"
name = "look_vertical"
controller_axis = "RightStickY"
[[axis]]
name = "look_vertical"
touch_axis = "vertical"
[config]
line_height_px = 16