comparison 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
comparison
equal deleted inserted replaced
3772:9087a84cba51 3773:3b5691f85c0d
54 int y); 54 int y);
55 55
56 /* Free the mouse when it's time */ 56 /* Free the mouse when it's time */
57 void (*FreeMouse) (SDL_Mouse * mouse); 57 void (*FreeMouse) (SDL_Mouse * mouse);
58 58
59 /*data common for tablets*/
60 int pressure;
61 int pressure_max;
62 int pressure_min;
63 int tilt;/*for future use*/
64 int rotation;/*for future use*/
65
59 /* Data common to all mice */ 66 /* Data common to all mice */
60 SDL_WindowID focus; 67 SDL_WindowID focus;
61 int which; 68 int which;
62 int x; 69 int x;
63 int y; 70 int y;
64 int z;/*for future use*/ 71 int z;/*for future use*/
65 int xdelta; 72 int xdelta;
66 int ydelta; 73 int ydelta;
67 int pressure; 74
68 int pressure_max;
69 int pressure_min;
70 int tilt;/*for future use*/
71 int rotation;/*for future use*/
72 char* name; 75 char* name;
73 Uint8 buttonstate; 76 Uint8 buttonstate;
74 SDL_bool relative_mode; 77 SDL_bool relative_mode;
75 SDL_bool proximity; 78 SDL_bool proximity;
76 SDL_bool flush_motion; 79 SDL_bool flush_motion;