From b6779458bcdb049480310ba1acb3991ad061ffc7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 22 Mar 2012 15:15:47 +1000 Subject: 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 --- conf/50-synaptics.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'conf') 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 -- cgit v1.2.3