Commit 477a261e does not handle the case where relative wheel events come from a pad device. The Graphire4 produces such events, with the result that scrolling with one has been broken ever since.
Signed-off-by: Jason Gerecke <killert...@gmail.com> --- src/wcmCommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index 7199105..09e5ccd 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -449,7 +449,7 @@ static void sendWheelStripEvents(InputInfoPtr pInfo, const WacomDeviceState* ds, /* emulate events for relative wheel */ delta = getScrollDelta(ds->relwheel, 0, 0, 0); - if (delta && IsCursor(priv) && priv->oldProximity == ds->proximity) + if (delta && (IsCursor(priv) || IsPad(priv)) && priv->oldProximity == ds->proximity) { DBG(10, priv, "Relative wheel scroll delta = %d\n", delta); fakeButton = getWheelButton(delta, priv->relup, priv->reldn, -- 1.7.10.2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel