test/common.c
changeset 2154 5660f48b31f5
parent 1970 db3ba6c0d0df
child 2174 8f37b91f2e3e
equal deleted inserted replaced
2153:760c1bd2d625 2154:5660f48b31f5
   823         fprintf(stderr, "Mouse %d: button %d released at %d,%d in window %d",
   823         fprintf(stderr, "Mouse %d: button %d released at %d,%d in window %d",
   824                 event->button.which, event->button.button, event->button.x,
   824                 event->button.which, event->button.button, event->button.x,
   825                 event->button.y, event->button.windowID);
   825                 event->button.y, event->button.windowID);
   826         break;
   826         break;
   827     case SDL_MOUSEWHEEL:
   827     case SDL_MOUSEWHEEL:
   828         fprintf(stderr, "Mouse %d: wheel scrolled %d in window %d",
   828         fprintf(stderr, "Mouse %d: wheel scrolled %d in x and %d in y in window %d",
   829                 event->wheel.which, event->wheel.motion,
   829                 event->wheel.which, event->wheel.x, event->wheel.y,
   830                 event->wheel.windowID);
   830                 event->wheel.windowID);
   831         break;
   831         break;
   832     case SDL_JOYBALLMOTION:
   832     case SDL_JOYBALLMOTION:
   833         fprintf(stderr, "Joystick %d: ball %d moved by %d,%d",
   833         fprintf(stderr, "Joystick %d: ball %d moved by %d,%d",
   834                 event->jball.which, event->jball.ball, event->jball.xrel,
   834                 event->jball.which, event->jball.ball, event->jball.xrel,