]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: don't tag a named Mouse device as pointingstick 39264/head
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Oct 2025 00:56:54 +0000 (10:56 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 20 Oct 2025 04:14:39 +0000 (14:14 +1000)
The generic kernel hid drivers split up devices based on the application
collection, appending a suffix for each collection (e.g. Touchpad,
Mouse, ...). Many i2c touchpads get a "... Mouse" event node which is
mislabelled as pointingstick by the input_id builtin, see commit
3d7ac1c655ec40f3829543072494dcdfb92dbc6b.

Closes: https://github.com/systemd/systemd/issues/36677
hwdb.d/60-input-id.hwdb

index edc166c8470659b1b670fc75b9319f92cbb96e1f..d32bfedf59416ad59c26c89559b417e632b25d73 100644 (file)
 
 # Sort by brand, model
 
+# Any i2c device with a Mouse suffix in the name is not a pointing stick
+id-input:i2c:*:name:*Mouse:
+ ID_INPUT_POINTINGSTICK=0
+
 # Code Mercenaries Hard- und Software GmbH Virtual RC USB
 id-input:modalias:input:b0003v07C0p1125*
  ID_INPUT_MOUSE=