[PATCH v2 libinput 00/14] libinput device quirks config files

Peter Hutterer peter.hutterer at who-t.net
Fri Jun 8 06:00:07 UTC 2018


Initial description is here
https://lists.freedesktop.org/archives/wayland-devel/2018-May/038233.html

Changes to v1 are rather mixed, bit hard to remember due to heavy rebasing.
- device tree compatible support added
- support for inline comments added
- more tests hooked up the parser run to ninja test
- cleanup, a few bugs/leaks fixed, etc.

All but the device tree hwdb entries have been moved now, now more fixmes.
The basic approach remains the same. It's a set of .ini files in the form:

[Aiptek No Tilt Tablet]
MatchUdevType=tablet
MatchBus=usb
MatchVendor=0x08CA
ModelTabletNoTilt=1

The Model* and Att* lines trigger specific behaviour within libinput to work
around whatever quirks we have. This is a replacement for the udev hwdb, not
a configuration API. The main motivation is to have something that's easier
to add and debug by users with devices that require quirks.

Cheers,
  Peter



More information about the wayland-devel mailing list