inclement / vivarium

A dynamic tiling Wayland compositor using wlroots
GNU General Public License v3.0
367 stars 13 forks source link

Add tap to click config support #117

Closed inclement closed 2 years ago

inclement commented 2 years ago

Resolves #116

As pointed out by @flaviozavan on #116, tap to click simply wasn't configured by vivarium. That's an omission on my part, I thought I'd caught the minimal set of libinput functionality to cover this kind of common configuration but apparently not.

This PR adds a config option to enable tap to click as well as to make the basic left-right-middle or left-middle-right config choice.

inclement commented 2 years ago

It's working for me with the following touchpad config:

[[libinput-config]]
device-name = "SynPS/2 Synaptics TouchPad"
scroll-method = "2-finger"
scroll-button = 0
middle-emulation = false
left-handed = false
natural-scroll = false
disable-while-typing = false
click-method = "none"
tap-to-click = true
tap-button-map = "left-right-middle"