diff options
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index c08b0a5dc..7afdbfb96 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp | |||
| @@ -820,11 +820,11 @@ bool Controller_NPad::VibrateControllerAtIndex(Core::HID::NpadIdType npad_id, | |||
| 820 | 820 | ||
| 821 | const auto now = steady_clock::now(); | 821 | const auto now = steady_clock::now(); |
| 822 | 822 | ||
| 823 | // Filter out non-zero vibrations that are within 10ms of each other. | 823 | // Filter out non-zero vibrations that are within 15ms of each other. |
| 824 | if ((vibration_value.low_amplitude != 0.0f || vibration_value.high_amplitude != 0.0f) && | 824 | if ((vibration_value.low_amplitude != 0.0f || vibration_value.high_amplitude != 0.0f) && |
| 825 | duration_cast<milliseconds>( | 825 | duration_cast<milliseconds>( |
| 826 | now - controller.vibration[device_index].last_vibration_timepoint) < | 826 | now - controller.vibration[device_index].last_vibration_timepoint) < |
| 827 | milliseconds(10)) { | 827 | milliseconds(15)) { |
| 828 | return false; | 828 | return false; |
| 829 | } | 829 | } |
| 830 | 830 | ||