This enables the "Wacom Wheel Buttons" property for cursor devices, allowing xsetwacom to set (rel|abs)wheel(up|down) actions. I'm not sure if there are non-puck cursor devices which should *not* have this enabled, but until somebody says otherwise... :)
Signed-off-by: Jason Gerecke <killert...@gmail.com> --- src/wcmXCommand.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c index 60deb51..64ebb8d 100644 --- a/src/wcmXCommand.c +++ b/src/wcmXCommand.c @@ -171,7 +171,10 @@ void InitWcmDeviceProperties(InputInfoPtr pInfo) values[2] = priv->striprup; values[3] = priv->striprdn; prop_strip_buttons = InitWcmAtom(pInfo->dev, WACOM_PROP_STRIPBUTTONS, 8, 4, values); + } + if (IsPad(priv) || IsCursor(priv)) + { values[0] = priv->relup; values[1] = priv->reldn; values[2] = priv->wheelup; -- 1.7.4.1 ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel