diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-07 08:15:57 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-07 08:15:57 +0200 |
commit | 4562609999fb880f66ee0eccef409d69a64a4ce0 (patch) | |
tree | 8fcdc34cbde9e837136f29259da4cdde7884bd5d /src/ios.h | |
parent | 5b80af0e983db5e3d09e207c9fce6790b53dea4d (diff) |
iOS: Haptic tap when long-pressing
Diffstat (limited to 'src/ios.h')
-rw-r--r-- | src/ios.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,8 +26,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
26 | 26 | ||
27 | iDeclareType(Window) | 27 | iDeclareType(Window) |
28 | 28 | ||
29 | enum iHapticEffect { | ||
30 | tap_HapticEffect, | ||
31 | }; | ||
32 | |||
29 | void setupApplication_iOS (void); | 33 | void setupApplication_iOS (void); |
30 | void setupWindow_iOS (iWindow *window); | 34 | void setupWindow_iOS (iWindow *window); |
31 | iBool isPhone_iOS (void); | 35 | iBool isPhone_iOS (void); |
32 | void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom); | 36 | void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom); |
33 | iBool processEvent_iOS (const SDL_Event *); | 37 | iBool processEvent_iOS (const SDL_Event *); |
38 | void playHapticEffect_iOS (enum iHapticEffect effect); | ||