Mercurial > sdl-ios-xcode
diff src/video/uikit/SDL_uikitview.h @ 4677:31607094315c
Added Iphone project. Iphone multi-touch is now functional.
author | jimtla |
---|---|
date | Sat, 31 Jul 2010 01:24:50 +0400 |
parents | 99b4560b7aa1 |
children | b915b3181cc2 |
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitview.h Fri Jul 30 23:18:35 2010 +0400 +++ b/src/video/uikit/SDL_uikitview.h Sat Jul 31 01:24:50 2010 +0400 @@ -23,6 +23,9 @@ #include "SDL_stdinc.h" #include "SDL_events.h" +#define IPHONE_TOUCH_EFFICIENT_DANGEROUS +#define FIXED_MULTITOUCH + #ifndef IPHONE_TOUCH_EFFICIENT_DANGEROUS #define MAX_SIMULTANEOUS_TOUCHES 5 #endif @@ -34,7 +37,7 @@ @interface SDL_uikitview : UIView { #endif -#if FIXED_MULTITOUCH +#ifdef FIXED_MULTITOUCH long touchId; #ifndef IPHONE_TOUCH_EFFICIENT_DANGEROUS UITouch *finger[MAX_SIMULTANEOUS_TOUCHES];