diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-19 08:24:55 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-19 08:24:55 +0930 |
commit | ff6251a2bd347eef7b3cd80825e84d983eeecfd3 (patch) | |
tree | 97e666d6ad1098bc1d81d4dba1e76507d29a98a5 | |
parent | man: Option "Path" is supported in the code, add it to man page. (diff) | |
download | xf86-input-evdev-ff6251a2bd347eef7b3cd80825e84d983eeecfd3.tar.gz xf86-input-evdev-ff6251a2bd347eef7b3cd80825e84d983eeecfd3.tar.bz2 xf86-input-evdev-ff6251a2bd347eef7b3cd80825e84d983eeecfd3.zip |
Remove unused EvdevOpts and EvdevOptions.
In the mouse driver, these options are only used if XFree86LOADER is
undefined. configure.ac in the xserver forces said define to 1 if we're
building the xfree86 DDX, so I don't see the point of having them around.
Especially since they weren't used in evdev anyway.
-rw-r--r-- | src/evdev.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/evdev.c b/src/evdev.c index 9b1ea4f..68e6cc2 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -110,25 +110,6 @@ typedef struct { #endif } EvdevRec, *EvdevPtr; -typedef enum { - OPTION_XKB_DISABLE, - OPTION_XKB_RULES, - OPTION_XKB_MODEL, - OPTION_XKB_LAYOUT, - OPTION_XKB_VARIANT, - OPTION_XKB_OPTIONS -} EvdevOpts; - -static const OptionInfoRec EvdevOptions[] = { - { OPTION_XKB_DISABLE, "XkbDisable", OPTV_BOOLEAN, {0}, FALSE }, - { OPTION_XKB_RULES, "XkbRules", OPTV_STRING, {0}, FALSE }, - { OPTION_XKB_MODEL, "XkbModel", OPTV_STRING, {0}, FALSE }, - { OPTION_XKB_LAYOUT, "XkbLayout", OPTV_STRING, {0}, FALSE }, - { OPTION_XKB_VARIANT, "XkbVariant", OPTV_STRING, {0}, FALSE }, - { OPTION_XKB_OPTIONS, "XkbOptions", OPTV_STRING, {0}, FALSE }, - { -1, NULL, OPTV_NONE, {0}, FALSE } -}; - static const char *evdevDefaults[] = { "XkbRules", "base", "XkbModel", "evdev", |