summaryrefslogtreecommitdiff
path: root/core/input_map.h
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-05-05 06:49:46 +0200
committerGitHub <noreply@github.com>2018-05-05 06:49:46 +0200
commit5d529ba2e16a4d66dc2c8fb6e5302d69b69e3042 (patch)
treede608c3c75c7ccd7db12283e97412804efe9851a /core/input_map.h
parenta53b08861ae0c53be6fa2f3eb34d216ab4d30116 (diff)
parentc510e2586dc84345a88f11fe3477df2e97976d73 (diff)
Merge pull request #18488 from AndreaCatania/ie0
Added method to clear input events of an action
Diffstat (limited to 'core/input_map.h')
-rw-r--r--core/input_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input_map.h b/core/input_map.h
index f497a2b86e..bdec75c65b 100644
--- a/core/input_map.h
+++ b/core/input_map.h
@@ -75,6 +75,7 @@ public:
void action_add_event(const StringName &p_action, const Ref<InputEvent> &p_event);
bool action_has_event(const StringName &p_action, const Ref<InputEvent> &p_event);
void action_erase_event(const StringName &p_action, const Ref<InputEvent> &p_event);
+ void action_erase_events(const StringName &p_action);
const List<Ref<InputEvent> > *get_action_list(const StringName &p_action);
bool event_is_action(const Ref<InputEvent> &p_event, const StringName &p_action) const;