From c5e9aeca0ad685560297a61f42dd700ba7c29c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Mon, 30 Aug 2021 10:30:42 +0200 Subject: [PATCH] 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 --- hwdb.d/70-pointingstick.hwdb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hwdb.d/70-pointingstick.hwdb b/hwdb.d/70-pointingstick.hwdb index b427f21ea54..6039119b6a1 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 #########################################