]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Lenovo T490 Synaptics Touchpad hwdb entry
authorMike Auty <mike.auty@gmail.com>
Fri, 3 Jan 2020 00:44:54 +0000 (00:44 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 3 Jan 2020 08:57:07 +0000 (09:57 +0100)
The Synaptics Touchpad that comes with the T490 doesn't explicitly set
its resolution, so these lines are needed to provide that, in order to
help the libinput code detect overly large jumps.  Since this device
contains buttons under the lower section of the touchpad, large jumps
are common, so having the resolution helps libinput greatly reduce
the number of occurances of pointer jump.

This comes from
https://gitlab.freedesktop.org/libinput/libinput/issues/402.

hwdb.d/60-evdev.hwdb

index 5142ef16c3cdc46373ce758a60b5007dda4cbc70..aed25a4f0188d04b5208fdc901cbcbc3f78c3b3e 100644 (file)
@@ -514,6 +514,13 @@ evdev:name:AlpsPS/2 ALPS GlidePoint:dmi:*svnLENOVO:*pvrLenovoYoga500-14IBD*
  EVDEV_ABS_35=117:3952:36
  EVDEV_ABS_36=105:1960:26
 
+# Lenovo Thinkpad T490
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*:svnLENOVO:*pvrThinkPadT490:*
+ EVDEV_ABS_00=::57
+ EVDEV_ABS_01=::33
+ EVDEV_ABS_35=::57
+ EVDEV_ABS_36=::33
+
 #########################################
 # Razer
 #########################################