Added better logging
authorJim Grandpre <jim.tla@gmail.com>
Thu, 29 Jul 2010 12:26:59 -0400
changeset 4675 641c13b0ce5f
parent 4674 89d5e2201b00
child 4676 99b4560b7aa1
Added better logging
src/video/cocoa/SDL_cocoawindow.m
--- a/src/video/cocoa/SDL_cocoawindow.m	Thu Jul 29 12:24:34 2010 -0400
+++ b/src/video/cocoa/SDL_cocoawindow.m	Thu Jul 29 12:26:59 2010 -0400
@@ -299,6 +299,7 @@
     while (touch) {
         long touchId = (long)[touch device];
         if (!SDL_GetTouch(touchId)) {
+	  printf("Adding touch: %i\n",touchId)
             SDL_Touch touch;
 
             touch.id = touchId;
@@ -315,6 +316,7 @@
             if (SDL_AddTouch(&touch, "") < 0) {
                 continue;
             }
+	    printf("Success, added touch: %i\n",touchId)
         } 
         float x = [touch normalizedPosition].x;
         float y = [touch normalizedPosition].y;