Signed-off-by: Peter Hutterer <[email protected]>
---
 src/wcmValidateDevice.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 5319716..dc8ea4e 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -178,7 +178,12 @@ Bool wcmIsAValidType(const char* type, unsigned long* keys)
        return ret;
 }
 
-/* Choose valid types according to device ID */
+/* Choose valid types according to device ID.
+   For USB devices, we simply copy the information the kernel gives us. For
+   serial devices, we set the BTN_TOOL_DOUBLETAP etc. bits based on the
+   device ID. This matching only works for wacom devices (serial ID of
+   WACf), all others are simply assumed to be pen + erasor.
+ */
 int wcmDeviceTypeKeys(LocalDevicePtr local, unsigned long* keys)
 {
        int ret = 1, i;
-- 
1.6.6


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to