# HG changeset patch # User Jim Grandpre # Date 1280420819 14400 # Node ID 641c13b0ce5f380ef01ac57442fa77d195454731 # Parent 89d5e2201b006390875de8cf342ff1f829f10cb1 Added better logging diff -r 89d5e2201b00 -r 641c13b0ce5f 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;