aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/evdev.h3
-rw-r--r--src/evdev_key.c8
2 files changed, 0 insertions, 11 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 9aca533..f2ad022 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -171,13 +171,10 @@ typedef struct _evdevDevice {
const char *device;
InputInfoPtr pInfo;
- int (*callback)(DeviceIntPtr cb_data, int what);
evdevBitsRec bits;
evdevStateRec state;
-
- struct _evdevDevice *next;
} evdevDeviceRec, *evdevDevicePtr;
int EvdevBtnInit (DeviceIntPtr device);
diff --git a/src/evdev_key.c b/src/evdev_key.c
index 4106cd4..811a3f9 100644
--- a/src/evdev_key.c
+++ b/src/evdev_key.c
@@ -515,14 +515,6 @@ EvdevKeyNew (InputInfoPtr pInfo)
SetXkbOption (pInfo, "XkbVariant", NULL, &state->key->xkb_variant);
SetXkbOption (pInfo, "XkbOptions", NULL, &state->key->xkb_options);
- /*
- SetXkbOption (pInfo, "XkbKeycodes", NULL, &state->key->xkbnames.keycodes);
- SetXkbOption (pInfo, "XkbTypes", NULL, &state->key->xkbnames.types);
- SetXkbOption (pInfo, "XkbCompat", NULL, &state->key->xkbnames.compat);
- SetXkbOption (pInfo, "XkbSymbols", NULL, &state->key->xkbnames.symbols);
- SetXkbOption (pInfo, "XkbGeometry", NULL, &state->key->xkbnames.geometry);
- */
-
return Success;
}