summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2015-04-20 18:01:52 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-05-03 13:51:11 -0400
commite571fca1c03d1189e33b42d7447338f9f2a08d4b (patch)
treed474f05c752ea6e58fbb208edd947b5c26158d9d
parent5983d43fbd61f17c113f4dfdfb25ec5d236d0086 (diff)
hwdb: add evdev entry for the Lenovo X230 series touchpad
The Lenovo X230 advertize a vertical resolution of 136, which gives a true size of 31 mm. The actual physical size of the touchpad is 40 mm, so override the resolution to 100. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--hwdb/60-evdev.hwdb16
1 files changed, 16 insertions, 0 deletions
diff --git a/hwdb/60-evdev.hwdb b/hwdb/60-evdev.hwdb
index ae483aaf51..0533f1b90b 100644
--- a/hwdb/60-evdev.hwdb
+++ b/hwdb/60-evdev.hwdb
@@ -36,6 +36,13 @@
# If a field is missing the field will be left as-is. Not all fields need to
# be present. e.g. ::45 sets the resolution to 45 units/mm.
+#
+# Sort by by brand, model
+
+#########################################
+# Apple
+#########################################
+
# Macbook5,1 (unibody), aka wellspring3
evdev:input:b0003v05ACp0236*
evdev:input:b0003v05ACp0237*
@@ -75,3 +82,12 @@ evdev:input:b0003v05ACp025b*
EVDEV_ABS_01=::92
EVDEV_ABS_35=::94
EVDEV_ABS_36=::92
+
+#########################################
+# Lenovo
+#########################################
+
+# Lenovo X230 series
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*X230*
+ EVDEV_ABS_01=::100
+ EVDEV_ABS_36=::100