summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-28 08:45:02 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-05-03 13:54:17 -0400
commitece5474ed4b759a1f426d132748fc37d900218bf (patch)
tree7950a465575b92a40517a6c673529ab3caad8347
parentab24ad9042540a901a8e9cdc0e9578edc326adb1 (diff)
hwdb: coalesce same pointingstick entries into one
Multiple models in the same hardware series are likely to have similar specs. We should use organization similar to hwdb/60-evdev. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--hwdb/70-pointingstick.hwdb24
1 files changed, 10 insertions, 14 deletions
diff --git a/hwdb/70-pointingstick.hwdb b/hwdb/70-pointingstick.hwdb
index f18b6d439a..72c1a3b9cc 100644
--- a/hwdb/70-pointingstick.hwdb
+++ b/hwdb/70-pointingstick.hwdb
@@ -43,6 +43,8 @@
# POINTINGSTICK_CONST_ACCEL
# POINTINGSTICK_SENSITIVITY
#
+# Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
+#
#########################################
# POINTINGSTICK_CONST_ACCEL #
#########################################
@@ -85,25 +87,19 @@ evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
# 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 X240
evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX240:*
- POINTINGSTICK_SENSITIVITY=200
- POINTINGSTICK_CONST_ACCEL=1.0
-
# Lenovo Thinkpad T440s
evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
- POINTINGSTICK_SENSITIVITY=200
- POINTINGSTICK_CONST_ACCEL=1.0
-
# Lenovo Thinkpad T540p
evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT540p:*
POINTINGSTICK_SENSITIVITY=200
POINTINGSTICK_CONST_ACCEL=1.0
+
+# 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