Mercurial > sdl-ios-xcode
diff src/events/SDL_mouse_c.h @ 3773:3b5691f85c0d gsoc2008_manymouse
Further x11 code improvments + comments
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Mon, 04 Aug 2008 11:18:10 +0000 |
parents | fe32943f86ec |
children | 8b5b67000dc0 |
line wrap: on
line diff
--- a/src/events/SDL_mouse_c.h Sat Aug 02 17:40:49 2008 +0000 +++ b/src/events/SDL_mouse_c.h Mon Aug 04 11:18:10 2008 +0000 @@ -56,6 +56,13 @@ /* Free the mouse when it's time */ void (*FreeMouse) (SDL_Mouse * mouse); + /*data common for tablets*/ + int pressure; + int pressure_max; + int pressure_min; + int tilt;/*for future use*/ + int rotation;/*for future use*/ + /* Data common to all mice */ SDL_WindowID focus; int which; @@ -64,11 +71,7 @@ int z;/*for future use*/ int xdelta; int ydelta; - int pressure; - int pressure_max; - int pressure_min; - int tilt;/*for future use*/ - int rotation;/*for future use*/ + char* name; Uint8 buttonstate; SDL_bool relative_mode;