summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/xf86tokens.h
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2010-06-07 20:39:58 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2010-06-11 09:44:40 +1000
commit66b21b2f455a1dfbc92f7caa571dcff3f3765808 (patch)
tree36acf155b4a34421d5694e7e0d8864b7719e9088 /hw/xfree86/parser/xf86tokens.h
parenta71bdff47d4cc80da6ceeb548db1dcc8e8b59702 (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/parser/xf86tokens.h')
-rw-r--r--hw/xfree86/parser/xf86tokens.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/parser/xf86tokens.h b/hw/xfree86/parser/xf86tokens.h
index 23460dd73..c16a8f551 100644
--- a/hw/xfree86/parser/xf86tokens.h
+++ b/hw/xfree86/parser/xf86tokens.h
@@ -282,6 +282,7 @@ typedef enum {
MATCH_OS,
MATCH_PNPID,
MATCH_USBID,
+ MATCH_DRIVER,
MATCH_TAG,
MATCH_IS_KEYBOARD,
MATCH_IS_POINTER,