Signed-off-by: Peter Hutterer <[email protected]>
---
src/xf86Wacom.c | 13 +++++++++----
src/xf86WacomDefs.h | 5 ++++-
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c
index aeeaa41..1cfca5e 100644
--- a/src/xf86Wacom.c
+++ b/src/xf86Wacom.c
@@ -874,10 +874,15 @@ Bool wcmIsWacomDevice (char* fname)
SYSCALL(close(fd));
- if (id.vendor == WACOM_VENDOR_ID)
- return TRUE;
- else
- return FALSE;
+ switch(id.vendor)
+ {
+ case WACOM_VENDOR_ID:
+ case WALTOP_VENDOR_ID:
+ return TRUE;
+ default:
+ break;
+ }
+ return FALSE;
}
/*****************************************************************************
diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
index 7399b9e..f67e19e 100644
--- a/src/xf86WacomDefs.h
+++ b/src/xf86WacomDefs.h
@@ -26,7 +26,10 @@
#include <asm/types.h>
#include <linux/input.h>
#define MAX_USB_EVENTS 32
-#define WACOM_VENDOR_ID 0x056a /* vendor ID on the kernel device */
+
+/* vendor IDs on the kernel device */
+#define WACOM_VENDOR_ID 0x056a
+#define WALTOP_VENDOR_ID 0x172F
#define DEFAULT_SUPPRESS 2 /* default suppress */
#define MAX_SUPPRESS 100 /* max value of suppress */
--
1.7.0.1
------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel