From: Chris Bagwell <ch...@cnpbagwell.com>

Somewhere along cleanups, it got switched to looking at wcmKeys
instead of abs.  This bug though was making tablet usable
with MT Bamboo driver until memset() could be removed.

Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com>
---
 src/wcmUSB.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index faeb3c4..4837c3d 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -516,7 +516,7 @@ int usbWcmGetRanges(InputInfoPtr pInfo)
        if (ioctl(pInfo->fd, EVIOCGABS(ABS_DISTANCE), &absinfo) == 0)
                common->wcmMaxDist = absinfo.maximum;
 
-       if (ISBITSET(common->wcmKeys, ABS_MT_SLOT))
+       if (ISBITSET(abs, ABS_MT_SLOT))
                private->wcmUseMT = 1;
 
        /* A generic protocol device does not report ABS_MISC event */
-- 
1.7.3.4


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to