equal
deleted
inserted
replaced
201 /* Used as a mask when testing buttons in buttonstate |
201 /* Used as a mask when testing buttons in buttonstate |
202 Button 1: Left mouse button |
202 Button 1: Left mouse button |
203 Button 2: Middle mouse button |
203 Button 2: Middle mouse button |
204 Button 3: Right mouse button |
204 Button 3: Right mouse button |
205 */ |
205 */ |
|
206 |
|
207 extern DECLSPEC int SDLCALL SDL_GetNumOfMice(void); |
|
208 |
|
209 extern DECLSPEC char* SDLCALL SDL_GetMouseName(int index); |
|
210 |
206 #define SDL_BUTTON(X) (1 << ((X)-1)) |
211 #define SDL_BUTTON(X) (1 << ((X)-1)) |
207 #define SDL_BUTTON_LEFT 1 |
212 #define SDL_BUTTON_LEFT 1 |
208 #define SDL_BUTTON_MIDDLE 2 |
213 #define SDL_BUTTON_MIDDLE 2 |
209 #define SDL_BUTTON_RIGHT 3 |
214 #define SDL_BUTTON_RIGHT 3 |
210 #define SDL_BUTTON_X1 4 |
215 #define SDL_BUTTON_X1 4 |