* This file generated automatically from xkb.xml by c_client.py.
* @defgroup XCB_xkb_API XCB xkb API
* @brief xkb XCB Protocol Implementation.
#define XCB_XKB_MAJOR_VERSION 1
#define XCB_XKB_MINOR_VERSION 0
extern xcb_extension_t xcb_xkb_id;
typedef enum xcb_xkb_const_t {
XCB_XKB_CONST_MAX_LEGAL_KEY_CODE = 255,
XCB_XKB_CONST_PER_KEY_BIT_ARRAY_SIZE = 32,
XCB_XKB_CONST_KEY_NAME_LENGTH = 4
typedef enum xcb_xkb_event_type_t {
XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY = 1,
XCB_XKB_EVENT_TYPE_MAP_NOTIFY = 2,
XCB_XKB_EVENT_TYPE_STATE_NOTIFY = 4,
XCB_XKB_EVENT_TYPE_CONTROLS_NOTIFY = 8,
XCB_XKB_EVENT_TYPE_INDICATOR_STATE_NOTIFY = 16,
XCB_XKB_EVENT_TYPE_INDICATOR_MAP_NOTIFY = 32,
XCB_XKB_EVENT_TYPE_NAMES_NOTIFY = 64,
XCB_XKB_EVENT_TYPE_COMPAT_MAP_NOTIFY = 128,
XCB_XKB_EVENT_TYPE_BELL_NOTIFY = 256,
XCB_XKB_EVENT_TYPE_ACTION_MESSAGE = 512,
XCB_XKB_EVENT_TYPE_ACCESS_X_NOTIFY = 1024,
XCB_XKB_EVENT_TYPE_EXTENSION_DEVICE_NOTIFY = 2048
typedef enum xcb_xkb_nkn_detail_t {
XCB_XKB_NKN_DETAIL_KEYCODES = 1,
XCB_XKB_NKN_DETAIL_GEOMETRY = 2,
XCB_XKB_NKN_DETAIL_DEVICE_ID = 4
typedef enum xcb_xkb_axn_detail_t {
XCB_XKB_AXN_DETAIL_SK_PRESS = 1,
XCB_XKB_AXN_DETAIL_SK_ACCEPT = 2,
XCB_XKB_AXN_DETAIL_SK_REJECT = 4,
XCB_XKB_AXN_DETAIL_SK_RELEASE = 8,
XCB_XKB_AXN_DETAIL_BK_ACCEPT = 16,
XCB_XKB_AXN_DETAIL_BK_REJECT = 32,
XCB_XKB_AXN_DETAIL_AXK_WARNING = 64
typedef enum xcb_xkb_map_part_t {
XCB_XKB_MAP_PART_KEY_TYPES = 1,
XCB_XKB_MAP_PART_KEY_SYMS = 2,
XCB_XKB_MAP_PART_MODIFIER_MAP = 4,
XCB_XKB_MAP_PART_EXPLICIT_COMPONENTS = 8,
XCB_XKB_MAP_PART_KEY_ACTIONS = 16,
XCB_XKB_MAP_PART_KEY_BEHAVIORS = 32,
XCB_XKB_MAP_PART_VIRTUAL_MODS = 64,
XCB_XKB_MAP_PART_VIRTUAL_MOD_MAP = 128
typedef enum xcb_xkb_set_map_flags_t {
XCB_XKB_SET_MAP_FLAGS_RESIZE_TYPES = 1,
XCB_XKB_SET_MAP_FLAGS_RECOMPUTE_ACTIONS = 2
} xcb_xkb_set_map_flags_t;
typedef enum xcb_xkb_state_part_t {
XCB_XKB_STATE_PART_MODIFIER_STATE = 1,
XCB_XKB_STATE_PART_MODIFIER_BASE = 2,
XCB_XKB_STATE_PART_MODIFIER_LATCH = 4,
XCB_XKB_STATE_PART_MODIFIER_LOCK = 8,
XCB_XKB_STATE_PART_GROUP_STATE = 16,
XCB_XKB_STATE_PART_GROUP_BASE = 32,
XCB_XKB_STATE_PART_GROUP_LATCH = 64,
XCB_XKB_STATE_PART_GROUP_LOCK = 128,
XCB_XKB_STATE_PART_COMPAT_STATE = 256,
XCB_XKB_STATE_PART_GRAB_MODS = 512,
XCB_XKB_STATE_PART_COMPAT_GRAB_MODS = 1024,
XCB_XKB_STATE_PART_LOOKUP_MODS = 2048,
XCB_XKB_STATE_PART_COMPAT_LOOKUP_MODS = 4096,
XCB_XKB_STATE_PART_POINTER_BUTTONS = 8192
typedef enum xcb_xkb_bool_ctrl_t {
XCB_XKB_BOOL_CTRL_REPEAT_KEYS = 1,
XCB_XKB_BOOL_CTRL_SLOW_KEYS = 2,
XCB_XKB_BOOL_CTRL_BOUNCE_KEYS = 4,
XCB_XKB_BOOL_CTRL_STICKY_KEYS = 8,
XCB_XKB_BOOL_CTRL_MOUSE_KEYS = 16,
XCB_XKB_BOOL_CTRL_MOUSE_KEYS_ACCEL = 32,
XCB_XKB_BOOL_CTRL_ACCESS_X_KEYS = 64,
XCB_XKB_BOOL_CTRL_ACCESS_X_TIMEOUT_MASK = 128,
XCB_XKB_BOOL_CTRL_ACCESS_X_FEEDBACK_MASK = 256,
XCB_XKB_BOOL_CTRL_AUDIBLE_BELL_MASK = 512,
XCB_XKB_BOOL_CTRL_OVERLAY_1_MASK = 1024,
XCB_XKB_BOOL_CTRL_OVERLAY_2_MASK = 2048,
XCB_XKB_BOOL_CTRL_IGNORE_GROUP_LOCK_MASK = 4096
typedef enum xcb_xkb_control_t {
XCB_XKB_CONTROL_GROUPS_WRAP = 134217728,
XCB_XKB_CONTROL_INTERNAL_MODS = 268435456,
XCB_XKB_CONTROL_IGNORE_LOCK_MODS = 536870912,
XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824,
XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648
typedef enum xcb_xkb_ax_option_t {
XCB_XKB_AX_OPTION_SK_PRESS_FB = 1,
XCB_XKB_AX_OPTION_SK_ACCEPT_FB = 2,
XCB_XKB_AX_OPTION_FEATURE_FB = 4,
XCB_XKB_AX_OPTION_SLOW_WARN_FB = 8,
XCB_XKB_AX_OPTION_INDICATOR_FB = 16,
XCB_XKB_AX_OPTION_STICKY_KEYS_FB = 32,
XCB_XKB_AX_OPTION_TWO_KEYS = 64,
XCB_XKB_AX_OPTION_LATCH_TO_LOCK = 128,
XCB_XKB_AX_OPTION_SK_RELEASE_FB = 256,
XCB_XKB_AX_OPTION_SK_REJECT_FB = 512,
XCB_XKB_AX_OPTION_BK_REJECT_FB = 1024,
XCB_XKB_AX_OPTION_DUMB_BELL = 2048
typedef uint16_t xcb_xkb_device_spec_t;
* @brief xcb_xkb_device_spec_iterator_t
typedef struct xcb_xkb_device_spec_iterator_t {
xcb_xkb_device_spec_t *data;
} xcb_xkb_device_spec_iterator_t;
typedef enum xcb_xkb_led_class_result_t {
XCB_XKB_LED_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
XCB_XKB_LED_CLASS_RESULT_LED_FEEDBACK_CLASS = 4
} xcb_xkb_led_class_result_t;
typedef enum xcb_xkb_led_class_t {
XCB_XKB_LED_CLASS_KBD_FEEDBACK_CLASS = 0,
XCB_XKB_LED_CLASS_LED_FEEDBACK_CLASS = 4,
XCB_XKB_LED_CLASS_DFLT_XI_CLASS = 768,
XCB_XKB_LED_CLASS_ALL_XI_CLASSES = 1280
typedef uint16_t xcb_xkb_led_class_spec_t;
* @brief xcb_xkb_led_class_spec_iterator_t
typedef struct xcb_xkb_led_class_spec_iterator_t {
xcb_xkb_led_class_spec_t *data;
} xcb_xkb_led_class_spec_iterator_t;
typedef enum xcb_xkb_bell_class_result_t {
XCB_XKB_BELL_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
XCB_XKB_BELL_CLASS_RESULT_BELL_FEEDBACK_CLASS = 5
} xcb_xkb_bell_class_result_t;
typedef enum xcb_xkb_bell_class_t {
XCB_XKB_BELL_CLASS_KBD_FEEDBACK_CLASS = 0,
XCB_XKB_BELL_CLASS_BELL_FEEDBACK_CLASS = 5,
XCB_XKB_BELL_CLASS_DFLT_XI_CLASS = 768
typedef uint16_t xcb_xkb_bell_class_spec_t;
* @brief xcb_xkb_bell_class_spec_iterator_t
typedef struct xcb_xkb_bell_class_spec_iterator_t {
xcb_xkb_bell_class_spec_t *data;
} xcb_xkb_bell_class_spec_iterator_t;
typedef enum xcb_xkb_id_t {
XCB_XKB_ID_USE_CORE_KBD = 256,
XCB_XKB_ID_USE_CORE_PTR = 512,
XCB_XKB_ID_DFLT_XI_CLASS = 768,
XCB_XKB_ID_DFLT_XI_ID = 1024,
XCB_XKB_ID_ALL_XI_CLASS = 1280,
XCB_XKB_ID_ALL_XI_ID = 1536,
XCB_XKB_ID_XI_NONE = 65280
typedef uint16_t xcb_xkb_id_spec_t;
* @brief xcb_xkb_id_spec_iterator_t
typedef struct xcb_xkb_id_spec_iterator_t {
} xcb_xkb_id_spec_iterator_t;
typedef enum xcb_xkb_group_t {
typedef enum xcb_xkb_groups_t {
XCB_XKB_GROUPS_ANY = 254,
typedef enum xcb_xkb_set_of_group_t {
XCB_XKB_SET_OF_GROUP_GROUP_1 = 1,
XCB_XKB_SET_OF_GROUP_GROUP_2 = 2,
XCB_XKB_SET_OF_GROUP_GROUP_3 = 4,
XCB_XKB_SET_OF_GROUP_GROUP_4 = 8
} xcb_xkb_set_of_group_t;
typedef enum xcb_xkb_set_of_groups_t {
XCB_XKB_SET_OF_GROUPS_ANY = 128
} xcb_xkb_set_of_groups_t;
typedef enum xcb_xkb_groups_wrap_t {
XCB_XKB_GROUPS_WRAP_WRAP_INTO_RANGE = 0,
XCB_XKB_GROUPS_WRAP_CLAMP_INTO_RANGE = 64,
XCB_XKB_GROUPS_WRAP_REDIRECT_INTO_RANGE = 128
typedef enum xcb_xkb_v_mods_high_t {
XCB_XKB_V_MODS_HIGH_15 = 128,
XCB_XKB_V_MODS_HIGH_14 = 64,
XCB_XKB_V_MODS_HIGH_13 = 32,
XCB_XKB_V_MODS_HIGH_12 = 16,
XCB_XKB_V_MODS_HIGH_11 = 8,
XCB_XKB_V_MODS_HIGH_10 = 4,
XCB_XKB_V_MODS_HIGH_9 = 2,
XCB_XKB_V_MODS_HIGH_8 = 1
typedef enum xcb_xkb_v_mods_low_t {
XCB_XKB_V_MODS_LOW_7 = 128,
XCB_XKB_V_MODS_LOW_6 = 64,
XCB_XKB_V_MODS_LOW_5 = 32,
XCB_XKB_V_MODS_LOW_4 = 16,
XCB_XKB_V_MODS_LOW_3 = 8,
XCB_XKB_V_MODS_LOW_2 = 4,
XCB_XKB_V_MODS_LOW_1 = 2,
typedef enum xcb_xkb_v_mod_t {
XCB_XKB_V_MOD_15 = 32768,
XCB_XKB_V_MOD_14 = 16384,
typedef enum xcb_xkb_explicit_t {
XCB_XKB_EXPLICIT_V_MOD_MAP = 128,
XCB_XKB_EXPLICIT_BEHAVIOR = 64,
XCB_XKB_EXPLICIT_AUTO_REPEAT = 32,
XCB_XKB_EXPLICIT_INTERPRET = 16,
XCB_XKB_EXPLICIT_KEY_TYPE_4 = 8,
XCB_XKB_EXPLICIT_KEY_TYPE_3 = 4,
XCB_XKB_EXPLICIT_KEY_TYPE_2 = 2,
XCB_XKB_EXPLICIT_KEY_TYPE_1 = 1
typedef enum xcb_xkb_sym_interpret_match_t {
XCB_XKB_SYM_INTERPRET_MATCH_NONE_OF = 0,
XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF_OR_NONE = 1,
XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF = 2,
XCB_XKB_SYM_INTERPRET_MATCH_ALL_OF = 3,
XCB_XKB_SYM_INTERPRET_MATCH_EXACTLY = 4
} xcb_xkb_sym_interpret_match_t;
typedef enum xcb_xkb_sym_interp_match_t {
XCB_XKB_SYM_INTERP_MATCH_LEVEL_ONE_ONLY = 128,
XCB_XKB_SYM_INTERP_MATCH_OP_MASK = 127
} xcb_xkb_sym_interp_match_t;
typedef enum xcb_xkb_im_flag_t {
XCB_XKB_IM_FLAG_NO_EXPLICIT = 128,
XCB_XKB_IM_FLAG_NO_AUTOMATIC = 64,
XCB_XKB_IM_FLAG_LED_DRIVES_KB = 32
typedef enum xcb_xkb_im_mods_which_t {
XCB_XKB_IM_MODS_WHICH_USE_COMPAT = 16,
XCB_XKB_IM_MODS_WHICH_USE_EFFECTIVE = 8,
XCB_XKB_IM_MODS_WHICH_USE_LOCKED = 4,
XCB_XKB_IM_MODS_WHICH_USE_LATCHED = 2,
XCB_XKB_IM_MODS_WHICH_USE_BASE = 1
} xcb_xkb_im_mods_which_t;
typedef enum xcb_xkb_im_groups_which_t {
XCB_XKB_IM_GROUPS_WHICH_USE_COMPAT = 16,
XCB_XKB_IM_GROUPS_WHICH_USE_EFFECTIVE = 8,
XCB_XKB_IM_GROUPS_WHICH_USE_LOCKED = 4,
XCB_XKB_IM_GROUPS_WHICH_USE_LATCHED = 2,
XCB_XKB_IM_GROUPS_WHICH_USE_BASE = 1
} xcb_xkb_im_groups_which_t;
* @brief xcb_xkb_indicator_map_t
typedef struct xcb_xkb_indicator_map_t {
} xcb_xkb_indicator_map_t;
* @brief xcb_xkb_indicator_map_iterator_t
typedef struct xcb_xkb_indicator_map_iterator_t {
xcb_xkb_indicator_map_t *data;
} xcb_xkb_indicator_map_iterator_t;
typedef enum xcb_xkb_cm_detail_t {
XCB_XKB_CM_DETAIL_SYM_INTERP = 1,
XCB_XKB_CM_DETAIL_GROUP_COMPAT = 2
typedef enum xcb_xkb_name_detail_t {
XCB_XKB_NAME_DETAIL_KEYCODES = 1,
XCB_XKB_NAME_DETAIL_GEOMETRY = 2,
XCB_XKB_NAME_DETAIL_SYMBOLS = 4,
XCB_XKB_NAME_DETAIL_PHYS_SYMBOLS = 8,
XCB_XKB_NAME_DETAIL_TYPES = 16,
XCB_XKB_NAME_DETAIL_COMPAT = 32,
XCB_XKB_NAME_DETAIL_KEY_TYPE_NAMES = 64,
XCB_XKB_NAME_DETAIL_KT_LEVEL_NAMES = 128,
XCB_XKB_NAME_DETAIL_INDICATOR_NAMES = 256,
XCB_XKB_NAME_DETAIL_KEY_NAMES = 512,
XCB_XKB_NAME_DETAIL_KEY_ALIASES = 1024,
XCB_XKB_NAME_DETAIL_VIRTUAL_MOD_NAMES = 2048,
XCB_XKB_NAME_DETAIL_GROUP_NAMES = 4096,
XCB_XKB_NAME_DETAIL_RG_NAMES = 8192
typedef enum xcb_xkb_gbn_detail_t {
XCB_XKB_GBN_DETAIL_TYPES = 1,
XCB_XKB_GBN_DETAIL_COMPAT_MAP = 2,
XCB_XKB_GBN_DETAIL_CLIENT_SYMBOLS = 4,
XCB_XKB_GBN_DETAIL_SERVER_SYMBOLS = 8,
XCB_XKB_GBN_DETAIL_INDICATOR_MAPS = 16,
XCB_XKB_GBN_DETAIL_KEY_NAMES = 32,
XCB_XKB_GBN_DETAIL_GEOMETRY = 64,
XCB_XKB_GBN_DETAIL_OTHER_NAMES = 128
typedef enum xcb_xkb_xi_feature_t {
XCB_XKB_XI_FEATURE_KEYBOARDS = 1,
XCB_XKB_XI_FEATURE_BUTTON_ACTIONS = 2,
XCB_XKB_XI_FEATURE_INDICATOR_NAMES = 4,
XCB_XKB_XI_FEATURE_INDICATOR_MAPS = 8,
XCB_XKB_XI_FEATURE_INDICATOR_STATE = 16
typedef enum xcb_xkb_per_client_flag_t {
XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT = 1,
XCB_XKB_PER_CLIENT_FLAG_GRABS_USE_XKB_STATE = 2,
XCB_XKB_PER_CLIENT_FLAG_AUTO_RESET_CONTROLS = 4,
XCB_XKB_PER_CLIENT_FLAG_LOOKUP_STATE_WHEN_GRABBED = 8,
XCB_XKB_PER_CLIENT_FLAG_SEND_EVENT_USES_XKB_STATE = 16
} xcb_xkb_per_client_flag_t;
* @brief xcb_xkb_mod_def_t
typedef struct xcb_xkb_mod_def_t {
* @brief xcb_xkb_mod_def_iterator_t
typedef struct xcb_xkb_mod_def_iterator_t {
} xcb_xkb_mod_def_iterator_t;
* @brief xcb_xkb_key_name_t
typedef struct xcb_xkb_key_name_t {
* @brief xcb_xkb_key_name_iterator_t
typedef struct xcb_xkb_key_name_iterator_t {
xcb_xkb_key_name_t *data;
} xcb_xkb_key_name_iterator_t;
* @brief xcb_xkb_key_alias_t
typedef struct xcb_xkb_key_alias_t {
* @brief xcb_xkb_key_alias_iterator_t
typedef struct xcb_xkb_key_alias_iterator_t {
xcb_xkb_key_alias_t *data;
} xcb_xkb_key_alias_iterator_t;
* @brief xcb_xkb_counted_string_16_t
typedef struct xcb_xkb_counted_string_16_t {
} xcb_xkb_counted_string_16_t;
* @brief xcb_xkb_counted_string_16_iterator_t
typedef struct xcb_xkb_counted_string_16_iterator_t {
xcb_xkb_counted_string_16_t *data;
} xcb_xkb_counted_string_16_iterator_t;
* @brief xcb_xkb_kt_map_entry_t
typedef struct xcb_xkb_kt_map_entry_t {
} xcb_xkb_kt_map_entry_t;
* @brief xcb_xkb_kt_map_entry_iterator_t
typedef struct xcb_xkb_kt_map_entry_iterator_t {
xcb_xkb_kt_map_entry_t *data;
} xcb_xkb_kt_map_entry_iterator_t;
* @brief xcb_xkb_key_type_t
typedef struct xcb_xkb_key_type_t {