diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-03 18:10:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 18:10:30 +0100 |
commit | bf0253bab936f053bb5ae56e6fcf67defaf9afbc (patch) | |
tree | 5a7d2fb655314787a94a0e6ef1f4c890ac32352e /doc/classes | |
parent | ffc828ac50a54b177caf99ff44c385b459827335 (diff) | |
parent | 5c3600b29fbc02e92a3ccbd86a9da46efd03bac2 (diff) |
Merge pull request #56764 from madmiraal/fix-45592-2
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Input.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 60f8925ab3..b5468755c1 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -141,10 +141,10 @@ Returns the strength of the joypad vibration: x is the strength of the weak motor, and y is the strength of the strong motor. </description> </method> - <method name="get_last_mouse_velocity" qualifiers="const"> + <method name="get_last_mouse_velocity"> <return type="Vector2" /> <description> - Returns the mouse velocity for the last time the cursor was moved, and this until the next frame where the mouse moves. This means that even if the mouse is not moving, this function will still return the value of the last motion. + Returns the last mouse velocity. To provide a precise and jitter-free velocity, mouse velocity is only calculated every 0.1s. Therefore, mouse velocity will lag mouse movements. </description> </method> <method name="get_magnetometer" qualifiers="const"> |