Intuos4 Art Pens may have an ID of 0x10804 for their tip and
0x1080C for their eraser. There may be other IDs which need
matching as well, but that is a "to investigate" item for the
moment.

Note that due to a mostly-benign issue in the kernel driver, the
highest nybble of the ID is placed one nybble *too* high. Until
a proper fix is made and tested for the kernel, we need to check
for an ID of "0x100804" instead of "0x10804".

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 src/wcmCommon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 587f351..bd1b4f1 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -640,7 +640,7 @@ wcmSendNonPadEvents(InputInfoPtr pInfo, const 
WacomDeviceState *ds,
        } /* not in proximity */
 }
 
-#define IsArtPen(ds)    (ds->device_id == 0x885 || ds->device_id == 0x804)
+#define IsArtPen(ds)    (ds->device_id == 0x885 || ds->device_id == 0x804 || 
ds->device_id == 0x100804)
 
 /*****************************************************************************
  * wcmSendEvents --
-- 
1.7.6


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to