Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4112:0c3559059d6d | 4113:82dab719502e |
---|---|
120 #define SDL_BUTTON_LEFT 1 | 120 #define SDL_BUTTON_LEFT 1 |
121 #define SDL_BUTTON_MIDDLE 2 | 121 #define SDL_BUTTON_MIDDLE 2 |
122 #define SDL_BUTTON_RIGHT 3 | 122 #define SDL_BUTTON_RIGHT 3 |
123 #define SDL_BUTTON_WHEELUP 4 | 123 #define SDL_BUTTON_WHEELUP 4 |
124 #define SDL_BUTTON_WHEELDOWN 5 | 124 #define SDL_BUTTON_WHEELDOWN 5 |
125 #define SDL_BUTTON_X1 6 | |
126 #define SDL_BUTTON_X2 7 | |
125 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) | 127 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) |
126 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) | 128 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) |
127 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) | 129 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) |
130 #define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1) | |
131 #define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2) | |
128 | 132 |
129 | 133 |
130 /* Ends C function definitions when using C++ */ | 134 /* Ends C function definitions when using C++ */ |
131 #ifdef __cplusplus | 135 #ifdef __cplusplus |
132 } | 136 } |