aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index f64e114..27082b7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -48,6 +48,11 @@
#define MT_TOOL_PEN 1
#endif
+/* includes available in 2.6.33 */
+#ifndef ABS_MT_PRESSURE
+#define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */
+#endif
+
#define SYSCALL(call) while (((call) == -1) && (errno == EINTR))
#define BITMASK(x) (1U << (x))