diff src/events/SDL_mouse_c.h @ 3766:24db5d326f57 gsoc2008_manymouse

Pressure levels. Documentation http://wilku.ravenlord.ws/doku.php?id=documentation
author Szymon Wilczek <kazeuser@gmail.com>
date Sun, 06 Jul 2008 09:24:56 +0000
parents ed9b7fe8f902
children abc8acb8e3d7
line wrap: on
line diff
--- a/src/events/SDL_mouse_c.h	Sat Jul 05 20:02:07 2008 +0000
+++ b/src/events/SDL_mouse_c.h	Sun Jul 06 09:24:56 2008 +0000
@@ -65,6 +65,8 @@
     int xdelta;
     int ydelta;
     int pressure;
+    int pressure_max;
+    int pressure_min;
     int tilt;/*for future use*/
     int rotation;/*for future use*/
     char* name;
@@ -91,7 +93,7 @@
 /* Add a mouse, possibly reattaching at a particular index (or -1),
    returning the index of the mouse, or -1 if there was an error.
  */
-extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name);
+extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name, int pressure_max, int pressure_min);
 
 /* Remove a mouse at an index, clearing the slot for later */
 extern void SDL_DelMouse(int index);