Add input buttons

This commit is contained in:
Ategon 2024-09-08 14:35:24 -04:00
parent 31c1d81f77
commit 70343d5df7

View file

@ -30,6 +30,19 @@ window/size/viewport_width=640
window/size/viewport_height=360 window/size/viewport_height=360
window/stretch/mode="canvas_items" window/stretch/mode="canvas_items"
[input]
lclick={
"deadzone": 0.5,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":1,"position":Vector2(108, 7),"global_position":Vector2(117, 53),"factor":1.0,"button_index":1,"canceled":false,"pressed":true,"double_click":false,"script":null)
]
}
rclick={
"deadzone": 0.5,
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":2,"position":Vector2(48, 14),"global_position":Vector2(57, 60),"factor":1.0,"button_index":2,"canceled":false,"pressed":true,"double_click":false,"script":null)
]
}
[rendering] [rendering]
renderer/rendering_method="gl_compatibility" renderer/rendering_method="gl_compatibility"