summaryrefslogtreecommitdiff
path: root/core/os/input.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-06-21 17:38:03 +0200
committerGitHub <noreply@github.com>2016-06-21 17:38:03 +0200
commit528727d3d98f8cda714f6649504c416b1fa34a96 (patch)
tree2f520367b6c9a7bedcc97c666cfeceaf4ee5c5e4 /core/os/input.h
parent91ee2f60591d0b47d5eca8783ffbd15caa9c4665 (diff)
parent6d09183c44e6db0ca1896f50f8727e55716dd85c (diff)
Merge pull request #5340 from Hinsbart/rumble_duration
Set default duration parameter of joystick vibration to 0.
Diffstat (limited to 'core/os/input.h')
-rw-r--r--core/os/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input.h b/core/os/input.h
index 6364d597b0..fa2cef5467 100644
--- a/core/os/input.h
+++ b/core/os/input.h
@@ -70,7 +70,7 @@ public:
virtual Vector2 get_joy_vibration_strength(int p_device)=0;
virtual float get_joy_vibration_duration(int p_device)=0;
virtual uint64_t get_joy_vibration_timestamp(int p_device)=0;
- virtual void start_joy_vibration(int p_device, float p_weak_magnitude, float p_strong_magnitude, float p_duration)=0;
+ virtual void start_joy_vibration(int p_device, float p_weak_magnitude, float p_strong_magnitude, float p_duration=0)=0;
virtual void stop_joy_vibration(int p_device)=0;
virtual Point2 get_mouse_pos() const=0;