include/SDL_events.h
changeset 8232 8976fb30952f
parent 8207 f06add42160c
child 8674 d7d2e69a0b08
equal deleted inserted replaced
8231:ad3edb1923f2 8232:8976fb30952f
   255 {
   255 {
   256     Uint32 type;        /**< ::SDL_MOUSEWHEEL */
   256     Uint32 type;        /**< ::SDL_MOUSEWHEEL */
   257     Uint32 timestamp;
   257     Uint32 timestamp;
   258     Uint32 windowID;    /**< The window with mouse focus, if any */
   258     Uint32 windowID;    /**< The window with mouse focus, if any */
   259     Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
   259     Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
   260     Sint32 x;           /**< The amount scrolled horizontally */
   260     Sint32 x;           /**< The amount scrolled horizontally, positive to the right and negative to the left */
   261     Sint32 y;           /**< The amount scrolled vertically */
   261     Sint32 y;           /**< The amount scrolled vertically, positive away from the user and negative toward the user */
   262 } SDL_MouseWheelEvent;
   262 } SDL_MouseWheelEvent;
   263 
   263 
   264 /**
   264 /**
   265  *  \brief Joystick axis motion event structure (event.jaxis.*)
   265  *  \brief Joystick axis motion event structure (event.jaxis.*)
   266  */
   266  */