[PATCH synaptics] conf: enable right-button click by default on non-Apple clickpads

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 21 22:25:10 PDT 2012


The right-half of the bottom 30% 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 at who-t.net>
---
 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..05a9bd7 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% 100% 70% 100% 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
-- 
1.7.7.6


More information about the xorg-devel mailing list