Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Section "InputClass"
- Identifier "synap touchpad catchall"
- Driver "synaptics"
- MatchIsTouchpad "on"
- MatchDevicePath "/dev/input/event*"
- # Enabling tap-to-click is a perilous choice that begets needing to set up palm detection/ignoring. Since I am fine clicking my touchpad, I sidestep the issue by disabling tapping.
- Option "TapButton1" "0"
- Option "TapButton2" "0"
- Option "TapButton3" "0"
- # Using negative values for ScrollDelta implements natural scroll, a la Macbook default.
- Option "VertScrollDelta" "50"
- Option "HorizScrollDelta" "50"
- # https://wiki.archlinux.org/index.php/Touchpad_Synaptics has a very buried note about this option
- # tl;dr this defines right button to be rightmost 7% and bottommost 5%
- Option "SoftButtonAreas" "93% 0 95% 0 0 0 0 0"
- Option "PalmDetect" "1"
- 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"
- Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
- 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|bcm5974"
- MatchDriver "synaptics"
- Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
- EndSection
- # Quirks for special touchpads
- # The Cypress touchpads provide BTN_RIGHT in firmware, together with
- # clickfinger, and two-finger scrolling. Disable Clickpads, otherwise we
- # get flaky button behaviour.
- # https://bugs.freedesktop.org/show_bug.cgi?id=70819
- # https://bugs.freedesktop.org/show_bug.cgi?id=76341
- #
- # This really is a kernel issue, as the kernel should simply not report these
- # as clickpads. This has been fixed in 3.13.9 and later, this section
- # should be removed in the future
- Section "InputClass"
- Identifier "Disable clickpad for CyPS/2 Cypress Trackpad"
- MatchProduct "CyPS/2 Cypress Trackpad"
- MatchDriver "synaptics"
- Option "ClickPad" "off"
- EndSection
- # Some devices have the buttons as part of the lower edge of the
- # touchpad. Pressing a button moves the cursor, causing cursor jumps and
- # erroneous clicks.
- # Use the synaptics area property to work around this, udev labels these
- # devices for us as touchpad_button_overlap.
- # Affected: Dell Mini
- Section "InputClass"
- Identifier "touchpad button overlap"
- MatchIsTouchpad "on"
- MatchTag "touchpad_button_overlap"
- Option "AreaBottomEdge" "4000"
- EndSection
- # Some devices have the buttons on the top of the touchpad. For those, set
- # the secondary button area to exactly that.
- # Affected: All Haswell Lenovos and *431* models
- #
- # Note the touchpad_softbutton_top tag is a temporary solution, we're working
- # on a more permanent solution upstream (likely adding INPUT_PROP_TOPBUTTONPAD)
- Section "InputClass"
- Identifier "Lenovo TrackPoint top software buttons"
- MatchDriver "synaptics"
- MatchTag "touchpad_softbutton_top"
- Option "HasSecondarySoftButtons" "on"
- EndSection
- Section "InputClass"
- Identifier "Lenovo *50 and Carbon 3rd trackpoint buttons"
- MatchDriver "synaptics"
- MatchTag "has_trackpoint_buttons"
- Option "HasTrackpointButtons" "on"
- EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement