diff options
author | Peter Osterlund <petero2@telia.com> | 2004-04-14 20:15:19 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:02:04 +0200 |
commit | b8e955b4ce399ba44e60bd13f9838974eee88513 (patch) | |
tree | 8b2754dcd401b29c37dab9aa35f2d9e1c7a5687a /ps2comm.h | |
parent | 599641dbbbd9cadf68ddf8cf8ffffbc1533d4012 (diff) |
Handle touchpads with a middle mouse button. Based on a 2.6
kernel patch from Dmitry Torokhov.
Diffstat (limited to 'ps2comm.h')
-rw-r--r-- | ps2comm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |