From: Chris Bagwell <ch...@cnpbagwell.com> Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com> --- src/wcmUSB.c | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/wcmUSB.c b/src/wcmUSB.c index 4d8a0fb..eb4d592 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -929,12 +929,16 @@ static int usbParseKeyEvent(WacomCommonPtr common, case BTN_TOUCH: /* Treat BTN_TOUCH same as BTN_TOOL_DOUBLETAP - * for touchpads. - * TODO: Tablets that do not use wacom style - * multiplexing over a single input device - * also can report BTN_TOUCH same as - * BTN_TOOL_PEN would be used. We should - * allow for that case as well. + * for generic touchscreens/Tablet PC's. + * + * Generic touchpads will send BTN_TOOL_FINGER + * and BTN_TOUCH together. Ignore BTN_TOOL_FINGER + * to keep same code flow for both cases. + * + * TODO: Generic tablets will send both + * BTN_TOOL_PEN and BTN_TOUCH. This currently + * gets mis-interrepted as a touch. An IsStylus() + * is probably needed here. */ if (common->wcmProtocolLevel != WCM_PROTOCOL_GENERIC) break; -- 1.7.3.2 ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel