basic touch input
This commit is contained in:
@@ -48,6 +48,7 @@ scan_code = 64
|
||||
[[button]]
|
||||
name = "select"
|
||||
mouse = "left"
|
||||
touch = 1
|
||||
|
||||
[[axis]]
|
||||
name = "move_forward"
|
||||
|
||||
@@ -4,4 +4,5 @@ mesh_load_info = true
|
||||
[input]
|
||||
mouse_motion = false
|
||||
buttons = false
|
||||
touch = true
|
||||
missing_bindings = true
|
||||
31
config/testinput.toml
Normal file
31
config/testinput.toml
Normal file
@@ -0,0 +1,31 @@
|
||||
[[button]]
|
||||
name = "quit"
|
||||
scan_code = 1
|
||||
|
||||
[[button]]
|
||||
name = "select"
|
||||
mouse = "left"
|
||||
|
||||
[[button]]
|
||||
name = "touchclick"
|
||||
touch = 1
|
||||
|
||||
[[button]]
|
||||
name = "doubletouchclick"
|
||||
touch = 2
|
||||
|
||||
[[button]]
|
||||
name = "button_left"
|
||||
scan_code = 30
|
||||
|
||||
[[button]]
|
||||
name = "button_right"
|
||||
scan_code = 32
|
||||
|
||||
[[axis]]
|
||||
name = "move_sideways"
|
||||
positive_button = "button_right"
|
||||
negative_button = "button_left"
|
||||
|
||||
[config]
|
||||
line_height_px = 16
|
||||
Reference in New Issue
Block a user