summaryrefslogtreecommitdiff
path: root/core/os/input_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r--core/os/input_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index 8732c7e377..7f3da380d4 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -480,6 +480,8 @@ public:
virtual bool is_action(const StringName &p_action) const;
+ virtual bool action_match(const Ref<InputEvent> &p_event, bool *p_pressed, float *p_strength, float p_deadzone) const;
+
virtual bool shortcut_match(const Ref<InputEvent> &p_event) const;
virtual bool is_action_type() const { return true; }
virtual String as_text() const;