diff src/video/x11/SDL_x11touch.c @ 5044:4913042e8572

Removed debug print statements
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Jan 2011 19:51:04 -0800
parents 1002d074d459
children b530ef003506
line wrap: on
line diff
--- a/src/video/x11/SDL_x11touch.c	Wed Jan 19 16:06:47 2011 -0800
+++ b/src/video/x11/SDL_x11touch.c	Wed Jan 19 19:51:04 2011 -0800
@@ -34,8 +34,6 @@
 X11_InitTouch(_THIS)
 {
 #ifdef SDL_INPUT_LINUXEV
-  printf("Initializing touch...\n");
-
   FILE *fd;
   fd = fopen("/proc/bus/input/devices","r");
   
@@ -46,12 +44,11 @@
   int vendor = -1,product = -1,event = -1;
   while(!feof(fd)) {
     if(fgets(line,256,fd) <=0) continue;
-    //printf("%s",line);
     if(line[0] == '\n') {
       if(vendor == 1386){
-	printf("Wacom... Assuming it is a touch device\n");
-	sprintf(tstr,"/dev/input/event%i",event);
-	printf("At location: %s\n",tstr);
+	/*printf("Wacom... Assuming it is a touch device\n");*/
+	/*sprintf(tstr,"/dev/input/event%i",event);*/
+	/*printf("At location: %s\n",tstr);*/
 
 	SDL_Touch touch;
 	touch.pressure_max = 0;
@@ -69,14 +66,9 @@
 	data->up = SDL_FALSE;
 	
 
-	printf("Opening device...\n");
-	//printf("New Touch - DataPtr: %i\n",data);
 	data->eventStream = open(tstr, 
 				 O_RDONLY | O_NONBLOCK);
 	ioctl (data->eventStream, EVIOCGNAME (sizeof (tstr)), tstr);
-	printf ("Reading From : %s\n", tstr);
-
-
 
 	int abs[5];
 	ioctl(data->eventStream,EVIOCGABS(0),abs);