@@ -28,7 +28,7 @@ event.dgesture.gestureId - the unique id of the closest gesture to the performe
event.dgesture.error - the difference between the gesture template and the actual performed gesture. Lower error is a better match.
event.dgesture.numFingers - the number of fingers used to draw the stroke.
ost programs will want to define an appropriate error threshold and check to be sure that the error of a gesture is not abnormally high (an indicator that no gesture was performed).
Most programs will want to define an appropriate error threshold and check to be sure that the error of a gesture is not abnormally high (an indicator that no gesture was performed).
@@ -50,7 +50,7 @@ SDL_LoadDollarTemplates returns the number of templates successfully loaded.
@@ -158,7 +158,7 @@ Each application installed on iPhone resides in a sandbox which includes its own
Once your application is installed its directory tree looks like:
ySDLApp Home/
MySDLApp Home/
MySDLApp.app
Documents/
Library/
@@ -167,7 +167,7 @@ ySDLApp Home/
When your SDL based iPhone application starts up, it sets the working directory to the main bundle (MySDLApp Home/MySDLApp.app), where your application resources are stored. You cannot write to this directory. Instead, I advise you to write document files to "../Documents/" and preferences to "../Library/Preferences".
ore information on this subject is available here:
More information on this subject is available here:
The linux touch system is currently based off event streams, and proc/bus/devices. The active user must be given permissions to read /dev/input/TOUCHDEVICE, where TOUCHDEVICE is the event stream for your device. Currently only Wacom tablets are supported. If you have an unsupported tablet contact me at jim.tla+sdl_touch@gmail.com and I will help you get support for it.
ac:
Mac:
The Mac and iPhone APIs are pretty. If your touch device supports them then you'll be fine. If it doesn't, then there isn't much we can do.