]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: redefine Lenovo ThinkPad X140e touchpad dimensions (#9818)
authorMichael 'pbone' Pobega <Pobega@users.noreply.github.com>
Tue, 7 Aug 2018 07:41:49 +0000 (03:41 -0400)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 7 Aug 2018 07:41:49 +0000 (17:41 +1000)
The default setup for the Lenovo ThinkPad X140e is 104x104mm, and the kernel
claims that it's 64x21. The default 104x104mm dimensions causes the vertical
axis to act oddly, causing random vertical jitters and higher vertical
sensitivity.

Measuring it showed that it was 74x32, and these touchpad dimensions provide
a better (if a little bit slower) experience but a consistent sensitivity
in all directions.

These values were obtained using the `touchpad-edge-detector` tool.

hwdb/60-evdev.hwdb

index bb75bfd9ad63e2ab185be81d5a6ea48e67e714a3..55622ca3b352fd4c1bc13048598ff87796f31c8c 100644 (file)
@@ -318,6 +318,13 @@ evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPad??40?:*
  EVDEV_ABS_35=::41
  EVDEV_ABS_36=::37
 
+# Lenovo ThinkPad X140e
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX140e*
+ EVDEV_ABS_00=1176:5767:62
+ EVDEV_ABS_01=416:5534:160
+ EVDEV_ABS_35=1176:5767:62
+ EVDEV_ABS_36=416:5534:160
+
 # Lenovo ThinkPad T430
 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadT430*
  EVDEV_ABS_00=1250:5631:58