From 4562609999fb880f66ee0eccef409d69a64a4ce0 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 7 Mar 2021 08:15:57 +0200 Subject: iOS: Haptic tap when long-pressing --- src/ios.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ios.h') diff --git a/src/ios.h b/src/ios.h index 60841aee..9490491f 100644 --- a/src/ios.h +++ b/src/ios.h @@ -26,8 +26,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ iDeclareType(Window) +enum iHapticEffect { + tap_HapticEffect, +}; + void setupApplication_iOS (void); void setupWindow_iOS (iWindow *window); iBool isPhone_iOS (void); void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom); iBool processEvent_iOS (const SDL_Event *); +void playHapticEffect_iOS (enum iHapticEffect effect); -- cgit v1.2.3