doc/user: device quirk matches have to be 0x prefixed

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1223>
This commit is contained in:
Peter Hutterer 2025-06-16 12:30:18 +10:00 committed by Marge Bot
parent 17a7ed54d7
commit d67474645c

View file

@ -223,8 +223,8 @@ MatchBus
A lower-case bus name. Currently supported are ``usb``, ``bluetooth``, ``ps2``,
``rmi``, ``i2c``, and ``spi``.
MatchVendor, MatchProduct, MatchVersion
The hexadecmial 4-digit vendor ID, product ID or driver version as exported, without
a ``0x`` prefix.
The hexadecimal 4-digit vendor ID, product ID or driver version as
exported, uppercase with a ``0x`` prefix, e.g. ``0x12AB```.
MatchDMIModalias, MatchDeviceTree
An ``fnmatch()`` glob for the DMI modalias or the DeviceTree ``compatible`` string.
See ``/sys/class/dmi/id/modalias`` and ``/sys/firmware/devicetree/base/compatible``.