summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-08-30 10:30:42 +0200
committerGitHub <noreply@github.com>2021-08-30 18:30:42 +1000
commitc5e9aeca0ad685560297a61f42dd700ba7c29c28 (patch)
treeb3344c48ce710bd61759ac0a2ed453c6ad7bd2e4
parent4917c15af7c2dfe553b8e0dbf22b4fb7cec958de (diff)
downloadsystemd-c5e9aeca0ad685560297a61f42dd700ba7c29c28.tar.gz
hwdb: add a generic rule for trackpoints (#20543)
Check for "TrackPoint" in the device name and add the ID_INPUT_POINTINGSTICK property. In reference to libinput issue: https://gitlab.freedesktop.org/libinput/libinput/-/issues/651
-rw-r--r--hwdb.d/70-pointingstick.hwdb7
1 files changed, 7 insertions, 0 deletions
diff --git a/hwdb.d/70-pointingstick.hwdb b/hwdb.d/70-pointingstick.hwdb
index b427f21ea5..6039119b6a 100644
--- a/hwdb.d/70-pointingstick.hwdb
+++ b/hwdb.d/70-pointingstick.hwdb
@@ -43,6 +43,7 @@
# udevadm info /dev/input/eventXX.
#
# Allowed properties are:
+# ID_INPUT_POINTINGSTICK
# POINTINGSTICK_CONST_ACCEL (deprecated)
# POINTINGSTICK_SENSITIVITY
#
@@ -78,6 +79,12 @@
# Sort by brand, model
+##########################################
+# Generic
+##########################################
+evdev:name:*[tT]rack[pP]oint*:*
+ ID_INPUT_POINTINGSTICK=1
+
#########################################
# Dell
#########################################