mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user