5903dd2
Section "InputClass"
5903dd2
        Identifier "touchpad catchall"
5903dd2
        Driver "synaptics"
5903dd2
        MatchIsTouchpad "on"
7e9620a
        MatchDevicePath "/dev/input/event*"
5903dd2
EndSection
d85712a
Peter Hutterer 23fa162
# This option enables the bottom right corner to be a right button on
Peter Hutterer 23fa162
# non-synaptics clickpads.
Peter Hutterer 23fa162
# This option is only interpreted by clickpads.
Peter Hutterer 23fa162
Section "InputClass"
Peter Hutterer 23fa162
        Identifier "Default clickpad buttons"
Peter Hutterer 23fa162
        MatchDriver "synaptics"
Peter Hutterer 23fa162
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
a6e6399
        Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
Peter Hutterer 23fa162
EndSection
Peter Hutterer 23fa162
Peter Hutterer 23fa162
# This option disables software buttons on Apple touchpads.
Peter Hutterer 23fa162
# This option is only interpreted by clickpads.
Peter Hutterer 23fa162
Section "InputClass"
Peter Hutterer 23fa162
        Identifier "Disable clickpad buttons on Apple touchpads"
Peter Hutterer 23fa162
        MatchProduct "Apple|bcm5974"
Peter Hutterer 23fa162
        MatchDriver "synaptics"
Peter Hutterer 23fa162
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
Peter Hutterer 23fa162
EndSection
d85712a
d85712a
# Quirks for special touchpads
d85712a
Peter Hutterer b2013f5
# The Cypress touchpads provide BTN_RIGHT in firmware, together with
Peter Hutterer b2013f5
# clickfinger, and two-finger scrolling. Disable Clickpads, otherwise we
Peter Hutterer b2013f5
# get flaky button behaviour.
Peter Hutterer b2013f5
# https://bugs.freedesktop.org/show_bug.cgi?id=70819
Peter Hutterer b2013f5
# https://bugs.freedesktop.org/show_bug.cgi?id=76341
859397f
#
859397f
# This really is a kernel issue, as the kernel should simply not report these
859397f
# as clickpads. This has been fixed in 3.13.9 and later, this section
859397f
# should be removed in the future
Peter Hutterer b2013f5
Section "InputClass"
Peter Hutterer b2013f5
        Identifier "Disable clickpad for CyPS/2 Cypress Trackpad"
Peter Hutterer b2013f5
        MatchProduct "CyPS/2 Cypress Trackpad"
Peter Hutterer b2013f5
        MatchDriver "synaptics"
Peter Hutterer b2013f5
        Option "ClickPad" "off"
Peter Hutterer b2013f5
EndSection
Peter Hutterer b2013f5
d85712a
# Some devices have the buttons as part of the lower edge of the
d85712a
# touchpad.  Pressing a button moves the cursor, causing cursor jumps and
d85712a
# erroneous clicks.
d85712a
# Use the synaptics area property to work around this, udev labels these
d85712a
# devices for us as touchpad_button_overlap.
d85712a
# Affected: Dell Mini
d85712a
Section "InputClass"
d85712a
        Identifier "touchpad button overlap"
d85712a
        MatchIsTouchpad "on"
d85712a
        MatchTag "touchpad_button_overlap"
d85712a
        Option "AreaBottomEdge" "4000"
d85712a
EndSection
Peter Hutterer bb99d99
859397f
# Some devices have the buttons on the top of the touchpad. For those, set
859397f
# the secondary button area to exactly that.
d774c55
# Affected: All Haswell Lenovos and *431* models
Peter Hutterer 69e85b4
#
859397f
# Note the touchpad_softbutton_top tag is a temporary solution, we're working
859397f
# on a more permanent solution upstream (likely adding INPUT_PROP_TOPBUTTONPAD)
Peter Hutterer 69e85b4
Section "InputClass"
859397f
        Identifier "Lenovo TrackPoint top software buttons"
859397f
        MatchDriver "synaptics"
859397f
        MatchTag "touchpad_softbutton_top"
a6e6399
        Option "HasSecondarySoftButtons" "on"
Peter Hutterer ca9c21d
EndSection
Peter Hutterer ebf4468
Peter Hutterer ebf4468
Section "InputClass"
Peter Hutterer ebf4468
        Identifier "Lenovo *50 and Carbon 3rd trackpoint buttons"
Peter Hutterer ebf4468
        MatchDriver "synaptics"
Peter Hutterer ebf4468
        MatchTag "has_trackpoint_buttons"
Peter Hutterer ebf4468
        Option "HasTrackpointButtons" "on"
Peter Hutterer ebf4468
EndSection