diff src/events/SDL_events.c @ 4657:eed063a0bf5b

Moved Multi finger gesture recognition into the library.
author Jim Grandpre <jim.tla@gmail.com>
date Wed, 07 Jul 2010 04:13:08 -0700
parents 057e8762d2a1
children 1f7ad083fd3c
line wrap: on
line diff
--- a/src/events/SDL_events.c	Tue Jul 06 02:05:27 2010 -0700
+++ b/src/events/SDL_events.c	Wed Jul 07 04:13:08 2010 -0700
@@ -493,6 +493,10 @@
     if (SDL_PeepEvents(event, 1, SDL_ADDEVENT, 0, 0) <= 0) {
         return -1;
     }
+
+    SDL_GestureProcessEvent(event);
+    
+
     return 1;
 }