controller input

This commit is contained in:
2019-07-31 19:13:59 +02:00
parent 7dff6354b9
commit 7fe3d34d79
4 changed files with 116 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ scan_code = 32
[[button]]
name = "test"
scan_code = 20
controller_button = "West"
ctrl = true
[[axis]]
@@ -46,6 +46,10 @@ name = "move_sideways"
positive_button = "d"
negative_button = "a"
[[axis]]
name = "move_sideways"
controller_axis = "LeftStickX"
[[axis]]
name = "look_horizontal"
mouse_axis = "x"