Mercurial > sdl-ios-xcode
diff touchTest/gestureSDLTest.c @ 4689:f9ab8df6d45a
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Sun, 15 Aug 2010 00:36:28 -0400 |
parents | 494f71f57a80 |
children |
line wrap: on
line diff
--- a/touchTest/gestureSDLTest.c Fri Aug 13 23:08:32 2010 -0400 +++ b/touchTest/gestureSDLTest.c Sun Aug 15 00:36:28 2010 -0400 @@ -1,9 +1,16 @@ +/* Usage: + * Spacebar to begin recording a gesture on all touches. + * s to save all touches into "./gestureSave" + * l to load all touches from "./gestureSave" + */ + #include <stdio.h> #include <SDL.h> #include <math.h> #include <SDL_touch.h> #include <SDL_gesture.h> + /* Make sure we have good macros for printing 32 and 64 bit values */ #ifndef PRIs32 #define PRIs32 "d"