From: Chris Bagwell <ch...@cnpbagwell.com> It was not allowing BTN_0 or BTN_FORWARD events to be processed for any tablet. Not sure if other negative behavior existed.
Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com> --- src/wcmUSB.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wcmUSB.c b/src/wcmUSB.c index ce79787..d898771 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -943,8 +943,11 @@ static int usbParseKeyEvent(WacomCommonPtr common, ds->proximity = (event->value != 0); break; - case BTN_0: - case BTN_FORWARD: + case BTN_TOOL_FINGER: + /* If a real finger report, ignore. */ + if (common->wcmProtocolLevel == WCM_PROTOCOL_GENERIC) + break; + DBG(6, common, "USB Pad detected %x (value=%d)\n", event->code, event->value); -- 1.7.3.2 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel