Mercurial > sdl-ios-xcode
diff include/SDL_mouse.h @ 3760:64f346a83ed3 gsoc2008_manymouse
http://wilku.ravenlord.ws/doku.php?id=documentation for information how things work. Currently implemented: detecting many pointing devices and pressure detection. Still a bug. Each program has to be comipled with a flag -lXi
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Fri, 06 Jun 2008 15:23:29 +0000 |
parents | 545fbf461c5b |
children | 2970fcfbdd54 |
line wrap: on
line diff
--- 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