xserver-multidpi/hw/xfree86/parser
Dan Nicholson a71bdff47d xfree86: Allow multiple InputClass Match* entries for && matching
Currently when there multiple InputClass entries of the same type, only
the last entry is used and the previous ones are ignored. Instead,
multiple entries are used to create multiple matching conditions.

For instance, an InputClass with

	MatchProduct "foo"
	MatchProduct "bar"

will require that the device's product name contain both foo and bar.
This provides a complement to the || style matching when an entry is
split using the "|" token.

The xorg.conf man page has added an example to hopefully clarify the two
types of compound matches.

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:41:02 +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: Allow multiple InputClass Match* entries for && matching 2010-06-11 09:41:02 +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: Allow multiple InputClass Match* entries for && matching 2010-06-11 09:41:02 +10:00
xf86tokens.h xfree86: Match devices based on USB ID 2010-06-11 09:30:33 +10:00