diff src/events/SDL_touch.c @ 4681:5378f2d0754f

Fixed some Gesture bugs
author Jim Grandpre <jim.tla@gmail.com>
date Mon, 02 Aug 2010 00:14:53 -0400
parents 5ee96ba0c01e
children 15dfe42edbfd
line wrap: on
line diff
--- a/src/events/SDL_touch.c	Sat Jul 31 20:55:33 2010 -0700
+++ b/src/events/SDL_touch.c	Mon Aug 02 00:14:53 2010 -0400
@@ -392,8 +392,7 @@
     //scale to Integer coordinates
     Uint16 x = (xin+touch->x_min)*(touch->xres)/(touch->native_xres);
     Uint16 y = (yin+touch->y_min)*(touch->yres)/(touch->native_yres);
-	Uint16 pressure = (yin+touch->pressure_min)*(touch->pressureres)/(touch->native_pressureres);
-	printf("(%f,%f) --> (%i,%i)\n",xin,yin,x,y);
+    Uint16 pressure = (yin+touch->pressure_min)*(touch->pressureres)/(touch->native_pressureres);
     if(touch->flush_motion) {
 	return 0;
     }