include/SDL_events.h
changeset 9257 6f41196c2d6b
parent 9049 411e05b86ac3
child 9393 ed79a66e57e5
     1.1 --- a/include/SDL_events.h	Wed Dec 03 10:55:23 2014 -0500
     1.2 +++ b/include/SDL_events.h	Sun Nov 23 21:09:54 2014 -0500
     1.3 @@ -260,6 +260,7 @@
     1.4      Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
     1.5      Sint32 x;           /**< The amount scrolled horizontally, positive to the right and negative to the left */
     1.6      Sint32 y;           /**< The amount scrolled vertically, positive away from the user and negative toward the user */
     1.7 +    Uint32 direction;   /**< Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back */
     1.8  } SDL_MouseWheelEvent;
     1.9  
    1.10  /**