#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
-#include <X11/keysym.h>
#include <linux/input.h>
#include "xkbcommon/xkbcommon.h"
XKB_STATE_LOCKED));
assert(xkb_state_led_name_is_active(state, XKB_MOD_NAME_CAPS));
num_syms = xkb_key_get_syms(state, KEY_Q + EVDEV_OFFSET, &syms);
- assert(num_syms == 1 && syms[0] == XK_Q);
+ assert(num_syms == 1 && syms[0] == XKB_KEY_Q);
/* Caps unlocked */
xkb_state_update_key(state, KEY_CAPSLOCK + EVDEV_OFFSET, XKB_KEY_DOWN);
XKB_STATE_EFFECTIVE));
assert(!xkb_state_led_name_is_active(state, XKB_MOD_NAME_CAPS));
num_syms = xkb_key_get_syms(state, KEY_Q + EVDEV_OFFSET, &syms);
- assert(num_syms == 1 && syms[0] == XK_q);
+ assert(num_syms == 1 && syms[0] == XKB_KEY_q);
xkb_state_unref(state);
}