aboutsummaryrefslogtreecommitdiffstats
path: root/evtest.c
diff options
context:
space:
mode:
authorChris Bagwell <chris@cnpbagwell.com>2010-11-15 07:36:50 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-11-15 07:37:02 +1000
commit334beb86c0e7d13772b314bacabc56028ab116b8 (patch)
treea8b4f645c7c5195d5a987661654015a98c91afc3 /evtest.c
parentb7248b388ab06ff1f33509f029729ca7ab61b17e (diff)
downloadexternal_evtest-334beb86c0e7d13772b314bacabc56028ab116b8.tar.gz
external_evtest-334beb86c0e7d13772b314bacabc56028ab116b8.tar.bz2
external_evtest-334beb86c0e7d13772b314bacabc56028ab116b8.zip
Add ABS_MT_PRESSURE and ABS_MT_SLOT.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'evtest.c')
-rw-r--r--evtest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/evtest.c b/evtest.c
index ac53edc..8460641 100644
--- a/evtest.c
+++ b/evtest.c
@@ -318,6 +318,12 @@ char *absolutes[ABS_MAX + 1] = {
[ABS_MT_BLOB_ID] = "Blob ID",
[ABS_MT_TRACKING_ID] = "Tracking ID",
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
+ [ABS_MT_PRESSURE] = "Pressure",
+#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
+ [ABS_MT_SLOT] = "Slot",
+#endif
};