In the cleanup in 659daa11dc558a45bfad1b9548f1757fab226ad7 "Normalize pressure sensitivity", the line to drop the calculated value back into the state got lost.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- src/wcmCommon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index 1aeb6a2..eb985e4 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -1685,7 +1685,7 @@ static void transPressureCurve(WacomDevicePtr pDev, WacomDeviceStatePtr pState) p = min(FILTER_PRESSURE_RES, p); /* apply pressure curve function */ - p = pDev->pPressCurve[p]; + pState->pressure = pDev->pPressCurve[p]; } /***************************************************************************** -- 1.7.0.1 ------------------------------------------------------------------------------ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel