From fc0bb34db369e597b00d88682d8ed6202f7a12b2 Mon Sep 17 00:00:00 2001 From: Michael 'pbone' Pobega Date: Tue, 7 Aug 2018 03:41:49 -0400 Subject: [PATCH] hwdb: redefine Lenovo ThinkPad X140e touchpad dimensions (#9818) 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hwdb/60-evdev.hwdb b/hwdb/60-evdev.hwdb index bb75bfd9ad..55622ca3b3 100644 --- a/hwdb/60-evdev.hwdb +++ b/hwdb/60-evdev.hwdb @@ -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