diff src/events/SDL_mouse.c @ 3765:ed9b7fe8f902 gsoc2008_manymouse

Estethic changes noted on the SDL meeting 05.07.08
author Szymon Wilczek <kazeuser@gmail.com>
date Sat, 05 Jul 2008 20:02:07 +0000
parents 2970fcfbdd54
children 24db5d326f57
line wrap: on
line diff
--- a/src/events/SDL_mouse.c	Thu Jul 03 22:03:58 2008 +0000
+++ b/src/events/SDL_mouse.c	Sat Jul 05 20:02:07 2008 +0000
@@ -417,7 +417,7 @@
     }
     mouse->xdelta += xrel;
     mouse->ydelta += yrel;
-    mouse->z=z;
+    mouse->pressure=z;
 
     /* Move the mouse cursor, if needed */
     if (mouse->cursor_shown && !mouse->relative_mode &&
@@ -434,7 +434,7 @@
         event.motion.state = mouse->buttonstate;
         event.motion.x = mouse->x;
         event.motion.y = mouse->y;
-        event.motion.z = mouse->z;
+        event.motion.pressure= mouse->pressure;
         event.motion.xrel = xrel;
         event.motion.yrel = yrel;
         event.motion.windowID = mouse->focus;