branch | gsoc2008_manymouse |
changeset 3760 | 64f346a83ed3 |
parent 2284 | 545fbf461c5b |
child 3764 | 2970fcfbdd54 |
--- a/include/SDL_mouse.h Fri Jun 06 14:50:56 2008 +0000 +++ b/include/SDL_mouse.h Fri Jun 06 15:23:29 2008 +0000 @@ -203,6 +203,11 @@ Button 2: Middle mouse button Button 3: Right mouse button */ + +extern DECLSPEC int SDLCALL SDL_GetNumOfMice(void); + +extern DECLSPEC char* SDLCALL SDL_GetMouseName(int index); + #define SDL_BUTTON(X) (1 << ((X)-1)) #define SDL_BUTTON_LEFT 1 #define SDL_BUTTON_MIDDLE 2