diff options
Diffstat (limited to 'src/ios.m')
-rw-r--r-- | src/ios.m | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -21,3 +21,15 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
21 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | 21 | SOFTWARE, 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 | |||
27 | static void enableMouse_(iBool yes) { | ||
28 | SDL_EventState(SDL_MOUSEBUTTONDOWN, yes); | ||
29 | SDL_EventState(SDL_MOUSEMOTION, yes); | ||
30 | SDL_EventState(SDL_MOUSEBUTTONUP, yes); | ||
31 | } | ||
32 | |||
33 | void setupApplication_iOS(void) { | ||
34 | enableMouse_(iFalse); | ||
35 | } | ||