Mercurial > sdl-ios-xcode
diff test/testwm.c @ 1284:08e3393e9ffb
Report both absolute and relative motion
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 29 Jan 2006 08:18:56 +0000 |
parents | be9c9c8f6d53 |
children | 14717b52abc0 290b5baf2fca |
line wrap: on
line diff
--- a/test/testwm.c Sun Jan 29 08:18:06 2006 +0000 +++ b/test/testwm.c Sun Jan 29 08:18:56 2006 +0000 @@ -210,7 +210,8 @@ /* Show relative mouse motion */ case SDL_MOUSEMOTION: #if 0 - printf("Mouse relative motion: {%d,%d}\n", + printf("Mouse motion: {%d,%d} (%d,%d)\n", + event->motion.x, event->motion.y, event->motion.xrel, event->motion.yrel); #endif return(0);