Otherwise the pressure builds up to the maximum and stays there, even when
the pen is lifted off the tablet.

https://sourceforge.net/tracker/?func=detail&atid=525124&aid=2996451&group_id=69596

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/wcmCommon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 8f669b3..47ff188 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -854,6 +854,7 @@ void wcmSendEvents(LocalDevicePtr local, const 
WacomDeviceState* ds)
        {
                x -= priv->oldX;
                y -= priv->oldY;
+               z -= priv->oldZ;
        }
 
        if (type != PAD_ID)
-- 
1.6.5.2


------------------------------------------------------------------------------

_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to