xserver-multidpi/hw/xfree86/parser
Dan Nicholson 645679c152 xfree86: Match devices based on PnP ID
Serial input devices lack properties such as product or vendor name. This
makes matching InputClass sections difficult. Add a MatchPnPID entry to
test against the PnP ID of the device. The entry supports a shell pattern
match on platforms that support fnmatch(3). For example:

	MatchPnPID "WACf*"

A match type for non-path pattern matching, match_pattern, has been added.
The difference between this and match_path_pattern is the FNM_PATHNAME
flag in fnmatch(3).

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-06-11 09:30:07 +10:00
..
Configint.h xfree86: Support non-Option boolean entries in configuration 2009-12-22 23:24:02 -08:00
configProcs.h xfree86: Introduce InputClass configuration 2009-12-23 05:54:40 -08:00
Device.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
DRI.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Extensions.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Files.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Flags.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
Input.c xfree86: remove some 'enable this later' and if 0 ifdefs 2009-12-22 21:27:54 -08:00
InputClass.c xfree86: Match devices based on PnP ID 2010-06-11 09:30:07 +10:00
Layout.c xfree86: Add Option AutoServerLayout for input devices. 2009-12-22 23:22:09 -08:00
Makefile.am xfree86: Allow adding sysconfdir and datadir to config search paths 2010-04-08 15:21:00 +10:00
Module.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Monitor.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Pointer.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
read.c xfree86: fix not reached code in parser 2010-04-21 18:07:13 +03:00
scan.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
Screen.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Vendor.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Video.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
write.c xfree86: Introduce InputClass configuration 2009-12-23 05:54:40 -08:00
xf86Optrec.h config: s/xf86configStrdup/strdup/ 2009-04-06 17:51:35 -04:00
xf86Parser.h xfree86: Match devices based on PnP ID 2010-06-11 09:30:07 +10:00
xf86tokens.h xfree86: Match devices based on PnP ID 2010-06-11 09:30:07 +10:00