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> Acked-by: Ping Cheng <pingli...@gmail.com> --- src/wcmUSB.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/wcmUSB.c b/src/wcmUSB.c index c0fb84e..781be74 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 ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel