Report both absolute and relative motion

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401287
This commit is contained in:
Sam Lantinga 2006-01-29 08:18:56 +00:00
parent c6c791fee6
commit dd2c4cfcfd

View file

@ -210,7 +210,8 @@ int FilterEvents(const SDL_Event *event)
/* Show relative mouse motion */ /* Show relative mouse motion */
case SDL_MOUSEMOTION: case SDL_MOUSEMOTION:
#if 0 #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); event->motion.xrel, event->motion.yrel);
#endif #endif
return(0); return(0);