On Fri, Dec 31, 2010 at 8:48 PM, <ch...@cnpbagwell.com> wrote: > 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.
This one is clear to me. But I need time to test the other patch (1/2) on protocol 4 (and 5 maybe) devices. It will take sometime. So, I'd like to have this patch in first. > Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com> Reviewed-by: Ping Cheng <pingli...@gmail.com> Ping > --- > 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 > ------------------------------------------------------------------------------ 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