diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2016-06-21 17:06:41 +0200 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2016-06-21 17:06:41 +0200 |
commit | 6d09183c44e6db0ca1896f50f8727e55716dd85c (patch) | |
tree | 85a544b45e9af714270ed6c25315d3c9737ffc9b /main | |
parent | 81a5e4238d43891442556c5ed208a15ee938b2cd (diff) |
Set default duration parameter of joystick vibration to 0.
Diffstat (limited to 'main')
-rw-r--r-- | main/input_default.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/input_default.h b/main/input_default.h index 00a381ff02..c7fef8374c 100644 --- a/main/input_default.h +++ b/main/input_default.h @@ -189,7 +189,7 @@ public: void set_magnetometer(const Vector3& p_magnetometer); void set_joy_axis(int p_device,int p_axis,float p_value); - virtual void start_joy_vibration(int p_device, float p_weak_magnitude, float p_strong_magnitude, float p_duration); + virtual void start_joy_vibration(int p_device, float p_weak_magnitude, float p_strong_magnitude, float p_duration=0); virtual void stop_joy_vibration(int p_device); void set_main_loop(MainLoop *main_loop); |