mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-30 01:14:25 +00:00
It is patch 3/5 of a series that refactors matching input and output devices to classes and extends possibilities to describe them, in particular, it allows use of regular expressions. This patch defines a function MatchAddrToken that actually matches an attribute against a list of pattern groups (in fact, Match... lines). It is used to check whether a particular input/optput class should be applied to a device, thus replacing the tangled and difficult to control code in InputClass.c and OutputClass.c. Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
18 KiB
18 KiB