summaryrefslogtreecommitdiff
path: root/src/ios.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-07 08:15:57 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-07 08:15:57 +0200
commit4562609999fb880f66ee0eccef409d69a64a4ce0 (patch)
tree8fcdc34cbde9e837136f29259da4cdde7884bd5d /src/ios.h
parent5b80af0e983db5e3d09e207c9fce6790b53dea4d (diff)
iOS: Haptic tap when long-pressing
Diffstat (limited to 'src/ios.h')
-rw-r--r--src/ios.h5
1 files changed, 5 insertions, 0 deletions
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. */
26 26
27iDeclareType(Window) 27iDeclareType(Window)
28 28
29enum iHapticEffect {
30 tap_HapticEffect,
31};
32
29void setupApplication_iOS (void); 33void setupApplication_iOS (void);
30void setupWindow_iOS (iWindow *window); 34void setupWindow_iOS (iWindow *window);
31iBool isPhone_iOS (void); 35iBool isPhone_iOS (void);
32void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom); 36void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom);
33iBool processEvent_iOS (const SDL_Event *); 37iBool processEvent_iOS (const SDL_Event *);
38void playHapticEffect_iOS (enum iHapticEffect effect);