src/events/SDL_mouse.c
branchgsoc2008_manymouse
changeset 3765 ed9b7fe8f902
parent 3764 2970fcfbdd54
child 3766 24db5d326f57
     1.1 --- a/src/events/SDL_mouse.c	Thu Jul 03 22:03:58 2008 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Sat Jul 05 20:02:07 2008 +0000
     1.3 @@ -417,7 +417,7 @@
     1.4      }
     1.5      mouse->xdelta += xrel;
     1.6      mouse->ydelta += yrel;
     1.7 -    mouse->z=z;
     1.8 +    mouse->pressure=z;
     1.9  
    1.10      /* Move the mouse cursor, if needed */
    1.11      if (mouse->cursor_shown && !mouse->relative_mode &&
    1.12 @@ -434,7 +434,7 @@
    1.13          event.motion.state = mouse->buttonstate;
    1.14          event.motion.x = mouse->x;
    1.15          event.motion.y = mouse->y;
    1.16 -        event.motion.z = mouse->z;
    1.17 +        event.motion.pressure= mouse->pressure;
    1.18          event.motion.xrel = xrel;
    1.19          event.motion.yrel = yrel;
    1.20          event.motion.windowID = mouse->focus;