diff options
| author | Wilhem Barbier <nounoursheureux@openmailbox.org> | 2016-06-20 09:56:41 +0200 |
|---|---|---|
| committer | Wilhem Barbier <nounoursheureux@openmailbox.org> | 2016-06-20 09:57:23 +0200 |
| commit | 913e3206dbbc503fcdf093f8ac52a06cd6641103 (patch) | |
| tree | 1ecd4894df13c92b80923c61f09245d03c618c92 | |
| parent | d4359b2d09625695a972a40ce76faf90b38f4e59 (diff) | |
Fix the joystick vibration timestamp
| -rw-r--r-- | main/input_default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/input_default.cpp b/main/input_default.cpp index a70b66838a..4fcb450bce 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -365,7 +365,7 @@ void InputDefault::stop_joy_vibration(int p_device) { vibration.weak_magnitude = 0; vibration.strong_magnitude = 0; vibration.duration = 0; - vibration.timestamp = OS::get_singleton()->get_unix_time(); + vibration.timestamp = OS::get_singleton()->get_ticks_usec(); joy_vibration[p_device] = vibration; } |