Mercurial > sdl-ios-xcode
comparison include/SDL_mouse.h @ 4011:f5794774970d SDL-1.2
Reverted mousewheel support in 1.2, since it breaks binary compatibility.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 06 Jul 2007 13:39:03 +0000 |
parents | 1146681dbb74 |
children | 82dab719502e |
comparison
equal
deleted
inserted
replaced
4010:3aa1406620f6 | 4011:f5794774970d |
---|---|
113 Button 1: Left mouse button | 113 Button 1: Left mouse button |
114 Button 2: Middle mouse button | 114 Button 2: Middle mouse button |
115 Button 3: Right mouse button | 115 Button 3: Right mouse button |
116 Button 4: Mouse wheel up (may also be a real button) | 116 Button 4: Mouse wheel up (may also be a real button) |
117 Button 5: Mouse wheel down (may also be a real button) | 117 Button 5: Mouse wheel down (may also be a real button) |
118 Button 6: Mouse wheel left (may also be a real button) | |
119 Button 7: Mouse wheel right (may also be a real button) | |
120 */ | 118 */ |
121 #define SDL_BUTTON(X) (1 << ((X)-1)) | 119 #define SDL_BUTTON(X) (1 << ((X)-1)) |
122 #define SDL_BUTTON_LEFT 1 | 120 #define SDL_BUTTON_LEFT 1 |
123 #define SDL_BUTTON_MIDDLE 2 | 121 #define SDL_BUTTON_MIDDLE 2 |
124 #define SDL_BUTTON_RIGHT 3 | 122 #define SDL_BUTTON_RIGHT 3 |
125 #define SDL_BUTTON_WHEELUP 4 | 123 #define SDL_BUTTON_WHEELUP 4 |
126 #define SDL_BUTTON_WHEELDOWN 5 | 124 #define SDL_BUTTON_WHEELDOWN 5 |
127 #define SDL_BUTTON_WHEELLEFT 6 | |
128 #define SDL_BUTTON_WHEELRIGHT 7 | |
129 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) | 125 #define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) |
130 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) | 126 #define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) |
131 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) | 127 #define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) |
132 | 128 |
133 | 129 |