src/events/SDL_mouse_c.h
branchgsoc2008_manymouse
changeset 3766 24db5d326f57
parent 3765 ed9b7fe8f902
child 3767 abc8acb8e3d7
     1.1 --- a/src/events/SDL_mouse_c.h	Sat Jul 05 20:02:07 2008 +0000
     1.2 +++ b/src/events/SDL_mouse_c.h	Sun Jul 06 09:24:56 2008 +0000
     1.3 @@ -65,6 +65,8 @@
     1.4      int xdelta;
     1.5      int ydelta;
     1.6      int pressure;
     1.7 +    int pressure_max;
     1.8 +    int pressure_min;
     1.9      int tilt;/*for future use*/
    1.10      int rotation;/*for future use*/
    1.11      char* name;
    1.12 @@ -91,7 +93,7 @@
    1.13  /* Add a mouse, possibly reattaching at a particular index (or -1),
    1.14     returning the index of the mouse, or -1 if there was an error.
    1.15   */
    1.16 -extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name);
    1.17 +extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name, int pressure_max, int pressure_min);
    1.18  
    1.19  /* Remove a mouse at an index, clearing the slot for later */
    1.20  extern void SDL_DelMouse(int index);