Commit dd2c4cfc authored by Sam Lantinga's avatar Sam Lantinga

Report both absolute and relative motion

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401287
parent c6c791fe
......@@ -210,7 +210,8 @@ int FilterEvents(const SDL_Event *event)
/* 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment