summaryrefslogtreecommitdiff
path: root/synaptics.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2004-02-25 18:31:07 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:49 +0200
commit8307eaaced6e8192f0119b27cf9db091e4941352 (patch)
treed7d757862642b7e7e3709a891053083b9e465a2a /synaptics.h
parentec6c36c16d5f7093f194595607bc9d2e1d114f5f (diff)
Added support for middle mouse buttons. (Some ALPS touchpads
have them.)
Diffstat (limited to 'synaptics.h')
-rw-r--r--synaptics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/synaptics.h b/synaptics.h
index e43202b..1dc8bc9 100644
--- a/synaptics.h
+++ b/synaptics.h
@@ -28,6 +28,7 @@ typedef struct _SynapticsSHM
int fingerWidth; /* finger width value */
int left, right, up, down; /* left/right/up/down buttons */
Bool multi[8];
+ Bool middle;
int guest_left, guest_mid, guest_right; /* guest device buttons */
int guest_dx, guest_dy; /* guest device movement */
@@ -83,6 +84,7 @@ struct SynapticsHwState {
Bool down;
Bool multi[8];
+ Bool middle; /* Some ALPS touchpads have a middle button */
Bool guest_left; /* guest device */
Bool guest_mid;