diff options
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r-- | core/os/input_event.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h index a6a7012298..47f9293a7f 100644 --- a/core/os/input_event.h +++ b/core/os/input_event.h @@ -186,6 +186,7 @@ public: virtual bool shortcut_match(const Ref<InputEvent> &p_event) const; virtual bool is_action_type() const; + virtual bool accumulate(const Ref<InputEvent> &p_event) { return false; } InputEvent(); }; @@ -351,6 +352,8 @@ public: virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const; virtual String as_text() const; + virtual bool accumulate(const Ref<InputEvent> &p_event); + InputEventMouseMotion(); }; |