fixed code for printing mousewheel events to match the new format of mousewheel events.
authorBob Pendleton <bob@pendleton.com>
Fri, 06 Jul 2007 15:45:28 +0000
changeset 2154 5660f48b31f5
parent 2153 760c1bd2d625
child 2155 31269eb74914
fixed code for printing mousewheel events to match the new format of mousewheel events.
test/common.c
--- a/test/common.c	Fri Jul 06 13:45:10 2007 +0000
+++ b/test/common.c	Fri Jul 06 15:45:28 2007 +0000
@@ -825,8 +825,8 @@
                 event->button.y, event->button.windowID);
         break;
     case SDL_MOUSEWHEEL:
-        fprintf(stderr, "Mouse %d: wheel scrolled %d in window %d",
-                event->wheel.which, event->wheel.motion,
+        fprintf(stderr, "Mouse %d: wheel scrolled %d in x and %d in y in window %d",
+                event->wheel.which, event->wheel.x, event->wheel.y,
                 event->wheel.windowID);
         break;
     case SDL_JOYBALLMOTION: