test/common.c
changeset 1957 c7803e4c21d3
parent 1933 7ee5297340f7
child 1965 a788656ca29a
equal deleted inserted replaced
1956:ba0d62354872 1957:c7803e4c21d3
   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 window %d",
   829                 event->wheel.which, event->wheel.motion,
   829                 event->wheel.which, event->wheel.motion,
   830                 event->button.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,
   835                 event->jball.yrel);
   835                 event->jball.yrel);