mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-03-26 02:38:35 +00:00
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.
This commit is contained in:
19
src/evdev.c
19
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",
|
||||
|
||||
Reference in New Issue
Block a user