summaryrefslogtreecommitdiff
path: root/core/os/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/input.h')
-rw-r--r--core/os/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/input.h b/core/os/input.h
index 5987d6ef6c..cc51dbf42f 100644
--- a/core/os/input.h
+++ b/core/os/input.h
@@ -64,6 +64,7 @@ public:
virtual Point2 get_mouse_pos() const=0;
virtual Point2 get_mouse_speed() const=0;
+ virtual int get_mouse_button_mask() const=0;
virtual Vector3 get_accelerometer()=0;
@@ -120,6 +121,7 @@ public:
virtual Point2 get_mouse_pos() const;
virtual Point2 get_mouse_speed() const;
+ virtual int get_mouse_button_mask() const;
void parse_input_event(const InputEvent& p_event);
void set_accelerometer(const Vector3& p_accel);