diff options
Diffstat (limited to 'core/os/input.h')
-rw-r--r-- | core/os/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/os/input.h b/core/os/input.h index b837a1f68f..1cb0f35d96 100644 --- a/core/os/input.h +++ b/core/os/input.h @@ -69,6 +69,8 @@ public: virtual Point2 get_mouse_speed() const=0; virtual int get_mouse_button_mask() const=0; + virtual void warp_mouse_pos(const Vector2& p_to)=0; + virtual Vector3 get_accelerometer()=0; virtual void action_press(const StringName& p_action)=0; @@ -128,6 +130,9 @@ public: virtual Point2 get_mouse_speed() const; virtual int get_mouse_button_mask() const; + virtual void warp_mouse_pos(const Vector2& p_to); + + void parse_input_event(const InputEvent& p_event); void set_accelerometer(const Vector3& p_accel); void set_joy_axis(int p_device,int p_axis,float p_value); |