quirks: changes touchpad pressure Lenovo Yoga 2 Pro
authorJoaquin Gonzalez <joaquin.gonzalez.uy@gmail.com>
Tue, 16 Nov 2021 05:40:07 +0000 (02:40 -0300)
committerJoaquin Gonzalez <joaquin.gonzalez@fing.edu.uy>
Mon, 29 Nov 2021 04:34:06 +0000 (04:34 +0000)
Adds touchpad pressure configuration for Lenovo Yoga 2 Pro in order to avoid random cursor jumps on finger up.

Signed-off-by: Joaquin Gonzalez <joaquin.gonzalez.uy@gmail.com>
quirks/50-system-lenovo.quirks

index 2f0f0e5..8b195ed 100644 (file)
@@ -272,3 +272,11 @@ MatchBus=bluetooth
 MatchVendor=0x17EF
 MatchProduct=0x60E1
 ModelLenovoTrackpointKeyboard2=1
+
+# Modifies pressure range to avoid random jumps.
+# https://gitlab.freedesktop.org/libinput/libinput/-/issues/407
+[Lenovo Yoga 2 Pro touchpad]
+MatchUdevType=touchpad
+MatchName=*SynPS/2 Synaptics TouchPad
+MatchDMIModalias=dmi:*svnLENOVO:*:pvrLenovoYoga2Pro*
+AttrPressureRange=50:45