Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 src/wcmUSB.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 4661591..e403093 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -1457,6 +1457,10 @@ static int toolTypeToDeviceType(int type, int code, int 
protocol)
                        case BTN_TOOL_AIRBRUSH:
                                return STYLUS_ID;
 
+                       case BTN_TOOL_MOUSE:
+                       case BTN_TOOL_LENS:
+                               return CURSOR_ID;
+
                        case BTN_TOOL_FINGER:
                                if (protocol != WCM_PROTOCOL_GENERIC)
                                        return PAD_ID;
-- 
1.8.0.2


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to