summaryrefslogtreecommitdiff
path: root/src/ios.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/ios.m')
-rw-r--r--src/ios.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ios.m b/src/ios.m
index 029bd068..37f62b09 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -21,3 +21,15 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ 21SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
22 22
23#include "ios.h" 23#include "ios.h"
24
25#include <SDL_events.h>
26
27static void enableMouse_(iBool yes) {
28 SDL_EventState(SDL_MOUSEBUTTONDOWN, yes);
29 SDL_EventState(SDL_MOUSEMOTION, yes);
30 SDL_EventState(SDL_MOUSEBUTTONUP, yes);
31}
32
33void setupApplication_iOS(void) {
34 enableMouse_(iFalse);
35}