diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2010-06-07 20:39:53 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-10 14:36:36 +1000 |
commit | d1b4beecbc16448282dcc825dd5c354e96e48eca (patch) | |
tree | 4db748a8919b167faa4c24844834a0f7910c4797 /hw/xfree86/parser/xf86tokens.h | |
parent | 9b30fa9f8fedb7ddb5672f93ed1a154d13578c47 (diff) |
xfree86: Add MatchOS InputClass entry for operating system matching
Allow InputClass sections to match against the running operating system
to narrow the application of rules. An example where this could be used
is to specify that the default input driver on Linux is evdev while it's
mouse/kbd everywhere else.
The operating system name is the same as `uname -s`, and matching is
case-insensitive.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/parser/xf86tokens.h b/hw/xfree86/parser/xf86tokens.h index cb600704b..fd13d6d95 100644 --- a/hw/xfree86/parser/xf86tokens.h +++ b/hw/xfree86/parser/xf86tokens.h @@ -279,6 +279,7 @@ typedef enum { MATCH_PRODUCT, MATCH_VENDOR, MATCH_DEVICE_PATH, + MATCH_OS, MATCH_TAG, MATCH_IS_KEYBOARD, MATCH_IS_POINTER, |