diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-16 12:00:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 12:00:26 +0200 |
commit | d6e7dcbea9c297253e05a75691d5707aa0a749b3 (patch) | |
tree | b0c419979cd2bb51d66ca5155d9bc2a681015abc /platform/iphone | |
parent | c1277c2183eaacb9ae49f9fef0c57443b934b72b (diff) | |
parent | 05d524b624c58f3aff26382df739d1b7c7b5c790 (diff) |
Merge pull request #61074 from timoschwarzer/fix-ios-vibration-duration
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/ios.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/ios.mm b/platform/iphone/ios.mm index cca28cc055..79baae028a 100644 --- a/platform/iphone/ios.mm +++ b/platform/iphone/ios.mm @@ -77,7 +77,7 @@ void iOS::vibrate_haptic_engine(float p_duration_seconds) API_AVAILABLE(ios(13)) NSDictionary *hapticDict = @{ CHHapticPatternKeyPattern : @[ @{CHHapticPatternKeyEvent : @{ - CHHapticPatternKeyEventType : CHHapticEventTypeHapticTransient, + CHHapticPatternKeyEventType : CHHapticEventTypeHapticContinuous, CHHapticPatternKeyTime : @(CHHapticTimeImmediate), CHHapticPatternKeyEventDuration : @(p_duration_seconds) }, |