Report both absolute and relative motion
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401287
This commit is contained in:
parent
c6c791fee6
commit
dd2c4cfcfd
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue