diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-22 15:15:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-03-23 08:31:46 +1000 |
commit | b6779458bcdb049480310ba1acb3991ad061ffc7 (patch) | |
tree | 29e0d209508330d6feaaa61e05f265c77cfd50c4 /conf | |
parent | c9cf8827b129a553ad3cd3d7ee6f463a6e94227d (diff) |
conf: enable right-button click by default on non-Apple clickpads
The right-half of the bottom 18% of the touchpad are enabled as right button
by default. On Apple touchpads (these don't have marking for the right
button) disable them by default.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/50-synaptics.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/50-synaptics.conf b/conf/50-synaptics.conf index 5ec7e78..822f7a4 100644 --- a/conf/50-synaptics.conf +++ b/conf/50-synaptics.conf @@ -24,3 +24,21 @@ Section "InputClass" MatchDevicePath "/dev/input/mouse*" Option "Ignore" "on" EndSection + +# This option enables the bottom right corner to be a right button on +# non-synaptics clickpads. +# This option is only interpreted by clickpads. +Section "InputClass" + Identifier "Default clickpad buttons" + MatchDriver "synaptics" + Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" +EndSection + +# This option disables software buttons on Apple touchpads. +# This option is only interpreted by clickpads. +Section "InputClass" + Identifier "Disable clickpad buttons on Apple touchpads" + MatchProduct "Apple" + MatchDriver "synaptics" + Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" +EndSection |