From 72eb860315e23343dee06836f5036fa5622784a6 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Wed, 5 Jun 2024 13:37:29 -0400 Subject: [PATCH] iOS: default vibrations on --- config.def.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index cc69a5b4a0..ba04fd8a96 100644 --- a/config.def.h +++ b/config.def.h @@ -1685,13 +1685,17 @@ /* Only applies to Android 7.0 (API 24) and up */ #define DEFAULT_SUSTAINED_PERFORMANCE_MODE false -#if defined(ANDROID) +#if defined(ANDROID) || defined(IOS) #define DEFAULT_VIBRATE_ON_KEYPRESS true #else #define DEFAULT_VIBRATE_ON_KEYPRESS false #endif +#if defined(IOS) +#define DEFAULT_ENABLE_DEVICE_VIBRATION true +#else #define DEFAULT_ENABLE_DEVICE_VIBRATION false +#endif /* Defines the strength of rumble effects * on OpenDingux devices */