Mercurial > sdl-ios-xcode
diff include/SDL_mouse.h @ 2284:545fbf461c5b
Fixed bug #464
Added X1/X2 button constants
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 06:09:25 +0000 |
parents | 313112f9ac5c |
children | 44e49d3fa6cf 64f346a83ed3 |
line wrap: on
line diff
--- a/include/SDL_mouse.h Sat Dec 29 03:25:11 2007 +0000 +++ b/include/SDL_mouse.h Sat Dec 29 06:09:25 2007 +0000 @@ -207,9 +207,13 @@ #define SDL_BUTTON_LEFT 1 #define SDL_BUTTON_MIDDLE 2 #define SDL_BUTTON_RIGHT 3 +#define SDL_BUTTON_X1 4 +#define SDL_BUTTON_X2 5 #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++ */