1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add input action name to window title in input map editor

This commit is contained in:
Hugo Locurcio
2023-12-17 22:56:26 +01:00
parent 2d0ee20ff3
commit 8e2f3191e7
3 changed files with 11 additions and 5 deletions

View File

@@ -120,7 +120,8 @@ protected:
public:
// Pass an existing event to configure it. Alternatively, pass no event to start with a blank configuration.
void popup_and_configure(const Ref<InputEvent> &p_event = Ref<InputEvent>());
// An action name can be passed for descriptive purposes.
void popup_and_configure(const Ref<InputEvent> &p_event = Ref<InputEvent>(), const String &p_current_action_name = "");
Ref<InputEvent> get_event() const;
void set_allowed_input_types(int p_type_masks);