Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_eventtouch.c @ 4683:15dfe42edbfd
Fixed gestureMulti. Disabled dollar gesture temporarily.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Wed, 04 Aug 2010 23:17:30 -0400 |
parents | 5378f2d0754f |
children |
line wrap: on
line diff
--- a/src/video/x11/SDL_eventtouch.c Tue Aug 03 00:18:00 2010 -0400 +++ b/src/video/x11/SDL_eventtouch.c Wed Aug 04 23:17:30 2010 -0400 @@ -61,6 +61,14 @@ touch.driverdata = SDL_malloc(sizeof(EventTouchData)); EventTouchData* data = (EventTouchData*)(touch.driverdata); + + data->x = -1; + data->y = -1; + data->pressure = -1; + data->finger = 0; + data->up = SDL_FALSE; + + printf("Opening device...\n"); //printf("New Touch - DataPtr: %i\n",data); data->eventStream = open(tstr,