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

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index d024ad8..caa6774 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -376,7 +376,7 @@ static int getWheelButton(InputInfoPtr pInfo, const 
WacomDeviceState* ds,
                value = ds->stripy - priv->oldStripY;
 
                fakeButton = (value > 0) ? priv->striprup : priv->striprdn;
-               *fakeKey = (value > 0) ? priv->strip_keys[2] : 
priv->strip_keys[2];
+               *fakeKey = (value > 0) ? priv->strip_keys[2] : 
priv->strip_keys[3];
        }
 
        DBG(10, priv, "send fakeButton %x with value = %d \n",
-- 
1.7.4


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to