]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add a generic rule for trackpoints (#20543)
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 30 Aug 2021 08:30:42 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Aug 2021 08:30:42 +0000 (18:30 +1000)
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

hwdb.d/70-pointingstick.hwdb

index b427f21ea54cd21536e69825730c1faff3e7dc13..6039119b6a14c83fb547e47ec285f2108b7b0efd 100644 (file)
@@ -43,6 +43,7 @@
 #   udevadm info /dev/input/eventXX.
 #
 # Allowed properties are:
+#   ID_INPUT_POINTINGSTICK
 #   POINTINGSTICK_CONST_ACCEL (deprecated)
 #   POINTINGSTICK_SENSITIVITY
 #
 
 # Sort by brand, model
 
+##########################################
+# Generic
+##########################################
+evdev:name:*[tT]rack[pP]oint*:*
+ ID_INPUT_POINTINGSTICK=1
+
 #########################################
 # Dell
 #########################################