basic touch input
This commit is contained in:
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