equal
deleted
inserted
replaced
63 int y; |
63 int y; |
64 int z;/*for future use*/ |
64 int z;/*for future use*/ |
65 int xdelta; |
65 int xdelta; |
66 int ydelta; |
66 int ydelta; |
67 int pressure; |
67 int pressure; |
|
68 int pressure_max; |
|
69 int pressure_min; |
68 int tilt;/*for future use*/ |
70 int tilt;/*for future use*/ |
69 int rotation;/*for future use*/ |
71 int rotation;/*for future use*/ |
70 char* name; |
72 char* name; |
71 Uint8 buttonstate; |
73 Uint8 buttonstate; |
72 SDL_bool relative_mode; |
74 SDL_bool relative_mode; |
89 extern SDL_Mouse *SDL_GetMouse(int index); |
91 extern SDL_Mouse *SDL_GetMouse(int index); |
90 |
92 |
91 /* Add a mouse, possibly reattaching at a particular index (or -1), |
93 /* Add a mouse, possibly reattaching at a particular index (or -1), |
92 returning the index of the mouse, or -1 if there was an error. |
94 returning the index of the mouse, or -1 if there was an error. |
93 */ |
95 */ |
94 extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name); |
96 extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name, int pressure_max, int pressure_min); |
95 |
97 |
96 /* Remove a mouse at an index, clearing the slot for later */ |
98 /* Remove a mouse at an index, clearing the slot for later */ |
97 extern void SDL_DelMouse(int index); |
99 extern void SDL_DelMouse(int index); |
98 |
100 |
99 /* Clear the button state of a mouse at an index */ |
101 /* Clear the button state of a mouse at an index */ |