diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/menu/game.gd | 2 | ||||
-rw-r--r-- | client/project.godot | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/client/menu/game.gd b/client/menu/game.gd index c36fca86..f126b448 100644 --- a/client/menu/game.gd +++ b/client/menu/game.gd @@ -21,7 +21,7 @@ func _ready(): super() func _input(_event): - if Input.is_action_just_pressed("ui_cancel"): + if Input.is_action_just_pressed("ui_menu"): open_ingame_menu() func open_ingame_menu(): diff --git a/client/project.godot b/client/project.godot index 8150da86..8a9b0003 100644 --- a/client/project.godot +++ b/client/project.godot @@ -47,6 +47,13 @@ ui_cancel={ , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":6,"pressure":0.0,"pressed":true,"script":null) ] } +ui_menu={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194370,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":6,"pressure":0.0,"pressed":true,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null) +] +} forward={ "deadzone": 0.1, "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"echo":false,"script":null) |