summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPing Cheng <pingc@wacom.com>2009-12-16 09:38:40 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-12-16 09:38:48 +1000
commit7c3c5c02cc80596f89a56b19eae40a28627162bb (patch)
treea160221ebee959f05599c4d668c1219100ffc67f
parentc1c5e4c91b2474fc3bce7029181af61e369bd7d3 (diff)
downloadxf86-input-wacom-7c3c5c02cc80596f89a56b19eae40a28627162bb.tar.gz
Enable Serial ISDV4 2FGT tool type in wcmDeviceTypeKeys
Signed-off-by: Ping Cheng <pinglinux@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/wcmValidateDevice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 53d435f..45508be 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -239,6 +239,8 @@ int wcmDeviceTypeKeys(LocalDevicePtr local, unsigned long* keys)
if (id > 0x007)
{
keys[LONG(BTN_TOOL_DOUBLETAP)] |= BIT(BTN_TOOL_DOUBLETAP);
+ if (id > 0x0a)
+ keys[LONG(BTN_TOOL_TRIPLETAP)] |= BIT(BTN_TOOL_TRIPLETAP);
}
/* no pen 2FGT */