summaryrefslogtreecommitdiff
path: root/ps2comm.h
diff options
context:
space:
mode:
Diffstat (limited to 'ps2comm.h')
-rw-r--r--ps2comm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ps2comm.h b/ps2comm.h
index b78adb9..d7d475a 100644
--- a/ps2comm.h
+++ b/ps2comm.h
@@ -14,6 +14,7 @@
/* synaptics model ID bits */
#define SYN_MODEL_ROT180(synhw) ((synhw).model_id & (1 << 23))
#define SYN_MODEL_PORTRAIT(synhw) ((synhw).model_id & (1 << 22))
+#define SYN_CAP_MIDDLE_BUTTON(synhw) ((synhw).model_id & (1 << 18))
#define SYN_MODEL_SENSOR(synhw) (((synhw).model_id >> 16) & 0x3f)
#define SYN_MODEL_HARDWARE(synhw) (((synhw).model_id >> 9) & 0x7f)
#define SYN_MODEL_NEWABS(synhw) ((synhw).model_id & (1 << 7))