include/SDL_events.h
changeset 8066 658b461d81be
parent 7678 286c42d7c5ed
child 8149 681eb46b8ac4
     1.1 --- a/include/SDL_events.h	Mon Dec 23 10:54:27 2013 -0800
     1.2 +++ b/include/SDL_events.h	Mon Dec 23 12:17:52 2013 -0800
     1.3 @@ -239,8 +239,8 @@
     1.4      Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
     1.5      Uint8 button;       /**< The mouse button index */
     1.6      Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
     1.7 +    Uint8 clicks;       /**< 1 for single-click, 2 for double-click, etc. */
     1.8      Uint8 padding1;
     1.9 -    Uint8 padding2;
    1.10      Sint32 x;           /**< X coordinate, relative to window */
    1.11      Sint32 y;           /**< Y coordinate, relative to window */
    1.12  } SDL_MouseButtonEvent;