diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2010-06-07 20:39:58 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-11 09:44:40 +1000 |
commit | 66b21b2f455a1dfbc92f7caa571dcff3f3765808 (patch) | |
tree | 36acf155b4a34421d5694e7e0d8864b7719e9088 /hw/xfree86/doc | |
parent | a71bdff47d4cc80da6ceeb548db1dcc8e8b59702 (diff) |
xfree86: Match devices based on current driver setting
Often we want to apply a driver specific option to a set of devices and
don't care how the driver was selected for that device. The MatchDriver
entry can be used to match the current driver string:
MatchDriver "evdev|mouse"
Option "Emulate3Buttons" "yes"
The driver string is a case sensitive match.
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>
Diffstat (limited to 'hw/xfree86/doc')
-rw-r--r-- | hw/xfree86/doc/man/xorg.conf.man.pre | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/xfree86/doc/man/xorg.conf.man.pre b/hw/xfree86/doc/man/xorg.conf.man.pre index f6b90be2c..6b3636fff 100644 --- a/hw/xfree86/doc/man/xorg.conf.man.pre +++ b/hw/xfree86/doc/man/xorg.conf.man.pre @@ -1123,6 +1123,15 @@ separated by a ':'. This is the same format as the .BR lsusb (8) program. .TP 7 +.BI "MatchDriver \*q" matchdriver \*q +Check the case-sensitive string +.RI \*q matchdriver \*q +against the currently configured driver of the device. Ordering of sections +using this entry is important since it will not match unless the driver has +been set by the config backend or a previous +.B InputClass +section. +.TP 7 .BI "MatchTag \*q" matchtag \*q This entry can be used to check if tags assigned by the config backend matches the |