Mercurial > sdl-ios-xcode
diff include/SDL_mouse.h @ 4113:82dab719502e SDL-1.2
Fixed bug #464
Added X1/X2 button constants
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 06:08:17 +0000 |
parents | f5794774970d |
children | a1b03ba2fcd0 |
line wrap: on
line diff
--- a/include/SDL_mouse.h Sat Dec 29 06:06:03 2007 +0000 +++ b/include/SDL_mouse.h Sat Dec 29 06:08:17 2007 +0000 @@ -122,9 +122,13 @@ #define SDL_BUTTON_RIGHT 3 #define SDL_BUTTON_WHEELUP 4 #define SDL_BUTTON_WHEELDOWN 5 +#define SDL_BUTTON_X1 6 +#define SDL_BUTTON_X2 7 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) +#define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1) +#define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2) /* Ends C function definitions when using C++ */