From: José Expósito Date: Mon, 30 Aug 2021 08:30:42 +0000 (+0200) Subject: hwdb: add a generic rule for trackpoints (#20543) X-Git-Tag: v250-rc1~762 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e9aeca0ad685560297a61f42dd700ba7c29c28;p=thirdparty%2Fsystemd.git 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 --- 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 #########################################