]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add entries for the trackpoint on 2 Thinkpads
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 Apr 2015 14:48:08 +0000 (16:48 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 21 Apr 2015 01:14:57 +0000 (11:14 +1000)
Lenovo has changed the sensitivity of the trackpoint on the x240 / T440s / T540
generation of Thinkpads, making them somewhat insensitive by default, add a
hwdb entry to tweak the sensitivity setting.

The ThinkPad X200s is way way too slow by default and unless you push the
trackpoint quite hard only sends delta events in the 1-2 range, tweak the
sensitivity to make it send a wider range of deltas and apply a const accel
factor to make it have a more reasonable speed by default.

hwdb/70-pointingstick.hwdb

index e87d75333971e4bb5bdeb097ecb2ac40542bfec9..2561129c30886112d4520f60d5fcaa15755f7ed3 100644 (file)
 
 #
 # Sort by by brand, model
+
+#########################################
+# Lenovo
+#########################################
+
+# Lenovo Thinkpad X200s / X201s
+# Note these come with 2 revisions of keyboard, with the trackpoints having a
+# different sensitivity in the different revisions. 1.25 is a bit slow for the
+# least sensitive revision, but it is better to be a bit slow than too fast.
+evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?s:*
+  POINTINGSTICK_SENSITIVITY=200
+  POINTINGSTICK_CONST_ACCEL=1.25
+
+# Lenovo Thinkpad T440s
+evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
+  POINTINGSTICK_SENSITIVITY=200
+  POINTINGSTICK_CONST_ACCEL=1.0