Skip to content

Commit

Permalink
Rename 'Focus Controls' to ui_focus_controls
Browse files Browse the repository at this point in the history
  • Loading branch information
hatmix committed Jan 22, 2025
1 parent 58ff2c5 commit 8773cd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ ui_cancel={
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
]
}
"Focus Controls"={
ui_focus_controls={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194306,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
]
Expand Down
2 changes: 1 addition & 1 deletion ui/ui.gd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func _input(event: InputEvent) -> void:
if (
event is InputEventJoypadMotion
or event is InputEventJoypadButton
or event.is_action_pressed("Focus Controls")
or event.is_action_pressed("ui_focus_controls")
):
_focus_something()

Expand Down

0 comments on commit 8773cd8

Please sign in to comment.