xserver-multidpi/config
Peter Hutterer c6d9bc092c Add tag matching to input attributes.
Tags may be a list of comma-separated strings that match against a MatchTag
InputClass section. If any of the tags specified for a device match against
the MatchTag of the section, this match is evaluated true and passed on to
the next match condition.

Tags are specified as "input.tags" (hal) or "ID_INPUT.tags" (udev), the
value of the tags is case-sensitive and require an exact match (not a
substring match).

i.e. "quirk" will not match "QUIRK", "need_quirk" or "quirk_needed".

Example configuration:
udev:
    ENV{ID_INPUT.tags}="foo,bar"

hal:
    <merge key="input.tags" type="string">foo,bar</merge>

xorg.conf:
    Section "InputClass"
            Identifier "foobar quirks"
            MatchTag "foo|foobar"
            Option "Foobar" "on"
    EndSection

Where the xorg.conf section matches against any device with the tag "foo"
or tag "foobar" set.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2010-02-11 19:25:49 +10:00
..
config-backends.h config: add libudev input-hotplug backend 2009-12-30 19:05:44 +00:00
config.c config: add libudev input-hotplug backend 2009-12-30 19:05:44 +00:00
dbus-api Hotplug: D-Bus: API version 2 2007-08-01 01:53:31 +03:00
dbus-core.c DBUS_API_SUBJECT_TO_CHANGE is already defined on the command line 2009-02-04 09:49:54 +10:00
dbus.c config: Introduce InputAttributes in NewInputDeviceRequest 2009-12-22 23:24:13 -08:00
hal.c Add tag matching to input attributes. 2010-02-11 19:25:49 +10:00
Makefile.am config: add libudev input-hotplug backend 2009-12-30 19:05:44 +00:00
udev.c Add tag matching to input attributes. 2010-02-11 19:25:49 +10:00
x11-input.fdi x11-input.fdi: Add options needed to handle adding USB devices on Solaris 2009-01-30 21:45:12 -08:00
xorg-server.conf add basic D-BUS configuration mechanism 2006-07-21 15:19:49 -04:00