diff options
author | AndreaCatania <info@andreacatania.com> | 2018-04-28 19:01:54 +0200 |
---|---|---|
committer | Andrea Catania <info@andreacatania.com> | 2018-05-03 00:26:49 +0200 |
commit | c510e2586dc84345a88f11fe3477df2e97976d73 (patch) | |
tree | 90416a881105c8f7a1c27293d40d0ff5cc862c9f /core/input_map.h | |
parent | 75ff86f8f5cf2364af9f12455fac2fd01bb48849 (diff) | |
download | redot-engine-c510e2586dc84345a88f11fe3477df2e97976d73.tar.gz |
Added method to clear input events of an action
Diffstat (limited to 'core/input_map.h')
-rw-r--r-- | core/input_map.h | 1 |
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; |