diff options
author | Peter Osterlund <petero2@telia.com> | 2004-05-10 22:58:15 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:02:23 +0200 |
commit | d4eaf6d6d809fcb6a2048283f75b7536a5c3ba73 (patch) | |
tree | a4d7655acbd3f9b716a709f0ec60f79b3ec91a8a /ps2comm.h | |
parent | e8a16ce65e5207304dda46a852b5628baa06458a (diff) |
Fixed bug in change b8e955b4ce399ba44e60bd13f9838974eee88513.
Diffstat (limited to 'ps2comm.h')
-rw-r--r-- | ps2comm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,6 @@ /* 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)) @@ -24,6 +23,7 @@ /* synaptics capability bits */ #define SYN_CAP_EXTENDED(synhw) ((synhw).capabilities & (1 << 23)) +#define SYN_CAP_MIDDLE_BUTTON(synhw) ((synhw).capabilities & (1 << 18)) #define SYN_CAP_PASSTHROUGH(synhw) ((synhw).capabilities & (1 << 7)) #define SYN_CAP_SLEEP(synhw) ((synhw).capabilities & (1 << 4)) #define SYN_CAP_FOUR_BUTTON(synhw) ((synhw).capabilities & (1 << 3)) |