annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/xcb/xkb.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 * This file generated automatically from xkb.xml by c_client.py.
jpayne@69 3 * Edit at your peril.
jpayne@69 4 */
jpayne@69 5
jpayne@69 6 /**
jpayne@69 7 * @defgroup XCB_xkb_API XCB xkb API
jpayne@69 8 * @brief xkb XCB Protocol Implementation.
jpayne@69 9 * @{
jpayne@69 10 **/
jpayne@69 11
jpayne@69 12 #ifndef __XKB_H
jpayne@69 13 #define __XKB_H
jpayne@69 14
jpayne@69 15 #include "xcb.h"
jpayne@69 16 #include "xproto.h"
jpayne@69 17
jpayne@69 18 #ifdef __cplusplus
jpayne@69 19 extern "C" {
jpayne@69 20 #endif
jpayne@69 21
jpayne@69 22 #define XCB_XKB_MAJOR_VERSION 1
jpayne@69 23 #define XCB_XKB_MINOR_VERSION 0
jpayne@69 24
jpayne@69 25 extern xcb_extension_t xcb_xkb_id;
jpayne@69 26
jpayne@69 27 typedef enum xcb_xkb_const_t {
jpayne@69 28 XCB_XKB_CONST_MAX_LEGAL_KEY_CODE = 255,
jpayne@69 29 XCB_XKB_CONST_PER_KEY_BIT_ARRAY_SIZE = 32,
jpayne@69 30 XCB_XKB_CONST_KEY_NAME_LENGTH = 4
jpayne@69 31 } xcb_xkb_const_t;
jpayne@69 32
jpayne@69 33 typedef enum xcb_xkb_event_type_t {
jpayne@69 34 XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY = 1,
jpayne@69 35 XCB_XKB_EVENT_TYPE_MAP_NOTIFY = 2,
jpayne@69 36 XCB_XKB_EVENT_TYPE_STATE_NOTIFY = 4,
jpayne@69 37 XCB_XKB_EVENT_TYPE_CONTROLS_NOTIFY = 8,
jpayne@69 38 XCB_XKB_EVENT_TYPE_INDICATOR_STATE_NOTIFY = 16,
jpayne@69 39 XCB_XKB_EVENT_TYPE_INDICATOR_MAP_NOTIFY = 32,
jpayne@69 40 XCB_XKB_EVENT_TYPE_NAMES_NOTIFY = 64,
jpayne@69 41 XCB_XKB_EVENT_TYPE_COMPAT_MAP_NOTIFY = 128,
jpayne@69 42 XCB_XKB_EVENT_TYPE_BELL_NOTIFY = 256,
jpayne@69 43 XCB_XKB_EVENT_TYPE_ACTION_MESSAGE = 512,
jpayne@69 44 XCB_XKB_EVENT_TYPE_ACCESS_X_NOTIFY = 1024,
jpayne@69 45 XCB_XKB_EVENT_TYPE_EXTENSION_DEVICE_NOTIFY = 2048
jpayne@69 46 } xcb_xkb_event_type_t;
jpayne@69 47
jpayne@69 48 typedef enum xcb_xkb_nkn_detail_t {
jpayne@69 49 XCB_XKB_NKN_DETAIL_KEYCODES = 1,
jpayne@69 50 XCB_XKB_NKN_DETAIL_GEOMETRY = 2,
jpayne@69 51 XCB_XKB_NKN_DETAIL_DEVICE_ID = 4
jpayne@69 52 } xcb_xkb_nkn_detail_t;
jpayne@69 53
jpayne@69 54 typedef enum xcb_xkb_axn_detail_t {
jpayne@69 55 XCB_XKB_AXN_DETAIL_SK_PRESS = 1,
jpayne@69 56 XCB_XKB_AXN_DETAIL_SK_ACCEPT = 2,
jpayne@69 57 XCB_XKB_AXN_DETAIL_SK_REJECT = 4,
jpayne@69 58 XCB_XKB_AXN_DETAIL_SK_RELEASE = 8,
jpayne@69 59 XCB_XKB_AXN_DETAIL_BK_ACCEPT = 16,
jpayne@69 60 XCB_XKB_AXN_DETAIL_BK_REJECT = 32,
jpayne@69 61 XCB_XKB_AXN_DETAIL_AXK_WARNING = 64
jpayne@69 62 } xcb_xkb_axn_detail_t;
jpayne@69 63
jpayne@69 64 typedef enum xcb_xkb_map_part_t {
jpayne@69 65 XCB_XKB_MAP_PART_KEY_TYPES = 1,
jpayne@69 66 XCB_XKB_MAP_PART_KEY_SYMS = 2,
jpayne@69 67 XCB_XKB_MAP_PART_MODIFIER_MAP = 4,
jpayne@69 68 XCB_XKB_MAP_PART_EXPLICIT_COMPONENTS = 8,
jpayne@69 69 XCB_XKB_MAP_PART_KEY_ACTIONS = 16,
jpayne@69 70 XCB_XKB_MAP_PART_KEY_BEHAVIORS = 32,
jpayne@69 71 XCB_XKB_MAP_PART_VIRTUAL_MODS = 64,
jpayne@69 72 XCB_XKB_MAP_PART_VIRTUAL_MOD_MAP = 128
jpayne@69 73 } xcb_xkb_map_part_t;
jpayne@69 74
jpayne@69 75 typedef enum xcb_xkb_set_map_flags_t {
jpayne@69 76 XCB_XKB_SET_MAP_FLAGS_RESIZE_TYPES = 1,
jpayne@69 77 XCB_XKB_SET_MAP_FLAGS_RECOMPUTE_ACTIONS = 2
jpayne@69 78 } xcb_xkb_set_map_flags_t;
jpayne@69 79
jpayne@69 80 typedef enum xcb_xkb_state_part_t {
jpayne@69 81 XCB_XKB_STATE_PART_MODIFIER_STATE = 1,
jpayne@69 82 XCB_XKB_STATE_PART_MODIFIER_BASE = 2,
jpayne@69 83 XCB_XKB_STATE_PART_MODIFIER_LATCH = 4,
jpayne@69 84 XCB_XKB_STATE_PART_MODIFIER_LOCK = 8,
jpayne@69 85 XCB_XKB_STATE_PART_GROUP_STATE = 16,
jpayne@69 86 XCB_XKB_STATE_PART_GROUP_BASE = 32,
jpayne@69 87 XCB_XKB_STATE_PART_GROUP_LATCH = 64,
jpayne@69 88 XCB_XKB_STATE_PART_GROUP_LOCK = 128,
jpayne@69 89 XCB_XKB_STATE_PART_COMPAT_STATE = 256,
jpayne@69 90 XCB_XKB_STATE_PART_GRAB_MODS = 512,
jpayne@69 91 XCB_XKB_STATE_PART_COMPAT_GRAB_MODS = 1024,
jpayne@69 92 XCB_XKB_STATE_PART_LOOKUP_MODS = 2048,
jpayne@69 93 XCB_XKB_STATE_PART_COMPAT_LOOKUP_MODS = 4096,
jpayne@69 94 XCB_XKB_STATE_PART_POINTER_BUTTONS = 8192
jpayne@69 95 } xcb_xkb_state_part_t;
jpayne@69 96
jpayne@69 97 typedef enum xcb_xkb_bool_ctrl_t {
jpayne@69 98 XCB_XKB_BOOL_CTRL_REPEAT_KEYS = 1,
jpayne@69 99 XCB_XKB_BOOL_CTRL_SLOW_KEYS = 2,
jpayne@69 100 XCB_XKB_BOOL_CTRL_BOUNCE_KEYS = 4,
jpayne@69 101 XCB_XKB_BOOL_CTRL_STICKY_KEYS = 8,
jpayne@69 102 XCB_XKB_BOOL_CTRL_MOUSE_KEYS = 16,
jpayne@69 103 XCB_XKB_BOOL_CTRL_MOUSE_KEYS_ACCEL = 32,
jpayne@69 104 XCB_XKB_BOOL_CTRL_ACCESS_X_KEYS = 64,
jpayne@69 105 XCB_XKB_BOOL_CTRL_ACCESS_X_TIMEOUT_MASK = 128,
jpayne@69 106 XCB_XKB_BOOL_CTRL_ACCESS_X_FEEDBACK_MASK = 256,
jpayne@69 107 XCB_XKB_BOOL_CTRL_AUDIBLE_BELL_MASK = 512,
jpayne@69 108 XCB_XKB_BOOL_CTRL_OVERLAY_1_MASK = 1024,
jpayne@69 109 XCB_XKB_BOOL_CTRL_OVERLAY_2_MASK = 2048,
jpayne@69 110 XCB_XKB_BOOL_CTRL_IGNORE_GROUP_LOCK_MASK = 4096
jpayne@69 111 } xcb_xkb_bool_ctrl_t;
jpayne@69 112
jpayne@69 113 typedef enum xcb_xkb_control_t {
jpayne@69 114 XCB_XKB_CONTROL_GROUPS_WRAP = 134217728,
jpayne@69 115 XCB_XKB_CONTROL_INTERNAL_MODS = 268435456,
jpayne@69 116 XCB_XKB_CONTROL_IGNORE_LOCK_MODS = 536870912,
jpayne@69 117 XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824,
jpayne@69 118 XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648
jpayne@69 119 } xcb_xkb_control_t;
jpayne@69 120
jpayne@69 121 typedef enum xcb_xkb_ax_option_t {
jpayne@69 122 XCB_XKB_AX_OPTION_SK_PRESS_FB = 1,
jpayne@69 123 XCB_XKB_AX_OPTION_SK_ACCEPT_FB = 2,
jpayne@69 124 XCB_XKB_AX_OPTION_FEATURE_FB = 4,
jpayne@69 125 XCB_XKB_AX_OPTION_SLOW_WARN_FB = 8,
jpayne@69 126 XCB_XKB_AX_OPTION_INDICATOR_FB = 16,
jpayne@69 127 XCB_XKB_AX_OPTION_STICKY_KEYS_FB = 32,
jpayne@69 128 XCB_XKB_AX_OPTION_TWO_KEYS = 64,
jpayne@69 129 XCB_XKB_AX_OPTION_LATCH_TO_LOCK = 128,
jpayne@69 130 XCB_XKB_AX_OPTION_SK_RELEASE_FB = 256,
jpayne@69 131 XCB_XKB_AX_OPTION_SK_REJECT_FB = 512,
jpayne@69 132 XCB_XKB_AX_OPTION_BK_REJECT_FB = 1024,
jpayne@69 133 XCB_XKB_AX_OPTION_DUMB_BELL = 2048
jpayne@69 134 } xcb_xkb_ax_option_t;
jpayne@69 135
jpayne@69 136 typedef uint16_t xcb_xkb_device_spec_t;
jpayne@69 137
jpayne@69 138 /**
jpayne@69 139 * @brief xcb_xkb_device_spec_iterator_t
jpayne@69 140 **/
jpayne@69 141 typedef struct xcb_xkb_device_spec_iterator_t {
jpayne@69 142 xcb_xkb_device_spec_t *data;
jpayne@69 143 int rem;
jpayne@69 144 int index;
jpayne@69 145 } xcb_xkb_device_spec_iterator_t;
jpayne@69 146
jpayne@69 147 typedef enum xcb_xkb_led_class_result_t {
jpayne@69 148 XCB_XKB_LED_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
jpayne@69 149 XCB_XKB_LED_CLASS_RESULT_LED_FEEDBACK_CLASS = 4
jpayne@69 150 } xcb_xkb_led_class_result_t;
jpayne@69 151
jpayne@69 152 typedef enum xcb_xkb_led_class_t {
jpayne@69 153 XCB_XKB_LED_CLASS_KBD_FEEDBACK_CLASS = 0,
jpayne@69 154 XCB_XKB_LED_CLASS_LED_FEEDBACK_CLASS = 4,
jpayne@69 155 XCB_XKB_LED_CLASS_DFLT_XI_CLASS = 768,
jpayne@69 156 XCB_XKB_LED_CLASS_ALL_XI_CLASSES = 1280
jpayne@69 157 } xcb_xkb_led_class_t;
jpayne@69 158
jpayne@69 159 typedef uint16_t xcb_xkb_led_class_spec_t;
jpayne@69 160
jpayne@69 161 /**
jpayne@69 162 * @brief xcb_xkb_led_class_spec_iterator_t
jpayne@69 163 **/
jpayne@69 164 typedef struct xcb_xkb_led_class_spec_iterator_t {
jpayne@69 165 xcb_xkb_led_class_spec_t *data;
jpayne@69 166 int rem;
jpayne@69 167 int index;
jpayne@69 168 } xcb_xkb_led_class_spec_iterator_t;
jpayne@69 169
jpayne@69 170 typedef enum xcb_xkb_bell_class_result_t {
jpayne@69 171 XCB_XKB_BELL_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
jpayne@69 172 XCB_XKB_BELL_CLASS_RESULT_BELL_FEEDBACK_CLASS = 5
jpayne@69 173 } xcb_xkb_bell_class_result_t;
jpayne@69 174
jpayne@69 175 typedef enum xcb_xkb_bell_class_t {
jpayne@69 176 XCB_XKB_BELL_CLASS_KBD_FEEDBACK_CLASS = 0,
jpayne@69 177 XCB_XKB_BELL_CLASS_BELL_FEEDBACK_CLASS = 5,
jpayne@69 178 XCB_XKB_BELL_CLASS_DFLT_XI_CLASS = 768
jpayne@69 179 } xcb_xkb_bell_class_t;
jpayne@69 180
jpayne@69 181 typedef uint16_t xcb_xkb_bell_class_spec_t;
jpayne@69 182
jpayne@69 183 /**
jpayne@69 184 * @brief xcb_xkb_bell_class_spec_iterator_t
jpayne@69 185 **/
jpayne@69 186 typedef struct xcb_xkb_bell_class_spec_iterator_t {
jpayne@69 187 xcb_xkb_bell_class_spec_t *data;
jpayne@69 188 int rem;
jpayne@69 189 int index;
jpayne@69 190 } xcb_xkb_bell_class_spec_iterator_t;
jpayne@69 191
jpayne@69 192 typedef enum xcb_xkb_id_t {
jpayne@69 193 XCB_XKB_ID_USE_CORE_KBD = 256,
jpayne@69 194 XCB_XKB_ID_USE_CORE_PTR = 512,
jpayne@69 195 XCB_XKB_ID_DFLT_XI_CLASS = 768,
jpayne@69 196 XCB_XKB_ID_DFLT_XI_ID = 1024,
jpayne@69 197 XCB_XKB_ID_ALL_XI_CLASS = 1280,
jpayne@69 198 XCB_XKB_ID_ALL_XI_ID = 1536,
jpayne@69 199 XCB_XKB_ID_XI_NONE = 65280
jpayne@69 200 } xcb_xkb_id_t;
jpayne@69 201
jpayne@69 202 typedef uint16_t xcb_xkb_id_spec_t;
jpayne@69 203
jpayne@69 204 /**
jpayne@69 205 * @brief xcb_xkb_id_spec_iterator_t
jpayne@69 206 **/
jpayne@69 207 typedef struct xcb_xkb_id_spec_iterator_t {
jpayne@69 208 xcb_xkb_id_spec_t *data;
jpayne@69 209 int rem;
jpayne@69 210 int index;
jpayne@69 211 } xcb_xkb_id_spec_iterator_t;
jpayne@69 212
jpayne@69 213 typedef enum xcb_xkb_group_t {
jpayne@69 214 XCB_XKB_GROUP_1 = 0,
jpayne@69 215 XCB_XKB_GROUP_2 = 1,
jpayne@69 216 XCB_XKB_GROUP_3 = 2,
jpayne@69 217 XCB_XKB_GROUP_4 = 3
jpayne@69 218 } xcb_xkb_group_t;
jpayne@69 219
jpayne@69 220 typedef enum xcb_xkb_groups_t {
jpayne@69 221 XCB_XKB_GROUPS_ANY = 254,
jpayne@69 222 XCB_XKB_GROUPS_ALL = 255
jpayne@69 223 } xcb_xkb_groups_t;
jpayne@69 224
jpayne@69 225 typedef enum xcb_xkb_set_of_group_t {
jpayne@69 226 XCB_XKB_SET_OF_GROUP_GROUP_1 = 1,
jpayne@69 227 XCB_XKB_SET_OF_GROUP_GROUP_2 = 2,
jpayne@69 228 XCB_XKB_SET_OF_GROUP_GROUP_3 = 4,
jpayne@69 229 XCB_XKB_SET_OF_GROUP_GROUP_4 = 8
jpayne@69 230 } xcb_xkb_set_of_group_t;
jpayne@69 231
jpayne@69 232 typedef enum xcb_xkb_set_of_groups_t {
jpayne@69 233 XCB_XKB_SET_OF_GROUPS_ANY = 128
jpayne@69 234 } xcb_xkb_set_of_groups_t;
jpayne@69 235
jpayne@69 236 typedef enum xcb_xkb_groups_wrap_t {
jpayne@69 237 XCB_XKB_GROUPS_WRAP_WRAP_INTO_RANGE = 0,
jpayne@69 238 XCB_XKB_GROUPS_WRAP_CLAMP_INTO_RANGE = 64,
jpayne@69 239 XCB_XKB_GROUPS_WRAP_REDIRECT_INTO_RANGE = 128
jpayne@69 240 } xcb_xkb_groups_wrap_t;
jpayne@69 241
jpayne@69 242 typedef enum xcb_xkb_v_mods_high_t {
jpayne@69 243 XCB_XKB_V_MODS_HIGH_15 = 128,
jpayne@69 244 XCB_XKB_V_MODS_HIGH_14 = 64,
jpayne@69 245 XCB_XKB_V_MODS_HIGH_13 = 32,
jpayne@69 246 XCB_XKB_V_MODS_HIGH_12 = 16,
jpayne@69 247 XCB_XKB_V_MODS_HIGH_11 = 8,
jpayne@69 248 XCB_XKB_V_MODS_HIGH_10 = 4,
jpayne@69 249 XCB_XKB_V_MODS_HIGH_9 = 2,
jpayne@69 250 XCB_XKB_V_MODS_HIGH_8 = 1
jpayne@69 251 } xcb_xkb_v_mods_high_t;
jpayne@69 252
jpayne@69 253 typedef enum xcb_xkb_v_mods_low_t {
jpayne@69 254 XCB_XKB_V_MODS_LOW_7 = 128,
jpayne@69 255 XCB_XKB_V_MODS_LOW_6 = 64,
jpayne@69 256 XCB_XKB_V_MODS_LOW_5 = 32,
jpayne@69 257 XCB_XKB_V_MODS_LOW_4 = 16,
jpayne@69 258 XCB_XKB_V_MODS_LOW_3 = 8,
jpayne@69 259 XCB_XKB_V_MODS_LOW_2 = 4,
jpayne@69 260 XCB_XKB_V_MODS_LOW_1 = 2,
jpayne@69 261 XCB_XKB_V_MODS_LOW_0 = 1
jpayne@69 262 } xcb_xkb_v_mods_low_t;
jpayne@69 263
jpayne@69 264 typedef enum xcb_xkb_v_mod_t {
jpayne@69 265 XCB_XKB_V_MOD_15 = 32768,
jpayne@69 266 XCB_XKB_V_MOD_14 = 16384,
jpayne@69 267 XCB_XKB_V_MOD_13 = 8192,
jpayne@69 268 XCB_XKB_V_MOD_12 = 4096,
jpayne@69 269 XCB_XKB_V_MOD_11 = 2048,
jpayne@69 270 XCB_XKB_V_MOD_10 = 1024,
jpayne@69 271 XCB_XKB_V_MOD_9 = 512,
jpayne@69 272 XCB_XKB_V_MOD_8 = 256,
jpayne@69 273 XCB_XKB_V_MOD_7 = 128,
jpayne@69 274 XCB_XKB_V_MOD_6 = 64,
jpayne@69 275 XCB_XKB_V_MOD_5 = 32,
jpayne@69 276 XCB_XKB_V_MOD_4 = 16,
jpayne@69 277 XCB_XKB_V_MOD_3 = 8,
jpayne@69 278 XCB_XKB_V_MOD_2 = 4,
jpayne@69 279 XCB_XKB_V_MOD_1 = 2,
jpayne@69 280 XCB_XKB_V_MOD_0 = 1
jpayne@69 281 } xcb_xkb_v_mod_t;
jpayne@69 282
jpayne@69 283 typedef enum xcb_xkb_explicit_t {
jpayne@69 284 XCB_XKB_EXPLICIT_V_MOD_MAP = 128,
jpayne@69 285 XCB_XKB_EXPLICIT_BEHAVIOR = 64,
jpayne@69 286 XCB_XKB_EXPLICIT_AUTO_REPEAT = 32,
jpayne@69 287 XCB_XKB_EXPLICIT_INTERPRET = 16,
jpayne@69 288 XCB_XKB_EXPLICIT_KEY_TYPE_4 = 8,
jpayne@69 289 XCB_XKB_EXPLICIT_KEY_TYPE_3 = 4,
jpayne@69 290 XCB_XKB_EXPLICIT_KEY_TYPE_2 = 2,
jpayne@69 291 XCB_XKB_EXPLICIT_KEY_TYPE_1 = 1
jpayne@69 292 } xcb_xkb_explicit_t;
jpayne@69 293
jpayne@69 294 typedef enum xcb_xkb_sym_interpret_match_t {
jpayne@69 295 XCB_XKB_SYM_INTERPRET_MATCH_NONE_OF = 0,
jpayne@69 296 XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF_OR_NONE = 1,
jpayne@69 297 XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF = 2,
jpayne@69 298 XCB_XKB_SYM_INTERPRET_MATCH_ALL_OF = 3,
jpayne@69 299 XCB_XKB_SYM_INTERPRET_MATCH_EXACTLY = 4
jpayne@69 300 } xcb_xkb_sym_interpret_match_t;
jpayne@69 301
jpayne@69 302 typedef enum xcb_xkb_sym_interp_match_t {
jpayne@69 303 XCB_XKB_SYM_INTERP_MATCH_LEVEL_ONE_ONLY = 128,
jpayne@69 304 XCB_XKB_SYM_INTERP_MATCH_OP_MASK = 127
jpayne@69 305 } xcb_xkb_sym_interp_match_t;
jpayne@69 306
jpayne@69 307 typedef enum xcb_xkb_im_flag_t {
jpayne@69 308 XCB_XKB_IM_FLAG_NO_EXPLICIT = 128,
jpayne@69 309 XCB_XKB_IM_FLAG_NO_AUTOMATIC = 64,
jpayne@69 310 XCB_XKB_IM_FLAG_LED_DRIVES_KB = 32
jpayne@69 311 } xcb_xkb_im_flag_t;
jpayne@69 312
jpayne@69 313 typedef enum xcb_xkb_im_mods_which_t {
jpayne@69 314 XCB_XKB_IM_MODS_WHICH_USE_COMPAT = 16,
jpayne@69 315 XCB_XKB_IM_MODS_WHICH_USE_EFFECTIVE = 8,
jpayne@69 316 XCB_XKB_IM_MODS_WHICH_USE_LOCKED = 4,
jpayne@69 317 XCB_XKB_IM_MODS_WHICH_USE_LATCHED = 2,
jpayne@69 318 XCB_XKB_IM_MODS_WHICH_USE_BASE = 1
jpayne@69 319 } xcb_xkb_im_mods_which_t;
jpayne@69 320
jpayne@69 321 typedef enum xcb_xkb_im_groups_which_t {
jpayne@69 322 XCB_XKB_IM_GROUPS_WHICH_USE_COMPAT = 16,
jpayne@69 323 XCB_XKB_IM_GROUPS_WHICH_USE_EFFECTIVE = 8,
jpayne@69 324 XCB_XKB_IM_GROUPS_WHICH_USE_LOCKED = 4,
jpayne@69 325 XCB_XKB_IM_GROUPS_WHICH_USE_LATCHED = 2,
jpayne@69 326 XCB_XKB_IM_GROUPS_WHICH_USE_BASE = 1
jpayne@69 327 } xcb_xkb_im_groups_which_t;
jpayne@69 328
jpayne@69 329 /**
jpayne@69 330 * @brief xcb_xkb_indicator_map_t
jpayne@69 331 **/
jpayne@69 332 typedef struct xcb_xkb_indicator_map_t {
jpayne@69 333 uint8_t flags;
jpayne@69 334 uint8_t whichGroups;
jpayne@69 335 uint8_t groups;
jpayne@69 336 uint8_t whichMods;
jpayne@69 337 uint8_t mods;
jpayne@69 338 uint8_t realMods;
jpayne@69 339 uint16_t vmods;
jpayne@69 340 uint32_t ctrls;
jpayne@69 341 } xcb_xkb_indicator_map_t;
jpayne@69 342
jpayne@69 343 /**
jpayne@69 344 * @brief xcb_xkb_indicator_map_iterator_t
jpayne@69 345 **/
jpayne@69 346 typedef struct xcb_xkb_indicator_map_iterator_t {
jpayne@69 347 xcb_xkb_indicator_map_t *data;
jpayne@69 348 int rem;
jpayne@69 349 int index;
jpayne@69 350 } xcb_xkb_indicator_map_iterator_t;
jpayne@69 351
jpayne@69 352 typedef enum xcb_xkb_cm_detail_t {
jpayne@69 353 XCB_XKB_CM_DETAIL_SYM_INTERP = 1,
jpayne@69 354 XCB_XKB_CM_DETAIL_GROUP_COMPAT = 2
jpayne@69 355 } xcb_xkb_cm_detail_t;
jpayne@69 356
jpayne@69 357 typedef enum xcb_xkb_name_detail_t {
jpayne@69 358 XCB_XKB_NAME_DETAIL_KEYCODES = 1,
jpayne@69 359 XCB_XKB_NAME_DETAIL_GEOMETRY = 2,
jpayne@69 360 XCB_XKB_NAME_DETAIL_SYMBOLS = 4,
jpayne@69 361 XCB_XKB_NAME_DETAIL_PHYS_SYMBOLS = 8,
jpayne@69 362 XCB_XKB_NAME_DETAIL_TYPES = 16,
jpayne@69 363 XCB_XKB_NAME_DETAIL_COMPAT = 32,
jpayne@69 364 XCB_XKB_NAME_DETAIL_KEY_TYPE_NAMES = 64,
jpayne@69 365 XCB_XKB_NAME_DETAIL_KT_LEVEL_NAMES = 128,
jpayne@69 366 XCB_XKB_NAME_DETAIL_INDICATOR_NAMES = 256,
jpayne@69 367 XCB_XKB_NAME_DETAIL_KEY_NAMES = 512,
jpayne@69 368 XCB_XKB_NAME_DETAIL_KEY_ALIASES = 1024,
jpayne@69 369 XCB_XKB_NAME_DETAIL_VIRTUAL_MOD_NAMES = 2048,
jpayne@69 370 XCB_XKB_NAME_DETAIL_GROUP_NAMES = 4096,
jpayne@69 371 XCB_XKB_NAME_DETAIL_RG_NAMES = 8192
jpayne@69 372 } xcb_xkb_name_detail_t;
jpayne@69 373
jpayne@69 374 typedef enum xcb_xkb_gbn_detail_t {
jpayne@69 375 XCB_XKB_GBN_DETAIL_TYPES = 1,
jpayne@69 376 XCB_XKB_GBN_DETAIL_COMPAT_MAP = 2,
jpayne@69 377 XCB_XKB_GBN_DETAIL_CLIENT_SYMBOLS = 4,
jpayne@69 378 XCB_XKB_GBN_DETAIL_SERVER_SYMBOLS = 8,
jpayne@69 379 XCB_XKB_GBN_DETAIL_INDICATOR_MAPS = 16,
jpayne@69 380 XCB_XKB_GBN_DETAIL_KEY_NAMES = 32,
jpayne@69 381 XCB_XKB_GBN_DETAIL_GEOMETRY = 64,
jpayne@69 382 XCB_XKB_GBN_DETAIL_OTHER_NAMES = 128
jpayne@69 383 } xcb_xkb_gbn_detail_t;
jpayne@69 384
jpayne@69 385 typedef enum xcb_xkb_xi_feature_t {
jpayne@69 386 XCB_XKB_XI_FEATURE_KEYBOARDS = 1,
jpayne@69 387 XCB_XKB_XI_FEATURE_BUTTON_ACTIONS = 2,
jpayne@69 388 XCB_XKB_XI_FEATURE_INDICATOR_NAMES = 4,
jpayne@69 389 XCB_XKB_XI_FEATURE_INDICATOR_MAPS = 8,
jpayne@69 390 XCB_XKB_XI_FEATURE_INDICATOR_STATE = 16
jpayne@69 391 } xcb_xkb_xi_feature_t;
jpayne@69 392
jpayne@69 393 typedef enum xcb_xkb_per_client_flag_t {
jpayne@69 394 XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT = 1,
jpayne@69 395 XCB_XKB_PER_CLIENT_FLAG_GRABS_USE_XKB_STATE = 2,
jpayne@69 396 XCB_XKB_PER_CLIENT_FLAG_AUTO_RESET_CONTROLS = 4,
jpayne@69 397 XCB_XKB_PER_CLIENT_FLAG_LOOKUP_STATE_WHEN_GRABBED = 8,
jpayne@69 398 XCB_XKB_PER_CLIENT_FLAG_SEND_EVENT_USES_XKB_STATE = 16
jpayne@69 399 } xcb_xkb_per_client_flag_t;
jpayne@69 400
jpayne@69 401 /**
jpayne@69 402 * @brief xcb_xkb_mod_def_t
jpayne@69 403 **/
jpayne@69 404 typedef struct xcb_xkb_mod_def_t {
jpayne@69 405 uint8_t mask;
jpayne@69 406 uint8_t realMods;
jpayne@69 407 uint16_t vmods;
jpayne@69 408 } xcb_xkb_mod_def_t;
jpayne@69 409
jpayne@69 410 /**
jpayne@69 411 * @brief xcb_xkb_mod_def_iterator_t
jpayne@69 412 **/
jpayne@69 413 typedef struct xcb_xkb_mod_def_iterator_t {
jpayne@69 414 xcb_xkb_mod_def_t *data;
jpayne@69 415 int rem;
jpayne@69 416 int index;
jpayne@69 417 } xcb_xkb_mod_def_iterator_t;
jpayne@69 418
jpayne@69 419 /**
jpayne@69 420 * @brief xcb_xkb_key_name_t
jpayne@69 421 **/
jpayne@69 422 typedef struct xcb_xkb_key_name_t {
jpayne@69 423 char name[4];
jpayne@69 424 } xcb_xkb_key_name_t;
jpayne@69 425
jpayne@69 426 /**
jpayne@69 427 * @brief xcb_xkb_key_name_iterator_t
jpayne@69 428 **/
jpayne@69 429 typedef struct xcb_xkb_key_name_iterator_t {
jpayne@69 430 xcb_xkb_key_name_t *data;
jpayne@69 431 int rem;
jpayne@69 432 int index;
jpayne@69 433 } xcb_xkb_key_name_iterator_t;
jpayne@69 434
jpayne@69 435 /**
jpayne@69 436 * @brief xcb_xkb_key_alias_t
jpayne@69 437 **/
jpayne@69 438 typedef struct xcb_xkb_key_alias_t {
jpayne@69 439 char real[4];
jpayne@69 440 char alias[4];
jpayne@69 441 } xcb_xkb_key_alias_t;
jpayne@69 442
jpayne@69 443 /**
jpayne@69 444 * @brief xcb_xkb_key_alias_iterator_t
jpayne@69 445 **/
jpayne@69 446 typedef struct xcb_xkb_key_alias_iterator_t {
jpayne@69 447 xcb_xkb_key_alias_t *data;
jpayne@69 448 int rem;
jpayne@69 449 int index;
jpayne@69 450 } xcb_xkb_key_alias_iterator_t;
jpayne@69 451
jpayne@69 452 /**
jpayne@69 453 * @brief xcb_xkb_counted_string_16_t
jpayne@69 454 **/
jpayne@69 455 typedef struct xcb_xkb_counted_string_16_t {
jpayne@69 456 uint16_t length;
jpayne@69 457 } xcb_xkb_counted_string_16_t;
jpayne@69 458
jpayne@69 459 /**
jpayne@69 460 * @brief xcb_xkb_counted_string_16_iterator_t
jpayne@69 461 **/
jpayne@69 462 typedef struct xcb_xkb_counted_string_16_iterator_t {
jpayne@69 463 xcb_xkb_counted_string_16_t *data;
jpayne@69 464 int rem;
jpayne@69 465 int index;
jpayne@69 466 } xcb_xkb_counted_string_16_iterator_t;
jpayne@69 467
jpayne@69 468 /**
jpayne@69 469 * @brief xcb_xkb_kt_map_entry_t
jpayne@69 470 **/
jpayne@69 471 typedef struct xcb_xkb_kt_map_entry_t {
jpayne@69 472 uint8_t active;
jpayne@69 473 uint8_t mods_mask;
jpayne@69 474 uint8_t level;
jpayne@69 475 uint8_t mods_mods;
jpayne@69 476 uint16_t mods_vmods;
jpayne@69 477 uint8_t pad0[2];
jpayne@69 478 } xcb_xkb_kt_map_entry_t;
jpayne@69 479
jpayne@69 480 /**
jpayne@69 481 * @brief xcb_xkb_kt_map_entry_iterator_t
jpayne@69 482 **/
jpayne@69 483 typedef struct xcb_xkb_kt_map_entry_iterator_t {
jpayne@69 484 xcb_xkb_kt_map_entry_t *data;
jpayne@69 485 int rem;
jpayne@69 486 int index;
jpayne@69 487 } xcb_xkb_kt_map_entry_iterator_t;
jpayne@69 488
jpayne@69 489 /**
jpayne@69 490 * @brief xcb_xkb_key_type_t
jpayne@69 491 **/
jpayne@69 492 typedef struct xcb_xkb_key_type_t {
jpayne@69 493 uint8_t mods_mask;
jpayne@69 494 uint8_t mods_mods;
jpayne@69 495 uint16_t mods_vmods;
jpayne@69 496 uint8_t numLevels;
jpayne@69 497 uint8_t nMapEntries;
jpayne@69 498 uint8_t hasPreserve;
jpayne@69 499 uint8_t pad0;
jpayne@69 500 } xcb_xkb_key_type_t;
jpayne@69 501
jpayne@69 502 /**
jpayne@69 503 * @brief xcb_xkb_key_type_iterator_t
jpayne@69 504 **/
jpayne@69 505 typedef struct xcb_xkb_key_type_iterator_t {
jpayne@69 506 xcb_xkb_key_type_t *data;
jpayne@69 507 int rem;
jpayne@69 508 int index;
jpayne@69 509 } xcb_xkb_key_type_iterator_t;
jpayne@69 510
jpayne@69 511 /**
jpayne@69 512 * @brief xcb_xkb_key_sym_map_t
jpayne@69 513 **/
jpayne@69 514 typedef struct xcb_xkb_key_sym_map_t {
jpayne@69 515 uint8_t kt_index[4];
jpayne@69 516 uint8_t groupInfo;
jpayne@69 517 uint8_t width;
jpayne@69 518 uint16_t nSyms;
jpayne@69 519 } xcb_xkb_key_sym_map_t;
jpayne@69 520
jpayne@69 521 /**
jpayne@69 522 * @brief xcb_xkb_key_sym_map_iterator_t
jpayne@69 523 **/
jpayne@69 524 typedef struct xcb_xkb_key_sym_map_iterator_t {
jpayne@69 525 xcb_xkb_key_sym_map_t *data;
jpayne@69 526 int rem;
jpayne@69 527 int index;
jpayne@69 528 } xcb_xkb_key_sym_map_iterator_t;
jpayne@69 529
jpayne@69 530 /**
jpayne@69 531 * @brief xcb_xkb_common_behavior_t
jpayne@69 532 **/
jpayne@69 533 typedef struct xcb_xkb_common_behavior_t {
jpayne@69 534 uint8_t type;
jpayne@69 535 uint8_t data;
jpayne@69 536 } xcb_xkb_common_behavior_t;
jpayne@69 537
jpayne@69 538 /**
jpayne@69 539 * @brief xcb_xkb_common_behavior_iterator_t
jpayne@69 540 **/
jpayne@69 541 typedef struct xcb_xkb_common_behavior_iterator_t {
jpayne@69 542 xcb_xkb_common_behavior_t *data;
jpayne@69 543 int rem;
jpayne@69 544 int index;
jpayne@69 545 } xcb_xkb_common_behavior_iterator_t;
jpayne@69 546
jpayne@69 547 /**
jpayne@69 548 * @brief xcb_xkb_default_behavior_t
jpayne@69 549 **/
jpayne@69 550 typedef struct xcb_xkb_default_behavior_t {
jpayne@69 551 uint8_t type;
jpayne@69 552 uint8_t pad0;
jpayne@69 553 } xcb_xkb_default_behavior_t;
jpayne@69 554
jpayne@69 555 /**
jpayne@69 556 * @brief xcb_xkb_default_behavior_iterator_t
jpayne@69 557 **/
jpayne@69 558 typedef struct xcb_xkb_default_behavior_iterator_t {
jpayne@69 559 xcb_xkb_default_behavior_t *data;
jpayne@69 560 int rem;
jpayne@69 561 int index;
jpayne@69 562 } xcb_xkb_default_behavior_iterator_t;
jpayne@69 563
jpayne@69 564 /**
jpayne@69 565 * @brief xcb_xkb_lock_behavior_t
jpayne@69 566 **/
jpayne@69 567 typedef struct xcb_xkb_lock_behavior_t {
jpayne@69 568 uint8_t type;
jpayne@69 569 uint8_t pad0;
jpayne@69 570 } xcb_xkb_lock_behavior_t;
jpayne@69 571
jpayne@69 572 /**
jpayne@69 573 * @brief xcb_xkb_lock_behavior_iterator_t
jpayne@69 574 **/
jpayne@69 575 typedef struct xcb_xkb_lock_behavior_iterator_t {
jpayne@69 576 xcb_xkb_lock_behavior_t *data;
jpayne@69 577 int rem;
jpayne@69 578 int index;
jpayne@69 579 } xcb_xkb_lock_behavior_iterator_t;
jpayne@69 580
jpayne@69 581 /**
jpayne@69 582 * @brief xcb_xkb_radio_group_behavior_t
jpayne@69 583 **/
jpayne@69 584 typedef struct xcb_xkb_radio_group_behavior_t {
jpayne@69 585 uint8_t type;
jpayne@69 586 uint8_t group;
jpayne@69 587 } xcb_xkb_radio_group_behavior_t;
jpayne@69 588
jpayne@69 589 /**
jpayne@69 590 * @brief xcb_xkb_radio_group_behavior_iterator_t
jpayne@69 591 **/
jpayne@69 592 typedef struct xcb_xkb_radio_group_behavior_iterator_t {
jpayne@69 593 xcb_xkb_radio_group_behavior_t *data;
jpayne@69 594 int rem;
jpayne@69 595 int index;
jpayne@69 596 } xcb_xkb_radio_group_behavior_iterator_t;
jpayne@69 597
jpayne@69 598 /**
jpayne@69 599 * @brief xcb_xkb_overlay_behavior_t
jpayne@69 600 **/
jpayne@69 601 typedef struct xcb_xkb_overlay_behavior_t {
jpayne@69 602 uint8_t type;
jpayne@69 603 xcb_keycode_t key;
jpayne@69 604 } xcb_xkb_overlay_behavior_t;
jpayne@69 605
jpayne@69 606 /**
jpayne@69 607 * @brief xcb_xkb_overlay_behavior_iterator_t
jpayne@69 608 **/
jpayne@69 609 typedef struct xcb_xkb_overlay_behavior_iterator_t {
jpayne@69 610 xcb_xkb_overlay_behavior_t *data;
jpayne@69 611 int rem;
jpayne@69 612 int index;
jpayne@69 613 } xcb_xkb_overlay_behavior_iterator_t;
jpayne@69 614
jpayne@69 615 /**
jpayne@69 616 * @brief xcb_xkb_permament_lock_behavior_t
jpayne@69 617 **/
jpayne@69 618 typedef struct xcb_xkb_permament_lock_behavior_t {
jpayne@69 619 uint8_t type;
jpayne@69 620 uint8_t pad0;
jpayne@69 621 } xcb_xkb_permament_lock_behavior_t;
jpayne@69 622
jpayne@69 623 /**
jpayne@69 624 * @brief xcb_xkb_permament_lock_behavior_iterator_t
jpayne@69 625 **/
jpayne@69 626 typedef struct xcb_xkb_permament_lock_behavior_iterator_t {
jpayne@69 627 xcb_xkb_permament_lock_behavior_t *data;
jpayne@69 628 int rem;
jpayne@69 629 int index;
jpayne@69 630 } xcb_xkb_permament_lock_behavior_iterator_t;
jpayne@69 631
jpayne@69 632 /**
jpayne@69 633 * @brief xcb_xkb_permament_radio_group_behavior_t
jpayne@69 634 **/
jpayne@69 635 typedef struct xcb_xkb_permament_radio_group_behavior_t {
jpayne@69 636 uint8_t type;
jpayne@69 637 uint8_t group;
jpayne@69 638 } xcb_xkb_permament_radio_group_behavior_t;
jpayne@69 639
jpayne@69 640 /**
jpayne@69 641 * @brief xcb_xkb_permament_radio_group_behavior_iterator_t
jpayne@69 642 **/
jpayne@69 643 typedef struct xcb_xkb_permament_radio_group_behavior_iterator_t {
jpayne@69 644 xcb_xkb_permament_radio_group_behavior_t *data;
jpayne@69 645 int rem;
jpayne@69 646 int index;
jpayne@69 647 } xcb_xkb_permament_radio_group_behavior_iterator_t;
jpayne@69 648
jpayne@69 649 /**
jpayne@69 650 * @brief xcb_xkb_permament_overlay_behavior_t
jpayne@69 651 **/
jpayne@69 652 typedef struct xcb_xkb_permament_overlay_behavior_t {
jpayne@69 653 uint8_t type;
jpayne@69 654 xcb_keycode_t key;
jpayne@69 655 } xcb_xkb_permament_overlay_behavior_t;
jpayne@69 656
jpayne@69 657 /**
jpayne@69 658 * @brief xcb_xkb_permament_overlay_behavior_iterator_t
jpayne@69 659 **/
jpayne@69 660 typedef struct xcb_xkb_permament_overlay_behavior_iterator_t {
jpayne@69 661 xcb_xkb_permament_overlay_behavior_t *data;
jpayne@69 662 int rem;
jpayne@69 663 int index;
jpayne@69 664 } xcb_xkb_permament_overlay_behavior_iterator_t;
jpayne@69 665
jpayne@69 666 /**
jpayne@69 667 * @brief xcb_xkb_behavior_t
jpayne@69 668 **/
jpayne@69 669 typedef union xcb_xkb_behavior_t {
jpayne@69 670 xcb_xkb_common_behavior_t common;
jpayne@69 671 xcb_xkb_default_behavior_t _default;
jpayne@69 672 xcb_xkb_lock_behavior_t lock;
jpayne@69 673 xcb_xkb_radio_group_behavior_t radioGroup;
jpayne@69 674 xcb_xkb_overlay_behavior_t overlay1;
jpayne@69 675 xcb_xkb_overlay_behavior_t overlay2;
jpayne@69 676 xcb_xkb_permament_lock_behavior_t permamentLock;
jpayne@69 677 xcb_xkb_permament_radio_group_behavior_t permamentRadioGroup;
jpayne@69 678 xcb_xkb_permament_overlay_behavior_t permamentOverlay1;
jpayne@69 679 xcb_xkb_permament_overlay_behavior_t permamentOverlay2;
jpayne@69 680 uint8_t type;
jpayne@69 681 } xcb_xkb_behavior_t;
jpayne@69 682
jpayne@69 683 /**
jpayne@69 684 * @brief xcb_xkb_behavior_iterator_t
jpayne@69 685 **/
jpayne@69 686 typedef struct xcb_xkb_behavior_iterator_t {
jpayne@69 687 xcb_xkb_behavior_t *data;
jpayne@69 688 int rem;
jpayne@69 689 int index;
jpayne@69 690 } xcb_xkb_behavior_iterator_t;
jpayne@69 691
jpayne@69 692 typedef enum xcb_xkb_behavior_type_t {
jpayne@69 693 XCB_XKB_BEHAVIOR_TYPE_DEFAULT = 0,
jpayne@69 694 XCB_XKB_BEHAVIOR_TYPE_LOCK = 1,
jpayne@69 695 XCB_XKB_BEHAVIOR_TYPE_RADIO_GROUP = 2,
jpayne@69 696 XCB_XKB_BEHAVIOR_TYPE_OVERLAY_1 = 3,
jpayne@69 697 XCB_XKB_BEHAVIOR_TYPE_OVERLAY_2 = 4,
jpayne@69 698 XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_LOCK = 129,
jpayne@69 699 XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_RADIO_GROUP = 130,
jpayne@69 700 XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_1 = 131,
jpayne@69 701 XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_2 = 132
jpayne@69 702 } xcb_xkb_behavior_type_t;
jpayne@69 703
jpayne@69 704 /**
jpayne@69 705 * @brief xcb_xkb_set_behavior_t
jpayne@69 706 **/
jpayne@69 707 typedef struct xcb_xkb_set_behavior_t {
jpayne@69 708 xcb_keycode_t keycode;
jpayne@69 709 xcb_xkb_behavior_t behavior;
jpayne@69 710 uint8_t pad0;
jpayne@69 711 } xcb_xkb_set_behavior_t;
jpayne@69 712
jpayne@69 713 /**
jpayne@69 714 * @brief xcb_xkb_set_behavior_iterator_t
jpayne@69 715 **/
jpayne@69 716 typedef struct xcb_xkb_set_behavior_iterator_t {
jpayne@69 717 xcb_xkb_set_behavior_t *data;
jpayne@69 718 int rem;
jpayne@69 719 int index;
jpayne@69 720 } xcb_xkb_set_behavior_iterator_t;
jpayne@69 721
jpayne@69 722 /**
jpayne@69 723 * @brief xcb_xkb_set_explicit_t
jpayne@69 724 **/
jpayne@69 725 typedef struct xcb_xkb_set_explicit_t {
jpayne@69 726 xcb_keycode_t keycode;
jpayne@69 727 uint8_t explicit;
jpayne@69 728 } xcb_xkb_set_explicit_t;
jpayne@69 729
jpayne@69 730 /**
jpayne@69 731 * @brief xcb_xkb_set_explicit_iterator_t
jpayne@69 732 **/
jpayne@69 733 typedef struct xcb_xkb_set_explicit_iterator_t {
jpayne@69 734 xcb_xkb_set_explicit_t *data;
jpayne@69 735 int rem;
jpayne@69 736 int index;
jpayne@69 737 } xcb_xkb_set_explicit_iterator_t;
jpayne@69 738
jpayne@69 739 /**
jpayne@69 740 * @brief xcb_xkb_key_mod_map_t
jpayne@69 741 **/
jpayne@69 742 typedef struct xcb_xkb_key_mod_map_t {
jpayne@69 743 xcb_keycode_t keycode;
jpayne@69 744 uint8_t mods;
jpayne@69 745 } xcb_xkb_key_mod_map_t;
jpayne@69 746
jpayne@69 747 /**
jpayne@69 748 * @brief xcb_xkb_key_mod_map_iterator_t
jpayne@69 749 **/
jpayne@69 750 typedef struct xcb_xkb_key_mod_map_iterator_t {
jpayne@69 751 xcb_xkb_key_mod_map_t *data;
jpayne@69 752 int rem;
jpayne@69 753 int index;
jpayne@69 754 } xcb_xkb_key_mod_map_iterator_t;
jpayne@69 755
jpayne@69 756 /**
jpayne@69 757 * @brief xcb_xkb_key_v_mod_map_t
jpayne@69 758 **/
jpayne@69 759 typedef struct xcb_xkb_key_v_mod_map_t {
jpayne@69 760 xcb_keycode_t keycode;
jpayne@69 761 uint8_t pad0;
jpayne@69 762 uint16_t vmods;
jpayne@69 763 } xcb_xkb_key_v_mod_map_t;
jpayne@69 764
jpayne@69 765 /**
jpayne@69 766 * @brief xcb_xkb_key_v_mod_map_iterator_t
jpayne@69 767 **/
jpayne@69 768 typedef struct xcb_xkb_key_v_mod_map_iterator_t {
jpayne@69 769 xcb_xkb_key_v_mod_map_t *data;
jpayne@69 770 int rem;
jpayne@69 771 int index;
jpayne@69 772 } xcb_xkb_key_v_mod_map_iterator_t;
jpayne@69 773
jpayne@69 774 /**
jpayne@69 775 * @brief xcb_xkb_kt_set_map_entry_t
jpayne@69 776 **/
jpayne@69 777 typedef struct xcb_xkb_kt_set_map_entry_t {
jpayne@69 778 uint8_t level;
jpayne@69 779 uint8_t realMods;
jpayne@69 780 uint16_t virtualMods;
jpayne@69 781 } xcb_xkb_kt_set_map_entry_t;
jpayne@69 782
jpayne@69 783 /**
jpayne@69 784 * @brief xcb_xkb_kt_set_map_entry_iterator_t
jpayne@69 785 **/
jpayne@69 786 typedef struct xcb_xkb_kt_set_map_entry_iterator_t {
jpayne@69 787 xcb_xkb_kt_set_map_entry_t *data;
jpayne@69 788 int rem;
jpayne@69 789 int index;
jpayne@69 790 } xcb_xkb_kt_set_map_entry_iterator_t;
jpayne@69 791
jpayne@69 792 /**
jpayne@69 793 * @brief xcb_xkb_set_key_type_t
jpayne@69 794 **/
jpayne@69 795 typedef struct xcb_xkb_set_key_type_t {
jpayne@69 796 uint8_t mask;
jpayne@69 797 uint8_t realMods;
jpayne@69 798 uint16_t virtualMods;
jpayne@69 799 uint8_t numLevels;
jpayne@69 800 uint8_t nMapEntries;
jpayne@69 801 uint8_t preserve;
jpayne@69 802 uint8_t pad0;
jpayne@69 803 } xcb_xkb_set_key_type_t;
jpayne@69 804
jpayne@69 805 /**
jpayne@69 806 * @brief xcb_xkb_set_key_type_iterator_t
jpayne@69 807 **/
jpayne@69 808 typedef struct xcb_xkb_set_key_type_iterator_t {
jpayne@69 809 xcb_xkb_set_key_type_t *data;
jpayne@69 810 int rem;
jpayne@69 811 int index;
jpayne@69 812 } xcb_xkb_set_key_type_iterator_t;
jpayne@69 813
jpayne@69 814 typedef char xcb_xkb_string8_t;
jpayne@69 815
jpayne@69 816 /**
jpayne@69 817 * @brief xcb_xkb_string8_iterator_t
jpayne@69 818 **/
jpayne@69 819 typedef struct xcb_xkb_string8_iterator_t {
jpayne@69 820 xcb_xkb_string8_t *data;
jpayne@69 821 int rem;
jpayne@69 822 int index;
jpayne@69 823 } xcb_xkb_string8_iterator_t;
jpayne@69 824
jpayne@69 825 /**
jpayne@69 826 * @brief xcb_xkb_outline_t
jpayne@69 827 **/
jpayne@69 828 typedef struct xcb_xkb_outline_t {
jpayne@69 829 uint8_t nPoints;
jpayne@69 830 uint8_t cornerRadius;
jpayne@69 831 uint8_t pad0[2];
jpayne@69 832 } xcb_xkb_outline_t;
jpayne@69 833
jpayne@69 834 /**
jpayne@69 835 * @brief xcb_xkb_outline_iterator_t
jpayne@69 836 **/
jpayne@69 837 typedef struct xcb_xkb_outline_iterator_t {
jpayne@69 838 xcb_xkb_outline_t *data;
jpayne@69 839 int rem;
jpayne@69 840 int index;
jpayne@69 841 } xcb_xkb_outline_iterator_t;
jpayne@69 842
jpayne@69 843 /**
jpayne@69 844 * @brief xcb_xkb_shape_t
jpayne@69 845 **/
jpayne@69 846 typedef struct xcb_xkb_shape_t {
jpayne@69 847 xcb_atom_t name;
jpayne@69 848 uint8_t nOutlines;
jpayne@69 849 uint8_t primaryNdx;
jpayne@69 850 uint8_t approxNdx;
jpayne@69 851 uint8_t pad0;
jpayne@69 852 } xcb_xkb_shape_t;
jpayne@69 853
jpayne@69 854 /**
jpayne@69 855 * @brief xcb_xkb_shape_iterator_t
jpayne@69 856 **/
jpayne@69 857 typedef struct xcb_xkb_shape_iterator_t {
jpayne@69 858 xcb_xkb_shape_t *data;
jpayne@69 859 int rem;
jpayne@69 860 int index;
jpayne@69 861 } xcb_xkb_shape_iterator_t;
jpayne@69 862
jpayne@69 863 /**
jpayne@69 864 * @brief xcb_xkb_key_t
jpayne@69 865 **/
jpayne@69 866 typedef struct xcb_xkb_key_t {
jpayne@69 867 xcb_xkb_string8_t name[4];
jpayne@69 868 int16_t gap;
jpayne@69 869 uint8_t shapeNdx;
jpayne@69 870 uint8_t colorNdx;
jpayne@69 871 } xcb_xkb_key_t;
jpayne@69 872
jpayne@69 873 /**
jpayne@69 874 * @brief xcb_xkb_key_iterator_t
jpayne@69 875 **/
jpayne@69 876 typedef struct xcb_xkb_key_iterator_t {
jpayne@69 877 xcb_xkb_key_t *data;
jpayne@69 878 int rem;
jpayne@69 879 int index;
jpayne@69 880 } xcb_xkb_key_iterator_t;
jpayne@69 881
jpayne@69 882 /**
jpayne@69 883 * @brief xcb_xkb_overlay_key_t
jpayne@69 884 **/
jpayne@69 885 typedef struct xcb_xkb_overlay_key_t {
jpayne@69 886 xcb_xkb_string8_t over[4];
jpayne@69 887 xcb_xkb_string8_t under[4];
jpayne@69 888 } xcb_xkb_overlay_key_t;
jpayne@69 889
jpayne@69 890 /**
jpayne@69 891 * @brief xcb_xkb_overlay_key_iterator_t
jpayne@69 892 **/
jpayne@69 893 typedef struct xcb_xkb_overlay_key_iterator_t {
jpayne@69 894 xcb_xkb_overlay_key_t *data;
jpayne@69 895 int rem;
jpayne@69 896 int index;
jpayne@69 897 } xcb_xkb_overlay_key_iterator_t;
jpayne@69 898
jpayne@69 899 /**
jpayne@69 900 * @brief xcb_xkb_overlay_row_t
jpayne@69 901 **/
jpayne@69 902 typedef struct xcb_xkb_overlay_row_t {
jpayne@69 903 uint8_t rowUnder;
jpayne@69 904 uint8_t nKeys;
jpayne@69 905 uint8_t pad0[2];
jpayne@69 906 } xcb_xkb_overlay_row_t;
jpayne@69 907
jpayne@69 908 /**
jpayne@69 909 * @brief xcb_xkb_overlay_row_iterator_t
jpayne@69 910 **/
jpayne@69 911 typedef struct xcb_xkb_overlay_row_iterator_t {
jpayne@69 912 xcb_xkb_overlay_row_t *data;
jpayne@69 913 int rem;
jpayne@69 914 int index;
jpayne@69 915 } xcb_xkb_overlay_row_iterator_t;
jpayne@69 916
jpayne@69 917 /**
jpayne@69 918 * @brief xcb_xkb_overlay_t
jpayne@69 919 **/
jpayne@69 920 typedef struct xcb_xkb_overlay_t {
jpayne@69 921 xcb_atom_t name;
jpayne@69 922 uint8_t nRows;
jpayne@69 923 uint8_t pad0[3];
jpayne@69 924 } xcb_xkb_overlay_t;
jpayne@69 925
jpayne@69 926 /**
jpayne@69 927 * @brief xcb_xkb_overlay_iterator_t
jpayne@69 928 **/
jpayne@69 929 typedef struct xcb_xkb_overlay_iterator_t {
jpayne@69 930 xcb_xkb_overlay_t *data;
jpayne@69 931 int rem;
jpayne@69 932 int index;
jpayne@69 933 } xcb_xkb_overlay_iterator_t;
jpayne@69 934
jpayne@69 935 /**
jpayne@69 936 * @brief xcb_xkb_row_t
jpayne@69 937 **/
jpayne@69 938 typedef struct xcb_xkb_row_t {
jpayne@69 939 int16_t top;
jpayne@69 940 int16_t left;
jpayne@69 941 uint8_t nKeys;
jpayne@69 942 uint8_t vertical;
jpayne@69 943 uint8_t pad0[2];
jpayne@69 944 } xcb_xkb_row_t;
jpayne@69 945
jpayne@69 946 /**
jpayne@69 947 * @brief xcb_xkb_row_iterator_t
jpayne@69 948 **/
jpayne@69 949 typedef struct xcb_xkb_row_iterator_t {
jpayne@69 950 xcb_xkb_row_t *data;
jpayne@69 951 int rem;
jpayne@69 952 int index;
jpayne@69 953 } xcb_xkb_row_iterator_t;
jpayne@69 954
jpayne@69 955 typedef enum xcb_xkb_doodad_type_t {
jpayne@69 956 XCB_XKB_DOODAD_TYPE_OUTLINE = 1,
jpayne@69 957 XCB_XKB_DOODAD_TYPE_SOLID = 2,
jpayne@69 958 XCB_XKB_DOODAD_TYPE_TEXT = 3,
jpayne@69 959 XCB_XKB_DOODAD_TYPE_INDICATOR = 4,
jpayne@69 960 XCB_XKB_DOODAD_TYPE_LOGO = 5
jpayne@69 961 } xcb_xkb_doodad_type_t;
jpayne@69 962
jpayne@69 963 /**
jpayne@69 964 * @brief xcb_xkb_listing_t
jpayne@69 965 **/
jpayne@69 966 typedef struct xcb_xkb_listing_t {
jpayne@69 967 uint16_t flags;
jpayne@69 968 uint16_t length;
jpayne@69 969 } xcb_xkb_listing_t;
jpayne@69 970
jpayne@69 971 /**
jpayne@69 972 * @brief xcb_xkb_listing_iterator_t
jpayne@69 973 **/
jpayne@69 974 typedef struct xcb_xkb_listing_iterator_t {
jpayne@69 975 xcb_xkb_listing_t *data;
jpayne@69 976 int rem;
jpayne@69 977 int index;
jpayne@69 978 } xcb_xkb_listing_iterator_t;
jpayne@69 979
jpayne@69 980 /**
jpayne@69 981 * @brief xcb_xkb_device_led_info_t
jpayne@69 982 **/
jpayne@69 983 typedef struct xcb_xkb_device_led_info_t {
jpayne@69 984 xcb_xkb_led_class_spec_t ledClass;
jpayne@69 985 xcb_xkb_id_spec_t ledID;
jpayne@69 986 uint32_t namesPresent;
jpayne@69 987 uint32_t mapsPresent;
jpayne@69 988 uint32_t physIndicators;
jpayne@69 989 uint32_t state;
jpayne@69 990 } xcb_xkb_device_led_info_t;
jpayne@69 991
jpayne@69 992 /**
jpayne@69 993 * @brief xcb_xkb_device_led_info_iterator_t
jpayne@69 994 **/
jpayne@69 995 typedef struct xcb_xkb_device_led_info_iterator_t {
jpayne@69 996 xcb_xkb_device_led_info_t *data;
jpayne@69 997 int rem;
jpayne@69 998 int index;
jpayne@69 999 } xcb_xkb_device_led_info_iterator_t;
jpayne@69 1000
jpayne@69 1001 typedef enum xcb_xkb_error_t {
jpayne@69 1002 XCB_XKB_ERROR_BAD_DEVICE = 255,
jpayne@69 1003 XCB_XKB_ERROR_BAD_CLASS = 254,
jpayne@69 1004 XCB_XKB_ERROR_BAD_ID = 253
jpayne@69 1005 } xcb_xkb_error_t;
jpayne@69 1006
jpayne@69 1007 /** Opcode for xcb_xkb_keyboard. */
jpayne@69 1008 #define XCB_XKB_KEYBOARD 0
jpayne@69 1009
jpayne@69 1010 /**
jpayne@69 1011 * @brief xcb_xkb_keyboard_error_t
jpayne@69 1012 **/
jpayne@69 1013 typedef struct xcb_xkb_keyboard_error_t {
jpayne@69 1014 uint8_t response_type;
jpayne@69 1015 uint8_t error_code;
jpayne@69 1016 uint16_t sequence;
jpayne@69 1017 uint32_t value;
jpayne@69 1018 uint16_t minorOpcode;
jpayne@69 1019 uint8_t majorOpcode;
jpayne@69 1020 uint8_t pad0[21];
jpayne@69 1021 } xcb_xkb_keyboard_error_t;
jpayne@69 1022
jpayne@69 1023 typedef enum xcb_xkb_sa_t {
jpayne@69 1024 XCB_XKB_SA_CLEAR_LOCKS = 1,
jpayne@69 1025 XCB_XKB_SA_LATCH_TO_LOCK = 2,
jpayne@69 1026 XCB_XKB_SA_USE_MOD_MAP_MODS = 4,
jpayne@69 1027 XCB_XKB_SA_GROUP_ABSOLUTE = 4
jpayne@69 1028 } xcb_xkb_sa_t;
jpayne@69 1029
jpayne@69 1030 typedef enum xcb_xkb_sa_type_t {
jpayne@69 1031 XCB_XKB_SA_TYPE_NO_ACTION = 0,
jpayne@69 1032 XCB_XKB_SA_TYPE_SET_MODS = 1,
jpayne@69 1033 XCB_XKB_SA_TYPE_LATCH_MODS = 2,
jpayne@69 1034 XCB_XKB_SA_TYPE_LOCK_MODS = 3,
jpayne@69 1035 XCB_XKB_SA_TYPE_SET_GROUP = 4,
jpayne@69 1036 XCB_XKB_SA_TYPE_LATCH_GROUP = 5,
jpayne@69 1037 XCB_XKB_SA_TYPE_LOCK_GROUP = 6,
jpayne@69 1038 XCB_XKB_SA_TYPE_MOVE_PTR = 7,
jpayne@69 1039 XCB_XKB_SA_TYPE_PTR_BTN = 8,
jpayne@69 1040 XCB_XKB_SA_TYPE_LOCK_PTR_BTN = 9,
jpayne@69 1041 XCB_XKB_SA_TYPE_SET_PTR_DFLT = 10,
jpayne@69 1042 XCB_XKB_SA_TYPE_ISO_LOCK = 11,
jpayne@69 1043 XCB_XKB_SA_TYPE_TERMINATE = 12,
jpayne@69 1044 XCB_XKB_SA_TYPE_SWITCH_SCREEN = 13,
jpayne@69 1045 XCB_XKB_SA_TYPE_SET_CONTROLS = 14,
jpayne@69 1046 XCB_XKB_SA_TYPE_LOCK_CONTROLS = 15,
jpayne@69 1047 XCB_XKB_SA_TYPE_ACTION_MESSAGE = 16,
jpayne@69 1048 XCB_XKB_SA_TYPE_REDIRECT_KEY = 17,
jpayne@69 1049 XCB_XKB_SA_TYPE_DEVICE_BTN = 18,
jpayne@69 1050 XCB_XKB_SA_TYPE_LOCK_DEVICE_BTN = 19,
jpayne@69 1051 XCB_XKB_SA_TYPE_DEVICE_VALUATOR = 20
jpayne@69 1052 } xcb_xkb_sa_type_t;
jpayne@69 1053
jpayne@69 1054 /**
jpayne@69 1055 * @brief xcb_xkb_sa_no_action_t
jpayne@69 1056 **/
jpayne@69 1057 typedef struct xcb_xkb_sa_no_action_t {
jpayne@69 1058 uint8_t type;
jpayne@69 1059 uint8_t pad0[7];
jpayne@69 1060 } xcb_xkb_sa_no_action_t;
jpayne@69 1061
jpayne@69 1062 /**
jpayne@69 1063 * @brief xcb_xkb_sa_no_action_iterator_t
jpayne@69 1064 **/
jpayne@69 1065 typedef struct xcb_xkb_sa_no_action_iterator_t {
jpayne@69 1066 xcb_xkb_sa_no_action_t *data;
jpayne@69 1067 int rem;
jpayne@69 1068 int index;
jpayne@69 1069 } xcb_xkb_sa_no_action_iterator_t;
jpayne@69 1070
jpayne@69 1071 /**
jpayne@69 1072 * @brief xcb_xkb_sa_set_mods_t
jpayne@69 1073 **/
jpayne@69 1074 typedef struct xcb_xkb_sa_set_mods_t {
jpayne@69 1075 uint8_t type;
jpayne@69 1076 uint8_t flags;
jpayne@69 1077 uint8_t mask;
jpayne@69 1078 uint8_t realMods;
jpayne@69 1079 uint8_t vmodsHigh;
jpayne@69 1080 uint8_t vmodsLow;
jpayne@69 1081 uint8_t pad0[2];
jpayne@69 1082 } xcb_xkb_sa_set_mods_t;
jpayne@69 1083
jpayne@69 1084 /**
jpayne@69 1085 * @brief xcb_xkb_sa_set_mods_iterator_t
jpayne@69 1086 **/
jpayne@69 1087 typedef struct xcb_xkb_sa_set_mods_iterator_t {
jpayne@69 1088 xcb_xkb_sa_set_mods_t *data;
jpayne@69 1089 int rem;
jpayne@69 1090 int index;
jpayne@69 1091 } xcb_xkb_sa_set_mods_iterator_t;
jpayne@69 1092
jpayne@69 1093 /**
jpayne@69 1094 * @brief xcb_xkb_sa_latch_mods_t
jpayne@69 1095 **/
jpayne@69 1096 typedef struct xcb_xkb_sa_latch_mods_t {
jpayne@69 1097 uint8_t type;
jpayne@69 1098 uint8_t flags;
jpayne@69 1099 uint8_t mask;
jpayne@69 1100 uint8_t realMods;
jpayne@69 1101 uint8_t vmodsHigh;
jpayne@69 1102 uint8_t vmodsLow;
jpayne@69 1103 uint8_t pad0[2];
jpayne@69 1104 } xcb_xkb_sa_latch_mods_t;
jpayne@69 1105
jpayne@69 1106 /**
jpayne@69 1107 * @brief xcb_xkb_sa_latch_mods_iterator_t
jpayne@69 1108 **/
jpayne@69 1109 typedef struct xcb_xkb_sa_latch_mods_iterator_t {
jpayne@69 1110 xcb_xkb_sa_latch_mods_t *data;
jpayne@69 1111 int rem;
jpayne@69 1112 int index;
jpayne@69 1113 } xcb_xkb_sa_latch_mods_iterator_t;
jpayne@69 1114
jpayne@69 1115 /**
jpayne@69 1116 * @brief xcb_xkb_sa_lock_mods_t
jpayne@69 1117 **/
jpayne@69 1118 typedef struct xcb_xkb_sa_lock_mods_t {
jpayne@69 1119 uint8_t type;
jpayne@69 1120 uint8_t flags;
jpayne@69 1121 uint8_t mask;
jpayne@69 1122 uint8_t realMods;
jpayne@69 1123 uint8_t vmodsHigh;
jpayne@69 1124 uint8_t vmodsLow;
jpayne@69 1125 uint8_t pad0[2];
jpayne@69 1126 } xcb_xkb_sa_lock_mods_t;
jpayne@69 1127
jpayne@69 1128 /**
jpayne@69 1129 * @brief xcb_xkb_sa_lock_mods_iterator_t
jpayne@69 1130 **/
jpayne@69 1131 typedef struct xcb_xkb_sa_lock_mods_iterator_t {
jpayne@69 1132 xcb_xkb_sa_lock_mods_t *data;
jpayne@69 1133 int rem;
jpayne@69 1134 int index;
jpayne@69 1135 } xcb_xkb_sa_lock_mods_iterator_t;
jpayne@69 1136
jpayne@69 1137 /**
jpayne@69 1138 * @brief xcb_xkb_sa_set_group_t
jpayne@69 1139 **/
jpayne@69 1140 typedef struct xcb_xkb_sa_set_group_t {
jpayne@69 1141 uint8_t type;
jpayne@69 1142 uint8_t flags;
jpayne@69 1143 int8_t group;
jpayne@69 1144 uint8_t pad0[5];
jpayne@69 1145 } xcb_xkb_sa_set_group_t;
jpayne@69 1146
jpayne@69 1147 /**
jpayne@69 1148 * @brief xcb_xkb_sa_set_group_iterator_t
jpayne@69 1149 **/
jpayne@69 1150 typedef struct xcb_xkb_sa_set_group_iterator_t {
jpayne@69 1151 xcb_xkb_sa_set_group_t *data;
jpayne@69 1152 int rem;
jpayne@69 1153 int index;
jpayne@69 1154 } xcb_xkb_sa_set_group_iterator_t;
jpayne@69 1155
jpayne@69 1156 /**
jpayne@69 1157 * @brief xcb_xkb_sa_latch_group_t
jpayne@69 1158 **/
jpayne@69 1159 typedef struct xcb_xkb_sa_latch_group_t {
jpayne@69 1160 uint8_t type;
jpayne@69 1161 uint8_t flags;
jpayne@69 1162 int8_t group;
jpayne@69 1163 uint8_t pad0[5];
jpayne@69 1164 } xcb_xkb_sa_latch_group_t;
jpayne@69 1165
jpayne@69 1166 /**
jpayne@69 1167 * @brief xcb_xkb_sa_latch_group_iterator_t
jpayne@69 1168 **/
jpayne@69 1169 typedef struct xcb_xkb_sa_latch_group_iterator_t {
jpayne@69 1170 xcb_xkb_sa_latch_group_t *data;
jpayne@69 1171 int rem;
jpayne@69 1172 int index;
jpayne@69 1173 } xcb_xkb_sa_latch_group_iterator_t;
jpayne@69 1174
jpayne@69 1175 /**
jpayne@69 1176 * @brief xcb_xkb_sa_lock_group_t
jpayne@69 1177 **/
jpayne@69 1178 typedef struct xcb_xkb_sa_lock_group_t {
jpayne@69 1179 uint8_t type;
jpayne@69 1180 uint8_t flags;
jpayne@69 1181 int8_t group;
jpayne@69 1182 uint8_t pad0[5];
jpayne@69 1183 } xcb_xkb_sa_lock_group_t;
jpayne@69 1184
jpayne@69 1185 /**
jpayne@69 1186 * @brief xcb_xkb_sa_lock_group_iterator_t
jpayne@69 1187 **/
jpayne@69 1188 typedef struct xcb_xkb_sa_lock_group_iterator_t {
jpayne@69 1189 xcb_xkb_sa_lock_group_t *data;
jpayne@69 1190 int rem;
jpayne@69 1191 int index;
jpayne@69 1192 } xcb_xkb_sa_lock_group_iterator_t;
jpayne@69 1193
jpayne@69 1194 typedef enum xcb_xkb_sa_move_ptr_flag_t {
jpayne@69 1195 XCB_XKB_SA_MOVE_PTR_FLAG_NO_ACCELERATION = 1,
jpayne@69 1196 XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_X = 2,
jpayne@69 1197 XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_Y = 4
jpayne@69 1198 } xcb_xkb_sa_move_ptr_flag_t;
jpayne@69 1199
jpayne@69 1200 /**
jpayne@69 1201 * @brief xcb_xkb_sa_move_ptr_t
jpayne@69 1202 **/
jpayne@69 1203 typedef struct xcb_xkb_sa_move_ptr_t {
jpayne@69 1204 uint8_t type;
jpayne@69 1205 uint8_t flags;
jpayne@69 1206 int8_t xHigh;
jpayne@69 1207 uint8_t xLow;
jpayne@69 1208 int8_t yHigh;
jpayne@69 1209 uint8_t yLow;
jpayne@69 1210 uint8_t pad0[2];
jpayne@69 1211 } xcb_xkb_sa_move_ptr_t;
jpayne@69 1212
jpayne@69 1213 /**
jpayne@69 1214 * @brief xcb_xkb_sa_move_ptr_iterator_t
jpayne@69 1215 **/
jpayne@69 1216 typedef struct xcb_xkb_sa_move_ptr_iterator_t {
jpayne@69 1217 xcb_xkb_sa_move_ptr_t *data;
jpayne@69 1218 int rem;
jpayne@69 1219 int index;
jpayne@69 1220 } xcb_xkb_sa_move_ptr_iterator_t;
jpayne@69 1221
jpayne@69 1222 /**
jpayne@69 1223 * @brief xcb_xkb_sa_ptr_btn_t
jpayne@69 1224 **/
jpayne@69 1225 typedef struct xcb_xkb_sa_ptr_btn_t {
jpayne@69 1226 uint8_t type;
jpayne@69 1227 uint8_t flags;
jpayne@69 1228 uint8_t count;
jpayne@69 1229 uint8_t button;
jpayne@69 1230 uint8_t pad0[4];
jpayne@69 1231 } xcb_xkb_sa_ptr_btn_t;
jpayne@69 1232
jpayne@69 1233 /**
jpayne@69 1234 * @brief xcb_xkb_sa_ptr_btn_iterator_t
jpayne@69 1235 **/
jpayne@69 1236 typedef struct xcb_xkb_sa_ptr_btn_iterator_t {
jpayne@69 1237 xcb_xkb_sa_ptr_btn_t *data;
jpayne@69 1238 int rem;
jpayne@69 1239 int index;
jpayne@69 1240 } xcb_xkb_sa_ptr_btn_iterator_t;
jpayne@69 1241
jpayne@69 1242 /**
jpayne@69 1243 * @brief xcb_xkb_sa_lock_ptr_btn_t
jpayne@69 1244 **/
jpayne@69 1245 typedef struct xcb_xkb_sa_lock_ptr_btn_t {
jpayne@69 1246 uint8_t type;
jpayne@69 1247 uint8_t flags;
jpayne@69 1248 uint8_t pad0;
jpayne@69 1249 uint8_t button;
jpayne@69 1250 uint8_t pad1[4];
jpayne@69 1251 } xcb_xkb_sa_lock_ptr_btn_t;
jpayne@69 1252
jpayne@69 1253 /**
jpayne@69 1254 * @brief xcb_xkb_sa_lock_ptr_btn_iterator_t
jpayne@69 1255 **/
jpayne@69 1256 typedef struct xcb_xkb_sa_lock_ptr_btn_iterator_t {
jpayne@69 1257 xcb_xkb_sa_lock_ptr_btn_t *data;
jpayne@69 1258 int rem;
jpayne@69 1259 int index;
jpayne@69 1260 } xcb_xkb_sa_lock_ptr_btn_iterator_t;
jpayne@69 1261
jpayne@69 1262 typedef enum xcb_xkb_sa_set_ptr_dflt_flag_t {
jpayne@69 1263 XCB_XKB_SA_SET_PTR_DFLT_FLAG_DFLT_BTN_ABSOLUTE = 4,
jpayne@69 1264 XCB_XKB_SA_SET_PTR_DFLT_FLAG_AFFECT_DFLT_BUTTON = 1
jpayne@69 1265 } xcb_xkb_sa_set_ptr_dflt_flag_t;
jpayne@69 1266
jpayne@69 1267 /**
jpayne@69 1268 * @brief xcb_xkb_sa_set_ptr_dflt_t
jpayne@69 1269 **/
jpayne@69 1270 typedef struct xcb_xkb_sa_set_ptr_dflt_t {
jpayne@69 1271 uint8_t type;
jpayne@69 1272 uint8_t flags;
jpayne@69 1273 uint8_t affect;
jpayne@69 1274 int8_t value;
jpayne@69 1275 uint8_t pad0[4];
jpayne@69 1276 } xcb_xkb_sa_set_ptr_dflt_t;
jpayne@69 1277
jpayne@69 1278 /**
jpayne@69 1279 * @brief xcb_xkb_sa_set_ptr_dflt_iterator_t
jpayne@69 1280 **/
jpayne@69 1281 typedef struct xcb_xkb_sa_set_ptr_dflt_iterator_t {
jpayne@69 1282 xcb_xkb_sa_set_ptr_dflt_t *data;
jpayne@69 1283 int rem;
jpayne@69 1284 int index;
jpayne@69 1285 } xcb_xkb_sa_set_ptr_dflt_iterator_t;
jpayne@69 1286
jpayne@69 1287 typedef enum xcb_xkb_sa_iso_lock_flag_t {
jpayne@69 1288 XCB_XKB_SA_ISO_LOCK_FLAG_NO_LOCK = 1,
jpayne@69 1289 XCB_XKB_SA_ISO_LOCK_FLAG_NO_UNLOCK = 2,
jpayne@69 1290 XCB_XKB_SA_ISO_LOCK_FLAG_USE_MOD_MAP_MODS = 4,
jpayne@69 1291 XCB_XKB_SA_ISO_LOCK_FLAG_GROUP_ABSOLUTE = 4,
jpayne@69 1292 XCB_XKB_SA_ISO_LOCK_FLAG_ISO_DFLT_IS_GROUP = 8
jpayne@69 1293 } xcb_xkb_sa_iso_lock_flag_t;
jpayne@69 1294
jpayne@69 1295 typedef enum xcb_xkb_sa_iso_lock_no_affect_t {
jpayne@69 1296 XCB_XKB_SA_ISO_LOCK_NO_AFFECT_CTRLS = 8,
jpayne@69 1297 XCB_XKB_SA_ISO_LOCK_NO_AFFECT_PTR = 16,
jpayne@69 1298 XCB_XKB_SA_ISO_LOCK_NO_AFFECT_GROUP = 32,
jpayne@69 1299 XCB_XKB_SA_ISO_LOCK_NO_AFFECT_MODS = 64
jpayne@69 1300 } xcb_xkb_sa_iso_lock_no_affect_t;
jpayne@69 1301
jpayne@69 1302 /**
jpayne@69 1303 * @brief xcb_xkb_sa_iso_lock_t
jpayne@69 1304 **/
jpayne@69 1305 typedef struct xcb_xkb_sa_iso_lock_t {
jpayne@69 1306 uint8_t type;
jpayne@69 1307 uint8_t flags;
jpayne@69 1308 uint8_t mask;
jpayne@69 1309 uint8_t realMods;
jpayne@69 1310 int8_t group;
jpayne@69 1311 uint8_t affect;
jpayne@69 1312 uint8_t vmodsHigh;
jpayne@69 1313 uint8_t vmodsLow;
jpayne@69 1314 } xcb_xkb_sa_iso_lock_t;
jpayne@69 1315
jpayne@69 1316 /**
jpayne@69 1317 * @brief xcb_xkb_sa_iso_lock_iterator_t
jpayne@69 1318 **/
jpayne@69 1319 typedef struct xcb_xkb_sa_iso_lock_iterator_t {
jpayne@69 1320 xcb_xkb_sa_iso_lock_t *data;
jpayne@69 1321 int rem;
jpayne@69 1322 int index;
jpayne@69 1323 } xcb_xkb_sa_iso_lock_iterator_t;
jpayne@69 1324
jpayne@69 1325 /**
jpayne@69 1326 * @brief xcb_xkb_sa_terminate_t
jpayne@69 1327 **/
jpayne@69 1328 typedef struct xcb_xkb_sa_terminate_t {
jpayne@69 1329 uint8_t type;
jpayne@69 1330 uint8_t pad0[7];
jpayne@69 1331 } xcb_xkb_sa_terminate_t;
jpayne@69 1332
jpayne@69 1333 /**
jpayne@69 1334 * @brief xcb_xkb_sa_terminate_iterator_t
jpayne@69 1335 **/
jpayne@69 1336 typedef struct xcb_xkb_sa_terminate_iterator_t {
jpayne@69 1337 xcb_xkb_sa_terminate_t *data;
jpayne@69 1338 int rem;
jpayne@69 1339 int index;
jpayne@69 1340 } xcb_xkb_sa_terminate_iterator_t;
jpayne@69 1341
jpayne@69 1342 typedef enum xcb_xkb_switch_screen_flag_t {
jpayne@69 1343 XCB_XKB_SWITCH_SCREEN_FLAG_APPLICATION = 1,
jpayne@69 1344 XCB_XKB_SWITCH_SCREEN_FLAG_ABSOLUTE = 4
jpayne@69 1345 } xcb_xkb_switch_screen_flag_t;
jpayne@69 1346
jpayne@69 1347 /**
jpayne@69 1348 * @brief xcb_xkb_sa_switch_screen_t
jpayne@69 1349 **/
jpayne@69 1350 typedef struct xcb_xkb_sa_switch_screen_t {
jpayne@69 1351 uint8_t type;
jpayne@69 1352 uint8_t flags;
jpayne@69 1353 int8_t newScreen;
jpayne@69 1354 uint8_t pad0[5];
jpayne@69 1355 } xcb_xkb_sa_switch_screen_t;
jpayne@69 1356
jpayne@69 1357 /**
jpayne@69 1358 * @brief xcb_xkb_sa_switch_screen_iterator_t
jpayne@69 1359 **/
jpayne@69 1360 typedef struct xcb_xkb_sa_switch_screen_iterator_t {
jpayne@69 1361 xcb_xkb_sa_switch_screen_t *data;
jpayne@69 1362 int rem;
jpayne@69 1363 int index;
jpayne@69 1364 } xcb_xkb_sa_switch_screen_iterator_t;
jpayne@69 1365
jpayne@69 1366 typedef enum xcb_xkb_bool_ctrls_high_t {
jpayne@69 1367 XCB_XKB_BOOL_CTRLS_HIGH_ACCESS_X_FEEDBACK = 1,
jpayne@69 1368 XCB_XKB_BOOL_CTRLS_HIGH_AUDIBLE_BELL = 2,
jpayne@69 1369 XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_1 = 4,
jpayne@69 1370 XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_2 = 8,
jpayne@69 1371 XCB_XKB_BOOL_CTRLS_HIGH_IGNORE_GROUP_LOCK = 16
jpayne@69 1372 } xcb_xkb_bool_ctrls_high_t;
jpayne@69 1373
jpayne@69 1374 typedef enum xcb_xkb_bool_ctrls_low_t {
jpayne@69 1375 XCB_XKB_BOOL_CTRLS_LOW_REPEAT_KEYS = 1,
jpayne@69 1376 XCB_XKB_BOOL_CTRLS_LOW_SLOW_KEYS = 2,
jpayne@69 1377 XCB_XKB_BOOL_CTRLS_LOW_BOUNCE_KEYS = 4,
jpayne@69 1378 XCB_XKB_BOOL_CTRLS_LOW_STICKY_KEYS = 8,
jpayne@69 1379 XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS = 16,
jpayne@69 1380 XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS_ACCEL = 32,
jpayne@69 1381 XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_KEYS = 64,
jpayne@69 1382 XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_TIMEOUT = 128
jpayne@69 1383 } xcb_xkb_bool_ctrls_low_t;
jpayne@69 1384
jpayne@69 1385 /**
jpayne@69 1386 * @brief xcb_xkb_sa_set_controls_t
jpayne@69 1387 **/
jpayne@69 1388 typedef struct xcb_xkb_sa_set_controls_t {
jpayne@69 1389 uint8_t type;
jpayne@69 1390 uint8_t pad0[3];
jpayne@69 1391 uint8_t boolCtrlsHigh;
jpayne@69 1392 uint8_t boolCtrlsLow;
jpayne@69 1393 uint8_t pad1[2];
jpayne@69 1394 } xcb_xkb_sa_set_controls_t;
jpayne@69 1395
jpayne@69 1396 /**
jpayne@69 1397 * @brief xcb_xkb_sa_set_controls_iterator_t
jpayne@69 1398 **/
jpayne@69 1399 typedef struct xcb_xkb_sa_set_controls_iterator_t {
jpayne@69 1400 xcb_xkb_sa_set_controls_t *data;
jpayne@69 1401 int rem;
jpayne@69 1402 int index;
jpayne@69 1403 } xcb_xkb_sa_set_controls_iterator_t;
jpayne@69 1404
jpayne@69 1405 /**
jpayne@69 1406 * @brief xcb_xkb_sa_lock_controls_t
jpayne@69 1407 **/
jpayne@69 1408 typedef struct xcb_xkb_sa_lock_controls_t {
jpayne@69 1409 uint8_t type;
jpayne@69 1410 uint8_t pad0[3];
jpayne@69 1411 uint8_t boolCtrlsHigh;
jpayne@69 1412 uint8_t boolCtrlsLow;
jpayne@69 1413 uint8_t pad1[2];
jpayne@69 1414 } xcb_xkb_sa_lock_controls_t;
jpayne@69 1415
jpayne@69 1416 /**
jpayne@69 1417 * @brief xcb_xkb_sa_lock_controls_iterator_t
jpayne@69 1418 **/
jpayne@69 1419 typedef struct xcb_xkb_sa_lock_controls_iterator_t {
jpayne@69 1420 xcb_xkb_sa_lock_controls_t *data;
jpayne@69 1421 int rem;
jpayne@69 1422 int index;
jpayne@69 1423 } xcb_xkb_sa_lock_controls_iterator_t;
jpayne@69 1424
jpayne@69 1425 typedef enum xcb_xkb_action_message_flag_t {
jpayne@69 1426 XCB_XKB_ACTION_MESSAGE_FLAG_ON_PRESS = 1,
jpayne@69 1427 XCB_XKB_ACTION_MESSAGE_FLAG_ON_RELEASE = 2,
jpayne@69 1428 XCB_XKB_ACTION_MESSAGE_FLAG_GEN_KEY_EVENT = 4
jpayne@69 1429 } xcb_xkb_action_message_flag_t;
jpayne@69 1430
jpayne@69 1431 /**
jpayne@69 1432 * @brief xcb_xkb_sa_action_message_t
jpayne@69 1433 **/
jpayne@69 1434 typedef struct xcb_xkb_sa_action_message_t {
jpayne@69 1435 uint8_t type;
jpayne@69 1436 uint8_t flags;
jpayne@69 1437 uint8_t message[6];
jpayne@69 1438 } xcb_xkb_sa_action_message_t;
jpayne@69 1439
jpayne@69 1440 /**
jpayne@69 1441 * @brief xcb_xkb_sa_action_message_iterator_t
jpayne@69 1442 **/
jpayne@69 1443 typedef struct xcb_xkb_sa_action_message_iterator_t {
jpayne@69 1444 xcb_xkb_sa_action_message_t *data;
jpayne@69 1445 int rem;
jpayne@69 1446 int index;
jpayne@69 1447 } xcb_xkb_sa_action_message_iterator_t;
jpayne@69 1448
jpayne@69 1449 /**
jpayne@69 1450 * @brief xcb_xkb_sa_redirect_key_t
jpayne@69 1451 **/
jpayne@69 1452 typedef struct xcb_xkb_sa_redirect_key_t {
jpayne@69 1453 uint8_t type;
jpayne@69 1454 xcb_keycode_t newkey;
jpayne@69 1455 uint8_t mask;
jpayne@69 1456 uint8_t realModifiers;
jpayne@69 1457 uint8_t vmodsMaskHigh;
jpayne@69 1458 uint8_t vmodsMaskLow;
jpayne@69 1459 uint8_t vmodsHigh;
jpayne@69 1460 uint8_t vmodsLow;
jpayne@69 1461 } xcb_xkb_sa_redirect_key_t;
jpayne@69 1462
jpayne@69 1463 /**
jpayne@69 1464 * @brief xcb_xkb_sa_redirect_key_iterator_t
jpayne@69 1465 **/
jpayne@69 1466 typedef struct xcb_xkb_sa_redirect_key_iterator_t {
jpayne@69 1467 xcb_xkb_sa_redirect_key_t *data;
jpayne@69 1468 int rem;
jpayne@69 1469 int index;
jpayne@69 1470 } xcb_xkb_sa_redirect_key_iterator_t;
jpayne@69 1471
jpayne@69 1472 /**
jpayne@69 1473 * @brief xcb_xkb_sa_device_btn_t
jpayne@69 1474 **/
jpayne@69 1475 typedef struct xcb_xkb_sa_device_btn_t {
jpayne@69 1476 uint8_t type;
jpayne@69 1477 uint8_t flags;
jpayne@69 1478 uint8_t count;
jpayne@69 1479 uint8_t button;
jpayne@69 1480 uint8_t device;
jpayne@69 1481 uint8_t pad0[3];
jpayne@69 1482 } xcb_xkb_sa_device_btn_t;
jpayne@69 1483
jpayne@69 1484 /**
jpayne@69 1485 * @brief xcb_xkb_sa_device_btn_iterator_t
jpayne@69 1486 **/
jpayne@69 1487 typedef struct xcb_xkb_sa_device_btn_iterator_t {
jpayne@69 1488 xcb_xkb_sa_device_btn_t *data;
jpayne@69 1489 int rem;
jpayne@69 1490 int index;
jpayne@69 1491 } xcb_xkb_sa_device_btn_iterator_t;
jpayne@69 1492
jpayne@69 1493 typedef enum xcb_xkb_lock_device_flags_t {
jpayne@69 1494 XCB_XKB_LOCK_DEVICE_FLAGS_NO_LOCK = 1,
jpayne@69 1495 XCB_XKB_LOCK_DEVICE_FLAGS_NO_UNLOCK = 2
jpayne@69 1496 } xcb_xkb_lock_device_flags_t;
jpayne@69 1497
jpayne@69 1498 /**
jpayne@69 1499 * @brief xcb_xkb_sa_lock_device_btn_t
jpayne@69 1500 **/
jpayne@69 1501 typedef struct xcb_xkb_sa_lock_device_btn_t {
jpayne@69 1502 uint8_t type;
jpayne@69 1503 uint8_t flags;
jpayne@69 1504 uint8_t pad0;
jpayne@69 1505 uint8_t button;
jpayne@69 1506 uint8_t device;
jpayne@69 1507 uint8_t pad1[3];
jpayne@69 1508 } xcb_xkb_sa_lock_device_btn_t;
jpayne@69 1509
jpayne@69 1510 /**
jpayne@69 1511 * @brief xcb_xkb_sa_lock_device_btn_iterator_t
jpayne@69 1512 **/
jpayne@69 1513 typedef struct xcb_xkb_sa_lock_device_btn_iterator_t {
jpayne@69 1514 xcb_xkb_sa_lock_device_btn_t *data;
jpayne@69 1515 int rem;
jpayne@69 1516 int index;
jpayne@69 1517 } xcb_xkb_sa_lock_device_btn_iterator_t;
jpayne@69 1518
jpayne@69 1519 typedef enum xcb_xkb_sa_val_what_t {
jpayne@69 1520 XCB_XKB_SA_VAL_WHAT_IGNORE_VAL = 0,
jpayne@69 1521 XCB_XKB_SA_VAL_WHAT_SET_VAL_MIN = 1,
jpayne@69 1522 XCB_XKB_SA_VAL_WHAT_SET_VAL_CENTER = 2,
jpayne@69 1523 XCB_XKB_SA_VAL_WHAT_SET_VAL_MAX = 3,
jpayne@69 1524 XCB_XKB_SA_VAL_WHAT_SET_VAL_RELATIVE = 4,
jpayne@69 1525 XCB_XKB_SA_VAL_WHAT_SET_VAL_ABSOLUTE = 5
jpayne@69 1526 } xcb_xkb_sa_val_what_t;
jpayne@69 1527
jpayne@69 1528 /**
jpayne@69 1529 * @brief xcb_xkb_sa_device_valuator_t
jpayne@69 1530 **/
jpayne@69 1531 typedef struct xcb_xkb_sa_device_valuator_t {
jpayne@69 1532 uint8_t type;
jpayne@69 1533 uint8_t device;
jpayne@69 1534 uint8_t val1what;
jpayne@69 1535 uint8_t val1index;
jpayne@69 1536 uint8_t val1value;
jpayne@69 1537 uint8_t val2what;
jpayne@69 1538 uint8_t val2index;
jpayne@69 1539 uint8_t val2value;
jpayne@69 1540 } xcb_xkb_sa_device_valuator_t;
jpayne@69 1541
jpayne@69 1542 /**
jpayne@69 1543 * @brief xcb_xkb_sa_device_valuator_iterator_t
jpayne@69 1544 **/
jpayne@69 1545 typedef struct xcb_xkb_sa_device_valuator_iterator_t {
jpayne@69 1546 xcb_xkb_sa_device_valuator_t *data;
jpayne@69 1547 int rem;
jpayne@69 1548 int index;
jpayne@69 1549 } xcb_xkb_sa_device_valuator_iterator_t;
jpayne@69 1550
jpayne@69 1551 /**
jpayne@69 1552 * @brief xcb_xkb_si_action_t
jpayne@69 1553 **/
jpayne@69 1554 typedef struct xcb_xkb_si_action_t {
jpayne@69 1555 uint8_t type;
jpayne@69 1556 uint8_t data[7];
jpayne@69 1557 } xcb_xkb_si_action_t;
jpayne@69 1558
jpayne@69 1559 /**
jpayne@69 1560 * @brief xcb_xkb_si_action_iterator_t
jpayne@69 1561 **/
jpayne@69 1562 typedef struct xcb_xkb_si_action_iterator_t {
jpayne@69 1563 xcb_xkb_si_action_t *data;
jpayne@69 1564 int rem;
jpayne@69 1565 int index;
jpayne@69 1566 } xcb_xkb_si_action_iterator_t;
jpayne@69 1567
jpayne@69 1568 /**
jpayne@69 1569 * @brief xcb_xkb_sym_interpret_t
jpayne@69 1570 **/
jpayne@69 1571 typedef struct xcb_xkb_sym_interpret_t {
jpayne@69 1572 xcb_keysym_t sym;
jpayne@69 1573 uint8_t mods;
jpayne@69 1574 uint8_t match;
jpayne@69 1575 uint8_t virtualMod;
jpayne@69 1576 uint8_t flags;
jpayne@69 1577 xcb_xkb_si_action_t action;
jpayne@69 1578 } xcb_xkb_sym_interpret_t;
jpayne@69 1579
jpayne@69 1580 /**
jpayne@69 1581 * @brief xcb_xkb_sym_interpret_iterator_t
jpayne@69 1582 **/
jpayne@69 1583 typedef struct xcb_xkb_sym_interpret_iterator_t {
jpayne@69 1584 xcb_xkb_sym_interpret_t *data;
jpayne@69 1585 int rem;
jpayne@69 1586 int index;
jpayne@69 1587 } xcb_xkb_sym_interpret_iterator_t;
jpayne@69 1588
jpayne@69 1589 /**
jpayne@69 1590 * @brief xcb_xkb_action_t
jpayne@69 1591 **/
jpayne@69 1592 typedef union xcb_xkb_action_t {
jpayne@69 1593 xcb_xkb_sa_no_action_t noaction;
jpayne@69 1594 xcb_xkb_sa_set_mods_t setmods;
jpayne@69 1595 xcb_xkb_sa_latch_mods_t latchmods;
jpayne@69 1596 xcb_xkb_sa_lock_mods_t lockmods;
jpayne@69 1597 xcb_xkb_sa_set_group_t setgroup;
jpayne@69 1598 xcb_xkb_sa_latch_group_t latchgroup;
jpayne@69 1599 xcb_xkb_sa_lock_group_t lockgroup;
jpayne@69 1600 xcb_xkb_sa_move_ptr_t moveptr;
jpayne@69 1601 xcb_xkb_sa_ptr_btn_t ptrbtn;
jpayne@69 1602 xcb_xkb_sa_lock_ptr_btn_t lockptrbtn;
jpayne@69 1603 xcb_xkb_sa_set_ptr_dflt_t setptrdflt;
jpayne@69 1604 xcb_xkb_sa_iso_lock_t isolock;
jpayne@69 1605 xcb_xkb_sa_terminate_t terminate;
jpayne@69 1606 xcb_xkb_sa_switch_screen_t switchscreen;
jpayne@69 1607 xcb_xkb_sa_set_controls_t setcontrols;
jpayne@69 1608 xcb_xkb_sa_lock_controls_t lockcontrols;
jpayne@69 1609 xcb_xkb_sa_action_message_t message;
jpayne@69 1610 xcb_xkb_sa_redirect_key_t redirect;
jpayne@69 1611 xcb_xkb_sa_device_btn_t devbtn;
jpayne@69 1612 xcb_xkb_sa_lock_device_btn_t lockdevbtn;
jpayne@69 1613 xcb_xkb_sa_device_valuator_t devval;
jpayne@69 1614 uint8_t type;
jpayne@69 1615 } xcb_xkb_action_t;
jpayne@69 1616
jpayne@69 1617 /**
jpayne@69 1618 * @brief xcb_xkb_action_iterator_t
jpayne@69 1619 **/
jpayne@69 1620 typedef struct xcb_xkb_action_iterator_t {
jpayne@69 1621 xcb_xkb_action_t *data;
jpayne@69 1622 int rem;
jpayne@69 1623 int index;
jpayne@69 1624 } xcb_xkb_action_iterator_t;
jpayne@69 1625
jpayne@69 1626 /**
jpayne@69 1627 * @brief xcb_xkb_use_extension_cookie_t
jpayne@69 1628 **/
jpayne@69 1629 typedef struct xcb_xkb_use_extension_cookie_t {
jpayne@69 1630 unsigned int sequence;
jpayne@69 1631 } xcb_xkb_use_extension_cookie_t;
jpayne@69 1632
jpayne@69 1633 /** Opcode for xcb_xkb_use_extension. */
jpayne@69 1634 #define XCB_XKB_USE_EXTENSION 0
jpayne@69 1635
jpayne@69 1636 /**
jpayne@69 1637 * @brief xcb_xkb_use_extension_request_t
jpayne@69 1638 **/
jpayne@69 1639 typedef struct xcb_xkb_use_extension_request_t {
jpayne@69 1640 uint8_t major_opcode;
jpayne@69 1641 uint8_t minor_opcode;
jpayne@69 1642 uint16_t length;
jpayne@69 1643 uint16_t wantedMajor;
jpayne@69 1644 uint16_t wantedMinor;
jpayne@69 1645 } xcb_xkb_use_extension_request_t;
jpayne@69 1646
jpayne@69 1647 /**
jpayne@69 1648 * @brief xcb_xkb_use_extension_reply_t
jpayne@69 1649 **/
jpayne@69 1650 typedef struct xcb_xkb_use_extension_reply_t {
jpayne@69 1651 uint8_t response_type;
jpayne@69 1652 uint8_t supported;
jpayne@69 1653 uint16_t sequence;
jpayne@69 1654 uint32_t length;
jpayne@69 1655 uint16_t serverMajor;
jpayne@69 1656 uint16_t serverMinor;
jpayne@69 1657 uint8_t pad0[20];
jpayne@69 1658 } xcb_xkb_use_extension_reply_t;
jpayne@69 1659
jpayne@69 1660 /**
jpayne@69 1661 * @brief xcb_xkb_select_events_details_t
jpayne@69 1662 **/
jpayne@69 1663 typedef struct xcb_xkb_select_events_details_t {
jpayne@69 1664 uint16_t affectNewKeyboard;
jpayne@69 1665 uint16_t newKeyboardDetails;
jpayne@69 1666 uint16_t affectState;
jpayne@69 1667 uint16_t stateDetails;
jpayne@69 1668 uint32_t affectCtrls;
jpayne@69 1669 uint32_t ctrlDetails;
jpayne@69 1670 uint32_t affectIndicatorState;
jpayne@69 1671 uint32_t indicatorStateDetails;
jpayne@69 1672 uint32_t affectIndicatorMap;
jpayne@69 1673 uint32_t indicatorMapDetails;
jpayne@69 1674 uint16_t affectNames;
jpayne@69 1675 uint16_t namesDetails;
jpayne@69 1676 uint8_t affectCompat;
jpayne@69 1677 uint8_t compatDetails;
jpayne@69 1678 uint8_t affectBell;
jpayne@69 1679 uint8_t bellDetails;
jpayne@69 1680 uint8_t affectMsgDetails;
jpayne@69 1681 uint8_t msgDetails;
jpayne@69 1682 uint16_t affectAccessX;
jpayne@69 1683 uint16_t accessXDetails;
jpayne@69 1684 uint16_t affectExtDev;
jpayne@69 1685 uint16_t extdevDetails;
jpayne@69 1686 } xcb_xkb_select_events_details_t;
jpayne@69 1687
jpayne@69 1688 /** Opcode for xcb_xkb_select_events. */
jpayne@69 1689 #define XCB_XKB_SELECT_EVENTS 1
jpayne@69 1690
jpayne@69 1691 /**
jpayne@69 1692 * @brief xcb_xkb_select_events_request_t
jpayne@69 1693 **/
jpayne@69 1694 typedef struct xcb_xkb_select_events_request_t {
jpayne@69 1695 uint8_t major_opcode;
jpayne@69 1696 uint8_t minor_opcode;
jpayne@69 1697 uint16_t length;
jpayne@69 1698 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1699 uint16_t affectWhich;
jpayne@69 1700 uint16_t clear;
jpayne@69 1701 uint16_t selectAll;
jpayne@69 1702 uint16_t affectMap;
jpayne@69 1703 uint16_t map;
jpayne@69 1704 } xcb_xkb_select_events_request_t;
jpayne@69 1705
jpayne@69 1706 /** Opcode for xcb_xkb_bell. */
jpayne@69 1707 #define XCB_XKB_BELL 3
jpayne@69 1708
jpayne@69 1709 /**
jpayne@69 1710 * @brief xcb_xkb_bell_request_t
jpayne@69 1711 **/
jpayne@69 1712 typedef struct xcb_xkb_bell_request_t {
jpayne@69 1713 uint8_t major_opcode;
jpayne@69 1714 uint8_t minor_opcode;
jpayne@69 1715 uint16_t length;
jpayne@69 1716 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1717 xcb_xkb_bell_class_spec_t bellClass;
jpayne@69 1718 xcb_xkb_id_spec_t bellID;
jpayne@69 1719 int8_t percent;
jpayne@69 1720 uint8_t forceSound;
jpayne@69 1721 uint8_t eventOnly;
jpayne@69 1722 uint8_t pad0;
jpayne@69 1723 int16_t pitch;
jpayne@69 1724 int16_t duration;
jpayne@69 1725 uint8_t pad1[2];
jpayne@69 1726 xcb_atom_t name;
jpayne@69 1727 xcb_window_t window;
jpayne@69 1728 } xcb_xkb_bell_request_t;
jpayne@69 1729
jpayne@69 1730 /**
jpayne@69 1731 * @brief xcb_xkb_get_state_cookie_t
jpayne@69 1732 **/
jpayne@69 1733 typedef struct xcb_xkb_get_state_cookie_t {
jpayne@69 1734 unsigned int sequence;
jpayne@69 1735 } xcb_xkb_get_state_cookie_t;
jpayne@69 1736
jpayne@69 1737 /** Opcode for xcb_xkb_get_state. */
jpayne@69 1738 #define XCB_XKB_GET_STATE 4
jpayne@69 1739
jpayne@69 1740 /**
jpayne@69 1741 * @brief xcb_xkb_get_state_request_t
jpayne@69 1742 **/
jpayne@69 1743 typedef struct xcb_xkb_get_state_request_t {
jpayne@69 1744 uint8_t major_opcode;
jpayne@69 1745 uint8_t minor_opcode;
jpayne@69 1746 uint16_t length;
jpayne@69 1747 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1748 uint8_t pad0[2];
jpayne@69 1749 } xcb_xkb_get_state_request_t;
jpayne@69 1750
jpayne@69 1751 /**
jpayne@69 1752 * @brief xcb_xkb_get_state_reply_t
jpayne@69 1753 **/
jpayne@69 1754 typedef struct xcb_xkb_get_state_reply_t {
jpayne@69 1755 uint8_t response_type;
jpayne@69 1756 uint8_t deviceID;
jpayne@69 1757 uint16_t sequence;
jpayne@69 1758 uint32_t length;
jpayne@69 1759 uint8_t mods;
jpayne@69 1760 uint8_t baseMods;
jpayne@69 1761 uint8_t latchedMods;
jpayne@69 1762 uint8_t lockedMods;
jpayne@69 1763 uint8_t group;
jpayne@69 1764 uint8_t lockedGroup;
jpayne@69 1765 int16_t baseGroup;
jpayne@69 1766 int16_t latchedGroup;
jpayne@69 1767 uint8_t compatState;
jpayne@69 1768 uint8_t grabMods;
jpayne@69 1769 uint8_t compatGrabMods;
jpayne@69 1770 uint8_t lookupMods;
jpayne@69 1771 uint8_t compatLookupMods;
jpayne@69 1772 uint8_t pad0;
jpayne@69 1773 uint16_t ptrBtnState;
jpayne@69 1774 uint8_t pad1[6];
jpayne@69 1775 } xcb_xkb_get_state_reply_t;
jpayne@69 1776
jpayne@69 1777 /** Opcode for xcb_xkb_latch_lock_state. */
jpayne@69 1778 #define XCB_XKB_LATCH_LOCK_STATE 5
jpayne@69 1779
jpayne@69 1780 /**
jpayne@69 1781 * @brief xcb_xkb_latch_lock_state_request_t
jpayne@69 1782 **/
jpayne@69 1783 typedef struct xcb_xkb_latch_lock_state_request_t {
jpayne@69 1784 uint8_t major_opcode;
jpayne@69 1785 uint8_t minor_opcode;
jpayne@69 1786 uint16_t length;
jpayne@69 1787 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1788 uint8_t affectModLocks;
jpayne@69 1789 uint8_t modLocks;
jpayne@69 1790 uint8_t lockGroup;
jpayne@69 1791 uint8_t groupLock;
jpayne@69 1792 uint8_t affectModLatches;
jpayne@69 1793 uint8_t pad0;
jpayne@69 1794 uint8_t pad1;
jpayne@69 1795 uint8_t latchGroup;
jpayne@69 1796 uint16_t groupLatch;
jpayne@69 1797 } xcb_xkb_latch_lock_state_request_t;
jpayne@69 1798
jpayne@69 1799 /**
jpayne@69 1800 * @brief xcb_xkb_get_controls_cookie_t
jpayne@69 1801 **/
jpayne@69 1802 typedef struct xcb_xkb_get_controls_cookie_t {
jpayne@69 1803 unsigned int sequence;
jpayne@69 1804 } xcb_xkb_get_controls_cookie_t;
jpayne@69 1805
jpayne@69 1806 /** Opcode for xcb_xkb_get_controls. */
jpayne@69 1807 #define XCB_XKB_GET_CONTROLS 6
jpayne@69 1808
jpayne@69 1809 /**
jpayne@69 1810 * @brief xcb_xkb_get_controls_request_t
jpayne@69 1811 **/
jpayne@69 1812 typedef struct xcb_xkb_get_controls_request_t {
jpayne@69 1813 uint8_t major_opcode;
jpayne@69 1814 uint8_t minor_opcode;
jpayne@69 1815 uint16_t length;
jpayne@69 1816 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1817 uint8_t pad0[2];
jpayne@69 1818 } xcb_xkb_get_controls_request_t;
jpayne@69 1819
jpayne@69 1820 /**
jpayne@69 1821 * @brief xcb_xkb_get_controls_reply_t
jpayne@69 1822 **/
jpayne@69 1823 typedef struct xcb_xkb_get_controls_reply_t {
jpayne@69 1824 uint8_t response_type;
jpayne@69 1825 uint8_t deviceID;
jpayne@69 1826 uint16_t sequence;
jpayne@69 1827 uint32_t length;
jpayne@69 1828 uint8_t mouseKeysDfltBtn;
jpayne@69 1829 uint8_t numGroups;
jpayne@69 1830 uint8_t groupsWrap;
jpayne@69 1831 uint8_t internalModsMask;
jpayne@69 1832 uint8_t ignoreLockModsMask;
jpayne@69 1833 uint8_t internalModsRealMods;
jpayne@69 1834 uint8_t ignoreLockModsRealMods;
jpayne@69 1835 uint8_t pad0;
jpayne@69 1836 uint16_t internalModsVmods;
jpayne@69 1837 uint16_t ignoreLockModsVmods;
jpayne@69 1838 uint16_t repeatDelay;
jpayne@69 1839 uint16_t repeatInterval;
jpayne@69 1840 uint16_t slowKeysDelay;
jpayne@69 1841 uint16_t debounceDelay;
jpayne@69 1842 uint16_t mouseKeysDelay;
jpayne@69 1843 uint16_t mouseKeysInterval;
jpayne@69 1844 uint16_t mouseKeysTimeToMax;
jpayne@69 1845 uint16_t mouseKeysMaxSpeed;
jpayne@69 1846 int16_t mouseKeysCurve;
jpayne@69 1847 uint16_t accessXOption;
jpayne@69 1848 uint16_t accessXTimeout;
jpayne@69 1849 uint16_t accessXTimeoutOptionsMask;
jpayne@69 1850 uint16_t accessXTimeoutOptionsValues;
jpayne@69 1851 uint8_t pad1[2];
jpayne@69 1852 uint32_t accessXTimeoutMask;
jpayne@69 1853 uint32_t accessXTimeoutValues;
jpayne@69 1854 uint32_t enabledControls;
jpayne@69 1855 uint8_t perKeyRepeat[32];
jpayne@69 1856 } xcb_xkb_get_controls_reply_t;
jpayne@69 1857
jpayne@69 1858 /** Opcode for xcb_xkb_set_controls. */
jpayne@69 1859 #define XCB_XKB_SET_CONTROLS 7
jpayne@69 1860
jpayne@69 1861 /**
jpayne@69 1862 * @brief xcb_xkb_set_controls_request_t
jpayne@69 1863 **/
jpayne@69 1864 typedef struct xcb_xkb_set_controls_request_t {
jpayne@69 1865 uint8_t major_opcode;
jpayne@69 1866 uint8_t minor_opcode;
jpayne@69 1867 uint16_t length;
jpayne@69 1868 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1869 uint8_t affectInternalRealMods;
jpayne@69 1870 uint8_t internalRealMods;
jpayne@69 1871 uint8_t affectIgnoreLockRealMods;
jpayne@69 1872 uint8_t ignoreLockRealMods;
jpayne@69 1873 uint16_t affectInternalVirtualMods;
jpayne@69 1874 uint16_t internalVirtualMods;
jpayne@69 1875 uint16_t affectIgnoreLockVirtualMods;
jpayne@69 1876 uint16_t ignoreLockVirtualMods;
jpayne@69 1877 uint8_t mouseKeysDfltBtn;
jpayne@69 1878 uint8_t groupsWrap;
jpayne@69 1879 uint16_t accessXOptions;
jpayne@69 1880 uint8_t pad0[2];
jpayne@69 1881 uint32_t affectEnabledControls;
jpayne@69 1882 uint32_t enabledControls;
jpayne@69 1883 uint32_t changeControls;
jpayne@69 1884 uint16_t repeatDelay;
jpayne@69 1885 uint16_t repeatInterval;
jpayne@69 1886 uint16_t slowKeysDelay;
jpayne@69 1887 uint16_t debounceDelay;
jpayne@69 1888 uint16_t mouseKeysDelay;
jpayne@69 1889 uint16_t mouseKeysInterval;
jpayne@69 1890 uint16_t mouseKeysTimeToMax;
jpayne@69 1891 uint16_t mouseKeysMaxSpeed;
jpayne@69 1892 int16_t mouseKeysCurve;
jpayne@69 1893 uint16_t accessXTimeout;
jpayne@69 1894 uint32_t accessXTimeoutMask;
jpayne@69 1895 uint32_t accessXTimeoutValues;
jpayne@69 1896 uint16_t accessXTimeoutOptionsMask;
jpayne@69 1897 uint16_t accessXTimeoutOptionsValues;
jpayne@69 1898 uint8_t perKeyRepeat[32];
jpayne@69 1899 } xcb_xkb_set_controls_request_t;
jpayne@69 1900
jpayne@69 1901 /**
jpayne@69 1902 * @brief xcb_xkb_get_map_cookie_t
jpayne@69 1903 **/
jpayne@69 1904 typedef struct xcb_xkb_get_map_cookie_t {
jpayne@69 1905 unsigned int sequence;
jpayne@69 1906 } xcb_xkb_get_map_cookie_t;
jpayne@69 1907
jpayne@69 1908 /** Opcode for xcb_xkb_get_map. */
jpayne@69 1909 #define XCB_XKB_GET_MAP 8
jpayne@69 1910
jpayne@69 1911 /**
jpayne@69 1912 * @brief xcb_xkb_get_map_request_t
jpayne@69 1913 **/
jpayne@69 1914 typedef struct xcb_xkb_get_map_request_t {
jpayne@69 1915 uint8_t major_opcode;
jpayne@69 1916 uint8_t minor_opcode;
jpayne@69 1917 uint16_t length;
jpayne@69 1918 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 1919 uint16_t full;
jpayne@69 1920 uint16_t partial;
jpayne@69 1921 uint8_t firstType;
jpayne@69 1922 uint8_t nTypes;
jpayne@69 1923 xcb_keycode_t firstKeySym;
jpayne@69 1924 uint8_t nKeySyms;
jpayne@69 1925 xcb_keycode_t firstKeyAction;
jpayne@69 1926 uint8_t nKeyActions;
jpayne@69 1927 xcb_keycode_t firstKeyBehavior;
jpayne@69 1928 uint8_t nKeyBehaviors;
jpayne@69 1929 uint16_t virtualMods;
jpayne@69 1930 xcb_keycode_t firstKeyExplicit;
jpayne@69 1931 uint8_t nKeyExplicit;
jpayne@69 1932 xcb_keycode_t firstModMapKey;
jpayne@69 1933 uint8_t nModMapKeys;
jpayne@69 1934 xcb_keycode_t firstVModMapKey;
jpayne@69 1935 uint8_t nVModMapKeys;
jpayne@69 1936 uint8_t pad0[2];
jpayne@69 1937 } xcb_xkb_get_map_request_t;
jpayne@69 1938
jpayne@69 1939 /**
jpayne@69 1940 * @brief xcb_xkb_get_map_map_t
jpayne@69 1941 **/
jpayne@69 1942 typedef struct xcb_xkb_get_map_map_t {
jpayne@69 1943 xcb_xkb_key_type_t *types_rtrn;
jpayne@69 1944 xcb_xkb_key_sym_map_t *syms_rtrn;
jpayne@69 1945 uint8_t *acts_rtrn_count;
jpayne@69 1946 uint8_t *pad2;
jpayne@69 1947 xcb_xkb_action_t *acts_rtrn_acts;
jpayne@69 1948 xcb_xkb_set_behavior_t *behaviors_rtrn;
jpayne@69 1949 uint8_t *vmods_rtrn;
jpayne@69 1950 uint8_t *pad3;
jpayne@69 1951 xcb_xkb_set_explicit_t *explicit_rtrn;
jpayne@69 1952 uint8_t *pad4;
jpayne@69 1953 xcb_xkb_key_mod_map_t *modmap_rtrn;
jpayne@69 1954 uint8_t *pad5;
jpayne@69 1955 xcb_xkb_key_v_mod_map_t *vmodmap_rtrn;
jpayne@69 1956 } xcb_xkb_get_map_map_t;
jpayne@69 1957
jpayne@69 1958 /**
jpayne@69 1959 * @brief xcb_xkb_get_map_reply_t
jpayne@69 1960 **/
jpayne@69 1961 typedef struct xcb_xkb_get_map_reply_t {
jpayne@69 1962 uint8_t response_type;
jpayne@69 1963 uint8_t deviceID;
jpayne@69 1964 uint16_t sequence;
jpayne@69 1965 uint32_t length;
jpayne@69 1966 uint8_t pad0[2];
jpayne@69 1967 xcb_keycode_t minKeyCode;
jpayne@69 1968 xcb_keycode_t maxKeyCode;
jpayne@69 1969 uint16_t present;
jpayne@69 1970 uint8_t firstType;
jpayne@69 1971 uint8_t nTypes;
jpayne@69 1972 uint8_t totalTypes;
jpayne@69 1973 xcb_keycode_t firstKeySym;
jpayne@69 1974 uint16_t totalSyms;
jpayne@69 1975 uint8_t nKeySyms;
jpayne@69 1976 xcb_keycode_t firstKeyAction;
jpayne@69 1977 uint16_t totalActions;
jpayne@69 1978 uint8_t nKeyActions;
jpayne@69 1979 xcb_keycode_t firstKeyBehavior;
jpayne@69 1980 uint8_t nKeyBehaviors;
jpayne@69 1981 uint8_t totalKeyBehaviors;
jpayne@69 1982 xcb_keycode_t firstKeyExplicit;
jpayne@69 1983 uint8_t nKeyExplicit;
jpayne@69 1984 uint8_t totalKeyExplicit;
jpayne@69 1985 xcb_keycode_t firstModMapKey;
jpayne@69 1986 uint8_t nModMapKeys;
jpayne@69 1987 uint8_t totalModMapKeys;
jpayne@69 1988 xcb_keycode_t firstVModMapKey;
jpayne@69 1989 uint8_t nVModMapKeys;
jpayne@69 1990 uint8_t totalVModMapKeys;
jpayne@69 1991 uint8_t pad1;
jpayne@69 1992 uint16_t virtualMods;
jpayne@69 1993 } xcb_xkb_get_map_reply_t;
jpayne@69 1994
jpayne@69 1995 /**
jpayne@69 1996 * @brief xcb_xkb_set_map_values_t
jpayne@69 1997 **/
jpayne@69 1998 typedef struct xcb_xkb_set_map_values_t {
jpayne@69 1999 xcb_xkb_set_key_type_t *types;
jpayne@69 2000 xcb_xkb_key_sym_map_t *syms;
jpayne@69 2001 uint8_t *actionsCount;
jpayne@69 2002 xcb_xkb_action_t *actions;
jpayne@69 2003 xcb_xkb_set_behavior_t *behaviors;
jpayne@69 2004 uint8_t *vmods;
jpayne@69 2005 xcb_xkb_set_explicit_t *explicit;
jpayne@69 2006 xcb_xkb_key_mod_map_t *modmap;
jpayne@69 2007 xcb_xkb_key_v_mod_map_t *vmodmap;
jpayne@69 2008 } xcb_xkb_set_map_values_t;
jpayne@69 2009
jpayne@69 2010 /** Opcode for xcb_xkb_set_map. */
jpayne@69 2011 #define XCB_XKB_SET_MAP 9
jpayne@69 2012
jpayne@69 2013 /**
jpayne@69 2014 * @brief xcb_xkb_set_map_request_t
jpayne@69 2015 **/
jpayne@69 2016 typedef struct xcb_xkb_set_map_request_t {
jpayne@69 2017 uint8_t major_opcode;
jpayne@69 2018 uint8_t minor_opcode;
jpayne@69 2019 uint16_t length;
jpayne@69 2020 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2021 uint16_t present;
jpayne@69 2022 uint16_t flags;
jpayne@69 2023 xcb_keycode_t minKeyCode;
jpayne@69 2024 xcb_keycode_t maxKeyCode;
jpayne@69 2025 uint8_t firstType;
jpayne@69 2026 uint8_t nTypes;
jpayne@69 2027 xcb_keycode_t firstKeySym;
jpayne@69 2028 uint8_t nKeySyms;
jpayne@69 2029 uint16_t totalSyms;
jpayne@69 2030 xcb_keycode_t firstKeyAction;
jpayne@69 2031 uint8_t nKeyActions;
jpayne@69 2032 uint16_t totalActions;
jpayne@69 2033 xcb_keycode_t firstKeyBehavior;
jpayne@69 2034 uint8_t nKeyBehaviors;
jpayne@69 2035 uint8_t totalKeyBehaviors;
jpayne@69 2036 xcb_keycode_t firstKeyExplicit;
jpayne@69 2037 uint8_t nKeyExplicit;
jpayne@69 2038 uint8_t totalKeyExplicit;
jpayne@69 2039 xcb_keycode_t firstModMapKey;
jpayne@69 2040 uint8_t nModMapKeys;
jpayne@69 2041 uint8_t totalModMapKeys;
jpayne@69 2042 xcb_keycode_t firstVModMapKey;
jpayne@69 2043 uint8_t nVModMapKeys;
jpayne@69 2044 uint8_t totalVModMapKeys;
jpayne@69 2045 uint16_t virtualMods;
jpayne@69 2046 } xcb_xkb_set_map_request_t;
jpayne@69 2047
jpayne@69 2048 /**
jpayne@69 2049 * @brief xcb_xkb_get_compat_map_cookie_t
jpayne@69 2050 **/
jpayne@69 2051 typedef struct xcb_xkb_get_compat_map_cookie_t {
jpayne@69 2052 unsigned int sequence;
jpayne@69 2053 } xcb_xkb_get_compat_map_cookie_t;
jpayne@69 2054
jpayne@69 2055 /** Opcode for xcb_xkb_get_compat_map. */
jpayne@69 2056 #define XCB_XKB_GET_COMPAT_MAP 10
jpayne@69 2057
jpayne@69 2058 /**
jpayne@69 2059 * @brief xcb_xkb_get_compat_map_request_t
jpayne@69 2060 **/
jpayne@69 2061 typedef struct xcb_xkb_get_compat_map_request_t {
jpayne@69 2062 uint8_t major_opcode;
jpayne@69 2063 uint8_t minor_opcode;
jpayne@69 2064 uint16_t length;
jpayne@69 2065 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2066 uint8_t groups;
jpayne@69 2067 uint8_t getAllSI;
jpayne@69 2068 uint16_t firstSI;
jpayne@69 2069 uint16_t nSI;
jpayne@69 2070 } xcb_xkb_get_compat_map_request_t;
jpayne@69 2071
jpayne@69 2072 /**
jpayne@69 2073 * @brief xcb_xkb_get_compat_map_reply_t
jpayne@69 2074 **/
jpayne@69 2075 typedef struct xcb_xkb_get_compat_map_reply_t {
jpayne@69 2076 uint8_t response_type;
jpayne@69 2077 uint8_t deviceID;
jpayne@69 2078 uint16_t sequence;
jpayne@69 2079 uint32_t length;
jpayne@69 2080 uint8_t groupsRtrn;
jpayne@69 2081 uint8_t pad0;
jpayne@69 2082 uint16_t firstSIRtrn;
jpayne@69 2083 uint16_t nSIRtrn;
jpayne@69 2084 uint16_t nTotalSI;
jpayne@69 2085 uint8_t pad1[16];
jpayne@69 2086 } xcb_xkb_get_compat_map_reply_t;
jpayne@69 2087
jpayne@69 2088 /** Opcode for xcb_xkb_set_compat_map. */
jpayne@69 2089 #define XCB_XKB_SET_COMPAT_MAP 11
jpayne@69 2090
jpayne@69 2091 /**
jpayne@69 2092 * @brief xcb_xkb_set_compat_map_request_t
jpayne@69 2093 **/
jpayne@69 2094 typedef struct xcb_xkb_set_compat_map_request_t {
jpayne@69 2095 uint8_t major_opcode;
jpayne@69 2096 uint8_t minor_opcode;
jpayne@69 2097 uint16_t length;
jpayne@69 2098 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2099 uint8_t pad0;
jpayne@69 2100 uint8_t recomputeActions;
jpayne@69 2101 uint8_t truncateSI;
jpayne@69 2102 uint8_t groups;
jpayne@69 2103 uint16_t firstSI;
jpayne@69 2104 uint16_t nSI;
jpayne@69 2105 uint8_t pad1[2];
jpayne@69 2106 } xcb_xkb_set_compat_map_request_t;
jpayne@69 2107
jpayne@69 2108 /**
jpayne@69 2109 * @brief xcb_xkb_get_indicator_state_cookie_t
jpayne@69 2110 **/
jpayne@69 2111 typedef struct xcb_xkb_get_indicator_state_cookie_t {
jpayne@69 2112 unsigned int sequence;
jpayne@69 2113 } xcb_xkb_get_indicator_state_cookie_t;
jpayne@69 2114
jpayne@69 2115 /** Opcode for xcb_xkb_get_indicator_state. */
jpayne@69 2116 #define XCB_XKB_GET_INDICATOR_STATE 12
jpayne@69 2117
jpayne@69 2118 /**
jpayne@69 2119 * @brief xcb_xkb_get_indicator_state_request_t
jpayne@69 2120 **/
jpayne@69 2121 typedef struct xcb_xkb_get_indicator_state_request_t {
jpayne@69 2122 uint8_t major_opcode;
jpayne@69 2123 uint8_t minor_opcode;
jpayne@69 2124 uint16_t length;
jpayne@69 2125 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2126 uint8_t pad0[2];
jpayne@69 2127 } xcb_xkb_get_indicator_state_request_t;
jpayne@69 2128
jpayne@69 2129 /**
jpayne@69 2130 * @brief xcb_xkb_get_indicator_state_reply_t
jpayne@69 2131 **/
jpayne@69 2132 typedef struct xcb_xkb_get_indicator_state_reply_t {
jpayne@69 2133 uint8_t response_type;
jpayne@69 2134 uint8_t deviceID;
jpayne@69 2135 uint16_t sequence;
jpayne@69 2136 uint32_t length;
jpayne@69 2137 uint32_t state;
jpayne@69 2138 uint8_t pad0[20];
jpayne@69 2139 } xcb_xkb_get_indicator_state_reply_t;
jpayne@69 2140
jpayne@69 2141 /**
jpayne@69 2142 * @brief xcb_xkb_get_indicator_map_cookie_t
jpayne@69 2143 **/
jpayne@69 2144 typedef struct xcb_xkb_get_indicator_map_cookie_t {
jpayne@69 2145 unsigned int sequence;
jpayne@69 2146 } xcb_xkb_get_indicator_map_cookie_t;
jpayne@69 2147
jpayne@69 2148 /** Opcode for xcb_xkb_get_indicator_map. */
jpayne@69 2149 #define XCB_XKB_GET_INDICATOR_MAP 13
jpayne@69 2150
jpayne@69 2151 /**
jpayne@69 2152 * @brief xcb_xkb_get_indicator_map_request_t
jpayne@69 2153 **/
jpayne@69 2154 typedef struct xcb_xkb_get_indicator_map_request_t {
jpayne@69 2155 uint8_t major_opcode;
jpayne@69 2156 uint8_t minor_opcode;
jpayne@69 2157 uint16_t length;
jpayne@69 2158 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2159 uint8_t pad0[2];
jpayne@69 2160 uint32_t which;
jpayne@69 2161 } xcb_xkb_get_indicator_map_request_t;
jpayne@69 2162
jpayne@69 2163 /**
jpayne@69 2164 * @brief xcb_xkb_get_indicator_map_reply_t
jpayne@69 2165 **/
jpayne@69 2166 typedef struct xcb_xkb_get_indicator_map_reply_t {
jpayne@69 2167 uint8_t response_type;
jpayne@69 2168 uint8_t deviceID;
jpayne@69 2169 uint16_t sequence;
jpayne@69 2170 uint32_t length;
jpayne@69 2171 uint32_t which;
jpayne@69 2172 uint32_t realIndicators;
jpayne@69 2173 uint8_t nIndicators;
jpayne@69 2174 uint8_t pad0[15];
jpayne@69 2175 } xcb_xkb_get_indicator_map_reply_t;
jpayne@69 2176
jpayne@69 2177 /** Opcode for xcb_xkb_set_indicator_map. */
jpayne@69 2178 #define XCB_XKB_SET_INDICATOR_MAP 14
jpayne@69 2179
jpayne@69 2180 /**
jpayne@69 2181 * @brief xcb_xkb_set_indicator_map_request_t
jpayne@69 2182 **/
jpayne@69 2183 typedef struct xcb_xkb_set_indicator_map_request_t {
jpayne@69 2184 uint8_t major_opcode;
jpayne@69 2185 uint8_t minor_opcode;
jpayne@69 2186 uint16_t length;
jpayne@69 2187 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2188 uint8_t pad0[2];
jpayne@69 2189 uint32_t which;
jpayne@69 2190 } xcb_xkb_set_indicator_map_request_t;
jpayne@69 2191
jpayne@69 2192 /**
jpayne@69 2193 * @brief xcb_xkb_get_named_indicator_cookie_t
jpayne@69 2194 **/
jpayne@69 2195 typedef struct xcb_xkb_get_named_indicator_cookie_t {
jpayne@69 2196 unsigned int sequence;
jpayne@69 2197 } xcb_xkb_get_named_indicator_cookie_t;
jpayne@69 2198
jpayne@69 2199 /** Opcode for xcb_xkb_get_named_indicator. */
jpayne@69 2200 #define XCB_XKB_GET_NAMED_INDICATOR 15
jpayne@69 2201
jpayne@69 2202 /**
jpayne@69 2203 * @brief xcb_xkb_get_named_indicator_request_t
jpayne@69 2204 **/
jpayne@69 2205 typedef struct xcb_xkb_get_named_indicator_request_t {
jpayne@69 2206 uint8_t major_opcode;
jpayne@69 2207 uint8_t minor_opcode;
jpayne@69 2208 uint16_t length;
jpayne@69 2209 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2210 xcb_xkb_led_class_spec_t ledClass;
jpayne@69 2211 xcb_xkb_id_spec_t ledID;
jpayne@69 2212 uint8_t pad0[2];
jpayne@69 2213 xcb_atom_t indicator;
jpayne@69 2214 } xcb_xkb_get_named_indicator_request_t;
jpayne@69 2215
jpayne@69 2216 /**
jpayne@69 2217 * @brief xcb_xkb_get_named_indicator_reply_t
jpayne@69 2218 **/
jpayne@69 2219 typedef struct xcb_xkb_get_named_indicator_reply_t {
jpayne@69 2220 uint8_t response_type;
jpayne@69 2221 uint8_t deviceID;
jpayne@69 2222 uint16_t sequence;
jpayne@69 2223 uint32_t length;
jpayne@69 2224 xcb_atom_t indicator;
jpayne@69 2225 uint8_t found;
jpayne@69 2226 uint8_t on;
jpayne@69 2227 uint8_t realIndicator;
jpayne@69 2228 uint8_t ndx;
jpayne@69 2229 uint8_t map_flags;
jpayne@69 2230 uint8_t map_whichGroups;
jpayne@69 2231 uint8_t map_groups;
jpayne@69 2232 uint8_t map_whichMods;
jpayne@69 2233 uint8_t map_mods;
jpayne@69 2234 uint8_t map_realMods;
jpayne@69 2235 uint16_t map_vmod;
jpayne@69 2236 uint32_t map_ctrls;
jpayne@69 2237 uint8_t supported;
jpayne@69 2238 uint8_t pad0[3];
jpayne@69 2239 } xcb_xkb_get_named_indicator_reply_t;
jpayne@69 2240
jpayne@69 2241 /** Opcode for xcb_xkb_set_named_indicator. */
jpayne@69 2242 #define XCB_XKB_SET_NAMED_INDICATOR 16
jpayne@69 2243
jpayne@69 2244 /**
jpayne@69 2245 * @brief xcb_xkb_set_named_indicator_request_t
jpayne@69 2246 **/
jpayne@69 2247 typedef struct xcb_xkb_set_named_indicator_request_t {
jpayne@69 2248 uint8_t major_opcode;
jpayne@69 2249 uint8_t minor_opcode;
jpayne@69 2250 uint16_t length;
jpayne@69 2251 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2252 xcb_xkb_led_class_spec_t ledClass;
jpayne@69 2253 xcb_xkb_id_spec_t ledID;
jpayne@69 2254 uint8_t pad0[2];
jpayne@69 2255 xcb_atom_t indicator;
jpayne@69 2256 uint8_t setState;
jpayne@69 2257 uint8_t on;
jpayne@69 2258 uint8_t setMap;
jpayne@69 2259 uint8_t createMap;
jpayne@69 2260 uint8_t pad1;
jpayne@69 2261 uint8_t map_flags;
jpayne@69 2262 uint8_t map_whichGroups;
jpayne@69 2263 uint8_t map_groups;
jpayne@69 2264 uint8_t map_whichMods;
jpayne@69 2265 uint8_t map_realMods;
jpayne@69 2266 uint16_t map_vmods;
jpayne@69 2267 uint32_t map_ctrls;
jpayne@69 2268 } xcb_xkb_set_named_indicator_request_t;
jpayne@69 2269
jpayne@69 2270 /**
jpayne@69 2271 * @brief xcb_xkb_get_names_cookie_t
jpayne@69 2272 **/
jpayne@69 2273 typedef struct xcb_xkb_get_names_cookie_t {
jpayne@69 2274 unsigned int sequence;
jpayne@69 2275 } xcb_xkb_get_names_cookie_t;
jpayne@69 2276
jpayne@69 2277 /** Opcode for xcb_xkb_get_names. */
jpayne@69 2278 #define XCB_XKB_GET_NAMES 17
jpayne@69 2279
jpayne@69 2280 /**
jpayne@69 2281 * @brief xcb_xkb_get_names_request_t
jpayne@69 2282 **/
jpayne@69 2283 typedef struct xcb_xkb_get_names_request_t {
jpayne@69 2284 uint8_t major_opcode;
jpayne@69 2285 uint8_t minor_opcode;
jpayne@69 2286 uint16_t length;
jpayne@69 2287 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2288 uint8_t pad0[2];
jpayne@69 2289 uint32_t which;
jpayne@69 2290 } xcb_xkb_get_names_request_t;
jpayne@69 2291
jpayne@69 2292 /**
jpayne@69 2293 * @brief xcb_xkb_get_names_value_list_t
jpayne@69 2294 **/
jpayne@69 2295 typedef struct xcb_xkb_get_names_value_list_t {
jpayne@69 2296 xcb_atom_t keycodesName;
jpayne@69 2297 xcb_atom_t geometryName;
jpayne@69 2298 xcb_atom_t symbolsName;
jpayne@69 2299 xcb_atom_t physSymbolsName;
jpayne@69 2300 xcb_atom_t typesName;
jpayne@69 2301 xcb_atom_t compatName;
jpayne@69 2302 xcb_atom_t *typeNames;
jpayne@69 2303 uint8_t *nLevelsPerType;
jpayne@69 2304 uint8_t *pad1;
jpayne@69 2305 xcb_atom_t *ktLevelNames;
jpayne@69 2306 xcb_atom_t *indicatorNames;
jpayne@69 2307 xcb_atom_t *virtualModNames;
jpayne@69 2308 xcb_atom_t *groups;
jpayne@69 2309 xcb_xkb_key_name_t *keyNames;
jpayne@69 2310 xcb_xkb_key_alias_t *keyAliases;
jpayne@69 2311 xcb_atom_t *radioGroupNames;
jpayne@69 2312 } xcb_xkb_get_names_value_list_t;
jpayne@69 2313
jpayne@69 2314 /**
jpayne@69 2315 * @brief xcb_xkb_get_names_reply_t
jpayne@69 2316 **/
jpayne@69 2317 typedef struct xcb_xkb_get_names_reply_t {
jpayne@69 2318 uint8_t response_type;
jpayne@69 2319 uint8_t deviceID;
jpayne@69 2320 uint16_t sequence;
jpayne@69 2321 uint32_t length;
jpayne@69 2322 uint32_t which;
jpayne@69 2323 xcb_keycode_t minKeyCode;
jpayne@69 2324 xcb_keycode_t maxKeyCode;
jpayne@69 2325 uint8_t nTypes;
jpayne@69 2326 uint8_t groupNames;
jpayne@69 2327 uint16_t virtualMods;
jpayne@69 2328 xcb_keycode_t firstKey;
jpayne@69 2329 uint8_t nKeys;
jpayne@69 2330 uint32_t indicators;
jpayne@69 2331 uint8_t nRadioGroups;
jpayne@69 2332 uint8_t nKeyAliases;
jpayne@69 2333 uint16_t nKTLevels;
jpayne@69 2334 uint8_t pad0[4];
jpayne@69 2335 } xcb_xkb_get_names_reply_t;
jpayne@69 2336
jpayne@69 2337 /**
jpayne@69 2338 * @brief xcb_xkb_set_names_values_t
jpayne@69 2339 **/
jpayne@69 2340 typedef struct xcb_xkb_set_names_values_t {
jpayne@69 2341 xcb_atom_t keycodesName;
jpayne@69 2342 xcb_atom_t geometryName;
jpayne@69 2343 xcb_atom_t symbolsName;
jpayne@69 2344 xcb_atom_t physSymbolsName;
jpayne@69 2345 xcb_atom_t typesName;
jpayne@69 2346 xcb_atom_t compatName;
jpayne@69 2347 xcb_atom_t *typeNames;
jpayne@69 2348 uint8_t *nLevelsPerType;
jpayne@69 2349 xcb_atom_t *ktLevelNames;
jpayne@69 2350 xcb_atom_t *indicatorNames;
jpayne@69 2351 xcb_atom_t *virtualModNames;
jpayne@69 2352 xcb_atom_t *groups;
jpayne@69 2353 xcb_xkb_key_name_t *keyNames;
jpayne@69 2354 xcb_xkb_key_alias_t *keyAliases;
jpayne@69 2355 xcb_atom_t *radioGroupNames;
jpayne@69 2356 } xcb_xkb_set_names_values_t;
jpayne@69 2357
jpayne@69 2358 /** Opcode for xcb_xkb_set_names. */
jpayne@69 2359 #define XCB_XKB_SET_NAMES 18
jpayne@69 2360
jpayne@69 2361 /**
jpayne@69 2362 * @brief xcb_xkb_set_names_request_t
jpayne@69 2363 **/
jpayne@69 2364 typedef struct xcb_xkb_set_names_request_t {
jpayne@69 2365 uint8_t major_opcode;
jpayne@69 2366 uint8_t minor_opcode;
jpayne@69 2367 uint16_t length;
jpayne@69 2368 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2369 uint16_t virtualMods;
jpayne@69 2370 uint32_t which;
jpayne@69 2371 uint8_t firstType;
jpayne@69 2372 uint8_t nTypes;
jpayne@69 2373 uint8_t firstKTLevelt;
jpayne@69 2374 uint8_t nKTLevels;
jpayne@69 2375 uint32_t indicators;
jpayne@69 2376 uint8_t groupNames;
jpayne@69 2377 uint8_t nRadioGroups;
jpayne@69 2378 xcb_keycode_t firstKey;
jpayne@69 2379 uint8_t nKeys;
jpayne@69 2380 uint8_t nKeyAliases;
jpayne@69 2381 uint8_t pad0;
jpayne@69 2382 uint16_t totalKTLevelNames;
jpayne@69 2383 } xcb_xkb_set_names_request_t;
jpayne@69 2384
jpayne@69 2385 /**
jpayne@69 2386 * @brief xcb_xkb_per_client_flags_cookie_t
jpayne@69 2387 **/
jpayne@69 2388 typedef struct xcb_xkb_per_client_flags_cookie_t {
jpayne@69 2389 unsigned int sequence;
jpayne@69 2390 } xcb_xkb_per_client_flags_cookie_t;
jpayne@69 2391
jpayne@69 2392 /** Opcode for xcb_xkb_per_client_flags. */
jpayne@69 2393 #define XCB_XKB_PER_CLIENT_FLAGS 21
jpayne@69 2394
jpayne@69 2395 /**
jpayne@69 2396 * @brief xcb_xkb_per_client_flags_request_t
jpayne@69 2397 **/
jpayne@69 2398 typedef struct xcb_xkb_per_client_flags_request_t {
jpayne@69 2399 uint8_t major_opcode;
jpayne@69 2400 uint8_t minor_opcode;
jpayne@69 2401 uint16_t length;
jpayne@69 2402 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2403 uint8_t pad0[2];
jpayne@69 2404 uint32_t change;
jpayne@69 2405 uint32_t value;
jpayne@69 2406 uint32_t ctrlsToChange;
jpayne@69 2407 uint32_t autoCtrls;
jpayne@69 2408 uint32_t autoCtrlsValues;
jpayne@69 2409 } xcb_xkb_per_client_flags_request_t;
jpayne@69 2410
jpayne@69 2411 /**
jpayne@69 2412 * @brief xcb_xkb_per_client_flags_reply_t
jpayne@69 2413 **/
jpayne@69 2414 typedef struct xcb_xkb_per_client_flags_reply_t {
jpayne@69 2415 uint8_t response_type;
jpayne@69 2416 uint8_t deviceID;
jpayne@69 2417 uint16_t sequence;
jpayne@69 2418 uint32_t length;
jpayne@69 2419 uint32_t supported;
jpayne@69 2420 uint32_t value;
jpayne@69 2421 uint32_t autoCtrls;
jpayne@69 2422 uint32_t autoCtrlsValues;
jpayne@69 2423 uint8_t pad0[8];
jpayne@69 2424 } xcb_xkb_per_client_flags_reply_t;
jpayne@69 2425
jpayne@69 2426 /**
jpayne@69 2427 * @brief xcb_xkb_list_components_cookie_t
jpayne@69 2428 **/
jpayne@69 2429 typedef struct xcb_xkb_list_components_cookie_t {
jpayne@69 2430 unsigned int sequence;
jpayne@69 2431 } xcb_xkb_list_components_cookie_t;
jpayne@69 2432
jpayne@69 2433 /** Opcode for xcb_xkb_list_components. */
jpayne@69 2434 #define XCB_XKB_LIST_COMPONENTS 22
jpayne@69 2435
jpayne@69 2436 /**
jpayne@69 2437 * @brief xcb_xkb_list_components_request_t
jpayne@69 2438 **/
jpayne@69 2439 typedef struct xcb_xkb_list_components_request_t {
jpayne@69 2440 uint8_t major_opcode;
jpayne@69 2441 uint8_t minor_opcode;
jpayne@69 2442 uint16_t length;
jpayne@69 2443 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2444 uint16_t maxNames;
jpayne@69 2445 } xcb_xkb_list_components_request_t;
jpayne@69 2446
jpayne@69 2447 /**
jpayne@69 2448 * @brief xcb_xkb_list_components_reply_t
jpayne@69 2449 **/
jpayne@69 2450 typedef struct xcb_xkb_list_components_reply_t {
jpayne@69 2451 uint8_t response_type;
jpayne@69 2452 uint8_t deviceID;
jpayne@69 2453 uint16_t sequence;
jpayne@69 2454 uint32_t length;
jpayne@69 2455 uint16_t nKeymaps;
jpayne@69 2456 uint16_t nKeycodes;
jpayne@69 2457 uint16_t nTypes;
jpayne@69 2458 uint16_t nCompatMaps;
jpayne@69 2459 uint16_t nSymbols;
jpayne@69 2460 uint16_t nGeometries;
jpayne@69 2461 uint16_t extra;
jpayne@69 2462 uint8_t pad0[10];
jpayne@69 2463 } xcb_xkb_list_components_reply_t;
jpayne@69 2464
jpayne@69 2465 /**
jpayne@69 2466 * @brief xcb_xkb_get_kbd_by_name_cookie_t
jpayne@69 2467 **/
jpayne@69 2468 typedef struct xcb_xkb_get_kbd_by_name_cookie_t {
jpayne@69 2469 unsigned int sequence;
jpayne@69 2470 } xcb_xkb_get_kbd_by_name_cookie_t;
jpayne@69 2471
jpayne@69 2472 /** Opcode for xcb_xkb_get_kbd_by_name. */
jpayne@69 2473 #define XCB_XKB_GET_KBD_BY_NAME 23
jpayne@69 2474
jpayne@69 2475 /**
jpayne@69 2476 * @brief xcb_xkb_get_kbd_by_name_request_t
jpayne@69 2477 **/
jpayne@69 2478 typedef struct xcb_xkb_get_kbd_by_name_request_t {
jpayne@69 2479 uint8_t major_opcode;
jpayne@69 2480 uint8_t minor_opcode;
jpayne@69 2481 uint16_t length;
jpayne@69 2482 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2483 uint16_t need;
jpayne@69 2484 uint16_t want;
jpayne@69 2485 uint8_t load;
jpayne@69 2486 uint8_t pad0;
jpayne@69 2487 } xcb_xkb_get_kbd_by_name_request_t;
jpayne@69 2488
jpayne@69 2489 /**
jpayne@69 2490 * @brief xcb_xkb_get_kbd_by_name_replies_types_map_t
jpayne@69 2491 **/
jpayne@69 2492 typedef struct xcb_xkb_get_kbd_by_name_replies_types_map_t {
jpayne@69 2493 xcb_xkb_key_type_t *types_rtrn;
jpayne@69 2494 xcb_xkb_key_sym_map_t *syms_rtrn;
jpayne@69 2495 uint8_t *acts_rtrn_count;
jpayne@69 2496 xcb_xkb_action_t *acts_rtrn_acts;
jpayne@69 2497 xcb_xkb_set_behavior_t *behaviors_rtrn;
jpayne@69 2498 uint8_t *vmods_rtrn;
jpayne@69 2499 xcb_xkb_set_explicit_t *explicit_rtrn;
jpayne@69 2500 xcb_xkb_key_mod_map_t *modmap_rtrn;
jpayne@69 2501 xcb_xkb_key_v_mod_map_t *vmodmap_rtrn;
jpayne@69 2502 } xcb_xkb_get_kbd_by_name_replies_types_map_t;
jpayne@69 2503
jpayne@69 2504 /**
jpayne@69 2505 * @brief xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t
jpayne@69 2506 **/
jpayne@69 2507 typedef struct xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t {
jpayne@69 2508 xcb_atom_t keycodesName;
jpayne@69 2509 xcb_atom_t geometryName;
jpayne@69 2510 xcb_atom_t symbolsName;
jpayne@69 2511 xcb_atom_t physSymbolsName;
jpayne@69 2512 xcb_atom_t typesName;
jpayne@69 2513 xcb_atom_t compatName;
jpayne@69 2514 xcb_atom_t *typeNames;
jpayne@69 2515 uint8_t *nLevelsPerType;
jpayne@69 2516 xcb_atom_t *ktLevelNames;
jpayne@69 2517 xcb_atom_t *indicatorNames;
jpayne@69 2518 xcb_atom_t *virtualModNames;
jpayne@69 2519 xcb_atom_t *groups;
jpayne@69 2520 xcb_xkb_key_name_t *keyNames;
jpayne@69 2521 xcb_xkb_key_alias_t *keyAliases;
jpayne@69 2522 xcb_atom_t *radioGroupNames;
jpayne@69 2523 } xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t;
jpayne@69 2524
jpayne@69 2525 /**
jpayne@69 2526 * @brief xcb_xkb_get_kbd_by_name_replies_t
jpayne@69 2527 **/
jpayne@69 2528 typedef struct xcb_xkb_get_kbd_by_name_replies_t {
jpayne@69 2529 struct {
jpayne@69 2530 uint8_t getmap_type;
jpayne@69 2531 uint8_t typeDeviceID;
jpayne@69 2532 uint16_t getmap_sequence;
jpayne@69 2533 uint32_t getmap_length;
jpayne@69 2534 uint8_t pad1[2];
jpayne@69 2535 xcb_keycode_t typeMinKeyCode;
jpayne@69 2536 xcb_keycode_t typeMaxKeyCode;
jpayne@69 2537 uint16_t present;
jpayne@69 2538 uint8_t firstType;
jpayne@69 2539 uint8_t nTypes;
jpayne@69 2540 uint8_t totalTypes;
jpayne@69 2541 xcb_keycode_t firstKeySym;
jpayne@69 2542 uint16_t totalSyms;
jpayne@69 2543 uint8_t nKeySyms;
jpayne@69 2544 xcb_keycode_t firstKeyAction;
jpayne@69 2545 uint16_t totalActions;
jpayne@69 2546 uint8_t nKeyActions;
jpayne@69 2547 xcb_keycode_t firstKeyBehavior;
jpayne@69 2548 uint8_t nKeyBehaviors;
jpayne@69 2549 uint8_t totalKeyBehaviors;
jpayne@69 2550 xcb_keycode_t firstKeyExplicit;
jpayne@69 2551 uint8_t nKeyExplicit;
jpayne@69 2552 uint8_t totalKeyExplicit;
jpayne@69 2553 xcb_keycode_t firstModMapKey;
jpayne@69 2554 uint8_t nModMapKeys;
jpayne@69 2555 uint8_t totalModMapKeys;
jpayne@69 2556 xcb_keycode_t firstVModMapKey;
jpayne@69 2557 uint8_t nVModMapKeys;
jpayne@69 2558 uint8_t totalVModMapKeys;
jpayne@69 2559 uint8_t pad2;
jpayne@69 2560 uint16_t virtualMods;
jpayne@69 2561 xcb_xkb_get_kbd_by_name_replies_types_map_t map;
jpayne@69 2562 } types;
jpayne@69 2563 struct {
jpayne@69 2564 uint8_t compatmap_type;
jpayne@69 2565 uint8_t compatDeviceID;
jpayne@69 2566 uint16_t compatmap_sequence;
jpayne@69 2567 uint32_t compatmap_length;
jpayne@69 2568 uint8_t groupsRtrn;
jpayne@69 2569 uint8_t pad7;
jpayne@69 2570 uint16_t firstSIRtrn;
jpayne@69 2571 uint16_t nSIRtrn;
jpayne@69 2572 uint16_t nTotalSI;
jpayne@69 2573 uint8_t pad8[16];
jpayne@69 2574 xcb_xkb_sym_interpret_t *si_rtrn;
jpayne@69 2575 xcb_xkb_mod_def_t *group_rtrn;
jpayne@69 2576 } compat_map;
jpayne@69 2577 struct {
jpayne@69 2578 uint8_t indicatormap_type;
jpayne@69 2579 uint8_t indicatorDeviceID;
jpayne@69 2580 uint16_t indicatormap_sequence;
jpayne@69 2581 uint32_t indicatormap_length;
jpayne@69 2582 uint32_t which;
jpayne@69 2583 uint32_t realIndicators;
jpayne@69 2584 uint8_t nIndicators;
jpayne@69 2585 uint8_t pad9[15];
jpayne@69 2586 xcb_xkb_indicator_map_t *maps;
jpayne@69 2587 } indicator_maps;
jpayne@69 2588 struct {
jpayne@69 2589 uint8_t keyname_type;
jpayne@69 2590 uint8_t keyDeviceID;
jpayne@69 2591 uint16_t keyname_sequence;
jpayne@69 2592 uint32_t keyname_length;
jpayne@69 2593 uint32_t which;
jpayne@69 2594 xcb_keycode_t keyMinKeyCode;
jpayne@69 2595 xcb_keycode_t keyMaxKeyCode;
jpayne@69 2596 uint8_t nTypes;
jpayne@69 2597 uint8_t groupNames;
jpayne@69 2598 uint16_t virtualMods;
jpayne@69 2599 xcb_keycode_t firstKey;
jpayne@69 2600 uint8_t nKeys;
jpayne@69 2601 uint32_t indicators;
jpayne@69 2602 uint8_t nRadioGroups;
jpayne@69 2603 uint8_t nKeyAliases;
jpayne@69 2604 uint16_t nKTLevels;
jpayne@69 2605 uint8_t pad10[4];
jpayne@69 2606 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t valueList;
jpayne@69 2607 } key_names;
jpayne@69 2608 struct {
jpayne@69 2609 uint8_t geometry_type;
jpayne@69 2610 uint8_t geometryDeviceID;
jpayne@69 2611 uint16_t geometry_sequence;
jpayne@69 2612 uint32_t geometry_length;
jpayne@69 2613 xcb_atom_t name;
jpayne@69 2614 uint8_t geometryFound;
jpayne@69 2615 uint8_t pad12;
jpayne@69 2616 uint16_t widthMM;
jpayne@69 2617 uint16_t heightMM;
jpayne@69 2618 uint16_t nProperties;
jpayne@69 2619 uint16_t nColors;
jpayne@69 2620 uint16_t nShapes;
jpayne@69 2621 uint16_t nSections;
jpayne@69 2622 uint16_t nDoodads;
jpayne@69 2623 uint16_t nKeyAliases;
jpayne@69 2624 uint8_t baseColorNdx;
jpayne@69 2625 uint8_t labelColorNdx;
jpayne@69 2626 xcb_xkb_counted_string_16_t *labelFont;
jpayne@69 2627 } geometry;
jpayne@69 2628 } xcb_xkb_get_kbd_by_name_replies_t;
jpayne@69 2629
jpayne@69 2630 xcb_xkb_get_kbd_by_name_replies_types_map_t *
jpayne@69 2631 xcb_xkb_get_kbd_by_name_replies_types_map (const xcb_xkb_get_kbd_by_name_replies_t *R);
jpayne@69 2632
jpayne@69 2633 /**
jpayne@69 2634 * @brief xcb_xkb_get_kbd_by_name_reply_t
jpayne@69 2635 **/
jpayne@69 2636 typedef struct xcb_xkb_get_kbd_by_name_reply_t {
jpayne@69 2637 uint8_t response_type;
jpayne@69 2638 uint8_t deviceID;
jpayne@69 2639 uint16_t sequence;
jpayne@69 2640 uint32_t length;
jpayne@69 2641 xcb_keycode_t minKeyCode;
jpayne@69 2642 xcb_keycode_t maxKeyCode;
jpayne@69 2643 uint8_t loaded;
jpayne@69 2644 uint8_t newKeyboard;
jpayne@69 2645 uint16_t found;
jpayne@69 2646 uint16_t reported;
jpayne@69 2647 uint8_t pad0[16];
jpayne@69 2648 } xcb_xkb_get_kbd_by_name_reply_t;
jpayne@69 2649
jpayne@69 2650 /**
jpayne@69 2651 * @brief xcb_xkb_get_device_info_cookie_t
jpayne@69 2652 **/
jpayne@69 2653 typedef struct xcb_xkb_get_device_info_cookie_t {
jpayne@69 2654 unsigned int sequence;
jpayne@69 2655 } xcb_xkb_get_device_info_cookie_t;
jpayne@69 2656
jpayne@69 2657 /** Opcode for xcb_xkb_get_device_info. */
jpayne@69 2658 #define XCB_XKB_GET_DEVICE_INFO 24
jpayne@69 2659
jpayne@69 2660 /**
jpayne@69 2661 * @brief xcb_xkb_get_device_info_request_t
jpayne@69 2662 **/
jpayne@69 2663 typedef struct xcb_xkb_get_device_info_request_t {
jpayne@69 2664 uint8_t major_opcode;
jpayne@69 2665 uint8_t minor_opcode;
jpayne@69 2666 uint16_t length;
jpayne@69 2667 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2668 uint16_t wanted;
jpayne@69 2669 uint8_t allButtons;
jpayne@69 2670 uint8_t firstButton;
jpayne@69 2671 uint8_t nButtons;
jpayne@69 2672 uint8_t pad0;
jpayne@69 2673 xcb_xkb_led_class_spec_t ledClass;
jpayne@69 2674 xcb_xkb_id_spec_t ledID;
jpayne@69 2675 } xcb_xkb_get_device_info_request_t;
jpayne@69 2676
jpayne@69 2677 /**
jpayne@69 2678 * @brief xcb_xkb_get_device_info_reply_t
jpayne@69 2679 **/
jpayne@69 2680 typedef struct xcb_xkb_get_device_info_reply_t {
jpayne@69 2681 uint8_t response_type;
jpayne@69 2682 uint8_t deviceID;
jpayne@69 2683 uint16_t sequence;
jpayne@69 2684 uint32_t length;
jpayne@69 2685 uint16_t present;
jpayne@69 2686 uint16_t supported;
jpayne@69 2687 uint16_t unsupported;
jpayne@69 2688 uint16_t nDeviceLedFBs;
jpayne@69 2689 uint8_t firstBtnWanted;
jpayne@69 2690 uint8_t nBtnsWanted;
jpayne@69 2691 uint8_t firstBtnRtrn;
jpayne@69 2692 uint8_t nBtnsRtrn;
jpayne@69 2693 uint8_t totalBtns;
jpayne@69 2694 uint8_t hasOwnState;
jpayne@69 2695 uint16_t dfltKbdFB;
jpayne@69 2696 uint16_t dfltLedFB;
jpayne@69 2697 uint8_t pad0[2];
jpayne@69 2698 xcb_atom_t devType;
jpayne@69 2699 uint16_t nameLen;
jpayne@69 2700 } xcb_xkb_get_device_info_reply_t;
jpayne@69 2701
jpayne@69 2702 /** Opcode for xcb_xkb_set_device_info. */
jpayne@69 2703 #define XCB_XKB_SET_DEVICE_INFO 25
jpayne@69 2704
jpayne@69 2705 /**
jpayne@69 2706 * @brief xcb_xkb_set_device_info_request_t
jpayne@69 2707 **/
jpayne@69 2708 typedef struct xcb_xkb_set_device_info_request_t {
jpayne@69 2709 uint8_t major_opcode;
jpayne@69 2710 uint8_t minor_opcode;
jpayne@69 2711 uint16_t length;
jpayne@69 2712 xcb_xkb_device_spec_t deviceSpec;
jpayne@69 2713 uint8_t firstBtn;
jpayne@69 2714 uint8_t nBtns;
jpayne@69 2715 uint16_t change;
jpayne@69 2716 uint16_t nDeviceLedFBs;
jpayne@69 2717 } xcb_xkb_set_device_info_request_t;
jpayne@69 2718
jpayne@69 2719 /**
jpayne@69 2720 * @brief xcb_xkb_set_debugging_flags_cookie_t
jpayne@69 2721 **/
jpayne@69 2722 typedef struct xcb_xkb_set_debugging_flags_cookie_t {
jpayne@69 2723 unsigned int sequence;
jpayne@69 2724 } xcb_xkb_set_debugging_flags_cookie_t;
jpayne@69 2725
jpayne@69 2726 /** Opcode for xcb_xkb_set_debugging_flags. */
jpayne@69 2727 #define XCB_XKB_SET_DEBUGGING_FLAGS 101
jpayne@69 2728
jpayne@69 2729 /**
jpayne@69 2730 * @brief xcb_xkb_set_debugging_flags_request_t
jpayne@69 2731 **/
jpayne@69 2732 typedef struct xcb_xkb_set_debugging_flags_request_t {
jpayne@69 2733 uint8_t major_opcode;
jpayne@69 2734 uint8_t minor_opcode;
jpayne@69 2735 uint16_t length;
jpayne@69 2736 uint16_t msgLength;
jpayne@69 2737 uint8_t pad0[2];
jpayne@69 2738 uint32_t affectFlags;
jpayne@69 2739 uint32_t flags;
jpayne@69 2740 uint32_t affectCtrls;
jpayne@69 2741 uint32_t ctrls;
jpayne@69 2742 } xcb_xkb_set_debugging_flags_request_t;
jpayne@69 2743
jpayne@69 2744 /**
jpayne@69 2745 * @brief xcb_xkb_set_debugging_flags_reply_t
jpayne@69 2746 **/
jpayne@69 2747 typedef struct xcb_xkb_set_debugging_flags_reply_t {
jpayne@69 2748 uint8_t response_type;
jpayne@69 2749 uint8_t pad0;
jpayne@69 2750 uint16_t sequence;
jpayne@69 2751 uint32_t length;
jpayne@69 2752 uint32_t currentFlags;
jpayne@69 2753 uint32_t currentCtrls;
jpayne@69 2754 uint32_t supportedFlags;
jpayne@69 2755 uint32_t supportedCtrls;
jpayne@69 2756 uint8_t pad1[8];
jpayne@69 2757 } xcb_xkb_set_debugging_flags_reply_t;
jpayne@69 2758
jpayne@69 2759 /** Opcode for xcb_xkb_new_keyboard_notify. */
jpayne@69 2760 #define XCB_XKB_NEW_KEYBOARD_NOTIFY 0
jpayne@69 2761
jpayne@69 2762 /**
jpayne@69 2763 * @brief xcb_xkb_new_keyboard_notify_event_t
jpayne@69 2764 **/
jpayne@69 2765 typedef struct xcb_xkb_new_keyboard_notify_event_t {
jpayne@69 2766 uint8_t response_type;
jpayne@69 2767 uint8_t xkbType;
jpayne@69 2768 uint16_t sequence;
jpayne@69 2769 xcb_timestamp_t time;
jpayne@69 2770 uint8_t deviceID;
jpayne@69 2771 uint8_t oldDeviceID;
jpayne@69 2772 xcb_keycode_t minKeyCode;
jpayne@69 2773 xcb_keycode_t maxKeyCode;
jpayne@69 2774 xcb_keycode_t oldMinKeyCode;
jpayne@69 2775 xcb_keycode_t oldMaxKeyCode;
jpayne@69 2776 uint8_t requestMajor;
jpayne@69 2777 uint8_t requestMinor;
jpayne@69 2778 uint16_t changed;
jpayne@69 2779 uint8_t pad0[14];
jpayne@69 2780 } xcb_xkb_new_keyboard_notify_event_t;
jpayne@69 2781
jpayne@69 2782 /** Opcode for xcb_xkb_map_notify. */
jpayne@69 2783 #define XCB_XKB_MAP_NOTIFY 1
jpayne@69 2784
jpayne@69 2785 /**
jpayne@69 2786 * @brief xcb_xkb_map_notify_event_t
jpayne@69 2787 **/
jpayne@69 2788 typedef struct xcb_xkb_map_notify_event_t {
jpayne@69 2789 uint8_t response_type;
jpayne@69 2790 uint8_t xkbType;
jpayne@69 2791 uint16_t sequence;
jpayne@69 2792 xcb_timestamp_t time;
jpayne@69 2793 uint8_t deviceID;
jpayne@69 2794 uint8_t ptrBtnActions;
jpayne@69 2795 uint16_t changed;
jpayne@69 2796 xcb_keycode_t minKeyCode;
jpayne@69 2797 xcb_keycode_t maxKeyCode;
jpayne@69 2798 uint8_t firstType;
jpayne@69 2799 uint8_t nTypes;
jpayne@69 2800 xcb_keycode_t firstKeySym;
jpayne@69 2801 uint8_t nKeySyms;
jpayne@69 2802 xcb_keycode_t firstKeyAct;
jpayne@69 2803 uint8_t nKeyActs;
jpayne@69 2804 xcb_keycode_t firstKeyBehavior;
jpayne@69 2805 uint8_t nKeyBehavior;
jpayne@69 2806 xcb_keycode_t firstKeyExplicit;
jpayne@69 2807 uint8_t nKeyExplicit;
jpayne@69 2808 xcb_keycode_t firstModMapKey;
jpayne@69 2809 uint8_t nModMapKeys;
jpayne@69 2810 xcb_keycode_t firstVModMapKey;
jpayne@69 2811 uint8_t nVModMapKeys;
jpayne@69 2812 uint16_t virtualMods;
jpayne@69 2813 uint8_t pad0[2];
jpayne@69 2814 } xcb_xkb_map_notify_event_t;
jpayne@69 2815
jpayne@69 2816 /** Opcode for xcb_xkb_state_notify. */
jpayne@69 2817 #define XCB_XKB_STATE_NOTIFY 2
jpayne@69 2818
jpayne@69 2819 /**
jpayne@69 2820 * @brief xcb_xkb_state_notify_event_t
jpayne@69 2821 **/
jpayne@69 2822 typedef struct xcb_xkb_state_notify_event_t {
jpayne@69 2823 uint8_t response_type;
jpayne@69 2824 uint8_t xkbType;
jpayne@69 2825 uint16_t sequence;
jpayne@69 2826 xcb_timestamp_t time;
jpayne@69 2827 uint8_t deviceID;
jpayne@69 2828 uint8_t mods;
jpayne@69 2829 uint8_t baseMods;
jpayne@69 2830 uint8_t latchedMods;
jpayne@69 2831 uint8_t lockedMods;
jpayne@69 2832 uint8_t group;
jpayne@69 2833 int16_t baseGroup;
jpayne@69 2834 int16_t latchedGroup;
jpayne@69 2835 uint8_t lockedGroup;
jpayne@69 2836 uint8_t compatState;
jpayne@69 2837 uint8_t grabMods;
jpayne@69 2838 uint8_t compatGrabMods;
jpayne@69 2839 uint8_t lookupMods;
jpayne@69 2840 uint8_t compatLoockupMods;
jpayne@69 2841 uint16_t ptrBtnState;
jpayne@69 2842 uint16_t changed;
jpayne@69 2843 xcb_keycode_t keycode;
jpayne@69 2844 uint8_t eventType;
jpayne@69 2845 uint8_t requestMajor;
jpayne@69 2846 uint8_t requestMinor;
jpayne@69 2847 } xcb_xkb_state_notify_event_t;
jpayne@69 2848
jpayne@69 2849 /** Opcode for xcb_xkb_controls_notify. */
jpayne@69 2850 #define XCB_XKB_CONTROLS_NOTIFY 3
jpayne@69 2851
jpayne@69 2852 /**
jpayne@69 2853 * @brief xcb_xkb_controls_notify_event_t
jpayne@69 2854 **/
jpayne@69 2855 typedef struct xcb_xkb_controls_notify_event_t {
jpayne@69 2856 uint8_t response_type;
jpayne@69 2857 uint8_t xkbType;
jpayne@69 2858 uint16_t sequence;
jpayne@69 2859 xcb_timestamp_t time;
jpayne@69 2860 uint8_t deviceID;
jpayne@69 2861 uint8_t numGroups;
jpayne@69 2862 uint8_t pad0[2];
jpayne@69 2863 uint32_t changedControls;
jpayne@69 2864 uint32_t enabledControls;
jpayne@69 2865 uint32_t enabledControlChanges;
jpayne@69 2866 xcb_keycode_t keycode;
jpayne@69 2867 uint8_t eventType;
jpayne@69 2868 uint8_t requestMajor;
jpayne@69 2869 uint8_t requestMinor;
jpayne@69 2870 uint8_t pad1[4];
jpayne@69 2871 } xcb_xkb_controls_notify_event_t;
jpayne@69 2872
jpayne@69 2873 /** Opcode for xcb_xkb_indicator_state_notify. */
jpayne@69 2874 #define XCB_XKB_INDICATOR_STATE_NOTIFY 4
jpayne@69 2875
jpayne@69 2876 /**
jpayne@69 2877 * @brief xcb_xkb_indicator_state_notify_event_t
jpayne@69 2878 **/
jpayne@69 2879 typedef struct xcb_xkb_indicator_state_notify_event_t {
jpayne@69 2880 uint8_t response_type;
jpayne@69 2881 uint8_t xkbType;
jpayne@69 2882 uint16_t sequence;
jpayne@69 2883 xcb_timestamp_t time;
jpayne@69 2884 uint8_t deviceID;
jpayne@69 2885 uint8_t pad0[3];
jpayne@69 2886 uint32_t state;
jpayne@69 2887 uint32_t stateChanged;
jpayne@69 2888 uint8_t pad1[12];
jpayne@69 2889 } xcb_xkb_indicator_state_notify_event_t;
jpayne@69 2890
jpayne@69 2891 /** Opcode for xcb_xkb_indicator_map_notify. */
jpayne@69 2892 #define XCB_XKB_INDICATOR_MAP_NOTIFY 5
jpayne@69 2893
jpayne@69 2894 /**
jpayne@69 2895 * @brief xcb_xkb_indicator_map_notify_event_t
jpayne@69 2896 **/
jpayne@69 2897 typedef struct xcb_xkb_indicator_map_notify_event_t {
jpayne@69 2898 uint8_t response_type;
jpayne@69 2899 uint8_t xkbType;
jpayne@69 2900 uint16_t sequence;
jpayne@69 2901 xcb_timestamp_t time;
jpayne@69 2902 uint8_t deviceID;
jpayne@69 2903 uint8_t pad0[3];
jpayne@69 2904 uint32_t state;
jpayne@69 2905 uint32_t mapChanged;
jpayne@69 2906 uint8_t pad1[12];
jpayne@69 2907 } xcb_xkb_indicator_map_notify_event_t;
jpayne@69 2908
jpayne@69 2909 /** Opcode for xcb_xkb_names_notify. */
jpayne@69 2910 #define XCB_XKB_NAMES_NOTIFY 6
jpayne@69 2911
jpayne@69 2912 /**
jpayne@69 2913 * @brief xcb_xkb_names_notify_event_t
jpayne@69 2914 **/
jpayne@69 2915 typedef struct xcb_xkb_names_notify_event_t {
jpayne@69 2916 uint8_t response_type;
jpayne@69 2917 uint8_t xkbType;
jpayne@69 2918 uint16_t sequence;
jpayne@69 2919 xcb_timestamp_t time;
jpayne@69 2920 uint8_t deviceID;
jpayne@69 2921 uint8_t pad0;
jpayne@69 2922 uint16_t changed;
jpayne@69 2923 uint8_t firstType;
jpayne@69 2924 uint8_t nTypes;
jpayne@69 2925 uint8_t firstLevelName;
jpayne@69 2926 uint8_t nLevelNames;
jpayne@69 2927 uint8_t pad1;
jpayne@69 2928 uint8_t nRadioGroups;
jpayne@69 2929 uint8_t nKeyAliases;
jpayne@69 2930 uint8_t changedGroupNames;
jpayne@69 2931 uint16_t changedVirtualMods;
jpayne@69 2932 xcb_keycode_t firstKey;
jpayne@69 2933 uint8_t nKeys;
jpayne@69 2934 uint32_t changedIndicators;
jpayne@69 2935 uint8_t pad2[4];
jpayne@69 2936 } xcb_xkb_names_notify_event_t;
jpayne@69 2937
jpayne@69 2938 /** Opcode for xcb_xkb_compat_map_notify. */
jpayne@69 2939 #define XCB_XKB_COMPAT_MAP_NOTIFY 7
jpayne@69 2940
jpayne@69 2941 /**
jpayne@69 2942 * @brief xcb_xkb_compat_map_notify_event_t
jpayne@69 2943 **/
jpayne@69 2944 typedef struct xcb_xkb_compat_map_notify_event_t {
jpayne@69 2945 uint8_t response_type;
jpayne@69 2946 uint8_t xkbType;
jpayne@69 2947 uint16_t sequence;
jpayne@69 2948 xcb_timestamp_t time;
jpayne@69 2949 uint8_t deviceID;
jpayne@69 2950 uint8_t changedGroups;
jpayne@69 2951 uint16_t firstSI;
jpayne@69 2952 uint16_t nSI;
jpayne@69 2953 uint16_t nTotalSI;
jpayne@69 2954 uint8_t pad0[16];
jpayne@69 2955 } xcb_xkb_compat_map_notify_event_t;
jpayne@69 2956
jpayne@69 2957 /** Opcode for xcb_xkb_bell_notify. */
jpayne@69 2958 #define XCB_XKB_BELL_NOTIFY 8
jpayne@69 2959
jpayne@69 2960 /**
jpayne@69 2961 * @brief xcb_xkb_bell_notify_event_t
jpayne@69 2962 **/
jpayne@69 2963 typedef struct xcb_xkb_bell_notify_event_t {
jpayne@69 2964 uint8_t response_type;
jpayne@69 2965 uint8_t xkbType;
jpayne@69 2966 uint16_t sequence;
jpayne@69 2967 xcb_timestamp_t time;
jpayne@69 2968 uint8_t deviceID;
jpayne@69 2969 uint8_t bellClass;
jpayne@69 2970 uint8_t bellID;
jpayne@69 2971 uint8_t percent;
jpayne@69 2972 uint16_t pitch;
jpayne@69 2973 uint16_t duration;
jpayne@69 2974 xcb_atom_t name;
jpayne@69 2975 xcb_window_t window;
jpayne@69 2976 uint8_t eventOnly;
jpayne@69 2977 uint8_t pad0[7];
jpayne@69 2978 } xcb_xkb_bell_notify_event_t;
jpayne@69 2979
jpayne@69 2980 /** Opcode for xcb_xkb_action_message. */
jpayne@69 2981 #define XCB_XKB_ACTION_MESSAGE 9
jpayne@69 2982
jpayne@69 2983 /**
jpayne@69 2984 * @brief xcb_xkb_action_message_event_t
jpayne@69 2985 **/
jpayne@69 2986 typedef struct xcb_xkb_action_message_event_t {
jpayne@69 2987 uint8_t response_type;
jpayne@69 2988 uint8_t xkbType;
jpayne@69 2989 uint16_t sequence;
jpayne@69 2990 xcb_timestamp_t time;
jpayne@69 2991 uint8_t deviceID;
jpayne@69 2992 xcb_keycode_t keycode;
jpayne@69 2993 uint8_t press;
jpayne@69 2994 uint8_t keyEventFollows;
jpayne@69 2995 uint8_t mods;
jpayne@69 2996 uint8_t group;
jpayne@69 2997 xcb_xkb_string8_t message[8];
jpayne@69 2998 uint8_t pad0[10];
jpayne@69 2999 } xcb_xkb_action_message_event_t;
jpayne@69 3000
jpayne@69 3001 /** Opcode for xcb_xkb_access_x_notify. */
jpayne@69 3002 #define XCB_XKB_ACCESS_X_NOTIFY 10
jpayne@69 3003
jpayne@69 3004 /**
jpayne@69 3005 * @brief xcb_xkb_access_x_notify_event_t
jpayne@69 3006 **/
jpayne@69 3007 typedef struct xcb_xkb_access_x_notify_event_t {
jpayne@69 3008 uint8_t response_type;
jpayne@69 3009 uint8_t xkbType;
jpayne@69 3010 uint16_t sequence;
jpayne@69 3011 xcb_timestamp_t time;
jpayne@69 3012 uint8_t deviceID;
jpayne@69 3013 xcb_keycode_t keycode;
jpayne@69 3014 uint16_t detailt;
jpayne@69 3015 uint16_t slowKeysDelay;
jpayne@69 3016 uint16_t debounceDelay;
jpayne@69 3017 uint8_t pad0[16];
jpayne@69 3018 } xcb_xkb_access_x_notify_event_t;
jpayne@69 3019
jpayne@69 3020 /** Opcode for xcb_xkb_extension_device_notify. */
jpayne@69 3021 #define XCB_XKB_EXTENSION_DEVICE_NOTIFY 11
jpayne@69 3022
jpayne@69 3023 /**
jpayne@69 3024 * @brief xcb_xkb_extension_device_notify_event_t
jpayne@69 3025 **/
jpayne@69 3026 typedef struct xcb_xkb_extension_device_notify_event_t {
jpayne@69 3027 uint8_t response_type;
jpayne@69 3028 uint8_t xkbType;
jpayne@69 3029 uint16_t sequence;
jpayne@69 3030 xcb_timestamp_t time;
jpayne@69 3031 uint8_t deviceID;
jpayne@69 3032 uint8_t pad0;
jpayne@69 3033 uint16_t reason;
jpayne@69 3034 uint16_t ledClass;
jpayne@69 3035 uint16_t ledID;
jpayne@69 3036 uint32_t ledsDefined;
jpayne@69 3037 uint32_t ledState;
jpayne@69 3038 uint8_t firstButton;
jpayne@69 3039 uint8_t nButtons;
jpayne@69 3040 uint16_t supported;
jpayne@69 3041 uint16_t unsupported;
jpayne@69 3042 uint8_t pad1[2];
jpayne@69 3043 } xcb_xkb_extension_device_notify_event_t;
jpayne@69 3044
jpayne@69 3045 /**
jpayne@69 3046 * Get the next element of the iterator
jpayne@69 3047 * @param i Pointer to a xcb_xkb_device_spec_iterator_t
jpayne@69 3048 *
jpayne@69 3049 * Get the next element in the iterator. The member rem is
jpayne@69 3050 * decreased by one. The member data points to the next
jpayne@69 3051 * element. The member index is increased by sizeof(xcb_xkb_device_spec_t)
jpayne@69 3052 */
jpayne@69 3053 void
jpayne@69 3054 xcb_xkb_device_spec_next (xcb_xkb_device_spec_iterator_t *i);
jpayne@69 3055
jpayne@69 3056 /**
jpayne@69 3057 * Return the iterator pointing to the last element
jpayne@69 3058 * @param i An xcb_xkb_device_spec_iterator_t
jpayne@69 3059 * @return The iterator pointing to the last element
jpayne@69 3060 *
jpayne@69 3061 * Set the current element in the iterator to the last element.
jpayne@69 3062 * The member rem is set to 0. The member data points to the
jpayne@69 3063 * last element.
jpayne@69 3064 */
jpayne@69 3065 xcb_generic_iterator_t
jpayne@69 3066 xcb_xkb_device_spec_end (xcb_xkb_device_spec_iterator_t i);
jpayne@69 3067
jpayne@69 3068 /**
jpayne@69 3069 * Get the next element of the iterator
jpayne@69 3070 * @param i Pointer to a xcb_xkb_led_class_spec_iterator_t
jpayne@69 3071 *
jpayne@69 3072 * Get the next element in the iterator. The member rem is
jpayne@69 3073 * decreased by one. The member data points to the next
jpayne@69 3074 * element. The member index is increased by sizeof(xcb_xkb_led_class_spec_t)
jpayne@69 3075 */
jpayne@69 3076 void
jpayne@69 3077 xcb_xkb_led_class_spec_next (xcb_xkb_led_class_spec_iterator_t *i);
jpayne@69 3078
jpayne@69 3079 /**
jpayne@69 3080 * Return the iterator pointing to the last element
jpayne@69 3081 * @param i An xcb_xkb_led_class_spec_iterator_t
jpayne@69 3082 * @return The iterator pointing to the last element
jpayne@69 3083 *
jpayne@69 3084 * Set the current element in the iterator to the last element.
jpayne@69 3085 * The member rem is set to 0. The member data points to the
jpayne@69 3086 * last element.
jpayne@69 3087 */
jpayne@69 3088 xcb_generic_iterator_t
jpayne@69 3089 xcb_xkb_led_class_spec_end (xcb_xkb_led_class_spec_iterator_t i);
jpayne@69 3090
jpayne@69 3091 /**
jpayne@69 3092 * Get the next element of the iterator
jpayne@69 3093 * @param i Pointer to a xcb_xkb_bell_class_spec_iterator_t
jpayne@69 3094 *
jpayne@69 3095 * Get the next element in the iterator. The member rem is
jpayne@69 3096 * decreased by one. The member data points to the next
jpayne@69 3097 * element. The member index is increased by sizeof(xcb_xkb_bell_class_spec_t)
jpayne@69 3098 */
jpayne@69 3099 void
jpayne@69 3100 xcb_xkb_bell_class_spec_next (xcb_xkb_bell_class_spec_iterator_t *i);
jpayne@69 3101
jpayne@69 3102 /**
jpayne@69 3103 * Return the iterator pointing to the last element
jpayne@69 3104 * @param i An xcb_xkb_bell_class_spec_iterator_t
jpayne@69 3105 * @return The iterator pointing to the last element
jpayne@69 3106 *
jpayne@69 3107 * Set the current element in the iterator to the last element.
jpayne@69 3108 * The member rem is set to 0. The member data points to the
jpayne@69 3109 * last element.
jpayne@69 3110 */
jpayne@69 3111 xcb_generic_iterator_t
jpayne@69 3112 xcb_xkb_bell_class_spec_end (xcb_xkb_bell_class_spec_iterator_t i);
jpayne@69 3113
jpayne@69 3114 /**
jpayne@69 3115 * Get the next element of the iterator
jpayne@69 3116 * @param i Pointer to a xcb_xkb_id_spec_iterator_t
jpayne@69 3117 *
jpayne@69 3118 * Get the next element in the iterator. The member rem is
jpayne@69 3119 * decreased by one. The member data points to the next
jpayne@69 3120 * element. The member index is increased by sizeof(xcb_xkb_id_spec_t)
jpayne@69 3121 */
jpayne@69 3122 void
jpayne@69 3123 xcb_xkb_id_spec_next (xcb_xkb_id_spec_iterator_t *i);
jpayne@69 3124
jpayne@69 3125 /**
jpayne@69 3126 * Return the iterator pointing to the last element
jpayne@69 3127 * @param i An xcb_xkb_id_spec_iterator_t
jpayne@69 3128 * @return The iterator pointing to the last element
jpayne@69 3129 *
jpayne@69 3130 * Set the current element in the iterator to the last element.
jpayne@69 3131 * The member rem is set to 0. The member data points to the
jpayne@69 3132 * last element.
jpayne@69 3133 */
jpayne@69 3134 xcb_generic_iterator_t
jpayne@69 3135 xcb_xkb_id_spec_end (xcb_xkb_id_spec_iterator_t i);
jpayne@69 3136
jpayne@69 3137 /**
jpayne@69 3138 * Get the next element of the iterator
jpayne@69 3139 * @param i Pointer to a xcb_xkb_indicator_map_iterator_t
jpayne@69 3140 *
jpayne@69 3141 * Get the next element in the iterator. The member rem is
jpayne@69 3142 * decreased by one. The member data points to the next
jpayne@69 3143 * element. The member index is increased by sizeof(xcb_xkb_indicator_map_t)
jpayne@69 3144 */
jpayne@69 3145 void
jpayne@69 3146 xcb_xkb_indicator_map_next (xcb_xkb_indicator_map_iterator_t *i);
jpayne@69 3147
jpayne@69 3148 /**
jpayne@69 3149 * Return the iterator pointing to the last element
jpayne@69 3150 * @param i An xcb_xkb_indicator_map_iterator_t
jpayne@69 3151 * @return The iterator pointing to the last element
jpayne@69 3152 *
jpayne@69 3153 * Set the current element in the iterator to the last element.
jpayne@69 3154 * The member rem is set to 0. The member data points to the
jpayne@69 3155 * last element.
jpayne@69 3156 */
jpayne@69 3157 xcb_generic_iterator_t
jpayne@69 3158 xcb_xkb_indicator_map_end (xcb_xkb_indicator_map_iterator_t i);
jpayne@69 3159
jpayne@69 3160 /**
jpayne@69 3161 * Get the next element of the iterator
jpayne@69 3162 * @param i Pointer to a xcb_xkb_mod_def_iterator_t
jpayne@69 3163 *
jpayne@69 3164 * Get the next element in the iterator. The member rem is
jpayne@69 3165 * decreased by one. The member data points to the next
jpayne@69 3166 * element. The member index is increased by sizeof(xcb_xkb_mod_def_t)
jpayne@69 3167 */
jpayne@69 3168 void
jpayne@69 3169 xcb_xkb_mod_def_next (xcb_xkb_mod_def_iterator_t *i);
jpayne@69 3170
jpayne@69 3171 /**
jpayne@69 3172 * Return the iterator pointing to the last element
jpayne@69 3173 * @param i An xcb_xkb_mod_def_iterator_t
jpayne@69 3174 * @return The iterator pointing to the last element
jpayne@69 3175 *
jpayne@69 3176 * Set the current element in the iterator to the last element.
jpayne@69 3177 * The member rem is set to 0. The member data points to the
jpayne@69 3178 * last element.
jpayne@69 3179 */
jpayne@69 3180 xcb_generic_iterator_t
jpayne@69 3181 xcb_xkb_mod_def_end (xcb_xkb_mod_def_iterator_t i);
jpayne@69 3182
jpayne@69 3183 /**
jpayne@69 3184 * Get the next element of the iterator
jpayne@69 3185 * @param i Pointer to a xcb_xkb_key_name_iterator_t
jpayne@69 3186 *
jpayne@69 3187 * Get the next element in the iterator. The member rem is
jpayne@69 3188 * decreased by one. The member data points to the next
jpayne@69 3189 * element. The member index is increased by sizeof(xcb_xkb_key_name_t)
jpayne@69 3190 */
jpayne@69 3191 void
jpayne@69 3192 xcb_xkb_key_name_next (xcb_xkb_key_name_iterator_t *i);
jpayne@69 3193
jpayne@69 3194 /**
jpayne@69 3195 * Return the iterator pointing to the last element
jpayne@69 3196 * @param i An xcb_xkb_key_name_iterator_t
jpayne@69 3197 * @return The iterator pointing to the last element
jpayne@69 3198 *
jpayne@69 3199 * Set the current element in the iterator to the last element.
jpayne@69 3200 * The member rem is set to 0. The member data points to the
jpayne@69 3201 * last element.
jpayne@69 3202 */
jpayne@69 3203 xcb_generic_iterator_t
jpayne@69 3204 xcb_xkb_key_name_end (xcb_xkb_key_name_iterator_t i);
jpayne@69 3205
jpayne@69 3206 /**
jpayne@69 3207 * Get the next element of the iterator
jpayne@69 3208 * @param i Pointer to a xcb_xkb_key_alias_iterator_t
jpayne@69 3209 *
jpayne@69 3210 * Get the next element in the iterator. The member rem is
jpayne@69 3211 * decreased by one. The member data points to the next
jpayne@69 3212 * element. The member index is increased by sizeof(xcb_xkb_key_alias_t)
jpayne@69 3213 */
jpayne@69 3214 void
jpayne@69 3215 xcb_xkb_key_alias_next (xcb_xkb_key_alias_iterator_t *i);
jpayne@69 3216
jpayne@69 3217 /**
jpayne@69 3218 * Return the iterator pointing to the last element
jpayne@69 3219 * @param i An xcb_xkb_key_alias_iterator_t
jpayne@69 3220 * @return The iterator pointing to the last element
jpayne@69 3221 *
jpayne@69 3222 * Set the current element in the iterator to the last element.
jpayne@69 3223 * The member rem is set to 0. The member data points to the
jpayne@69 3224 * last element.
jpayne@69 3225 */
jpayne@69 3226 xcb_generic_iterator_t
jpayne@69 3227 xcb_xkb_key_alias_end (xcb_xkb_key_alias_iterator_t i);
jpayne@69 3228
jpayne@69 3229 int
jpayne@69 3230 xcb_xkb_counted_string_16_sizeof (const void *_buffer);
jpayne@69 3231
jpayne@69 3232 char *
jpayne@69 3233 xcb_xkb_counted_string_16_string (const xcb_xkb_counted_string_16_t *R);
jpayne@69 3234
jpayne@69 3235 int
jpayne@69 3236 xcb_xkb_counted_string_16_string_length (const xcb_xkb_counted_string_16_t *R);
jpayne@69 3237
jpayne@69 3238 xcb_generic_iterator_t
jpayne@69 3239 xcb_xkb_counted_string_16_string_end (const xcb_xkb_counted_string_16_t *R);
jpayne@69 3240
jpayne@69 3241 void *
jpayne@69 3242 xcb_xkb_counted_string_16_alignment_pad (const xcb_xkb_counted_string_16_t *R);
jpayne@69 3243
jpayne@69 3244 int
jpayne@69 3245 xcb_xkb_counted_string_16_alignment_pad_length (const xcb_xkb_counted_string_16_t *R);
jpayne@69 3246
jpayne@69 3247 xcb_generic_iterator_t
jpayne@69 3248 xcb_xkb_counted_string_16_alignment_pad_end (const xcb_xkb_counted_string_16_t *R);
jpayne@69 3249
jpayne@69 3250 /**
jpayne@69 3251 * Get the next element of the iterator
jpayne@69 3252 * @param i Pointer to a xcb_xkb_counted_string_16_iterator_t
jpayne@69 3253 *
jpayne@69 3254 * Get the next element in the iterator. The member rem is
jpayne@69 3255 * decreased by one. The member data points to the next
jpayne@69 3256 * element. The member index is increased by sizeof(xcb_xkb_counted_string_16_t)
jpayne@69 3257 */
jpayne@69 3258 void
jpayne@69 3259 xcb_xkb_counted_string_16_next (xcb_xkb_counted_string_16_iterator_t *i);
jpayne@69 3260
jpayne@69 3261 /**
jpayne@69 3262 * Return the iterator pointing to the last element
jpayne@69 3263 * @param i An xcb_xkb_counted_string_16_iterator_t
jpayne@69 3264 * @return The iterator pointing to the last element
jpayne@69 3265 *
jpayne@69 3266 * Set the current element in the iterator to the last element.
jpayne@69 3267 * The member rem is set to 0. The member data points to the
jpayne@69 3268 * last element.
jpayne@69 3269 */
jpayne@69 3270 xcb_generic_iterator_t
jpayne@69 3271 xcb_xkb_counted_string_16_end (xcb_xkb_counted_string_16_iterator_t i);
jpayne@69 3272
jpayne@69 3273 /**
jpayne@69 3274 * Get the next element of the iterator
jpayne@69 3275 * @param i Pointer to a xcb_xkb_kt_map_entry_iterator_t
jpayne@69 3276 *
jpayne@69 3277 * Get the next element in the iterator. The member rem is
jpayne@69 3278 * decreased by one. The member data points to the next
jpayne@69 3279 * element. The member index is increased by sizeof(xcb_xkb_kt_map_entry_t)
jpayne@69 3280 */
jpayne@69 3281 void
jpayne@69 3282 xcb_xkb_kt_map_entry_next (xcb_xkb_kt_map_entry_iterator_t *i);
jpayne@69 3283
jpayne@69 3284 /**
jpayne@69 3285 * Return the iterator pointing to the last element
jpayne@69 3286 * @param i An xcb_xkb_kt_map_entry_iterator_t
jpayne@69 3287 * @return The iterator pointing to the last element
jpayne@69 3288 *
jpayne@69 3289 * Set the current element in the iterator to the last element.
jpayne@69 3290 * The member rem is set to 0. The member data points to the
jpayne@69 3291 * last element.
jpayne@69 3292 */
jpayne@69 3293 xcb_generic_iterator_t
jpayne@69 3294 xcb_xkb_kt_map_entry_end (xcb_xkb_kt_map_entry_iterator_t i);
jpayne@69 3295
jpayne@69 3296 int
jpayne@69 3297 xcb_xkb_key_type_sizeof (const void *_buffer);
jpayne@69 3298
jpayne@69 3299 xcb_xkb_kt_map_entry_t *
jpayne@69 3300 xcb_xkb_key_type_map (const xcb_xkb_key_type_t *R);
jpayne@69 3301
jpayne@69 3302 int
jpayne@69 3303 xcb_xkb_key_type_map_length (const xcb_xkb_key_type_t *R);
jpayne@69 3304
jpayne@69 3305 xcb_xkb_kt_map_entry_iterator_t
jpayne@69 3306 xcb_xkb_key_type_map_iterator (const xcb_xkb_key_type_t *R);
jpayne@69 3307
jpayne@69 3308 xcb_xkb_mod_def_t *
jpayne@69 3309 xcb_xkb_key_type_preserve (const xcb_xkb_key_type_t *R);
jpayne@69 3310
jpayne@69 3311 int
jpayne@69 3312 xcb_xkb_key_type_preserve_length (const xcb_xkb_key_type_t *R);
jpayne@69 3313
jpayne@69 3314 xcb_xkb_mod_def_iterator_t
jpayne@69 3315 xcb_xkb_key_type_preserve_iterator (const xcb_xkb_key_type_t *R);
jpayne@69 3316
jpayne@69 3317 /**
jpayne@69 3318 * Get the next element of the iterator
jpayne@69 3319 * @param i Pointer to a xcb_xkb_key_type_iterator_t
jpayne@69 3320 *
jpayne@69 3321 * Get the next element in the iterator. The member rem is
jpayne@69 3322 * decreased by one. The member data points to the next
jpayne@69 3323 * element. The member index is increased by sizeof(xcb_xkb_key_type_t)
jpayne@69 3324 */
jpayne@69 3325 void
jpayne@69 3326 xcb_xkb_key_type_next (xcb_xkb_key_type_iterator_t *i);
jpayne@69 3327
jpayne@69 3328 /**
jpayne@69 3329 * Return the iterator pointing to the last element
jpayne@69 3330 * @param i An xcb_xkb_key_type_iterator_t
jpayne@69 3331 * @return The iterator pointing to the last element
jpayne@69 3332 *
jpayne@69 3333 * Set the current element in the iterator to the last element.
jpayne@69 3334 * The member rem is set to 0. The member data points to the
jpayne@69 3335 * last element.
jpayne@69 3336 */
jpayne@69 3337 xcb_generic_iterator_t
jpayne@69 3338 xcb_xkb_key_type_end (xcb_xkb_key_type_iterator_t i);
jpayne@69 3339
jpayne@69 3340 int
jpayne@69 3341 xcb_xkb_key_sym_map_sizeof (const void *_buffer);
jpayne@69 3342
jpayne@69 3343 xcb_keysym_t *
jpayne@69 3344 xcb_xkb_key_sym_map_syms (const xcb_xkb_key_sym_map_t *R);
jpayne@69 3345
jpayne@69 3346 int
jpayne@69 3347 xcb_xkb_key_sym_map_syms_length (const xcb_xkb_key_sym_map_t *R);
jpayne@69 3348
jpayne@69 3349 xcb_generic_iterator_t
jpayne@69 3350 xcb_xkb_key_sym_map_syms_end (const xcb_xkb_key_sym_map_t *R);
jpayne@69 3351
jpayne@69 3352 /**
jpayne@69 3353 * Get the next element of the iterator
jpayne@69 3354 * @param i Pointer to a xcb_xkb_key_sym_map_iterator_t
jpayne@69 3355 *
jpayne@69 3356 * Get the next element in the iterator. The member rem is
jpayne@69 3357 * decreased by one. The member data points to the next
jpayne@69 3358 * element. The member index is increased by sizeof(xcb_xkb_key_sym_map_t)
jpayne@69 3359 */
jpayne@69 3360 void
jpayne@69 3361 xcb_xkb_key_sym_map_next (xcb_xkb_key_sym_map_iterator_t *i);
jpayne@69 3362
jpayne@69 3363 /**
jpayne@69 3364 * Return the iterator pointing to the last element
jpayne@69 3365 * @param i An xcb_xkb_key_sym_map_iterator_t
jpayne@69 3366 * @return The iterator pointing to the last element
jpayne@69 3367 *
jpayne@69 3368 * Set the current element in the iterator to the last element.
jpayne@69 3369 * The member rem is set to 0. The member data points to the
jpayne@69 3370 * last element.
jpayne@69 3371 */
jpayne@69 3372 xcb_generic_iterator_t
jpayne@69 3373 xcb_xkb_key_sym_map_end (xcb_xkb_key_sym_map_iterator_t i);
jpayne@69 3374
jpayne@69 3375 /**
jpayne@69 3376 * Get the next element of the iterator
jpayne@69 3377 * @param i Pointer to a xcb_xkb_common_behavior_iterator_t
jpayne@69 3378 *
jpayne@69 3379 * Get the next element in the iterator. The member rem is
jpayne@69 3380 * decreased by one. The member data points to the next
jpayne@69 3381 * element. The member index is increased by sizeof(xcb_xkb_common_behavior_t)
jpayne@69 3382 */
jpayne@69 3383 void
jpayne@69 3384 xcb_xkb_common_behavior_next (xcb_xkb_common_behavior_iterator_t *i);
jpayne@69 3385
jpayne@69 3386 /**
jpayne@69 3387 * Return the iterator pointing to the last element
jpayne@69 3388 * @param i An xcb_xkb_common_behavior_iterator_t
jpayne@69 3389 * @return The iterator pointing to the last element
jpayne@69 3390 *
jpayne@69 3391 * Set the current element in the iterator to the last element.
jpayne@69 3392 * The member rem is set to 0. The member data points to the
jpayne@69 3393 * last element.
jpayne@69 3394 */
jpayne@69 3395 xcb_generic_iterator_t
jpayne@69 3396 xcb_xkb_common_behavior_end (xcb_xkb_common_behavior_iterator_t i);
jpayne@69 3397
jpayne@69 3398 /**
jpayne@69 3399 * Get the next element of the iterator
jpayne@69 3400 * @param i Pointer to a xcb_xkb_default_behavior_iterator_t
jpayne@69 3401 *
jpayne@69 3402 * Get the next element in the iterator. The member rem is
jpayne@69 3403 * decreased by one. The member data points to the next
jpayne@69 3404 * element. The member index is increased by sizeof(xcb_xkb_default_behavior_t)
jpayne@69 3405 */
jpayne@69 3406 void
jpayne@69 3407 xcb_xkb_default_behavior_next (xcb_xkb_default_behavior_iterator_t *i);
jpayne@69 3408
jpayne@69 3409 /**
jpayne@69 3410 * Return the iterator pointing to the last element
jpayne@69 3411 * @param i An xcb_xkb_default_behavior_iterator_t
jpayne@69 3412 * @return The iterator pointing to the last element
jpayne@69 3413 *
jpayne@69 3414 * Set the current element in the iterator to the last element.
jpayne@69 3415 * The member rem is set to 0. The member data points to the
jpayne@69 3416 * last element.
jpayne@69 3417 */
jpayne@69 3418 xcb_generic_iterator_t
jpayne@69 3419 xcb_xkb_default_behavior_end (xcb_xkb_default_behavior_iterator_t i);
jpayne@69 3420
jpayne@69 3421 /**
jpayne@69 3422 * Get the next element of the iterator
jpayne@69 3423 * @param i Pointer to a xcb_xkb_lock_behavior_iterator_t
jpayne@69 3424 *
jpayne@69 3425 * Get the next element in the iterator. The member rem is
jpayne@69 3426 * decreased by one. The member data points to the next
jpayne@69 3427 * element. The member index is increased by sizeof(xcb_xkb_lock_behavior_t)
jpayne@69 3428 */
jpayne@69 3429 void
jpayne@69 3430 xcb_xkb_lock_behavior_next (xcb_xkb_lock_behavior_iterator_t *i);
jpayne@69 3431
jpayne@69 3432 /**
jpayne@69 3433 * Return the iterator pointing to the last element
jpayne@69 3434 * @param i An xcb_xkb_lock_behavior_iterator_t
jpayne@69 3435 * @return The iterator pointing to the last element
jpayne@69 3436 *
jpayne@69 3437 * Set the current element in the iterator to the last element.
jpayne@69 3438 * The member rem is set to 0. The member data points to the
jpayne@69 3439 * last element.
jpayne@69 3440 */
jpayne@69 3441 xcb_generic_iterator_t
jpayne@69 3442 xcb_xkb_lock_behavior_end (xcb_xkb_lock_behavior_iterator_t i);
jpayne@69 3443
jpayne@69 3444 /**
jpayne@69 3445 * Get the next element of the iterator
jpayne@69 3446 * @param i Pointer to a xcb_xkb_radio_group_behavior_iterator_t
jpayne@69 3447 *
jpayne@69 3448 * Get the next element in the iterator. The member rem is
jpayne@69 3449 * decreased by one. The member data points to the next
jpayne@69 3450 * element. The member index is increased by sizeof(xcb_xkb_radio_group_behavior_t)
jpayne@69 3451 */
jpayne@69 3452 void
jpayne@69 3453 xcb_xkb_radio_group_behavior_next (xcb_xkb_radio_group_behavior_iterator_t *i);
jpayne@69 3454
jpayne@69 3455 /**
jpayne@69 3456 * Return the iterator pointing to the last element
jpayne@69 3457 * @param i An xcb_xkb_radio_group_behavior_iterator_t
jpayne@69 3458 * @return The iterator pointing to the last element
jpayne@69 3459 *
jpayne@69 3460 * Set the current element in the iterator to the last element.
jpayne@69 3461 * The member rem is set to 0. The member data points to the
jpayne@69 3462 * last element.
jpayne@69 3463 */
jpayne@69 3464 xcb_generic_iterator_t
jpayne@69 3465 xcb_xkb_radio_group_behavior_end (xcb_xkb_radio_group_behavior_iterator_t i);
jpayne@69 3466
jpayne@69 3467 /**
jpayne@69 3468 * Get the next element of the iterator
jpayne@69 3469 * @param i Pointer to a xcb_xkb_overlay_behavior_iterator_t
jpayne@69 3470 *
jpayne@69 3471 * Get the next element in the iterator. The member rem is
jpayne@69 3472 * decreased by one. The member data points to the next
jpayne@69 3473 * element. The member index is increased by sizeof(xcb_xkb_overlay_behavior_t)
jpayne@69 3474 */
jpayne@69 3475 void
jpayne@69 3476 xcb_xkb_overlay_behavior_next (xcb_xkb_overlay_behavior_iterator_t *i);
jpayne@69 3477
jpayne@69 3478 /**
jpayne@69 3479 * Return the iterator pointing to the last element
jpayne@69 3480 * @param i An xcb_xkb_overlay_behavior_iterator_t
jpayne@69 3481 * @return The iterator pointing to the last element
jpayne@69 3482 *
jpayne@69 3483 * Set the current element in the iterator to the last element.
jpayne@69 3484 * The member rem is set to 0. The member data points to the
jpayne@69 3485 * last element.
jpayne@69 3486 */
jpayne@69 3487 xcb_generic_iterator_t
jpayne@69 3488 xcb_xkb_overlay_behavior_end (xcb_xkb_overlay_behavior_iterator_t i);
jpayne@69 3489
jpayne@69 3490 /**
jpayne@69 3491 * Get the next element of the iterator
jpayne@69 3492 * @param i Pointer to a xcb_xkb_permament_lock_behavior_iterator_t
jpayne@69 3493 *
jpayne@69 3494 * Get the next element in the iterator. The member rem is
jpayne@69 3495 * decreased by one. The member data points to the next
jpayne@69 3496 * element. The member index is increased by sizeof(xcb_xkb_permament_lock_behavior_t)
jpayne@69 3497 */
jpayne@69 3498 void
jpayne@69 3499 xcb_xkb_permament_lock_behavior_next (xcb_xkb_permament_lock_behavior_iterator_t *i);
jpayne@69 3500
jpayne@69 3501 /**
jpayne@69 3502 * Return the iterator pointing to the last element
jpayne@69 3503 * @param i An xcb_xkb_permament_lock_behavior_iterator_t
jpayne@69 3504 * @return The iterator pointing to the last element
jpayne@69 3505 *
jpayne@69 3506 * Set the current element in the iterator to the last element.
jpayne@69 3507 * The member rem is set to 0. The member data points to the
jpayne@69 3508 * last element.
jpayne@69 3509 */
jpayne@69 3510 xcb_generic_iterator_t
jpayne@69 3511 xcb_xkb_permament_lock_behavior_end (xcb_xkb_permament_lock_behavior_iterator_t i);
jpayne@69 3512
jpayne@69 3513 /**
jpayne@69 3514 * Get the next element of the iterator
jpayne@69 3515 * @param i Pointer to a xcb_xkb_permament_radio_group_behavior_iterator_t
jpayne@69 3516 *
jpayne@69 3517 * Get the next element in the iterator. The member rem is
jpayne@69 3518 * decreased by one. The member data points to the next
jpayne@69 3519 * element. The member index is increased by sizeof(xcb_xkb_permament_radio_group_behavior_t)
jpayne@69 3520 */
jpayne@69 3521 void
jpayne@69 3522 xcb_xkb_permament_radio_group_behavior_next (xcb_xkb_permament_radio_group_behavior_iterator_t *i);
jpayne@69 3523
jpayne@69 3524 /**
jpayne@69 3525 * Return the iterator pointing to the last element
jpayne@69 3526 * @param i An xcb_xkb_permament_radio_group_behavior_iterator_t
jpayne@69 3527 * @return The iterator pointing to the last element
jpayne@69 3528 *
jpayne@69 3529 * Set the current element in the iterator to the last element.
jpayne@69 3530 * The member rem is set to 0. The member data points to the
jpayne@69 3531 * last element.
jpayne@69 3532 */
jpayne@69 3533 xcb_generic_iterator_t
jpayne@69 3534 xcb_xkb_permament_radio_group_behavior_end (xcb_xkb_permament_radio_group_behavior_iterator_t i);
jpayne@69 3535
jpayne@69 3536 /**
jpayne@69 3537 * Get the next element of the iterator
jpayne@69 3538 * @param i Pointer to a xcb_xkb_permament_overlay_behavior_iterator_t
jpayne@69 3539 *
jpayne@69 3540 * Get the next element in the iterator. The member rem is
jpayne@69 3541 * decreased by one. The member data points to the next
jpayne@69 3542 * element. The member index is increased by sizeof(xcb_xkb_permament_overlay_behavior_t)
jpayne@69 3543 */
jpayne@69 3544 void
jpayne@69 3545 xcb_xkb_permament_overlay_behavior_next (xcb_xkb_permament_overlay_behavior_iterator_t *i);
jpayne@69 3546
jpayne@69 3547 /**
jpayne@69 3548 * Return the iterator pointing to the last element
jpayne@69 3549 * @param i An xcb_xkb_permament_overlay_behavior_iterator_t
jpayne@69 3550 * @return The iterator pointing to the last element
jpayne@69 3551 *
jpayne@69 3552 * Set the current element in the iterator to the last element.
jpayne@69 3553 * The member rem is set to 0. The member data points to the
jpayne@69 3554 * last element.
jpayne@69 3555 */
jpayne@69 3556 xcb_generic_iterator_t
jpayne@69 3557 xcb_xkb_permament_overlay_behavior_end (xcb_xkb_permament_overlay_behavior_iterator_t i);
jpayne@69 3558
jpayne@69 3559 /**
jpayne@69 3560 * Get the next element of the iterator
jpayne@69 3561 * @param i Pointer to a xcb_xkb_behavior_iterator_t
jpayne@69 3562 *
jpayne@69 3563 * Get the next element in the iterator. The member rem is
jpayne@69 3564 * decreased by one. The member data points to the next
jpayne@69 3565 * element. The member index is increased by sizeof(xcb_xkb_behavior_t)
jpayne@69 3566 */
jpayne@69 3567 void
jpayne@69 3568 xcb_xkb_behavior_next (xcb_xkb_behavior_iterator_t *i);
jpayne@69 3569
jpayne@69 3570 /**
jpayne@69 3571 * Return the iterator pointing to the last element
jpayne@69 3572 * @param i An xcb_xkb_behavior_iterator_t
jpayne@69 3573 * @return The iterator pointing to the last element
jpayne@69 3574 *
jpayne@69 3575 * Set the current element in the iterator to the last element.
jpayne@69 3576 * The member rem is set to 0. The member data points to the
jpayne@69 3577 * last element.
jpayne@69 3578 */
jpayne@69 3579 xcb_generic_iterator_t
jpayne@69 3580 xcb_xkb_behavior_end (xcb_xkb_behavior_iterator_t i);
jpayne@69 3581
jpayne@69 3582 /**
jpayne@69 3583 * Get the next element of the iterator
jpayne@69 3584 * @param i Pointer to a xcb_xkb_set_behavior_iterator_t
jpayne@69 3585 *
jpayne@69 3586 * Get the next element in the iterator. The member rem is
jpayne@69 3587 * decreased by one. The member data points to the next
jpayne@69 3588 * element. The member index is increased by sizeof(xcb_xkb_set_behavior_t)
jpayne@69 3589 */
jpayne@69 3590 void
jpayne@69 3591 xcb_xkb_set_behavior_next (xcb_xkb_set_behavior_iterator_t *i);
jpayne@69 3592
jpayne@69 3593 /**
jpayne@69 3594 * Return the iterator pointing to the last element
jpayne@69 3595 * @param i An xcb_xkb_set_behavior_iterator_t
jpayne@69 3596 * @return The iterator pointing to the last element
jpayne@69 3597 *
jpayne@69 3598 * Set the current element in the iterator to the last element.
jpayne@69 3599 * The member rem is set to 0. The member data points to the
jpayne@69 3600 * last element.
jpayne@69 3601 */
jpayne@69 3602 xcb_generic_iterator_t
jpayne@69 3603 xcb_xkb_set_behavior_end (xcb_xkb_set_behavior_iterator_t i);
jpayne@69 3604
jpayne@69 3605 /**
jpayne@69 3606 * Get the next element of the iterator
jpayne@69 3607 * @param i Pointer to a xcb_xkb_set_explicit_iterator_t
jpayne@69 3608 *
jpayne@69 3609 * Get the next element in the iterator. The member rem is
jpayne@69 3610 * decreased by one. The member data points to the next
jpayne@69 3611 * element. The member index is increased by sizeof(xcb_xkb_set_explicit_t)
jpayne@69 3612 */
jpayne@69 3613 void
jpayne@69 3614 xcb_xkb_set_explicit_next (xcb_xkb_set_explicit_iterator_t *i);
jpayne@69 3615
jpayne@69 3616 /**
jpayne@69 3617 * Return the iterator pointing to the last element
jpayne@69 3618 * @param i An xcb_xkb_set_explicit_iterator_t
jpayne@69 3619 * @return The iterator pointing to the last element
jpayne@69 3620 *
jpayne@69 3621 * Set the current element in the iterator to the last element.
jpayne@69 3622 * The member rem is set to 0. The member data points to the
jpayne@69 3623 * last element.
jpayne@69 3624 */
jpayne@69 3625 xcb_generic_iterator_t
jpayne@69 3626 xcb_xkb_set_explicit_end (xcb_xkb_set_explicit_iterator_t i);
jpayne@69 3627
jpayne@69 3628 /**
jpayne@69 3629 * Get the next element of the iterator
jpayne@69 3630 * @param i Pointer to a xcb_xkb_key_mod_map_iterator_t
jpayne@69 3631 *
jpayne@69 3632 * Get the next element in the iterator. The member rem is
jpayne@69 3633 * decreased by one. The member data points to the next
jpayne@69 3634 * element. The member index is increased by sizeof(xcb_xkb_key_mod_map_t)
jpayne@69 3635 */
jpayne@69 3636 void
jpayne@69 3637 xcb_xkb_key_mod_map_next (xcb_xkb_key_mod_map_iterator_t *i);
jpayne@69 3638
jpayne@69 3639 /**
jpayne@69 3640 * Return the iterator pointing to the last element
jpayne@69 3641 * @param i An xcb_xkb_key_mod_map_iterator_t
jpayne@69 3642 * @return The iterator pointing to the last element
jpayne@69 3643 *
jpayne@69 3644 * Set the current element in the iterator to the last element.
jpayne@69 3645 * The member rem is set to 0. The member data points to the
jpayne@69 3646 * last element.
jpayne@69 3647 */
jpayne@69 3648 xcb_generic_iterator_t
jpayne@69 3649 xcb_xkb_key_mod_map_end (xcb_xkb_key_mod_map_iterator_t i);
jpayne@69 3650
jpayne@69 3651 /**
jpayne@69 3652 * Get the next element of the iterator
jpayne@69 3653 * @param i Pointer to a xcb_xkb_key_v_mod_map_iterator_t
jpayne@69 3654 *
jpayne@69 3655 * Get the next element in the iterator. The member rem is
jpayne@69 3656 * decreased by one. The member data points to the next
jpayne@69 3657 * element. The member index is increased by sizeof(xcb_xkb_key_v_mod_map_t)
jpayne@69 3658 */
jpayne@69 3659 void
jpayne@69 3660 xcb_xkb_key_v_mod_map_next (xcb_xkb_key_v_mod_map_iterator_t *i);
jpayne@69 3661
jpayne@69 3662 /**
jpayne@69 3663 * Return the iterator pointing to the last element
jpayne@69 3664 * @param i An xcb_xkb_key_v_mod_map_iterator_t
jpayne@69 3665 * @return The iterator pointing to the last element
jpayne@69 3666 *
jpayne@69 3667 * Set the current element in the iterator to the last element.
jpayne@69 3668 * The member rem is set to 0. The member data points to the
jpayne@69 3669 * last element.
jpayne@69 3670 */
jpayne@69 3671 xcb_generic_iterator_t
jpayne@69 3672 xcb_xkb_key_v_mod_map_end (xcb_xkb_key_v_mod_map_iterator_t i);
jpayne@69 3673
jpayne@69 3674 /**
jpayne@69 3675 * Get the next element of the iterator
jpayne@69 3676 * @param i Pointer to a xcb_xkb_kt_set_map_entry_iterator_t
jpayne@69 3677 *
jpayne@69 3678 * Get the next element in the iterator. The member rem is
jpayne@69 3679 * decreased by one. The member data points to the next
jpayne@69 3680 * element. The member index is increased by sizeof(xcb_xkb_kt_set_map_entry_t)
jpayne@69 3681 */
jpayne@69 3682 void
jpayne@69 3683 xcb_xkb_kt_set_map_entry_next (xcb_xkb_kt_set_map_entry_iterator_t *i);
jpayne@69 3684
jpayne@69 3685 /**
jpayne@69 3686 * Return the iterator pointing to the last element
jpayne@69 3687 * @param i An xcb_xkb_kt_set_map_entry_iterator_t
jpayne@69 3688 * @return The iterator pointing to the last element
jpayne@69 3689 *
jpayne@69 3690 * Set the current element in the iterator to the last element.
jpayne@69 3691 * The member rem is set to 0. The member data points to the
jpayne@69 3692 * last element.
jpayne@69 3693 */
jpayne@69 3694 xcb_generic_iterator_t
jpayne@69 3695 xcb_xkb_kt_set_map_entry_end (xcb_xkb_kt_set_map_entry_iterator_t i);
jpayne@69 3696
jpayne@69 3697 int
jpayne@69 3698 xcb_xkb_set_key_type_sizeof (const void *_buffer);
jpayne@69 3699
jpayne@69 3700 xcb_xkb_kt_set_map_entry_t *
jpayne@69 3701 xcb_xkb_set_key_type_entries (const xcb_xkb_set_key_type_t *R);
jpayne@69 3702
jpayne@69 3703 int
jpayne@69 3704 xcb_xkb_set_key_type_entries_length (const xcb_xkb_set_key_type_t *R);
jpayne@69 3705
jpayne@69 3706 xcb_xkb_kt_set_map_entry_iterator_t
jpayne@69 3707 xcb_xkb_set_key_type_entries_iterator (const xcb_xkb_set_key_type_t *R);
jpayne@69 3708
jpayne@69 3709 xcb_xkb_kt_set_map_entry_t *
jpayne@69 3710 xcb_xkb_set_key_type_preserve_entries (const xcb_xkb_set_key_type_t *R);
jpayne@69 3711
jpayne@69 3712 int
jpayne@69 3713 xcb_xkb_set_key_type_preserve_entries_length (const xcb_xkb_set_key_type_t *R);
jpayne@69 3714
jpayne@69 3715 xcb_xkb_kt_set_map_entry_iterator_t
jpayne@69 3716 xcb_xkb_set_key_type_preserve_entries_iterator (const xcb_xkb_set_key_type_t *R);
jpayne@69 3717
jpayne@69 3718 /**
jpayne@69 3719 * Get the next element of the iterator
jpayne@69 3720 * @param i Pointer to a xcb_xkb_set_key_type_iterator_t
jpayne@69 3721 *
jpayne@69 3722 * Get the next element in the iterator. The member rem is
jpayne@69 3723 * decreased by one. The member data points to the next
jpayne@69 3724 * element. The member index is increased by sizeof(xcb_xkb_set_key_type_t)
jpayne@69 3725 */
jpayne@69 3726 void
jpayne@69 3727 xcb_xkb_set_key_type_next (xcb_xkb_set_key_type_iterator_t *i);
jpayne@69 3728
jpayne@69 3729 /**
jpayne@69 3730 * Return the iterator pointing to the last element
jpayne@69 3731 * @param i An xcb_xkb_set_key_type_iterator_t
jpayne@69 3732 * @return The iterator pointing to the last element
jpayne@69 3733 *
jpayne@69 3734 * Set the current element in the iterator to the last element.
jpayne@69 3735 * The member rem is set to 0. The member data points to the
jpayne@69 3736 * last element.
jpayne@69 3737 */
jpayne@69 3738 xcb_generic_iterator_t
jpayne@69 3739 xcb_xkb_set_key_type_end (xcb_xkb_set_key_type_iterator_t i);
jpayne@69 3740
jpayne@69 3741 /**
jpayne@69 3742 * Get the next element of the iterator
jpayne@69 3743 * @param i Pointer to a xcb_xkb_string8_iterator_t
jpayne@69 3744 *
jpayne@69 3745 * Get the next element in the iterator. The member rem is
jpayne@69 3746 * decreased by one. The member data points to the next
jpayne@69 3747 * element. The member index is increased by sizeof(xcb_xkb_string8_t)
jpayne@69 3748 */
jpayne@69 3749 void
jpayne@69 3750 xcb_xkb_string8_next (xcb_xkb_string8_iterator_t *i);
jpayne@69 3751
jpayne@69 3752 /**
jpayne@69 3753 * Return the iterator pointing to the last element
jpayne@69 3754 * @param i An xcb_xkb_string8_iterator_t
jpayne@69 3755 * @return The iterator pointing to the last element
jpayne@69 3756 *
jpayne@69 3757 * Set the current element in the iterator to the last element.
jpayne@69 3758 * The member rem is set to 0. The member data points to the
jpayne@69 3759 * last element.
jpayne@69 3760 */
jpayne@69 3761 xcb_generic_iterator_t
jpayne@69 3762 xcb_xkb_string8_end (xcb_xkb_string8_iterator_t i);
jpayne@69 3763
jpayne@69 3764 int
jpayne@69 3765 xcb_xkb_outline_sizeof (const void *_buffer);
jpayne@69 3766
jpayne@69 3767 xcb_point_t *
jpayne@69 3768 xcb_xkb_outline_points (const xcb_xkb_outline_t *R);
jpayne@69 3769
jpayne@69 3770 int
jpayne@69 3771 xcb_xkb_outline_points_length (const xcb_xkb_outline_t *R);
jpayne@69 3772
jpayne@69 3773 xcb_point_iterator_t
jpayne@69 3774 xcb_xkb_outline_points_iterator (const xcb_xkb_outline_t *R);
jpayne@69 3775
jpayne@69 3776 /**
jpayne@69 3777 * Get the next element of the iterator
jpayne@69 3778 * @param i Pointer to a xcb_xkb_outline_iterator_t
jpayne@69 3779 *
jpayne@69 3780 * Get the next element in the iterator. The member rem is
jpayne@69 3781 * decreased by one. The member data points to the next
jpayne@69 3782 * element. The member index is increased by sizeof(xcb_xkb_outline_t)
jpayne@69 3783 */
jpayne@69 3784 void
jpayne@69 3785 xcb_xkb_outline_next (xcb_xkb_outline_iterator_t *i);
jpayne@69 3786
jpayne@69 3787 /**
jpayne@69 3788 * Return the iterator pointing to the last element
jpayne@69 3789 * @param i An xcb_xkb_outline_iterator_t
jpayne@69 3790 * @return The iterator pointing to the last element
jpayne@69 3791 *
jpayne@69 3792 * Set the current element in the iterator to the last element.
jpayne@69 3793 * The member rem is set to 0. The member data points to the
jpayne@69 3794 * last element.
jpayne@69 3795 */
jpayne@69 3796 xcb_generic_iterator_t
jpayne@69 3797 xcb_xkb_outline_end (xcb_xkb_outline_iterator_t i);
jpayne@69 3798
jpayne@69 3799 int
jpayne@69 3800 xcb_xkb_shape_sizeof (const void *_buffer);
jpayne@69 3801
jpayne@69 3802 int
jpayne@69 3803 xcb_xkb_shape_outlines_length (const xcb_xkb_shape_t *R);
jpayne@69 3804
jpayne@69 3805 xcb_xkb_outline_iterator_t
jpayne@69 3806 xcb_xkb_shape_outlines_iterator (const xcb_xkb_shape_t *R);
jpayne@69 3807
jpayne@69 3808 /**
jpayne@69 3809 * Get the next element of the iterator
jpayne@69 3810 * @param i Pointer to a xcb_xkb_shape_iterator_t
jpayne@69 3811 *
jpayne@69 3812 * Get the next element in the iterator. The member rem is
jpayne@69 3813 * decreased by one. The member data points to the next
jpayne@69 3814 * element. The member index is increased by sizeof(xcb_xkb_shape_t)
jpayne@69 3815 */
jpayne@69 3816 void
jpayne@69 3817 xcb_xkb_shape_next (xcb_xkb_shape_iterator_t *i);
jpayne@69 3818
jpayne@69 3819 /**
jpayne@69 3820 * Return the iterator pointing to the last element
jpayne@69 3821 * @param i An xcb_xkb_shape_iterator_t
jpayne@69 3822 * @return The iterator pointing to the last element
jpayne@69 3823 *
jpayne@69 3824 * Set the current element in the iterator to the last element.
jpayne@69 3825 * The member rem is set to 0. The member data points to the
jpayne@69 3826 * last element.
jpayne@69 3827 */
jpayne@69 3828 xcb_generic_iterator_t
jpayne@69 3829 xcb_xkb_shape_end (xcb_xkb_shape_iterator_t i);
jpayne@69 3830
jpayne@69 3831 /**
jpayne@69 3832 * Get the next element of the iterator
jpayne@69 3833 * @param i Pointer to a xcb_xkb_key_iterator_t
jpayne@69 3834 *
jpayne@69 3835 * Get the next element in the iterator. The member rem is
jpayne@69 3836 * decreased by one. The member data points to the next
jpayne@69 3837 * element. The member index is increased by sizeof(xcb_xkb_key_t)
jpayne@69 3838 */
jpayne@69 3839 void
jpayne@69 3840 xcb_xkb_key_next (xcb_xkb_key_iterator_t *i);
jpayne@69 3841
jpayne@69 3842 /**
jpayne@69 3843 * Return the iterator pointing to the last element
jpayne@69 3844 * @param i An xcb_xkb_key_iterator_t
jpayne@69 3845 * @return The iterator pointing to the last element
jpayne@69 3846 *
jpayne@69 3847 * Set the current element in the iterator to the last element.
jpayne@69 3848 * The member rem is set to 0. The member data points to the
jpayne@69 3849 * last element.
jpayne@69 3850 */
jpayne@69 3851 xcb_generic_iterator_t
jpayne@69 3852 xcb_xkb_key_end (xcb_xkb_key_iterator_t i);
jpayne@69 3853
jpayne@69 3854 /**
jpayne@69 3855 * Get the next element of the iterator
jpayne@69 3856 * @param i Pointer to a xcb_xkb_overlay_key_iterator_t
jpayne@69 3857 *
jpayne@69 3858 * Get the next element in the iterator. The member rem is
jpayne@69 3859 * decreased by one. The member data points to the next
jpayne@69 3860 * element. The member index is increased by sizeof(xcb_xkb_overlay_key_t)
jpayne@69 3861 */
jpayne@69 3862 void
jpayne@69 3863 xcb_xkb_overlay_key_next (xcb_xkb_overlay_key_iterator_t *i);
jpayne@69 3864
jpayne@69 3865 /**
jpayne@69 3866 * Return the iterator pointing to the last element
jpayne@69 3867 * @param i An xcb_xkb_overlay_key_iterator_t
jpayne@69 3868 * @return The iterator pointing to the last element
jpayne@69 3869 *
jpayne@69 3870 * Set the current element in the iterator to the last element.
jpayne@69 3871 * The member rem is set to 0. The member data points to the
jpayne@69 3872 * last element.
jpayne@69 3873 */
jpayne@69 3874 xcb_generic_iterator_t
jpayne@69 3875 xcb_xkb_overlay_key_end (xcb_xkb_overlay_key_iterator_t i);
jpayne@69 3876
jpayne@69 3877 int
jpayne@69 3878 xcb_xkb_overlay_row_sizeof (const void *_buffer);
jpayne@69 3879
jpayne@69 3880 xcb_xkb_overlay_key_t *
jpayne@69 3881 xcb_xkb_overlay_row_keys (const xcb_xkb_overlay_row_t *R);
jpayne@69 3882
jpayne@69 3883 int
jpayne@69 3884 xcb_xkb_overlay_row_keys_length (const xcb_xkb_overlay_row_t *R);
jpayne@69 3885
jpayne@69 3886 xcb_xkb_overlay_key_iterator_t
jpayne@69 3887 xcb_xkb_overlay_row_keys_iterator (const xcb_xkb_overlay_row_t *R);
jpayne@69 3888
jpayne@69 3889 /**
jpayne@69 3890 * Get the next element of the iterator
jpayne@69 3891 * @param i Pointer to a xcb_xkb_overlay_row_iterator_t
jpayne@69 3892 *
jpayne@69 3893 * Get the next element in the iterator. The member rem is
jpayne@69 3894 * decreased by one. The member data points to the next
jpayne@69 3895 * element. The member index is increased by sizeof(xcb_xkb_overlay_row_t)
jpayne@69 3896 */
jpayne@69 3897 void
jpayne@69 3898 xcb_xkb_overlay_row_next (xcb_xkb_overlay_row_iterator_t *i);
jpayne@69 3899
jpayne@69 3900 /**
jpayne@69 3901 * Return the iterator pointing to the last element
jpayne@69 3902 * @param i An xcb_xkb_overlay_row_iterator_t
jpayne@69 3903 * @return The iterator pointing to the last element
jpayne@69 3904 *
jpayne@69 3905 * Set the current element in the iterator to the last element.
jpayne@69 3906 * The member rem is set to 0. The member data points to the
jpayne@69 3907 * last element.
jpayne@69 3908 */
jpayne@69 3909 xcb_generic_iterator_t
jpayne@69 3910 xcb_xkb_overlay_row_end (xcb_xkb_overlay_row_iterator_t i);
jpayne@69 3911
jpayne@69 3912 int
jpayne@69 3913 xcb_xkb_overlay_sizeof (const void *_buffer);
jpayne@69 3914
jpayne@69 3915 int
jpayne@69 3916 xcb_xkb_overlay_rows_length (const xcb_xkb_overlay_t *R);
jpayne@69 3917
jpayne@69 3918 xcb_xkb_overlay_row_iterator_t
jpayne@69 3919 xcb_xkb_overlay_rows_iterator (const xcb_xkb_overlay_t *R);
jpayne@69 3920
jpayne@69 3921 /**
jpayne@69 3922 * Get the next element of the iterator
jpayne@69 3923 * @param i Pointer to a xcb_xkb_overlay_iterator_t
jpayne@69 3924 *
jpayne@69 3925 * Get the next element in the iterator. The member rem is
jpayne@69 3926 * decreased by one. The member data points to the next
jpayne@69 3927 * element. The member index is increased by sizeof(xcb_xkb_overlay_t)
jpayne@69 3928 */
jpayne@69 3929 void
jpayne@69 3930 xcb_xkb_overlay_next (xcb_xkb_overlay_iterator_t *i);
jpayne@69 3931
jpayne@69 3932 /**
jpayne@69 3933 * Return the iterator pointing to the last element
jpayne@69 3934 * @param i An xcb_xkb_overlay_iterator_t
jpayne@69 3935 * @return The iterator pointing to the last element
jpayne@69 3936 *
jpayne@69 3937 * Set the current element in the iterator to the last element.
jpayne@69 3938 * The member rem is set to 0. The member data points to the
jpayne@69 3939 * last element.
jpayne@69 3940 */
jpayne@69 3941 xcb_generic_iterator_t
jpayne@69 3942 xcb_xkb_overlay_end (xcb_xkb_overlay_iterator_t i);
jpayne@69 3943
jpayne@69 3944 int
jpayne@69 3945 xcb_xkb_row_sizeof (const void *_buffer);
jpayne@69 3946
jpayne@69 3947 xcb_xkb_key_t *
jpayne@69 3948 xcb_xkb_row_keys (const xcb_xkb_row_t *R);
jpayne@69 3949
jpayne@69 3950 int
jpayne@69 3951 xcb_xkb_row_keys_length (const xcb_xkb_row_t *R);
jpayne@69 3952
jpayne@69 3953 xcb_xkb_key_iterator_t
jpayne@69 3954 xcb_xkb_row_keys_iterator (const xcb_xkb_row_t *R);
jpayne@69 3955
jpayne@69 3956 /**
jpayne@69 3957 * Get the next element of the iterator
jpayne@69 3958 * @param i Pointer to a xcb_xkb_row_iterator_t
jpayne@69 3959 *
jpayne@69 3960 * Get the next element in the iterator. The member rem is
jpayne@69 3961 * decreased by one. The member data points to the next
jpayne@69 3962 * element. The member index is increased by sizeof(xcb_xkb_row_t)
jpayne@69 3963 */
jpayne@69 3964 void
jpayne@69 3965 xcb_xkb_row_next (xcb_xkb_row_iterator_t *i);
jpayne@69 3966
jpayne@69 3967 /**
jpayne@69 3968 * Return the iterator pointing to the last element
jpayne@69 3969 * @param i An xcb_xkb_row_iterator_t
jpayne@69 3970 * @return The iterator pointing to the last element
jpayne@69 3971 *
jpayne@69 3972 * Set the current element in the iterator to the last element.
jpayne@69 3973 * The member rem is set to 0. The member data points to the
jpayne@69 3974 * last element.
jpayne@69 3975 */
jpayne@69 3976 xcb_generic_iterator_t
jpayne@69 3977 xcb_xkb_row_end (xcb_xkb_row_iterator_t i);
jpayne@69 3978
jpayne@69 3979 int
jpayne@69 3980 xcb_xkb_listing_sizeof (const void *_buffer);
jpayne@69 3981
jpayne@69 3982 xcb_xkb_string8_t *
jpayne@69 3983 xcb_xkb_listing_string (const xcb_xkb_listing_t *R);
jpayne@69 3984
jpayne@69 3985 int
jpayne@69 3986 xcb_xkb_listing_string_length (const xcb_xkb_listing_t *R);
jpayne@69 3987
jpayne@69 3988 xcb_generic_iterator_t
jpayne@69 3989 xcb_xkb_listing_string_end (const xcb_xkb_listing_t *R);
jpayne@69 3990
jpayne@69 3991 /**
jpayne@69 3992 * Get the next element of the iterator
jpayne@69 3993 * @param i Pointer to a xcb_xkb_listing_iterator_t
jpayne@69 3994 *
jpayne@69 3995 * Get the next element in the iterator. The member rem is
jpayne@69 3996 * decreased by one. The member data points to the next
jpayne@69 3997 * element. The member index is increased by sizeof(xcb_xkb_listing_t)
jpayne@69 3998 */
jpayne@69 3999 void
jpayne@69 4000 xcb_xkb_listing_next (xcb_xkb_listing_iterator_t *i);
jpayne@69 4001
jpayne@69 4002 /**
jpayne@69 4003 * Return the iterator pointing to the last element
jpayne@69 4004 * @param i An xcb_xkb_listing_iterator_t
jpayne@69 4005 * @return The iterator pointing to the last element
jpayne@69 4006 *
jpayne@69 4007 * Set the current element in the iterator to the last element.
jpayne@69 4008 * The member rem is set to 0. The member data points to the
jpayne@69 4009 * last element.
jpayne@69 4010 */
jpayne@69 4011 xcb_generic_iterator_t
jpayne@69 4012 xcb_xkb_listing_end (xcb_xkb_listing_iterator_t i);
jpayne@69 4013
jpayne@69 4014 int
jpayne@69 4015 xcb_xkb_device_led_info_sizeof (const void *_buffer);
jpayne@69 4016
jpayne@69 4017 xcb_atom_t *
jpayne@69 4018 xcb_xkb_device_led_info_names (const xcb_xkb_device_led_info_t *R);
jpayne@69 4019
jpayne@69 4020 int
jpayne@69 4021 xcb_xkb_device_led_info_names_length (const xcb_xkb_device_led_info_t *R);
jpayne@69 4022
jpayne@69 4023 xcb_generic_iterator_t
jpayne@69 4024 xcb_xkb_device_led_info_names_end (const xcb_xkb_device_led_info_t *R);
jpayne@69 4025
jpayne@69 4026 xcb_xkb_indicator_map_t *
jpayne@69 4027 xcb_xkb_device_led_info_maps (const xcb_xkb_device_led_info_t *R);
jpayne@69 4028
jpayne@69 4029 int
jpayne@69 4030 xcb_xkb_device_led_info_maps_length (const xcb_xkb_device_led_info_t *R);
jpayne@69 4031
jpayne@69 4032 xcb_xkb_indicator_map_iterator_t
jpayne@69 4033 xcb_xkb_device_led_info_maps_iterator (const xcb_xkb_device_led_info_t *R);
jpayne@69 4034
jpayne@69 4035 /**
jpayne@69 4036 * Get the next element of the iterator
jpayne@69 4037 * @param i Pointer to a xcb_xkb_device_led_info_iterator_t
jpayne@69 4038 *
jpayne@69 4039 * Get the next element in the iterator. The member rem is
jpayne@69 4040 * decreased by one. The member data points to the next
jpayne@69 4041 * element. The member index is increased by sizeof(xcb_xkb_device_led_info_t)
jpayne@69 4042 */
jpayne@69 4043 void
jpayne@69 4044 xcb_xkb_device_led_info_next (xcb_xkb_device_led_info_iterator_t *i);
jpayne@69 4045
jpayne@69 4046 /**
jpayne@69 4047 * Return the iterator pointing to the last element
jpayne@69 4048 * @param i An xcb_xkb_device_led_info_iterator_t
jpayne@69 4049 * @return The iterator pointing to the last element
jpayne@69 4050 *
jpayne@69 4051 * Set the current element in the iterator to the last element.
jpayne@69 4052 * The member rem is set to 0. The member data points to the
jpayne@69 4053 * last element.
jpayne@69 4054 */
jpayne@69 4055 xcb_generic_iterator_t
jpayne@69 4056 xcb_xkb_device_led_info_end (xcb_xkb_device_led_info_iterator_t i);
jpayne@69 4057
jpayne@69 4058 /**
jpayne@69 4059 * Get the next element of the iterator
jpayne@69 4060 * @param i Pointer to a xcb_xkb_sa_no_action_iterator_t
jpayne@69 4061 *
jpayne@69 4062 * Get the next element in the iterator. The member rem is
jpayne@69 4063 * decreased by one. The member data points to the next
jpayne@69 4064 * element. The member index is increased by sizeof(xcb_xkb_sa_no_action_t)
jpayne@69 4065 */
jpayne@69 4066 void
jpayne@69 4067 xcb_xkb_sa_no_action_next (xcb_xkb_sa_no_action_iterator_t *i);
jpayne@69 4068
jpayne@69 4069 /**
jpayne@69 4070 * Return the iterator pointing to the last element
jpayne@69 4071 * @param i An xcb_xkb_sa_no_action_iterator_t
jpayne@69 4072 * @return The iterator pointing to the last element
jpayne@69 4073 *
jpayne@69 4074 * Set the current element in the iterator to the last element.
jpayne@69 4075 * The member rem is set to 0. The member data points to the
jpayne@69 4076 * last element.
jpayne@69 4077 */
jpayne@69 4078 xcb_generic_iterator_t
jpayne@69 4079 xcb_xkb_sa_no_action_end (xcb_xkb_sa_no_action_iterator_t i);
jpayne@69 4080
jpayne@69 4081 /**
jpayne@69 4082 * Get the next element of the iterator
jpayne@69 4083 * @param i Pointer to a xcb_xkb_sa_set_mods_iterator_t
jpayne@69 4084 *
jpayne@69 4085 * Get the next element in the iterator. The member rem is
jpayne@69 4086 * decreased by one. The member data points to the next
jpayne@69 4087 * element. The member index is increased by sizeof(xcb_xkb_sa_set_mods_t)
jpayne@69 4088 */
jpayne@69 4089 void
jpayne@69 4090 xcb_xkb_sa_set_mods_next (xcb_xkb_sa_set_mods_iterator_t *i);
jpayne@69 4091
jpayne@69 4092 /**
jpayne@69 4093 * Return the iterator pointing to the last element
jpayne@69 4094 * @param i An xcb_xkb_sa_set_mods_iterator_t
jpayne@69 4095 * @return The iterator pointing to the last element
jpayne@69 4096 *
jpayne@69 4097 * Set the current element in the iterator to the last element.
jpayne@69 4098 * The member rem is set to 0. The member data points to the
jpayne@69 4099 * last element.
jpayne@69 4100 */
jpayne@69 4101 xcb_generic_iterator_t
jpayne@69 4102 xcb_xkb_sa_set_mods_end (xcb_xkb_sa_set_mods_iterator_t i);
jpayne@69 4103
jpayne@69 4104 /**
jpayne@69 4105 * Get the next element of the iterator
jpayne@69 4106 * @param i Pointer to a xcb_xkb_sa_latch_mods_iterator_t
jpayne@69 4107 *
jpayne@69 4108 * Get the next element in the iterator. The member rem is
jpayne@69 4109 * decreased by one. The member data points to the next
jpayne@69 4110 * element. The member index is increased by sizeof(xcb_xkb_sa_latch_mods_t)
jpayne@69 4111 */
jpayne@69 4112 void
jpayne@69 4113 xcb_xkb_sa_latch_mods_next (xcb_xkb_sa_latch_mods_iterator_t *i);
jpayne@69 4114
jpayne@69 4115 /**
jpayne@69 4116 * Return the iterator pointing to the last element
jpayne@69 4117 * @param i An xcb_xkb_sa_latch_mods_iterator_t
jpayne@69 4118 * @return The iterator pointing to the last element
jpayne@69 4119 *
jpayne@69 4120 * Set the current element in the iterator to the last element.
jpayne@69 4121 * The member rem is set to 0. The member data points to the
jpayne@69 4122 * last element.
jpayne@69 4123 */
jpayne@69 4124 xcb_generic_iterator_t
jpayne@69 4125 xcb_xkb_sa_latch_mods_end (xcb_xkb_sa_latch_mods_iterator_t i);
jpayne@69 4126
jpayne@69 4127 /**
jpayne@69 4128 * Get the next element of the iterator
jpayne@69 4129 * @param i Pointer to a xcb_xkb_sa_lock_mods_iterator_t
jpayne@69 4130 *
jpayne@69 4131 * Get the next element in the iterator. The member rem is
jpayne@69 4132 * decreased by one. The member data points to the next
jpayne@69 4133 * element. The member index is increased by sizeof(xcb_xkb_sa_lock_mods_t)
jpayne@69 4134 */
jpayne@69 4135 void
jpayne@69 4136 xcb_xkb_sa_lock_mods_next (xcb_xkb_sa_lock_mods_iterator_t *i);
jpayne@69 4137
jpayne@69 4138 /**
jpayne@69 4139 * Return the iterator pointing to the last element
jpayne@69 4140 * @param i An xcb_xkb_sa_lock_mods_iterator_t
jpayne@69 4141 * @return The iterator pointing to the last element
jpayne@69 4142 *
jpayne@69 4143 * Set the current element in the iterator to the last element.
jpayne@69 4144 * The member rem is set to 0. The member data points to the
jpayne@69 4145 * last element.
jpayne@69 4146 */
jpayne@69 4147 xcb_generic_iterator_t
jpayne@69 4148 xcb_xkb_sa_lock_mods_end (xcb_xkb_sa_lock_mods_iterator_t i);
jpayne@69 4149
jpayne@69 4150 /**
jpayne@69 4151 * Get the next element of the iterator
jpayne@69 4152 * @param i Pointer to a xcb_xkb_sa_set_group_iterator_t
jpayne@69 4153 *
jpayne@69 4154 * Get the next element in the iterator. The member rem is
jpayne@69 4155 * decreased by one. The member data points to the next
jpayne@69 4156 * element. The member index is increased by sizeof(xcb_xkb_sa_set_group_t)
jpayne@69 4157 */
jpayne@69 4158 void
jpayne@69 4159 xcb_xkb_sa_set_group_next (xcb_xkb_sa_set_group_iterator_t *i);
jpayne@69 4160
jpayne@69 4161 /**
jpayne@69 4162 * Return the iterator pointing to the last element
jpayne@69 4163 * @param i An xcb_xkb_sa_set_group_iterator_t
jpayne@69 4164 * @return The iterator pointing to the last element
jpayne@69 4165 *
jpayne@69 4166 * Set the current element in the iterator to the last element.
jpayne@69 4167 * The member rem is set to 0. The member data points to the
jpayne@69 4168 * last element.
jpayne@69 4169 */
jpayne@69 4170 xcb_generic_iterator_t
jpayne@69 4171 xcb_xkb_sa_set_group_end (xcb_xkb_sa_set_group_iterator_t i);
jpayne@69 4172
jpayne@69 4173 /**
jpayne@69 4174 * Get the next element of the iterator
jpayne@69 4175 * @param i Pointer to a xcb_xkb_sa_latch_group_iterator_t
jpayne@69 4176 *
jpayne@69 4177 * Get the next element in the iterator. The member rem is
jpayne@69 4178 * decreased by one. The member data points to the next
jpayne@69 4179 * element. The member index is increased by sizeof(xcb_xkb_sa_latch_group_t)
jpayne@69 4180 */
jpayne@69 4181 void
jpayne@69 4182 xcb_xkb_sa_latch_group_next (xcb_xkb_sa_latch_group_iterator_t *i);
jpayne@69 4183
jpayne@69 4184 /**
jpayne@69 4185 * Return the iterator pointing to the last element
jpayne@69 4186 * @param i An xcb_xkb_sa_latch_group_iterator_t
jpayne@69 4187 * @return The iterator pointing to the last element
jpayne@69 4188 *
jpayne@69 4189 * Set the current element in the iterator to the last element.
jpayne@69 4190 * The member rem is set to 0. The member data points to the
jpayne@69 4191 * last element.
jpayne@69 4192 */
jpayne@69 4193 xcb_generic_iterator_t
jpayne@69 4194 xcb_xkb_sa_latch_group_end (xcb_xkb_sa_latch_group_iterator_t i);
jpayne@69 4195
jpayne@69 4196 /**
jpayne@69 4197 * Get the next element of the iterator
jpayne@69 4198 * @param i Pointer to a xcb_xkb_sa_lock_group_iterator_t
jpayne@69 4199 *
jpayne@69 4200 * Get the next element in the iterator. The member rem is
jpayne@69 4201 * decreased by one. The member data points to the next
jpayne@69 4202 * element. The member index is increased by sizeof(xcb_xkb_sa_lock_group_t)
jpayne@69 4203 */
jpayne@69 4204 void
jpayne@69 4205 xcb_xkb_sa_lock_group_next (xcb_xkb_sa_lock_group_iterator_t *i);
jpayne@69 4206
jpayne@69 4207 /**
jpayne@69 4208 * Return the iterator pointing to the last element
jpayne@69 4209 * @param i An xcb_xkb_sa_lock_group_iterator_t
jpayne@69 4210 * @return The iterator pointing to the last element
jpayne@69 4211 *
jpayne@69 4212 * Set the current element in the iterator to the last element.
jpayne@69 4213 * The member rem is set to 0. The member data points to the
jpayne@69 4214 * last element.
jpayne@69 4215 */
jpayne@69 4216 xcb_generic_iterator_t
jpayne@69 4217 xcb_xkb_sa_lock_group_end (xcb_xkb_sa_lock_group_iterator_t i);
jpayne@69 4218
jpayne@69 4219 /**
jpayne@69 4220 * Get the next element of the iterator
jpayne@69 4221 * @param i Pointer to a xcb_xkb_sa_move_ptr_iterator_t
jpayne@69 4222 *
jpayne@69 4223 * Get the next element in the iterator. The member rem is
jpayne@69 4224 * decreased by one. The member data points to the next
jpayne@69 4225 * element. The member index is increased by sizeof(xcb_xkb_sa_move_ptr_t)
jpayne@69 4226 */
jpayne@69 4227 void
jpayne@69 4228 xcb_xkb_sa_move_ptr_next (xcb_xkb_sa_move_ptr_iterator_t *i);
jpayne@69 4229
jpayne@69 4230 /**
jpayne@69 4231 * Return the iterator pointing to the last element
jpayne@69 4232 * @param i An xcb_xkb_sa_move_ptr_iterator_t
jpayne@69 4233 * @return The iterator pointing to the last element
jpayne@69 4234 *
jpayne@69 4235 * Set the current element in the iterator to the last element.
jpayne@69 4236 * The member rem is set to 0. The member data points to the
jpayne@69 4237 * last element.
jpayne@69 4238 */
jpayne@69 4239 xcb_generic_iterator_t
jpayne@69 4240 xcb_xkb_sa_move_ptr_end (xcb_xkb_sa_move_ptr_iterator_t i);
jpayne@69 4241
jpayne@69 4242 /**
jpayne@69 4243 * Get the next element of the iterator
jpayne@69 4244 * @param i Pointer to a xcb_xkb_sa_ptr_btn_iterator_t
jpayne@69 4245 *
jpayne@69 4246 * Get the next element in the iterator. The member rem is
jpayne@69 4247 * decreased by one. The member data points to the next
jpayne@69 4248 * element. The member index is increased by sizeof(xcb_xkb_sa_ptr_btn_t)
jpayne@69 4249 */
jpayne@69 4250 void
jpayne@69 4251 xcb_xkb_sa_ptr_btn_next (xcb_xkb_sa_ptr_btn_iterator_t *i);
jpayne@69 4252
jpayne@69 4253 /**
jpayne@69 4254 * Return the iterator pointing to the last element
jpayne@69 4255 * @param i An xcb_xkb_sa_ptr_btn_iterator_t
jpayne@69 4256 * @return The iterator pointing to the last element
jpayne@69 4257 *
jpayne@69 4258 * Set the current element in the iterator to the last element.
jpayne@69 4259 * The member rem is set to 0. The member data points to the
jpayne@69 4260 * last element.
jpayne@69 4261 */
jpayne@69 4262 xcb_generic_iterator_t
jpayne@69 4263 xcb_xkb_sa_ptr_btn_end (xcb_xkb_sa_ptr_btn_iterator_t i);
jpayne@69 4264
jpayne@69 4265 /**
jpayne@69 4266 * Get the next element of the iterator
jpayne@69 4267 * @param i Pointer to a xcb_xkb_sa_lock_ptr_btn_iterator_t
jpayne@69 4268 *
jpayne@69 4269 * Get the next element in the iterator. The member rem is
jpayne@69 4270 * decreased by one. The member data points to the next
jpayne@69 4271 * element. The member index is increased by sizeof(xcb_xkb_sa_lock_ptr_btn_t)
jpayne@69 4272 */
jpayne@69 4273 void
jpayne@69 4274 xcb_xkb_sa_lock_ptr_btn_next (xcb_xkb_sa_lock_ptr_btn_iterator_t *i);
jpayne@69 4275
jpayne@69 4276 /**
jpayne@69 4277 * Return the iterator pointing to the last element
jpayne@69 4278 * @param i An xcb_xkb_sa_lock_ptr_btn_iterator_t
jpayne@69 4279 * @return The iterator pointing to the last element
jpayne@69 4280 *
jpayne@69 4281 * Set the current element in the iterator to the last element.
jpayne@69 4282 * The member rem is set to 0. The member data points to the
jpayne@69 4283 * last element.
jpayne@69 4284 */
jpayne@69 4285 xcb_generic_iterator_t
jpayne@69 4286 xcb_xkb_sa_lock_ptr_btn_end (xcb_xkb_sa_lock_ptr_btn_iterator_t i);
jpayne@69 4287
jpayne@69 4288 /**
jpayne@69 4289 * Get the next element of the iterator
jpayne@69 4290 * @param i Pointer to a xcb_xkb_sa_set_ptr_dflt_iterator_t
jpayne@69 4291 *
jpayne@69 4292 * Get the next element in the iterator. The member rem is
jpayne@69 4293 * decreased by one. The member data points to the next
jpayne@69 4294 * element. The member index is increased by sizeof(xcb_xkb_sa_set_ptr_dflt_t)
jpayne@69 4295 */
jpayne@69 4296 void
jpayne@69 4297 xcb_xkb_sa_set_ptr_dflt_next (xcb_xkb_sa_set_ptr_dflt_iterator_t *i);
jpayne@69 4298
jpayne@69 4299 /**
jpayne@69 4300 * Return the iterator pointing to the last element
jpayne@69 4301 * @param i An xcb_xkb_sa_set_ptr_dflt_iterator_t
jpayne@69 4302 * @return The iterator pointing to the last element
jpayne@69 4303 *
jpayne@69 4304 * Set the current element in the iterator to the last element.
jpayne@69 4305 * The member rem is set to 0. The member data points to the
jpayne@69 4306 * last element.
jpayne@69 4307 */
jpayne@69 4308 xcb_generic_iterator_t
jpayne@69 4309 xcb_xkb_sa_set_ptr_dflt_end (xcb_xkb_sa_set_ptr_dflt_iterator_t i);
jpayne@69 4310
jpayne@69 4311 /**
jpayne@69 4312 * Get the next element of the iterator
jpayne@69 4313 * @param i Pointer to a xcb_xkb_sa_iso_lock_iterator_t
jpayne@69 4314 *
jpayne@69 4315 * Get the next element in the iterator. The member rem is
jpayne@69 4316 * decreased by one. The member data points to the next
jpayne@69 4317 * element. The member index is increased by sizeof(xcb_xkb_sa_iso_lock_t)
jpayne@69 4318 */
jpayne@69 4319 void
jpayne@69 4320 xcb_xkb_sa_iso_lock_next (xcb_xkb_sa_iso_lock_iterator_t *i);
jpayne@69 4321
jpayne@69 4322 /**
jpayne@69 4323 * Return the iterator pointing to the last element
jpayne@69 4324 * @param i An xcb_xkb_sa_iso_lock_iterator_t
jpayne@69 4325 * @return The iterator pointing to the last element
jpayne@69 4326 *
jpayne@69 4327 * Set the current element in the iterator to the last element.
jpayne@69 4328 * The member rem is set to 0. The member data points to the
jpayne@69 4329 * last element.
jpayne@69 4330 */
jpayne@69 4331 xcb_generic_iterator_t
jpayne@69 4332 xcb_xkb_sa_iso_lock_end (xcb_xkb_sa_iso_lock_iterator_t i);
jpayne@69 4333
jpayne@69 4334 /**
jpayne@69 4335 * Get the next element of the iterator
jpayne@69 4336 * @param i Pointer to a xcb_xkb_sa_terminate_iterator_t
jpayne@69 4337 *
jpayne@69 4338 * Get the next element in the iterator. The member rem is
jpayne@69 4339 * decreased by one. The member data points to the next
jpayne@69 4340 * element. The member index is increased by sizeof(xcb_xkb_sa_terminate_t)
jpayne@69 4341 */
jpayne@69 4342 void
jpayne@69 4343 xcb_xkb_sa_terminate_next (xcb_xkb_sa_terminate_iterator_t *i);
jpayne@69 4344
jpayne@69 4345 /**
jpayne@69 4346 * Return the iterator pointing to the last element
jpayne@69 4347 * @param i An xcb_xkb_sa_terminate_iterator_t
jpayne@69 4348 * @return The iterator pointing to the last element
jpayne@69 4349 *
jpayne@69 4350 * Set the current element in the iterator to the last element.
jpayne@69 4351 * The member rem is set to 0. The member data points to the
jpayne@69 4352 * last element.
jpayne@69 4353 */
jpayne@69 4354 xcb_generic_iterator_t
jpayne@69 4355 xcb_xkb_sa_terminate_end (xcb_xkb_sa_terminate_iterator_t i);
jpayne@69 4356
jpayne@69 4357 /**
jpayne@69 4358 * Get the next element of the iterator
jpayne@69 4359 * @param i Pointer to a xcb_xkb_sa_switch_screen_iterator_t
jpayne@69 4360 *
jpayne@69 4361 * Get the next element in the iterator. The member rem is
jpayne@69 4362 * decreased by one. The member data points to the next
jpayne@69 4363 * element. The member index is increased by sizeof(xcb_xkb_sa_switch_screen_t)
jpayne@69 4364 */
jpayne@69 4365 void
jpayne@69 4366 xcb_xkb_sa_switch_screen_next (xcb_xkb_sa_switch_screen_iterator_t *i);
jpayne@69 4367
jpayne@69 4368 /**
jpayne@69 4369 * Return the iterator pointing to the last element
jpayne@69 4370 * @param i An xcb_xkb_sa_switch_screen_iterator_t
jpayne@69 4371 * @return The iterator pointing to the last element
jpayne@69 4372 *
jpayne@69 4373 * Set the current element in the iterator to the last element.
jpayne@69 4374 * The member rem is set to 0. The member data points to the
jpayne@69 4375 * last element.
jpayne@69 4376 */
jpayne@69 4377 xcb_generic_iterator_t
jpayne@69 4378 xcb_xkb_sa_switch_screen_end (xcb_xkb_sa_switch_screen_iterator_t i);
jpayne@69 4379
jpayne@69 4380 /**
jpayne@69 4381 * Get the next element of the iterator
jpayne@69 4382 * @param i Pointer to a xcb_xkb_sa_set_controls_iterator_t
jpayne@69 4383 *
jpayne@69 4384 * Get the next element in the iterator. The member rem is
jpayne@69 4385 * decreased by one. The member data points to the next
jpayne@69 4386 * element. The member index is increased by sizeof(xcb_xkb_sa_set_controls_t)
jpayne@69 4387 */
jpayne@69 4388 void
jpayne@69 4389 xcb_xkb_sa_set_controls_next (xcb_xkb_sa_set_controls_iterator_t *i);
jpayne@69 4390
jpayne@69 4391 /**
jpayne@69 4392 * Return the iterator pointing to the last element
jpayne@69 4393 * @param i An xcb_xkb_sa_set_controls_iterator_t
jpayne@69 4394 * @return The iterator pointing to the last element
jpayne@69 4395 *
jpayne@69 4396 * Set the current element in the iterator to the last element.
jpayne@69 4397 * The member rem is set to 0. The member data points to the
jpayne@69 4398 * last element.
jpayne@69 4399 */
jpayne@69 4400 xcb_generic_iterator_t
jpayne@69 4401 xcb_xkb_sa_set_controls_end (xcb_xkb_sa_set_controls_iterator_t i);
jpayne@69 4402
jpayne@69 4403 /**
jpayne@69 4404 * Get the next element of the iterator
jpayne@69 4405 * @param i Pointer to a xcb_xkb_sa_lock_controls_iterator_t
jpayne@69 4406 *
jpayne@69 4407 * Get the next element in the iterator. The member rem is
jpayne@69 4408 * decreased by one. The member data points to the next
jpayne@69 4409 * element. The member index is increased by sizeof(xcb_xkb_sa_lock_controls_t)
jpayne@69 4410 */
jpayne@69 4411 void
jpayne@69 4412 xcb_xkb_sa_lock_controls_next (xcb_xkb_sa_lock_controls_iterator_t *i);
jpayne@69 4413
jpayne@69 4414 /**
jpayne@69 4415 * Return the iterator pointing to the last element
jpayne@69 4416 * @param i An xcb_xkb_sa_lock_controls_iterator_t
jpayne@69 4417 * @return The iterator pointing to the last element
jpayne@69 4418 *
jpayne@69 4419 * Set the current element in the iterator to the last element.
jpayne@69 4420 * The member rem is set to 0. The member data points to the
jpayne@69 4421 * last element.
jpayne@69 4422 */
jpayne@69 4423 xcb_generic_iterator_t
jpayne@69 4424 xcb_xkb_sa_lock_controls_end (xcb_xkb_sa_lock_controls_iterator_t i);
jpayne@69 4425
jpayne@69 4426 /**
jpayne@69 4427 * Get the next element of the iterator
jpayne@69 4428 * @param i Pointer to a xcb_xkb_sa_action_message_iterator_t
jpayne@69 4429 *
jpayne@69 4430 * Get the next element in the iterator. The member rem is
jpayne@69 4431 * decreased by one. The member data points to the next
jpayne@69 4432 * element. The member index is increased by sizeof(xcb_xkb_sa_action_message_t)
jpayne@69 4433 */
jpayne@69 4434 void
jpayne@69 4435 xcb_xkb_sa_action_message_next (xcb_xkb_sa_action_message_iterator_t *i);
jpayne@69 4436
jpayne@69 4437 /**
jpayne@69 4438 * Return the iterator pointing to the last element
jpayne@69 4439 * @param i An xcb_xkb_sa_action_message_iterator_t
jpayne@69 4440 * @return The iterator pointing to the last element
jpayne@69 4441 *
jpayne@69 4442 * Set the current element in the iterator to the last element.
jpayne@69 4443 * The member rem is set to 0. The member data points to the
jpayne@69 4444 * last element.
jpayne@69 4445 */
jpayne@69 4446 xcb_generic_iterator_t
jpayne@69 4447 xcb_xkb_sa_action_message_end (xcb_xkb_sa_action_message_iterator_t i);
jpayne@69 4448
jpayne@69 4449 /**
jpayne@69 4450 * Get the next element of the iterator
jpayne@69 4451 * @param i Pointer to a xcb_xkb_sa_redirect_key_iterator_t
jpayne@69 4452 *
jpayne@69 4453 * Get the next element in the iterator. The member rem is
jpayne@69 4454 * decreased by one. The member data points to the next
jpayne@69 4455 * element. The member index is increased by sizeof(xcb_xkb_sa_redirect_key_t)
jpayne@69 4456 */
jpayne@69 4457 void
jpayne@69 4458 xcb_xkb_sa_redirect_key_next (xcb_xkb_sa_redirect_key_iterator_t *i);
jpayne@69 4459
jpayne@69 4460 /**
jpayne@69 4461 * Return the iterator pointing to the last element
jpayne@69 4462 * @param i An xcb_xkb_sa_redirect_key_iterator_t
jpayne@69 4463 * @return The iterator pointing to the last element
jpayne@69 4464 *
jpayne@69 4465 * Set the current element in the iterator to the last element.
jpayne@69 4466 * The member rem is set to 0. The member data points to the
jpayne@69 4467 * last element.
jpayne@69 4468 */
jpayne@69 4469 xcb_generic_iterator_t
jpayne@69 4470 xcb_xkb_sa_redirect_key_end (xcb_xkb_sa_redirect_key_iterator_t i);
jpayne@69 4471
jpayne@69 4472 /**
jpayne@69 4473 * Get the next element of the iterator
jpayne@69 4474 * @param i Pointer to a xcb_xkb_sa_device_btn_iterator_t
jpayne@69 4475 *
jpayne@69 4476 * Get the next element in the iterator. The member rem is
jpayne@69 4477 * decreased by one. The member data points to the next
jpayne@69 4478 * element. The member index is increased by sizeof(xcb_xkb_sa_device_btn_t)
jpayne@69 4479 */
jpayne@69 4480 void
jpayne@69 4481 xcb_xkb_sa_device_btn_next (xcb_xkb_sa_device_btn_iterator_t *i);
jpayne@69 4482
jpayne@69 4483 /**
jpayne@69 4484 * Return the iterator pointing to the last element
jpayne@69 4485 * @param i An xcb_xkb_sa_device_btn_iterator_t
jpayne@69 4486 * @return The iterator pointing to the last element
jpayne@69 4487 *
jpayne@69 4488 * Set the current element in the iterator to the last element.
jpayne@69 4489 * The member rem is set to 0. The member data points to the
jpayne@69 4490 * last element.
jpayne@69 4491 */
jpayne@69 4492 xcb_generic_iterator_t
jpayne@69 4493 xcb_xkb_sa_device_btn_end (xcb_xkb_sa_device_btn_iterator_t i);
jpayne@69 4494
jpayne@69 4495 /**
jpayne@69 4496 * Get the next element of the iterator
jpayne@69 4497 * @param i Pointer to a xcb_xkb_sa_lock_device_btn_iterator_t
jpayne@69 4498 *
jpayne@69 4499 * Get the next element in the iterator. The member rem is
jpayne@69 4500 * decreased by one. The member data points to the next
jpayne@69 4501 * element. The member index is increased by sizeof(xcb_xkb_sa_lock_device_btn_t)
jpayne@69 4502 */
jpayne@69 4503 void
jpayne@69 4504 xcb_xkb_sa_lock_device_btn_next (xcb_xkb_sa_lock_device_btn_iterator_t *i);
jpayne@69 4505
jpayne@69 4506 /**
jpayne@69 4507 * Return the iterator pointing to the last element
jpayne@69 4508 * @param i An xcb_xkb_sa_lock_device_btn_iterator_t
jpayne@69 4509 * @return The iterator pointing to the last element
jpayne@69 4510 *
jpayne@69 4511 * Set the current element in the iterator to the last element.
jpayne@69 4512 * The member rem is set to 0. The member data points to the
jpayne@69 4513 * last element.
jpayne@69 4514 */
jpayne@69 4515 xcb_generic_iterator_t
jpayne@69 4516 xcb_xkb_sa_lock_device_btn_end (xcb_xkb_sa_lock_device_btn_iterator_t i);
jpayne@69 4517
jpayne@69 4518 /**
jpayne@69 4519 * Get the next element of the iterator
jpayne@69 4520 * @param i Pointer to a xcb_xkb_sa_device_valuator_iterator_t
jpayne@69 4521 *
jpayne@69 4522 * Get the next element in the iterator. The member rem is
jpayne@69 4523 * decreased by one. The member data points to the next
jpayne@69 4524 * element. The member index is increased by sizeof(xcb_xkb_sa_device_valuator_t)
jpayne@69 4525 */
jpayne@69 4526 void
jpayne@69 4527 xcb_xkb_sa_device_valuator_next (xcb_xkb_sa_device_valuator_iterator_t *i);
jpayne@69 4528
jpayne@69 4529 /**
jpayne@69 4530 * Return the iterator pointing to the last element
jpayne@69 4531 * @param i An xcb_xkb_sa_device_valuator_iterator_t
jpayne@69 4532 * @return The iterator pointing to the last element
jpayne@69 4533 *
jpayne@69 4534 * Set the current element in the iterator to the last element.
jpayne@69 4535 * The member rem is set to 0. The member data points to the
jpayne@69 4536 * last element.
jpayne@69 4537 */
jpayne@69 4538 xcb_generic_iterator_t
jpayne@69 4539 xcb_xkb_sa_device_valuator_end (xcb_xkb_sa_device_valuator_iterator_t i);
jpayne@69 4540
jpayne@69 4541 /**
jpayne@69 4542 * Get the next element of the iterator
jpayne@69 4543 * @param i Pointer to a xcb_xkb_si_action_iterator_t
jpayne@69 4544 *
jpayne@69 4545 * Get the next element in the iterator. The member rem is
jpayne@69 4546 * decreased by one. The member data points to the next
jpayne@69 4547 * element. The member index is increased by sizeof(xcb_xkb_si_action_t)
jpayne@69 4548 */
jpayne@69 4549 void
jpayne@69 4550 xcb_xkb_si_action_next (xcb_xkb_si_action_iterator_t *i);
jpayne@69 4551
jpayne@69 4552 /**
jpayne@69 4553 * Return the iterator pointing to the last element
jpayne@69 4554 * @param i An xcb_xkb_si_action_iterator_t
jpayne@69 4555 * @return The iterator pointing to the last element
jpayne@69 4556 *
jpayne@69 4557 * Set the current element in the iterator to the last element.
jpayne@69 4558 * The member rem is set to 0. The member data points to the
jpayne@69 4559 * last element.
jpayne@69 4560 */
jpayne@69 4561 xcb_generic_iterator_t
jpayne@69 4562 xcb_xkb_si_action_end (xcb_xkb_si_action_iterator_t i);
jpayne@69 4563
jpayne@69 4564 /**
jpayne@69 4565 * Get the next element of the iterator
jpayne@69 4566 * @param i Pointer to a xcb_xkb_sym_interpret_iterator_t
jpayne@69 4567 *
jpayne@69 4568 * Get the next element in the iterator. The member rem is
jpayne@69 4569 * decreased by one. The member data points to the next
jpayne@69 4570 * element. The member index is increased by sizeof(xcb_xkb_sym_interpret_t)
jpayne@69 4571 */
jpayne@69 4572 void
jpayne@69 4573 xcb_xkb_sym_interpret_next (xcb_xkb_sym_interpret_iterator_t *i);
jpayne@69 4574
jpayne@69 4575 /**
jpayne@69 4576 * Return the iterator pointing to the last element
jpayne@69 4577 * @param i An xcb_xkb_sym_interpret_iterator_t
jpayne@69 4578 * @return The iterator pointing to the last element
jpayne@69 4579 *
jpayne@69 4580 * Set the current element in the iterator to the last element.
jpayne@69 4581 * The member rem is set to 0. The member data points to the
jpayne@69 4582 * last element.
jpayne@69 4583 */
jpayne@69 4584 xcb_generic_iterator_t
jpayne@69 4585 xcb_xkb_sym_interpret_end (xcb_xkb_sym_interpret_iterator_t i);
jpayne@69 4586
jpayne@69 4587 /**
jpayne@69 4588 * Get the next element of the iterator
jpayne@69 4589 * @param i Pointer to a xcb_xkb_action_iterator_t
jpayne@69 4590 *
jpayne@69 4591 * Get the next element in the iterator. The member rem is
jpayne@69 4592 * decreased by one. The member data points to the next
jpayne@69 4593 * element. The member index is increased by sizeof(xcb_xkb_action_t)
jpayne@69 4594 */
jpayne@69 4595 void
jpayne@69 4596 xcb_xkb_action_next (xcb_xkb_action_iterator_t *i);
jpayne@69 4597
jpayne@69 4598 /**
jpayne@69 4599 * Return the iterator pointing to the last element
jpayne@69 4600 * @param i An xcb_xkb_action_iterator_t
jpayne@69 4601 * @return The iterator pointing to the last element
jpayne@69 4602 *
jpayne@69 4603 * Set the current element in the iterator to the last element.
jpayne@69 4604 * The member rem is set to 0. The member data points to the
jpayne@69 4605 * last element.
jpayne@69 4606 */
jpayne@69 4607 xcb_generic_iterator_t
jpayne@69 4608 xcb_xkb_action_end (xcb_xkb_action_iterator_t i);
jpayne@69 4609
jpayne@69 4610 /**
jpayne@69 4611 *
jpayne@69 4612 * @param c The connection
jpayne@69 4613 * @return A cookie
jpayne@69 4614 *
jpayne@69 4615 * Delivers a request to the X server.
jpayne@69 4616 *
jpayne@69 4617 */
jpayne@69 4618 xcb_xkb_use_extension_cookie_t
jpayne@69 4619 xcb_xkb_use_extension (xcb_connection_t *c,
jpayne@69 4620 uint16_t wantedMajor,
jpayne@69 4621 uint16_t wantedMinor);
jpayne@69 4622
jpayne@69 4623 /**
jpayne@69 4624 *
jpayne@69 4625 * @param c The connection
jpayne@69 4626 * @return A cookie
jpayne@69 4627 *
jpayne@69 4628 * Delivers a request to the X server.
jpayne@69 4629 *
jpayne@69 4630 * This form can be used only if the request will cause
jpayne@69 4631 * a reply to be generated. Any returned error will be
jpayne@69 4632 * placed in the event queue.
jpayne@69 4633 */
jpayne@69 4634 xcb_xkb_use_extension_cookie_t
jpayne@69 4635 xcb_xkb_use_extension_unchecked (xcb_connection_t *c,
jpayne@69 4636 uint16_t wantedMajor,
jpayne@69 4637 uint16_t wantedMinor);
jpayne@69 4638
jpayne@69 4639 /**
jpayne@69 4640 * Return the reply
jpayne@69 4641 * @param c The connection
jpayne@69 4642 * @param cookie The cookie
jpayne@69 4643 * @param e The xcb_generic_error_t supplied
jpayne@69 4644 *
jpayne@69 4645 * Returns the reply of the request asked by
jpayne@69 4646 *
jpayne@69 4647 * The parameter @p e supplied to this function must be NULL if
jpayne@69 4648 * xcb_xkb_use_extension_unchecked(). is used.
jpayne@69 4649 * Otherwise, it stores the error if any.
jpayne@69 4650 *
jpayne@69 4651 * The returned value must be freed by the caller using free().
jpayne@69 4652 */
jpayne@69 4653 xcb_xkb_use_extension_reply_t *
jpayne@69 4654 xcb_xkb_use_extension_reply (xcb_connection_t *c,
jpayne@69 4655 xcb_xkb_use_extension_cookie_t cookie /**< */,
jpayne@69 4656 xcb_generic_error_t **e);
jpayne@69 4657
jpayne@69 4658 int
jpayne@69 4659 xcb_xkb_select_events_details_serialize (void **_buffer,
jpayne@69 4660 uint16_t affectWhich,
jpayne@69 4661 uint16_t clear,
jpayne@69 4662 uint16_t selectAll,
jpayne@69 4663 const xcb_xkb_select_events_details_t *_aux);
jpayne@69 4664
jpayne@69 4665 int
jpayne@69 4666 xcb_xkb_select_events_details_unpack (const void *_buffer,
jpayne@69 4667 uint16_t affectWhich,
jpayne@69 4668 uint16_t clear,
jpayne@69 4669 uint16_t selectAll,
jpayne@69 4670 xcb_xkb_select_events_details_t *_aux);
jpayne@69 4671
jpayne@69 4672 int
jpayne@69 4673 xcb_xkb_select_events_details_sizeof (const void *_buffer,
jpayne@69 4674 uint16_t affectWhich,
jpayne@69 4675 uint16_t clear,
jpayne@69 4676 uint16_t selectAll);
jpayne@69 4677
jpayne@69 4678 int
jpayne@69 4679 xcb_xkb_select_events_sizeof (const void *_buffer);
jpayne@69 4680
jpayne@69 4681 /**
jpayne@69 4682 *
jpayne@69 4683 * @param c The connection
jpayne@69 4684 * @return A cookie
jpayne@69 4685 *
jpayne@69 4686 * Delivers a request to the X server.
jpayne@69 4687 *
jpayne@69 4688 * This form can be used only if the request will not cause
jpayne@69 4689 * a reply to be generated. Any returned error will be
jpayne@69 4690 * saved for handling by xcb_request_check().
jpayne@69 4691 */
jpayne@69 4692 xcb_void_cookie_t
jpayne@69 4693 xcb_xkb_select_events_checked (xcb_connection_t *c,
jpayne@69 4694 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4695 uint16_t affectWhich,
jpayne@69 4696 uint16_t clear,
jpayne@69 4697 uint16_t selectAll,
jpayne@69 4698 uint16_t affectMap,
jpayne@69 4699 uint16_t map,
jpayne@69 4700 const void *details);
jpayne@69 4701
jpayne@69 4702 /**
jpayne@69 4703 *
jpayne@69 4704 * @param c The connection
jpayne@69 4705 * @return A cookie
jpayne@69 4706 *
jpayne@69 4707 * Delivers a request to the X server.
jpayne@69 4708 *
jpayne@69 4709 */
jpayne@69 4710 xcb_void_cookie_t
jpayne@69 4711 xcb_xkb_select_events (xcb_connection_t *c,
jpayne@69 4712 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4713 uint16_t affectWhich,
jpayne@69 4714 uint16_t clear,
jpayne@69 4715 uint16_t selectAll,
jpayne@69 4716 uint16_t affectMap,
jpayne@69 4717 uint16_t map,
jpayne@69 4718 const void *details);
jpayne@69 4719
jpayne@69 4720 /**
jpayne@69 4721 *
jpayne@69 4722 * @param c The connection
jpayne@69 4723 * @return A cookie
jpayne@69 4724 *
jpayne@69 4725 * Delivers a request to the X server.
jpayne@69 4726 *
jpayne@69 4727 * This form can be used only if the request will not cause
jpayne@69 4728 * a reply to be generated. Any returned error will be
jpayne@69 4729 * saved for handling by xcb_request_check().
jpayne@69 4730 */
jpayne@69 4731 xcb_void_cookie_t
jpayne@69 4732 xcb_xkb_select_events_aux_checked (xcb_connection_t *c,
jpayne@69 4733 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4734 uint16_t affectWhich,
jpayne@69 4735 uint16_t clear,
jpayne@69 4736 uint16_t selectAll,
jpayne@69 4737 uint16_t affectMap,
jpayne@69 4738 uint16_t map,
jpayne@69 4739 const xcb_xkb_select_events_details_t *details);
jpayne@69 4740
jpayne@69 4741 /**
jpayne@69 4742 *
jpayne@69 4743 * @param c The connection
jpayne@69 4744 * @return A cookie
jpayne@69 4745 *
jpayne@69 4746 * Delivers a request to the X server.
jpayne@69 4747 *
jpayne@69 4748 */
jpayne@69 4749 xcb_void_cookie_t
jpayne@69 4750 xcb_xkb_select_events_aux (xcb_connection_t *c,
jpayne@69 4751 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4752 uint16_t affectWhich,
jpayne@69 4753 uint16_t clear,
jpayne@69 4754 uint16_t selectAll,
jpayne@69 4755 uint16_t affectMap,
jpayne@69 4756 uint16_t map,
jpayne@69 4757 const xcb_xkb_select_events_details_t *details);
jpayne@69 4758
jpayne@69 4759 void *
jpayne@69 4760 xcb_xkb_select_events_details (const xcb_xkb_select_events_request_t *R);
jpayne@69 4761
jpayne@69 4762 /**
jpayne@69 4763 *
jpayne@69 4764 * @param c The connection
jpayne@69 4765 * @return A cookie
jpayne@69 4766 *
jpayne@69 4767 * Delivers a request to the X server.
jpayne@69 4768 *
jpayne@69 4769 * This form can be used only if the request will not cause
jpayne@69 4770 * a reply to be generated. Any returned error will be
jpayne@69 4771 * saved for handling by xcb_request_check().
jpayne@69 4772 */
jpayne@69 4773 xcb_void_cookie_t
jpayne@69 4774 xcb_xkb_bell_checked (xcb_connection_t *c,
jpayne@69 4775 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4776 xcb_xkb_bell_class_spec_t bellClass,
jpayne@69 4777 xcb_xkb_id_spec_t bellID,
jpayne@69 4778 int8_t percent,
jpayne@69 4779 uint8_t forceSound,
jpayne@69 4780 uint8_t eventOnly,
jpayne@69 4781 int16_t pitch,
jpayne@69 4782 int16_t duration,
jpayne@69 4783 xcb_atom_t name,
jpayne@69 4784 xcb_window_t window);
jpayne@69 4785
jpayne@69 4786 /**
jpayne@69 4787 *
jpayne@69 4788 * @param c The connection
jpayne@69 4789 * @return A cookie
jpayne@69 4790 *
jpayne@69 4791 * Delivers a request to the X server.
jpayne@69 4792 *
jpayne@69 4793 */
jpayne@69 4794 xcb_void_cookie_t
jpayne@69 4795 xcb_xkb_bell (xcb_connection_t *c,
jpayne@69 4796 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4797 xcb_xkb_bell_class_spec_t bellClass,
jpayne@69 4798 xcb_xkb_id_spec_t bellID,
jpayne@69 4799 int8_t percent,
jpayne@69 4800 uint8_t forceSound,
jpayne@69 4801 uint8_t eventOnly,
jpayne@69 4802 int16_t pitch,
jpayne@69 4803 int16_t duration,
jpayne@69 4804 xcb_atom_t name,
jpayne@69 4805 xcb_window_t window);
jpayne@69 4806
jpayne@69 4807 /**
jpayne@69 4808 *
jpayne@69 4809 * @param c The connection
jpayne@69 4810 * @return A cookie
jpayne@69 4811 *
jpayne@69 4812 * Delivers a request to the X server.
jpayne@69 4813 *
jpayne@69 4814 */
jpayne@69 4815 xcb_xkb_get_state_cookie_t
jpayne@69 4816 xcb_xkb_get_state (xcb_connection_t *c,
jpayne@69 4817 xcb_xkb_device_spec_t deviceSpec);
jpayne@69 4818
jpayne@69 4819 /**
jpayne@69 4820 *
jpayne@69 4821 * @param c The connection
jpayne@69 4822 * @return A cookie
jpayne@69 4823 *
jpayne@69 4824 * Delivers a request to the X server.
jpayne@69 4825 *
jpayne@69 4826 * This form can be used only if the request will cause
jpayne@69 4827 * a reply to be generated. Any returned error will be
jpayne@69 4828 * placed in the event queue.
jpayne@69 4829 */
jpayne@69 4830 xcb_xkb_get_state_cookie_t
jpayne@69 4831 xcb_xkb_get_state_unchecked (xcb_connection_t *c,
jpayne@69 4832 xcb_xkb_device_spec_t deviceSpec);
jpayne@69 4833
jpayne@69 4834 /**
jpayne@69 4835 * Return the reply
jpayne@69 4836 * @param c The connection
jpayne@69 4837 * @param cookie The cookie
jpayne@69 4838 * @param e The xcb_generic_error_t supplied
jpayne@69 4839 *
jpayne@69 4840 * Returns the reply of the request asked by
jpayne@69 4841 *
jpayne@69 4842 * The parameter @p e supplied to this function must be NULL if
jpayne@69 4843 * xcb_xkb_get_state_unchecked(). is used.
jpayne@69 4844 * Otherwise, it stores the error if any.
jpayne@69 4845 *
jpayne@69 4846 * The returned value must be freed by the caller using free().
jpayne@69 4847 */
jpayne@69 4848 xcb_xkb_get_state_reply_t *
jpayne@69 4849 xcb_xkb_get_state_reply (xcb_connection_t *c,
jpayne@69 4850 xcb_xkb_get_state_cookie_t cookie /**< */,
jpayne@69 4851 xcb_generic_error_t **e);
jpayne@69 4852
jpayne@69 4853 /**
jpayne@69 4854 *
jpayne@69 4855 * @param c The connection
jpayne@69 4856 * @return A cookie
jpayne@69 4857 *
jpayne@69 4858 * Delivers a request to the X server.
jpayne@69 4859 *
jpayne@69 4860 * This form can be used only if the request will not cause
jpayne@69 4861 * a reply to be generated. Any returned error will be
jpayne@69 4862 * saved for handling by xcb_request_check().
jpayne@69 4863 */
jpayne@69 4864 xcb_void_cookie_t
jpayne@69 4865 xcb_xkb_latch_lock_state_checked (xcb_connection_t *c,
jpayne@69 4866 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4867 uint8_t affectModLocks,
jpayne@69 4868 uint8_t modLocks,
jpayne@69 4869 uint8_t lockGroup,
jpayne@69 4870 uint8_t groupLock,
jpayne@69 4871 uint8_t affectModLatches,
jpayne@69 4872 uint8_t latchGroup,
jpayne@69 4873 uint16_t groupLatch);
jpayne@69 4874
jpayne@69 4875 /**
jpayne@69 4876 *
jpayne@69 4877 * @param c The connection
jpayne@69 4878 * @return A cookie
jpayne@69 4879 *
jpayne@69 4880 * Delivers a request to the X server.
jpayne@69 4881 *
jpayne@69 4882 */
jpayne@69 4883 xcb_void_cookie_t
jpayne@69 4884 xcb_xkb_latch_lock_state (xcb_connection_t *c,
jpayne@69 4885 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4886 uint8_t affectModLocks,
jpayne@69 4887 uint8_t modLocks,
jpayne@69 4888 uint8_t lockGroup,
jpayne@69 4889 uint8_t groupLock,
jpayne@69 4890 uint8_t affectModLatches,
jpayne@69 4891 uint8_t latchGroup,
jpayne@69 4892 uint16_t groupLatch);
jpayne@69 4893
jpayne@69 4894 /**
jpayne@69 4895 *
jpayne@69 4896 * @param c The connection
jpayne@69 4897 * @return A cookie
jpayne@69 4898 *
jpayne@69 4899 * Delivers a request to the X server.
jpayne@69 4900 *
jpayne@69 4901 */
jpayne@69 4902 xcb_xkb_get_controls_cookie_t
jpayne@69 4903 xcb_xkb_get_controls (xcb_connection_t *c,
jpayne@69 4904 xcb_xkb_device_spec_t deviceSpec);
jpayne@69 4905
jpayne@69 4906 /**
jpayne@69 4907 *
jpayne@69 4908 * @param c The connection
jpayne@69 4909 * @return A cookie
jpayne@69 4910 *
jpayne@69 4911 * Delivers a request to the X server.
jpayne@69 4912 *
jpayne@69 4913 * This form can be used only if the request will cause
jpayne@69 4914 * a reply to be generated. Any returned error will be
jpayne@69 4915 * placed in the event queue.
jpayne@69 4916 */
jpayne@69 4917 xcb_xkb_get_controls_cookie_t
jpayne@69 4918 xcb_xkb_get_controls_unchecked (xcb_connection_t *c,
jpayne@69 4919 xcb_xkb_device_spec_t deviceSpec);
jpayne@69 4920
jpayne@69 4921 /**
jpayne@69 4922 * Return the reply
jpayne@69 4923 * @param c The connection
jpayne@69 4924 * @param cookie The cookie
jpayne@69 4925 * @param e The xcb_generic_error_t supplied
jpayne@69 4926 *
jpayne@69 4927 * Returns the reply of the request asked by
jpayne@69 4928 *
jpayne@69 4929 * The parameter @p e supplied to this function must be NULL if
jpayne@69 4930 * xcb_xkb_get_controls_unchecked(). is used.
jpayne@69 4931 * Otherwise, it stores the error if any.
jpayne@69 4932 *
jpayne@69 4933 * The returned value must be freed by the caller using free().
jpayne@69 4934 */
jpayne@69 4935 xcb_xkb_get_controls_reply_t *
jpayne@69 4936 xcb_xkb_get_controls_reply (xcb_connection_t *c,
jpayne@69 4937 xcb_xkb_get_controls_cookie_t cookie /**< */,
jpayne@69 4938 xcb_generic_error_t **e);
jpayne@69 4939
jpayne@69 4940 /**
jpayne@69 4941 *
jpayne@69 4942 * @param c The connection
jpayne@69 4943 * @return A cookie
jpayne@69 4944 *
jpayne@69 4945 * Delivers a request to the X server.
jpayne@69 4946 *
jpayne@69 4947 * This form can be used only if the request will not cause
jpayne@69 4948 * a reply to be generated. Any returned error will be
jpayne@69 4949 * saved for handling by xcb_request_check().
jpayne@69 4950 */
jpayne@69 4951 xcb_void_cookie_t
jpayne@69 4952 xcb_xkb_set_controls_checked (xcb_connection_t *c,
jpayne@69 4953 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4954 uint8_t affectInternalRealMods,
jpayne@69 4955 uint8_t internalRealMods,
jpayne@69 4956 uint8_t affectIgnoreLockRealMods,
jpayne@69 4957 uint8_t ignoreLockRealMods,
jpayne@69 4958 uint16_t affectInternalVirtualMods,
jpayne@69 4959 uint16_t internalVirtualMods,
jpayne@69 4960 uint16_t affectIgnoreLockVirtualMods,
jpayne@69 4961 uint16_t ignoreLockVirtualMods,
jpayne@69 4962 uint8_t mouseKeysDfltBtn,
jpayne@69 4963 uint8_t groupsWrap,
jpayne@69 4964 uint16_t accessXOptions,
jpayne@69 4965 uint32_t affectEnabledControls,
jpayne@69 4966 uint32_t enabledControls,
jpayne@69 4967 uint32_t changeControls,
jpayne@69 4968 uint16_t repeatDelay,
jpayne@69 4969 uint16_t repeatInterval,
jpayne@69 4970 uint16_t slowKeysDelay,
jpayne@69 4971 uint16_t debounceDelay,
jpayne@69 4972 uint16_t mouseKeysDelay,
jpayne@69 4973 uint16_t mouseKeysInterval,
jpayne@69 4974 uint16_t mouseKeysTimeToMax,
jpayne@69 4975 uint16_t mouseKeysMaxSpeed,
jpayne@69 4976 int16_t mouseKeysCurve,
jpayne@69 4977 uint16_t accessXTimeout,
jpayne@69 4978 uint32_t accessXTimeoutMask,
jpayne@69 4979 uint32_t accessXTimeoutValues,
jpayne@69 4980 uint16_t accessXTimeoutOptionsMask,
jpayne@69 4981 uint16_t accessXTimeoutOptionsValues,
jpayne@69 4982 const uint8_t *perKeyRepeat);
jpayne@69 4983
jpayne@69 4984 /**
jpayne@69 4985 *
jpayne@69 4986 * @param c The connection
jpayne@69 4987 * @return A cookie
jpayne@69 4988 *
jpayne@69 4989 * Delivers a request to the X server.
jpayne@69 4990 *
jpayne@69 4991 */
jpayne@69 4992 xcb_void_cookie_t
jpayne@69 4993 xcb_xkb_set_controls (xcb_connection_t *c,
jpayne@69 4994 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 4995 uint8_t affectInternalRealMods,
jpayne@69 4996 uint8_t internalRealMods,
jpayne@69 4997 uint8_t affectIgnoreLockRealMods,
jpayne@69 4998 uint8_t ignoreLockRealMods,
jpayne@69 4999 uint16_t affectInternalVirtualMods,
jpayne@69 5000 uint16_t internalVirtualMods,
jpayne@69 5001 uint16_t affectIgnoreLockVirtualMods,
jpayne@69 5002 uint16_t ignoreLockVirtualMods,
jpayne@69 5003 uint8_t mouseKeysDfltBtn,
jpayne@69 5004 uint8_t groupsWrap,
jpayne@69 5005 uint16_t accessXOptions,
jpayne@69 5006 uint32_t affectEnabledControls,
jpayne@69 5007 uint32_t enabledControls,
jpayne@69 5008 uint32_t changeControls,
jpayne@69 5009 uint16_t repeatDelay,
jpayne@69 5010 uint16_t repeatInterval,
jpayne@69 5011 uint16_t slowKeysDelay,
jpayne@69 5012 uint16_t debounceDelay,
jpayne@69 5013 uint16_t mouseKeysDelay,
jpayne@69 5014 uint16_t mouseKeysInterval,
jpayne@69 5015 uint16_t mouseKeysTimeToMax,
jpayne@69 5016 uint16_t mouseKeysMaxSpeed,
jpayne@69 5017 int16_t mouseKeysCurve,
jpayne@69 5018 uint16_t accessXTimeout,
jpayne@69 5019 uint32_t accessXTimeoutMask,
jpayne@69 5020 uint32_t accessXTimeoutValues,
jpayne@69 5021 uint16_t accessXTimeoutOptionsMask,
jpayne@69 5022 uint16_t accessXTimeoutOptionsValues,
jpayne@69 5023 const uint8_t *perKeyRepeat);
jpayne@69 5024
jpayne@69 5025 int
jpayne@69 5026 xcb_xkb_get_map_map_types_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5027 const xcb_xkb_get_map_map_t *S);
jpayne@69 5028
jpayne@69 5029 xcb_xkb_key_type_iterator_t
jpayne@69 5030 xcb_xkb_get_map_map_types_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5031 const xcb_xkb_get_map_map_t *S);
jpayne@69 5032
jpayne@69 5033 int
jpayne@69 5034 xcb_xkb_get_map_map_syms_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5035 const xcb_xkb_get_map_map_t *S);
jpayne@69 5036
jpayne@69 5037 xcb_xkb_key_sym_map_iterator_t
jpayne@69 5038 xcb_xkb_get_map_map_syms_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5039 const xcb_xkb_get_map_map_t *S);
jpayne@69 5040
jpayne@69 5041 uint8_t *
jpayne@69 5042 xcb_xkb_get_map_map_acts_rtrn_count (const xcb_xkb_get_map_map_t *S);
jpayne@69 5043
jpayne@69 5044 int
jpayne@69 5045 xcb_xkb_get_map_map_acts_rtrn_count_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5046 const xcb_xkb_get_map_map_t *S);
jpayne@69 5047
jpayne@69 5048 xcb_generic_iterator_t
jpayne@69 5049 xcb_xkb_get_map_map_acts_rtrn_count_end (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5050 const xcb_xkb_get_map_map_t *S);
jpayne@69 5051
jpayne@69 5052 xcb_xkb_action_t *
jpayne@69 5053 xcb_xkb_get_map_map_acts_rtrn_acts (const xcb_xkb_get_map_map_t *S);
jpayne@69 5054
jpayne@69 5055 int
jpayne@69 5056 xcb_xkb_get_map_map_acts_rtrn_acts_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5057 const xcb_xkb_get_map_map_t *S);
jpayne@69 5058
jpayne@69 5059 xcb_xkb_action_iterator_t
jpayne@69 5060 xcb_xkb_get_map_map_acts_rtrn_acts_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5061 const xcb_xkb_get_map_map_t *S);
jpayne@69 5062
jpayne@69 5063 xcb_xkb_set_behavior_t *
jpayne@69 5064 xcb_xkb_get_map_map_behaviors_rtrn (const xcb_xkb_get_map_map_t *S);
jpayne@69 5065
jpayne@69 5066 int
jpayne@69 5067 xcb_xkb_get_map_map_behaviors_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5068 const xcb_xkb_get_map_map_t *S);
jpayne@69 5069
jpayne@69 5070 xcb_xkb_set_behavior_iterator_t
jpayne@69 5071 xcb_xkb_get_map_map_behaviors_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5072 const xcb_xkb_get_map_map_t *S);
jpayne@69 5073
jpayne@69 5074 uint8_t *
jpayne@69 5075 xcb_xkb_get_map_map_vmods_rtrn (const xcb_xkb_get_map_map_t *S);
jpayne@69 5076
jpayne@69 5077 int
jpayne@69 5078 xcb_xkb_get_map_map_vmods_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5079 const xcb_xkb_get_map_map_t *S);
jpayne@69 5080
jpayne@69 5081 xcb_generic_iterator_t
jpayne@69 5082 xcb_xkb_get_map_map_vmods_rtrn_end (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5083 const xcb_xkb_get_map_map_t *S);
jpayne@69 5084
jpayne@69 5085 xcb_xkb_set_explicit_t *
jpayne@69 5086 xcb_xkb_get_map_map_explicit_rtrn (const xcb_xkb_get_map_map_t *S);
jpayne@69 5087
jpayne@69 5088 int
jpayne@69 5089 xcb_xkb_get_map_map_explicit_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5090 const xcb_xkb_get_map_map_t *S);
jpayne@69 5091
jpayne@69 5092 xcb_xkb_set_explicit_iterator_t
jpayne@69 5093 xcb_xkb_get_map_map_explicit_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5094 const xcb_xkb_get_map_map_t *S);
jpayne@69 5095
jpayne@69 5096 xcb_xkb_key_mod_map_t *
jpayne@69 5097 xcb_xkb_get_map_map_modmap_rtrn (const xcb_xkb_get_map_map_t *S);
jpayne@69 5098
jpayne@69 5099 int
jpayne@69 5100 xcb_xkb_get_map_map_modmap_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5101 const xcb_xkb_get_map_map_t *S);
jpayne@69 5102
jpayne@69 5103 xcb_xkb_key_mod_map_iterator_t
jpayne@69 5104 xcb_xkb_get_map_map_modmap_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5105 const xcb_xkb_get_map_map_t *S);
jpayne@69 5106
jpayne@69 5107 xcb_xkb_key_v_mod_map_t *
jpayne@69 5108 xcb_xkb_get_map_map_vmodmap_rtrn (const xcb_xkb_get_map_map_t *S);
jpayne@69 5109
jpayne@69 5110 int
jpayne@69 5111 xcb_xkb_get_map_map_vmodmap_rtrn_length (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5112 const xcb_xkb_get_map_map_t *S);
jpayne@69 5113
jpayne@69 5114 xcb_xkb_key_v_mod_map_iterator_t
jpayne@69 5115 xcb_xkb_get_map_map_vmodmap_rtrn_iterator (const xcb_xkb_get_map_reply_t *R,
jpayne@69 5116 const xcb_xkb_get_map_map_t *S);
jpayne@69 5117
jpayne@69 5118 int
jpayne@69 5119 xcb_xkb_get_map_map_serialize (void **_buffer,
jpayne@69 5120 uint8_t nTypes,
jpayne@69 5121 uint8_t nKeySyms,
jpayne@69 5122 uint8_t nKeyActions,
jpayne@69 5123 uint16_t totalActions,
jpayne@69 5124 uint8_t totalKeyBehaviors,
jpayne@69 5125 uint16_t virtualMods,
jpayne@69 5126 uint8_t totalKeyExplicit,
jpayne@69 5127 uint8_t totalModMapKeys,
jpayne@69 5128 uint8_t totalVModMapKeys,
jpayne@69 5129 uint16_t present,
jpayne@69 5130 const xcb_xkb_get_map_map_t *_aux);
jpayne@69 5131
jpayne@69 5132 int
jpayne@69 5133 xcb_xkb_get_map_map_unpack (const void *_buffer,
jpayne@69 5134 uint8_t nTypes,
jpayne@69 5135 uint8_t nKeySyms,
jpayne@69 5136 uint8_t nKeyActions,
jpayne@69 5137 uint16_t totalActions,
jpayne@69 5138 uint8_t totalKeyBehaviors,
jpayne@69 5139 uint16_t virtualMods,
jpayne@69 5140 uint8_t totalKeyExplicit,
jpayne@69 5141 uint8_t totalModMapKeys,
jpayne@69 5142 uint8_t totalVModMapKeys,
jpayne@69 5143 uint16_t present,
jpayne@69 5144 xcb_xkb_get_map_map_t *_aux);
jpayne@69 5145
jpayne@69 5146 int
jpayne@69 5147 xcb_xkb_get_map_map_sizeof (const void *_buffer,
jpayne@69 5148 uint8_t nTypes,
jpayne@69 5149 uint8_t nKeySyms,
jpayne@69 5150 uint8_t nKeyActions,
jpayne@69 5151 uint16_t totalActions,
jpayne@69 5152 uint8_t totalKeyBehaviors,
jpayne@69 5153 uint16_t virtualMods,
jpayne@69 5154 uint8_t totalKeyExplicit,
jpayne@69 5155 uint8_t totalModMapKeys,
jpayne@69 5156 uint8_t totalVModMapKeys,
jpayne@69 5157 uint16_t present);
jpayne@69 5158
jpayne@69 5159 int
jpayne@69 5160 xcb_xkb_get_map_sizeof (const void *_buffer);
jpayne@69 5161
jpayne@69 5162 /**
jpayne@69 5163 *
jpayne@69 5164 * @param c The connection
jpayne@69 5165 * @return A cookie
jpayne@69 5166 *
jpayne@69 5167 * Delivers a request to the X server.
jpayne@69 5168 *
jpayne@69 5169 */
jpayne@69 5170 xcb_xkb_get_map_cookie_t
jpayne@69 5171 xcb_xkb_get_map (xcb_connection_t *c,
jpayne@69 5172 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5173 uint16_t full,
jpayne@69 5174 uint16_t partial,
jpayne@69 5175 uint8_t firstType,
jpayne@69 5176 uint8_t nTypes,
jpayne@69 5177 xcb_keycode_t firstKeySym,
jpayne@69 5178 uint8_t nKeySyms,
jpayne@69 5179 xcb_keycode_t firstKeyAction,
jpayne@69 5180 uint8_t nKeyActions,
jpayne@69 5181 xcb_keycode_t firstKeyBehavior,
jpayne@69 5182 uint8_t nKeyBehaviors,
jpayne@69 5183 uint16_t virtualMods,
jpayne@69 5184 xcb_keycode_t firstKeyExplicit,
jpayne@69 5185 uint8_t nKeyExplicit,
jpayne@69 5186 xcb_keycode_t firstModMapKey,
jpayne@69 5187 uint8_t nModMapKeys,
jpayne@69 5188 xcb_keycode_t firstVModMapKey,
jpayne@69 5189 uint8_t nVModMapKeys);
jpayne@69 5190
jpayne@69 5191 /**
jpayne@69 5192 *
jpayne@69 5193 * @param c The connection
jpayne@69 5194 * @return A cookie
jpayne@69 5195 *
jpayne@69 5196 * Delivers a request to the X server.
jpayne@69 5197 *
jpayne@69 5198 * This form can be used only if the request will cause
jpayne@69 5199 * a reply to be generated. Any returned error will be
jpayne@69 5200 * placed in the event queue.
jpayne@69 5201 */
jpayne@69 5202 xcb_xkb_get_map_cookie_t
jpayne@69 5203 xcb_xkb_get_map_unchecked (xcb_connection_t *c,
jpayne@69 5204 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5205 uint16_t full,
jpayne@69 5206 uint16_t partial,
jpayne@69 5207 uint8_t firstType,
jpayne@69 5208 uint8_t nTypes,
jpayne@69 5209 xcb_keycode_t firstKeySym,
jpayne@69 5210 uint8_t nKeySyms,
jpayne@69 5211 xcb_keycode_t firstKeyAction,
jpayne@69 5212 uint8_t nKeyActions,
jpayne@69 5213 xcb_keycode_t firstKeyBehavior,
jpayne@69 5214 uint8_t nKeyBehaviors,
jpayne@69 5215 uint16_t virtualMods,
jpayne@69 5216 xcb_keycode_t firstKeyExplicit,
jpayne@69 5217 uint8_t nKeyExplicit,
jpayne@69 5218 xcb_keycode_t firstModMapKey,
jpayne@69 5219 uint8_t nModMapKeys,
jpayne@69 5220 xcb_keycode_t firstVModMapKey,
jpayne@69 5221 uint8_t nVModMapKeys);
jpayne@69 5222
jpayne@69 5223 void *
jpayne@69 5224 xcb_xkb_get_map_map (const xcb_xkb_get_map_reply_t *R);
jpayne@69 5225
jpayne@69 5226 /**
jpayne@69 5227 * Return the reply
jpayne@69 5228 * @param c The connection
jpayne@69 5229 * @param cookie The cookie
jpayne@69 5230 * @param e The xcb_generic_error_t supplied
jpayne@69 5231 *
jpayne@69 5232 * Returns the reply of the request asked by
jpayne@69 5233 *
jpayne@69 5234 * The parameter @p e supplied to this function must be NULL if
jpayne@69 5235 * xcb_xkb_get_map_unchecked(). is used.
jpayne@69 5236 * Otherwise, it stores the error if any.
jpayne@69 5237 *
jpayne@69 5238 * The returned value must be freed by the caller using free().
jpayne@69 5239 */
jpayne@69 5240 xcb_xkb_get_map_reply_t *
jpayne@69 5241 xcb_xkb_get_map_reply (xcb_connection_t *c,
jpayne@69 5242 xcb_xkb_get_map_cookie_t cookie /**< */,
jpayne@69 5243 xcb_generic_error_t **e);
jpayne@69 5244
jpayne@69 5245 int
jpayne@69 5246 xcb_xkb_set_map_values_types_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5247 const xcb_xkb_set_map_values_t *S);
jpayne@69 5248
jpayne@69 5249 xcb_xkb_set_key_type_iterator_t
jpayne@69 5250 xcb_xkb_set_map_values_types_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5251 const xcb_xkb_set_map_values_t *S);
jpayne@69 5252
jpayne@69 5253 int
jpayne@69 5254 xcb_xkb_set_map_values_syms_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5255 const xcb_xkb_set_map_values_t *S);
jpayne@69 5256
jpayne@69 5257 xcb_xkb_key_sym_map_iterator_t
jpayne@69 5258 xcb_xkb_set_map_values_syms_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5259 const xcb_xkb_set_map_values_t *S);
jpayne@69 5260
jpayne@69 5261 uint8_t *
jpayne@69 5262 xcb_xkb_set_map_values_actions_count (const xcb_xkb_set_map_values_t *S);
jpayne@69 5263
jpayne@69 5264 int
jpayne@69 5265 xcb_xkb_set_map_values_actions_count_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5266 const xcb_xkb_set_map_values_t *S);
jpayne@69 5267
jpayne@69 5268 xcb_generic_iterator_t
jpayne@69 5269 xcb_xkb_set_map_values_actions_count_end (const xcb_xkb_set_map_request_t *R,
jpayne@69 5270 const xcb_xkb_set_map_values_t *S);
jpayne@69 5271
jpayne@69 5272 xcb_xkb_action_t *
jpayne@69 5273 xcb_xkb_set_map_values_actions (const xcb_xkb_set_map_values_t *S);
jpayne@69 5274
jpayne@69 5275 int
jpayne@69 5276 xcb_xkb_set_map_values_actions_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5277 const xcb_xkb_set_map_values_t *S);
jpayne@69 5278
jpayne@69 5279 xcb_xkb_action_iterator_t
jpayne@69 5280 xcb_xkb_set_map_values_actions_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5281 const xcb_xkb_set_map_values_t *S);
jpayne@69 5282
jpayne@69 5283 xcb_xkb_set_behavior_t *
jpayne@69 5284 xcb_xkb_set_map_values_behaviors (const xcb_xkb_set_map_values_t *S);
jpayne@69 5285
jpayne@69 5286 int
jpayne@69 5287 xcb_xkb_set_map_values_behaviors_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5288 const xcb_xkb_set_map_values_t *S);
jpayne@69 5289
jpayne@69 5290 xcb_xkb_set_behavior_iterator_t
jpayne@69 5291 xcb_xkb_set_map_values_behaviors_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5292 const xcb_xkb_set_map_values_t *S);
jpayne@69 5293
jpayne@69 5294 uint8_t *
jpayne@69 5295 xcb_xkb_set_map_values_vmods (const xcb_xkb_set_map_values_t *S);
jpayne@69 5296
jpayne@69 5297 int
jpayne@69 5298 xcb_xkb_set_map_values_vmods_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5299 const xcb_xkb_set_map_values_t *S);
jpayne@69 5300
jpayne@69 5301 xcb_generic_iterator_t
jpayne@69 5302 xcb_xkb_set_map_values_vmods_end (const xcb_xkb_set_map_request_t *R,
jpayne@69 5303 const xcb_xkb_set_map_values_t *S);
jpayne@69 5304
jpayne@69 5305 xcb_xkb_set_explicit_t *
jpayne@69 5306 xcb_xkb_set_map_values_explicit (const xcb_xkb_set_map_values_t *S);
jpayne@69 5307
jpayne@69 5308 int
jpayne@69 5309 xcb_xkb_set_map_values_explicit_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5310 const xcb_xkb_set_map_values_t *S);
jpayne@69 5311
jpayne@69 5312 xcb_xkb_set_explicit_iterator_t
jpayne@69 5313 xcb_xkb_set_map_values_explicit_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5314 const xcb_xkb_set_map_values_t *S);
jpayne@69 5315
jpayne@69 5316 xcb_xkb_key_mod_map_t *
jpayne@69 5317 xcb_xkb_set_map_values_modmap (const xcb_xkb_set_map_values_t *S);
jpayne@69 5318
jpayne@69 5319 int
jpayne@69 5320 xcb_xkb_set_map_values_modmap_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5321 const xcb_xkb_set_map_values_t *S);
jpayne@69 5322
jpayne@69 5323 xcb_xkb_key_mod_map_iterator_t
jpayne@69 5324 xcb_xkb_set_map_values_modmap_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5325 const xcb_xkb_set_map_values_t *S);
jpayne@69 5326
jpayne@69 5327 xcb_xkb_key_v_mod_map_t *
jpayne@69 5328 xcb_xkb_set_map_values_vmodmap (const xcb_xkb_set_map_values_t *S);
jpayne@69 5329
jpayne@69 5330 int
jpayne@69 5331 xcb_xkb_set_map_values_vmodmap_length (const xcb_xkb_set_map_request_t *R,
jpayne@69 5332 const xcb_xkb_set_map_values_t *S);
jpayne@69 5333
jpayne@69 5334 xcb_xkb_key_v_mod_map_iterator_t
jpayne@69 5335 xcb_xkb_set_map_values_vmodmap_iterator (const xcb_xkb_set_map_request_t *R,
jpayne@69 5336 const xcb_xkb_set_map_values_t *S);
jpayne@69 5337
jpayne@69 5338 int
jpayne@69 5339 xcb_xkb_set_map_values_serialize (void **_buffer,
jpayne@69 5340 uint8_t nTypes,
jpayne@69 5341 uint8_t nKeySyms,
jpayne@69 5342 uint8_t nKeyActions,
jpayne@69 5343 uint16_t totalActions,
jpayne@69 5344 uint8_t totalKeyBehaviors,
jpayne@69 5345 uint16_t virtualMods,
jpayne@69 5346 uint8_t totalKeyExplicit,
jpayne@69 5347 uint8_t totalModMapKeys,
jpayne@69 5348 uint8_t totalVModMapKeys,
jpayne@69 5349 uint16_t present,
jpayne@69 5350 const xcb_xkb_set_map_values_t *_aux);
jpayne@69 5351
jpayne@69 5352 int
jpayne@69 5353 xcb_xkb_set_map_values_unpack (const void *_buffer,
jpayne@69 5354 uint8_t nTypes,
jpayne@69 5355 uint8_t nKeySyms,
jpayne@69 5356 uint8_t nKeyActions,
jpayne@69 5357 uint16_t totalActions,
jpayne@69 5358 uint8_t totalKeyBehaviors,
jpayne@69 5359 uint16_t virtualMods,
jpayne@69 5360 uint8_t totalKeyExplicit,
jpayne@69 5361 uint8_t totalModMapKeys,
jpayne@69 5362 uint8_t totalVModMapKeys,
jpayne@69 5363 uint16_t present,
jpayne@69 5364 xcb_xkb_set_map_values_t *_aux);
jpayne@69 5365
jpayne@69 5366 int
jpayne@69 5367 xcb_xkb_set_map_values_sizeof (const void *_buffer,
jpayne@69 5368 uint8_t nTypes,
jpayne@69 5369 uint8_t nKeySyms,
jpayne@69 5370 uint8_t nKeyActions,
jpayne@69 5371 uint16_t totalActions,
jpayne@69 5372 uint8_t totalKeyBehaviors,
jpayne@69 5373 uint16_t virtualMods,
jpayne@69 5374 uint8_t totalKeyExplicit,
jpayne@69 5375 uint8_t totalModMapKeys,
jpayne@69 5376 uint8_t totalVModMapKeys,
jpayne@69 5377 uint16_t present);
jpayne@69 5378
jpayne@69 5379 int
jpayne@69 5380 xcb_xkb_set_map_sizeof (const void *_buffer);
jpayne@69 5381
jpayne@69 5382 /**
jpayne@69 5383 *
jpayne@69 5384 * @param c The connection
jpayne@69 5385 * @return A cookie
jpayne@69 5386 *
jpayne@69 5387 * Delivers a request to the X server.
jpayne@69 5388 *
jpayne@69 5389 * This form can be used only if the request will not cause
jpayne@69 5390 * a reply to be generated. Any returned error will be
jpayne@69 5391 * saved for handling by xcb_request_check().
jpayne@69 5392 */
jpayne@69 5393 xcb_void_cookie_t
jpayne@69 5394 xcb_xkb_set_map_checked (xcb_connection_t *c,
jpayne@69 5395 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5396 uint16_t present,
jpayne@69 5397 uint16_t flags,
jpayne@69 5398 xcb_keycode_t minKeyCode,
jpayne@69 5399 xcb_keycode_t maxKeyCode,
jpayne@69 5400 uint8_t firstType,
jpayne@69 5401 uint8_t nTypes,
jpayne@69 5402 xcb_keycode_t firstKeySym,
jpayne@69 5403 uint8_t nKeySyms,
jpayne@69 5404 uint16_t totalSyms,
jpayne@69 5405 xcb_keycode_t firstKeyAction,
jpayne@69 5406 uint8_t nKeyActions,
jpayne@69 5407 uint16_t totalActions,
jpayne@69 5408 xcb_keycode_t firstKeyBehavior,
jpayne@69 5409 uint8_t nKeyBehaviors,
jpayne@69 5410 uint8_t totalKeyBehaviors,
jpayne@69 5411 xcb_keycode_t firstKeyExplicit,
jpayne@69 5412 uint8_t nKeyExplicit,
jpayne@69 5413 uint8_t totalKeyExplicit,
jpayne@69 5414 xcb_keycode_t firstModMapKey,
jpayne@69 5415 uint8_t nModMapKeys,
jpayne@69 5416 uint8_t totalModMapKeys,
jpayne@69 5417 xcb_keycode_t firstVModMapKey,
jpayne@69 5418 uint8_t nVModMapKeys,
jpayne@69 5419 uint8_t totalVModMapKeys,
jpayne@69 5420 uint16_t virtualMods,
jpayne@69 5421 const void *values);
jpayne@69 5422
jpayne@69 5423 /**
jpayne@69 5424 *
jpayne@69 5425 * @param c The connection
jpayne@69 5426 * @return A cookie
jpayne@69 5427 *
jpayne@69 5428 * Delivers a request to the X server.
jpayne@69 5429 *
jpayne@69 5430 */
jpayne@69 5431 xcb_void_cookie_t
jpayne@69 5432 xcb_xkb_set_map (xcb_connection_t *c,
jpayne@69 5433 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5434 uint16_t present,
jpayne@69 5435 uint16_t flags,
jpayne@69 5436 xcb_keycode_t minKeyCode,
jpayne@69 5437 xcb_keycode_t maxKeyCode,
jpayne@69 5438 uint8_t firstType,
jpayne@69 5439 uint8_t nTypes,
jpayne@69 5440 xcb_keycode_t firstKeySym,
jpayne@69 5441 uint8_t nKeySyms,
jpayne@69 5442 uint16_t totalSyms,
jpayne@69 5443 xcb_keycode_t firstKeyAction,
jpayne@69 5444 uint8_t nKeyActions,
jpayne@69 5445 uint16_t totalActions,
jpayne@69 5446 xcb_keycode_t firstKeyBehavior,
jpayne@69 5447 uint8_t nKeyBehaviors,
jpayne@69 5448 uint8_t totalKeyBehaviors,
jpayne@69 5449 xcb_keycode_t firstKeyExplicit,
jpayne@69 5450 uint8_t nKeyExplicit,
jpayne@69 5451 uint8_t totalKeyExplicit,
jpayne@69 5452 xcb_keycode_t firstModMapKey,
jpayne@69 5453 uint8_t nModMapKeys,
jpayne@69 5454 uint8_t totalModMapKeys,
jpayne@69 5455 xcb_keycode_t firstVModMapKey,
jpayne@69 5456 uint8_t nVModMapKeys,
jpayne@69 5457 uint8_t totalVModMapKeys,
jpayne@69 5458 uint16_t virtualMods,
jpayne@69 5459 const void *values);
jpayne@69 5460
jpayne@69 5461 /**
jpayne@69 5462 *
jpayne@69 5463 * @param c The connection
jpayne@69 5464 * @return A cookie
jpayne@69 5465 *
jpayne@69 5466 * Delivers a request to the X server.
jpayne@69 5467 *
jpayne@69 5468 * This form can be used only if the request will not cause
jpayne@69 5469 * a reply to be generated. Any returned error will be
jpayne@69 5470 * saved for handling by xcb_request_check().
jpayne@69 5471 */
jpayne@69 5472 xcb_void_cookie_t
jpayne@69 5473 xcb_xkb_set_map_aux_checked (xcb_connection_t *c,
jpayne@69 5474 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5475 uint16_t present,
jpayne@69 5476 uint16_t flags,
jpayne@69 5477 xcb_keycode_t minKeyCode,
jpayne@69 5478 xcb_keycode_t maxKeyCode,
jpayne@69 5479 uint8_t firstType,
jpayne@69 5480 uint8_t nTypes,
jpayne@69 5481 xcb_keycode_t firstKeySym,
jpayne@69 5482 uint8_t nKeySyms,
jpayne@69 5483 uint16_t totalSyms,
jpayne@69 5484 xcb_keycode_t firstKeyAction,
jpayne@69 5485 uint8_t nKeyActions,
jpayne@69 5486 uint16_t totalActions,
jpayne@69 5487 xcb_keycode_t firstKeyBehavior,
jpayne@69 5488 uint8_t nKeyBehaviors,
jpayne@69 5489 uint8_t totalKeyBehaviors,
jpayne@69 5490 xcb_keycode_t firstKeyExplicit,
jpayne@69 5491 uint8_t nKeyExplicit,
jpayne@69 5492 uint8_t totalKeyExplicit,
jpayne@69 5493 xcb_keycode_t firstModMapKey,
jpayne@69 5494 uint8_t nModMapKeys,
jpayne@69 5495 uint8_t totalModMapKeys,
jpayne@69 5496 xcb_keycode_t firstVModMapKey,
jpayne@69 5497 uint8_t nVModMapKeys,
jpayne@69 5498 uint8_t totalVModMapKeys,
jpayne@69 5499 uint16_t virtualMods,
jpayne@69 5500 const xcb_xkb_set_map_values_t *values);
jpayne@69 5501
jpayne@69 5502 /**
jpayne@69 5503 *
jpayne@69 5504 * @param c The connection
jpayne@69 5505 * @return A cookie
jpayne@69 5506 *
jpayne@69 5507 * Delivers a request to the X server.
jpayne@69 5508 *
jpayne@69 5509 */
jpayne@69 5510 xcb_void_cookie_t
jpayne@69 5511 xcb_xkb_set_map_aux (xcb_connection_t *c,
jpayne@69 5512 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5513 uint16_t present,
jpayne@69 5514 uint16_t flags,
jpayne@69 5515 xcb_keycode_t minKeyCode,
jpayne@69 5516 xcb_keycode_t maxKeyCode,
jpayne@69 5517 uint8_t firstType,
jpayne@69 5518 uint8_t nTypes,
jpayne@69 5519 xcb_keycode_t firstKeySym,
jpayne@69 5520 uint8_t nKeySyms,
jpayne@69 5521 uint16_t totalSyms,
jpayne@69 5522 xcb_keycode_t firstKeyAction,
jpayne@69 5523 uint8_t nKeyActions,
jpayne@69 5524 uint16_t totalActions,
jpayne@69 5525 xcb_keycode_t firstKeyBehavior,
jpayne@69 5526 uint8_t nKeyBehaviors,
jpayne@69 5527 uint8_t totalKeyBehaviors,
jpayne@69 5528 xcb_keycode_t firstKeyExplicit,
jpayne@69 5529 uint8_t nKeyExplicit,
jpayne@69 5530 uint8_t totalKeyExplicit,
jpayne@69 5531 xcb_keycode_t firstModMapKey,
jpayne@69 5532 uint8_t nModMapKeys,
jpayne@69 5533 uint8_t totalModMapKeys,
jpayne@69 5534 xcb_keycode_t firstVModMapKey,
jpayne@69 5535 uint8_t nVModMapKeys,
jpayne@69 5536 uint8_t totalVModMapKeys,
jpayne@69 5537 uint16_t virtualMods,
jpayne@69 5538 const xcb_xkb_set_map_values_t *values);
jpayne@69 5539
jpayne@69 5540 void *
jpayne@69 5541 xcb_xkb_set_map_values (const xcb_xkb_set_map_request_t *R);
jpayne@69 5542
jpayne@69 5543 int
jpayne@69 5544 xcb_xkb_get_compat_map_sizeof (const void *_buffer);
jpayne@69 5545
jpayne@69 5546 /**
jpayne@69 5547 *
jpayne@69 5548 * @param c The connection
jpayne@69 5549 * @return A cookie
jpayne@69 5550 *
jpayne@69 5551 * Delivers a request to the X server.
jpayne@69 5552 *
jpayne@69 5553 */
jpayne@69 5554 xcb_xkb_get_compat_map_cookie_t
jpayne@69 5555 xcb_xkb_get_compat_map (xcb_connection_t *c,
jpayne@69 5556 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5557 uint8_t groups,
jpayne@69 5558 uint8_t getAllSI,
jpayne@69 5559 uint16_t firstSI,
jpayne@69 5560 uint16_t nSI);
jpayne@69 5561
jpayne@69 5562 /**
jpayne@69 5563 *
jpayne@69 5564 * @param c The connection
jpayne@69 5565 * @return A cookie
jpayne@69 5566 *
jpayne@69 5567 * Delivers a request to the X server.
jpayne@69 5568 *
jpayne@69 5569 * This form can be used only if the request will cause
jpayne@69 5570 * a reply to be generated. Any returned error will be
jpayne@69 5571 * placed in the event queue.
jpayne@69 5572 */
jpayne@69 5573 xcb_xkb_get_compat_map_cookie_t
jpayne@69 5574 xcb_xkb_get_compat_map_unchecked (xcb_connection_t *c,
jpayne@69 5575 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5576 uint8_t groups,
jpayne@69 5577 uint8_t getAllSI,
jpayne@69 5578 uint16_t firstSI,
jpayne@69 5579 uint16_t nSI);
jpayne@69 5580
jpayne@69 5581 xcb_xkb_sym_interpret_t *
jpayne@69 5582 xcb_xkb_get_compat_map_si_rtrn (const xcb_xkb_get_compat_map_reply_t *R);
jpayne@69 5583
jpayne@69 5584 int
jpayne@69 5585 xcb_xkb_get_compat_map_si_rtrn_length (const xcb_xkb_get_compat_map_reply_t *R);
jpayne@69 5586
jpayne@69 5587 xcb_xkb_sym_interpret_iterator_t
jpayne@69 5588 xcb_xkb_get_compat_map_si_rtrn_iterator (const xcb_xkb_get_compat_map_reply_t *R);
jpayne@69 5589
jpayne@69 5590 xcb_xkb_mod_def_t *
jpayne@69 5591 xcb_xkb_get_compat_map_group_rtrn (const xcb_xkb_get_compat_map_reply_t *R);
jpayne@69 5592
jpayne@69 5593 int
jpayne@69 5594 xcb_xkb_get_compat_map_group_rtrn_length (const xcb_xkb_get_compat_map_reply_t *R);
jpayne@69 5595
jpayne@69 5596 xcb_xkb_mod_def_iterator_t
jpayne@69 5597 xcb_xkb_get_compat_map_group_rtrn_iterator (const xcb_xkb_get_compat_map_reply_t *R);
jpayne@69 5598
jpayne@69 5599 /**
jpayne@69 5600 * Return the reply
jpayne@69 5601 * @param c The connection
jpayne@69 5602 * @param cookie The cookie
jpayne@69 5603 * @param e The xcb_generic_error_t supplied
jpayne@69 5604 *
jpayne@69 5605 * Returns the reply of the request asked by
jpayne@69 5606 *
jpayne@69 5607 * The parameter @p e supplied to this function must be NULL if
jpayne@69 5608 * xcb_xkb_get_compat_map_unchecked(). is used.
jpayne@69 5609 * Otherwise, it stores the error if any.
jpayne@69 5610 *
jpayne@69 5611 * The returned value must be freed by the caller using free().
jpayne@69 5612 */
jpayne@69 5613 xcb_xkb_get_compat_map_reply_t *
jpayne@69 5614 xcb_xkb_get_compat_map_reply (xcb_connection_t *c,
jpayne@69 5615 xcb_xkb_get_compat_map_cookie_t cookie /**< */,
jpayne@69 5616 xcb_generic_error_t **e);
jpayne@69 5617
jpayne@69 5618 int
jpayne@69 5619 xcb_xkb_set_compat_map_sizeof (const void *_buffer);
jpayne@69 5620
jpayne@69 5621 /**
jpayne@69 5622 *
jpayne@69 5623 * @param c The connection
jpayne@69 5624 * @return A cookie
jpayne@69 5625 *
jpayne@69 5626 * Delivers a request to the X server.
jpayne@69 5627 *
jpayne@69 5628 * This form can be used only if the request will not cause
jpayne@69 5629 * a reply to be generated. Any returned error will be
jpayne@69 5630 * saved for handling by xcb_request_check().
jpayne@69 5631 */
jpayne@69 5632 xcb_void_cookie_t
jpayne@69 5633 xcb_xkb_set_compat_map_checked (xcb_connection_t *c,
jpayne@69 5634 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5635 uint8_t recomputeActions,
jpayne@69 5636 uint8_t truncateSI,
jpayne@69 5637 uint8_t groups,
jpayne@69 5638 uint16_t firstSI,
jpayne@69 5639 uint16_t nSI,
jpayne@69 5640 const xcb_xkb_sym_interpret_t *si,
jpayne@69 5641 const xcb_xkb_mod_def_t *groupMaps);
jpayne@69 5642
jpayne@69 5643 /**
jpayne@69 5644 *
jpayne@69 5645 * @param c The connection
jpayne@69 5646 * @return A cookie
jpayne@69 5647 *
jpayne@69 5648 * Delivers a request to the X server.
jpayne@69 5649 *
jpayne@69 5650 */
jpayne@69 5651 xcb_void_cookie_t
jpayne@69 5652 xcb_xkb_set_compat_map (xcb_connection_t *c,
jpayne@69 5653 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5654 uint8_t recomputeActions,
jpayne@69 5655 uint8_t truncateSI,
jpayne@69 5656 uint8_t groups,
jpayne@69 5657 uint16_t firstSI,
jpayne@69 5658 uint16_t nSI,
jpayne@69 5659 const xcb_xkb_sym_interpret_t *si,
jpayne@69 5660 const xcb_xkb_mod_def_t *groupMaps);
jpayne@69 5661
jpayne@69 5662 xcb_xkb_sym_interpret_t *
jpayne@69 5663 xcb_xkb_set_compat_map_si (const xcb_xkb_set_compat_map_request_t *R);
jpayne@69 5664
jpayne@69 5665 int
jpayne@69 5666 xcb_xkb_set_compat_map_si_length (const xcb_xkb_set_compat_map_request_t *R);
jpayne@69 5667
jpayne@69 5668 xcb_xkb_sym_interpret_iterator_t
jpayne@69 5669 xcb_xkb_set_compat_map_si_iterator (const xcb_xkb_set_compat_map_request_t *R);
jpayne@69 5670
jpayne@69 5671 xcb_xkb_mod_def_t *
jpayne@69 5672 xcb_xkb_set_compat_map_group_maps (const xcb_xkb_set_compat_map_request_t *R);
jpayne@69 5673
jpayne@69 5674 int
jpayne@69 5675 xcb_xkb_set_compat_map_group_maps_length (const xcb_xkb_set_compat_map_request_t *R);
jpayne@69 5676
jpayne@69 5677 xcb_xkb_mod_def_iterator_t
jpayne@69 5678 xcb_xkb_set_compat_map_group_maps_iterator (const xcb_xkb_set_compat_map_request_t *R);
jpayne@69 5679
jpayne@69 5680 /**
jpayne@69 5681 *
jpayne@69 5682 * @param c The connection
jpayne@69 5683 * @return A cookie
jpayne@69 5684 *
jpayne@69 5685 * Delivers a request to the X server.
jpayne@69 5686 *
jpayne@69 5687 */
jpayne@69 5688 xcb_xkb_get_indicator_state_cookie_t
jpayne@69 5689 xcb_xkb_get_indicator_state (xcb_connection_t *c,
jpayne@69 5690 xcb_xkb_device_spec_t deviceSpec);
jpayne@69 5691
jpayne@69 5692 /**
jpayne@69 5693 *
jpayne@69 5694 * @param c The connection
jpayne@69 5695 * @return A cookie
jpayne@69 5696 *
jpayne@69 5697 * Delivers a request to the X server.
jpayne@69 5698 *
jpayne@69 5699 * This form can be used only if the request will cause
jpayne@69 5700 * a reply to be generated. Any returned error will be
jpayne@69 5701 * placed in the event queue.
jpayne@69 5702 */
jpayne@69 5703 xcb_xkb_get_indicator_state_cookie_t
jpayne@69 5704 xcb_xkb_get_indicator_state_unchecked (xcb_connection_t *c,
jpayne@69 5705 xcb_xkb_device_spec_t deviceSpec);
jpayne@69 5706
jpayne@69 5707 /**
jpayne@69 5708 * Return the reply
jpayne@69 5709 * @param c The connection
jpayne@69 5710 * @param cookie The cookie
jpayne@69 5711 * @param e The xcb_generic_error_t supplied
jpayne@69 5712 *
jpayne@69 5713 * Returns the reply of the request asked by
jpayne@69 5714 *
jpayne@69 5715 * The parameter @p e supplied to this function must be NULL if
jpayne@69 5716 * xcb_xkb_get_indicator_state_unchecked(). is used.
jpayne@69 5717 * Otherwise, it stores the error if any.
jpayne@69 5718 *
jpayne@69 5719 * The returned value must be freed by the caller using free().
jpayne@69 5720 */
jpayne@69 5721 xcb_xkb_get_indicator_state_reply_t *
jpayne@69 5722 xcb_xkb_get_indicator_state_reply (xcb_connection_t *c,
jpayne@69 5723 xcb_xkb_get_indicator_state_cookie_t cookie /**< */,
jpayne@69 5724 xcb_generic_error_t **e);
jpayne@69 5725
jpayne@69 5726 int
jpayne@69 5727 xcb_xkb_get_indicator_map_sizeof (const void *_buffer);
jpayne@69 5728
jpayne@69 5729 /**
jpayne@69 5730 *
jpayne@69 5731 * @param c The connection
jpayne@69 5732 * @return A cookie
jpayne@69 5733 *
jpayne@69 5734 * Delivers a request to the X server.
jpayne@69 5735 *
jpayne@69 5736 */
jpayne@69 5737 xcb_xkb_get_indicator_map_cookie_t
jpayne@69 5738 xcb_xkb_get_indicator_map (xcb_connection_t *c,
jpayne@69 5739 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5740 uint32_t which);
jpayne@69 5741
jpayne@69 5742 /**
jpayne@69 5743 *
jpayne@69 5744 * @param c The connection
jpayne@69 5745 * @return A cookie
jpayne@69 5746 *
jpayne@69 5747 * Delivers a request to the X server.
jpayne@69 5748 *
jpayne@69 5749 * This form can be used only if the request will cause
jpayne@69 5750 * a reply to be generated. Any returned error will be
jpayne@69 5751 * placed in the event queue.
jpayne@69 5752 */
jpayne@69 5753 xcb_xkb_get_indicator_map_cookie_t
jpayne@69 5754 xcb_xkb_get_indicator_map_unchecked (xcb_connection_t *c,
jpayne@69 5755 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5756 uint32_t which);
jpayne@69 5757
jpayne@69 5758 xcb_xkb_indicator_map_t *
jpayne@69 5759 xcb_xkb_get_indicator_map_maps (const xcb_xkb_get_indicator_map_reply_t *R);
jpayne@69 5760
jpayne@69 5761 int
jpayne@69 5762 xcb_xkb_get_indicator_map_maps_length (const xcb_xkb_get_indicator_map_reply_t *R);
jpayne@69 5763
jpayne@69 5764 xcb_xkb_indicator_map_iterator_t
jpayne@69 5765 xcb_xkb_get_indicator_map_maps_iterator (const xcb_xkb_get_indicator_map_reply_t *R);
jpayne@69 5766
jpayne@69 5767 /**
jpayne@69 5768 * Return the reply
jpayne@69 5769 * @param c The connection
jpayne@69 5770 * @param cookie The cookie
jpayne@69 5771 * @param e The xcb_generic_error_t supplied
jpayne@69 5772 *
jpayne@69 5773 * Returns the reply of the request asked by
jpayne@69 5774 *
jpayne@69 5775 * The parameter @p e supplied to this function must be NULL if
jpayne@69 5776 * xcb_xkb_get_indicator_map_unchecked(). is used.
jpayne@69 5777 * Otherwise, it stores the error if any.
jpayne@69 5778 *
jpayne@69 5779 * The returned value must be freed by the caller using free().
jpayne@69 5780 */
jpayne@69 5781 xcb_xkb_get_indicator_map_reply_t *
jpayne@69 5782 xcb_xkb_get_indicator_map_reply (xcb_connection_t *c,
jpayne@69 5783 xcb_xkb_get_indicator_map_cookie_t cookie /**< */,
jpayne@69 5784 xcb_generic_error_t **e);
jpayne@69 5785
jpayne@69 5786 int
jpayne@69 5787 xcb_xkb_set_indicator_map_sizeof (const void *_buffer);
jpayne@69 5788
jpayne@69 5789 /**
jpayne@69 5790 *
jpayne@69 5791 * @param c The connection
jpayne@69 5792 * @return A cookie
jpayne@69 5793 *
jpayne@69 5794 * Delivers a request to the X server.
jpayne@69 5795 *
jpayne@69 5796 * This form can be used only if the request will not cause
jpayne@69 5797 * a reply to be generated. Any returned error will be
jpayne@69 5798 * saved for handling by xcb_request_check().
jpayne@69 5799 */
jpayne@69 5800 xcb_void_cookie_t
jpayne@69 5801 xcb_xkb_set_indicator_map_checked (xcb_connection_t *c,
jpayne@69 5802 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5803 uint32_t which,
jpayne@69 5804 const xcb_xkb_indicator_map_t *maps);
jpayne@69 5805
jpayne@69 5806 /**
jpayne@69 5807 *
jpayne@69 5808 * @param c The connection
jpayne@69 5809 * @return A cookie
jpayne@69 5810 *
jpayne@69 5811 * Delivers a request to the X server.
jpayne@69 5812 *
jpayne@69 5813 */
jpayne@69 5814 xcb_void_cookie_t
jpayne@69 5815 xcb_xkb_set_indicator_map (xcb_connection_t *c,
jpayne@69 5816 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5817 uint32_t which,
jpayne@69 5818 const xcb_xkb_indicator_map_t *maps);
jpayne@69 5819
jpayne@69 5820 xcb_xkb_indicator_map_t *
jpayne@69 5821 xcb_xkb_set_indicator_map_maps (const xcb_xkb_set_indicator_map_request_t *R);
jpayne@69 5822
jpayne@69 5823 int
jpayne@69 5824 xcb_xkb_set_indicator_map_maps_length (const xcb_xkb_set_indicator_map_request_t *R);
jpayne@69 5825
jpayne@69 5826 xcb_xkb_indicator_map_iterator_t
jpayne@69 5827 xcb_xkb_set_indicator_map_maps_iterator (const xcb_xkb_set_indicator_map_request_t *R);
jpayne@69 5828
jpayne@69 5829 /**
jpayne@69 5830 *
jpayne@69 5831 * @param c The connection
jpayne@69 5832 * @return A cookie
jpayne@69 5833 *
jpayne@69 5834 * Delivers a request to the X server.
jpayne@69 5835 *
jpayne@69 5836 */
jpayne@69 5837 xcb_xkb_get_named_indicator_cookie_t
jpayne@69 5838 xcb_xkb_get_named_indicator (xcb_connection_t *c,
jpayne@69 5839 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5840 xcb_xkb_led_class_spec_t ledClass,
jpayne@69 5841 xcb_xkb_id_spec_t ledID,
jpayne@69 5842 xcb_atom_t indicator);
jpayne@69 5843
jpayne@69 5844 /**
jpayne@69 5845 *
jpayne@69 5846 * @param c The connection
jpayne@69 5847 * @return A cookie
jpayne@69 5848 *
jpayne@69 5849 * Delivers a request to the X server.
jpayne@69 5850 *
jpayne@69 5851 * This form can be used only if the request will cause
jpayne@69 5852 * a reply to be generated. Any returned error will be
jpayne@69 5853 * placed in the event queue.
jpayne@69 5854 */
jpayne@69 5855 xcb_xkb_get_named_indicator_cookie_t
jpayne@69 5856 xcb_xkb_get_named_indicator_unchecked (xcb_connection_t *c,
jpayne@69 5857 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5858 xcb_xkb_led_class_spec_t ledClass,
jpayne@69 5859 xcb_xkb_id_spec_t ledID,
jpayne@69 5860 xcb_atom_t indicator);
jpayne@69 5861
jpayne@69 5862 /**
jpayne@69 5863 * Return the reply
jpayne@69 5864 * @param c The connection
jpayne@69 5865 * @param cookie The cookie
jpayne@69 5866 * @param e The xcb_generic_error_t supplied
jpayne@69 5867 *
jpayne@69 5868 * Returns the reply of the request asked by
jpayne@69 5869 *
jpayne@69 5870 * The parameter @p e supplied to this function must be NULL if
jpayne@69 5871 * xcb_xkb_get_named_indicator_unchecked(). is used.
jpayne@69 5872 * Otherwise, it stores the error if any.
jpayne@69 5873 *
jpayne@69 5874 * The returned value must be freed by the caller using free().
jpayne@69 5875 */
jpayne@69 5876 xcb_xkb_get_named_indicator_reply_t *
jpayne@69 5877 xcb_xkb_get_named_indicator_reply (xcb_connection_t *c,
jpayne@69 5878 xcb_xkb_get_named_indicator_cookie_t cookie /**< */,
jpayne@69 5879 xcb_generic_error_t **e);
jpayne@69 5880
jpayne@69 5881 /**
jpayne@69 5882 *
jpayne@69 5883 * @param c The connection
jpayne@69 5884 * @return A cookie
jpayne@69 5885 *
jpayne@69 5886 * Delivers a request to the X server.
jpayne@69 5887 *
jpayne@69 5888 * This form can be used only if the request will not cause
jpayne@69 5889 * a reply to be generated. Any returned error will be
jpayne@69 5890 * saved for handling by xcb_request_check().
jpayne@69 5891 */
jpayne@69 5892 xcb_void_cookie_t
jpayne@69 5893 xcb_xkb_set_named_indicator_checked (xcb_connection_t *c,
jpayne@69 5894 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5895 xcb_xkb_led_class_spec_t ledClass,
jpayne@69 5896 xcb_xkb_id_spec_t ledID,
jpayne@69 5897 xcb_atom_t indicator,
jpayne@69 5898 uint8_t setState,
jpayne@69 5899 uint8_t on,
jpayne@69 5900 uint8_t setMap,
jpayne@69 5901 uint8_t createMap,
jpayne@69 5902 uint8_t map_flags,
jpayne@69 5903 uint8_t map_whichGroups,
jpayne@69 5904 uint8_t map_groups,
jpayne@69 5905 uint8_t map_whichMods,
jpayne@69 5906 uint8_t map_realMods,
jpayne@69 5907 uint16_t map_vmods,
jpayne@69 5908 uint32_t map_ctrls);
jpayne@69 5909
jpayne@69 5910 /**
jpayne@69 5911 *
jpayne@69 5912 * @param c The connection
jpayne@69 5913 * @return A cookie
jpayne@69 5914 *
jpayne@69 5915 * Delivers a request to the X server.
jpayne@69 5916 *
jpayne@69 5917 */
jpayne@69 5918 xcb_void_cookie_t
jpayne@69 5919 xcb_xkb_set_named_indicator (xcb_connection_t *c,
jpayne@69 5920 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 5921 xcb_xkb_led_class_spec_t ledClass,
jpayne@69 5922 xcb_xkb_id_spec_t ledID,
jpayne@69 5923 xcb_atom_t indicator,
jpayne@69 5924 uint8_t setState,
jpayne@69 5925 uint8_t on,
jpayne@69 5926 uint8_t setMap,
jpayne@69 5927 uint8_t createMap,
jpayne@69 5928 uint8_t map_flags,
jpayne@69 5929 uint8_t map_whichGroups,
jpayne@69 5930 uint8_t map_groups,
jpayne@69 5931 uint8_t map_whichMods,
jpayne@69 5932 uint8_t map_realMods,
jpayne@69 5933 uint16_t map_vmods,
jpayne@69 5934 uint32_t map_ctrls);
jpayne@69 5935
jpayne@69 5936 xcb_atom_t *
jpayne@69 5937 xcb_xkb_get_names_value_list_type_names (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5938
jpayne@69 5939 int
jpayne@69 5940 xcb_xkb_get_names_value_list_type_names_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5941 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5942
jpayne@69 5943 xcb_generic_iterator_t
jpayne@69 5944 xcb_xkb_get_names_value_list_type_names_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5945 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5946
jpayne@69 5947 uint8_t *
jpayne@69 5948 xcb_xkb_get_names_value_list_n_levels_per_type (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5949
jpayne@69 5950 int
jpayne@69 5951 xcb_xkb_get_names_value_list_n_levels_per_type_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5952 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5953
jpayne@69 5954 xcb_generic_iterator_t
jpayne@69 5955 xcb_xkb_get_names_value_list_n_levels_per_type_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5956 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5957
jpayne@69 5958 xcb_atom_t *
jpayne@69 5959 xcb_xkb_get_names_value_list_kt_level_names (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5960
jpayne@69 5961 int
jpayne@69 5962 xcb_xkb_get_names_value_list_kt_level_names_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5963 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5964
jpayne@69 5965 xcb_generic_iterator_t
jpayne@69 5966 xcb_xkb_get_names_value_list_kt_level_names_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5967 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5968
jpayne@69 5969 xcb_atom_t *
jpayne@69 5970 xcb_xkb_get_names_value_list_indicator_names (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5971
jpayne@69 5972 int
jpayne@69 5973 xcb_xkb_get_names_value_list_indicator_names_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5974 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5975
jpayne@69 5976 xcb_generic_iterator_t
jpayne@69 5977 xcb_xkb_get_names_value_list_indicator_names_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5978 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5979
jpayne@69 5980 xcb_atom_t *
jpayne@69 5981 xcb_xkb_get_names_value_list_virtual_mod_names (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5982
jpayne@69 5983 int
jpayne@69 5984 xcb_xkb_get_names_value_list_virtual_mod_names_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5985 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5986
jpayne@69 5987 xcb_generic_iterator_t
jpayne@69 5988 xcb_xkb_get_names_value_list_virtual_mod_names_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5989 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5990
jpayne@69 5991 xcb_atom_t *
jpayne@69 5992 xcb_xkb_get_names_value_list_groups (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5993
jpayne@69 5994 int
jpayne@69 5995 xcb_xkb_get_names_value_list_groups_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 5996 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 5997
jpayne@69 5998 xcb_generic_iterator_t
jpayne@69 5999 xcb_xkb_get_names_value_list_groups_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6000 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6001
jpayne@69 6002 xcb_xkb_key_name_t *
jpayne@69 6003 xcb_xkb_get_names_value_list_key_names (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6004
jpayne@69 6005 int
jpayne@69 6006 xcb_xkb_get_names_value_list_key_names_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6007 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6008
jpayne@69 6009 xcb_xkb_key_name_iterator_t
jpayne@69 6010 xcb_xkb_get_names_value_list_key_names_iterator (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6011 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6012
jpayne@69 6013 xcb_xkb_key_alias_t *
jpayne@69 6014 xcb_xkb_get_names_value_list_key_aliases (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6015
jpayne@69 6016 int
jpayne@69 6017 xcb_xkb_get_names_value_list_key_aliases_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6018 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6019
jpayne@69 6020 xcb_xkb_key_alias_iterator_t
jpayne@69 6021 xcb_xkb_get_names_value_list_key_aliases_iterator (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6022 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6023
jpayne@69 6024 xcb_atom_t *
jpayne@69 6025 xcb_xkb_get_names_value_list_radio_group_names (const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6026
jpayne@69 6027 int
jpayne@69 6028 xcb_xkb_get_names_value_list_radio_group_names_length (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6029 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6030
jpayne@69 6031 xcb_generic_iterator_t
jpayne@69 6032 xcb_xkb_get_names_value_list_radio_group_names_end (const xcb_xkb_get_names_reply_t *R,
jpayne@69 6033 const xcb_xkb_get_names_value_list_t *S);
jpayne@69 6034
jpayne@69 6035 int
jpayne@69 6036 xcb_xkb_get_names_value_list_serialize (void **_buffer,
jpayne@69 6037 uint8_t nTypes,
jpayne@69 6038 uint32_t indicators,
jpayne@69 6039 uint16_t virtualMods,
jpayne@69 6040 uint8_t groupNames,
jpayne@69 6041 uint8_t nKeys,
jpayne@69 6042 uint8_t nKeyAliases,
jpayne@69 6043 uint8_t nRadioGroups,
jpayne@69 6044 uint32_t which,
jpayne@69 6045 const xcb_xkb_get_names_value_list_t *_aux);
jpayne@69 6046
jpayne@69 6047 int
jpayne@69 6048 xcb_xkb_get_names_value_list_unpack (const void *_buffer,
jpayne@69 6049 uint8_t nTypes,
jpayne@69 6050 uint32_t indicators,
jpayne@69 6051 uint16_t virtualMods,
jpayne@69 6052 uint8_t groupNames,
jpayne@69 6053 uint8_t nKeys,
jpayne@69 6054 uint8_t nKeyAliases,
jpayne@69 6055 uint8_t nRadioGroups,
jpayne@69 6056 uint32_t which,
jpayne@69 6057 xcb_xkb_get_names_value_list_t *_aux);
jpayne@69 6058
jpayne@69 6059 int
jpayne@69 6060 xcb_xkb_get_names_value_list_sizeof (const void *_buffer,
jpayne@69 6061 uint8_t nTypes,
jpayne@69 6062 uint32_t indicators,
jpayne@69 6063 uint16_t virtualMods,
jpayne@69 6064 uint8_t groupNames,
jpayne@69 6065 uint8_t nKeys,
jpayne@69 6066 uint8_t nKeyAliases,
jpayne@69 6067 uint8_t nRadioGroups,
jpayne@69 6068 uint32_t which);
jpayne@69 6069
jpayne@69 6070 int
jpayne@69 6071 xcb_xkb_get_names_sizeof (const void *_buffer);
jpayne@69 6072
jpayne@69 6073 /**
jpayne@69 6074 *
jpayne@69 6075 * @param c The connection
jpayne@69 6076 * @return A cookie
jpayne@69 6077 *
jpayne@69 6078 * Delivers a request to the X server.
jpayne@69 6079 *
jpayne@69 6080 */
jpayne@69 6081 xcb_xkb_get_names_cookie_t
jpayne@69 6082 xcb_xkb_get_names (xcb_connection_t *c,
jpayne@69 6083 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6084 uint32_t which);
jpayne@69 6085
jpayne@69 6086 /**
jpayne@69 6087 *
jpayne@69 6088 * @param c The connection
jpayne@69 6089 * @return A cookie
jpayne@69 6090 *
jpayne@69 6091 * Delivers a request to the X server.
jpayne@69 6092 *
jpayne@69 6093 * This form can be used only if the request will cause
jpayne@69 6094 * a reply to be generated. Any returned error will be
jpayne@69 6095 * placed in the event queue.
jpayne@69 6096 */
jpayne@69 6097 xcb_xkb_get_names_cookie_t
jpayne@69 6098 xcb_xkb_get_names_unchecked (xcb_connection_t *c,
jpayne@69 6099 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6100 uint32_t which);
jpayne@69 6101
jpayne@69 6102 void *
jpayne@69 6103 xcb_xkb_get_names_value_list (const xcb_xkb_get_names_reply_t *R);
jpayne@69 6104
jpayne@69 6105 /**
jpayne@69 6106 * Return the reply
jpayne@69 6107 * @param c The connection
jpayne@69 6108 * @param cookie The cookie
jpayne@69 6109 * @param e The xcb_generic_error_t supplied
jpayne@69 6110 *
jpayne@69 6111 * Returns the reply of the request asked by
jpayne@69 6112 *
jpayne@69 6113 * The parameter @p e supplied to this function must be NULL if
jpayne@69 6114 * xcb_xkb_get_names_unchecked(). is used.
jpayne@69 6115 * Otherwise, it stores the error if any.
jpayne@69 6116 *
jpayne@69 6117 * The returned value must be freed by the caller using free().
jpayne@69 6118 */
jpayne@69 6119 xcb_xkb_get_names_reply_t *
jpayne@69 6120 xcb_xkb_get_names_reply (xcb_connection_t *c,
jpayne@69 6121 xcb_xkb_get_names_cookie_t cookie /**< */,
jpayne@69 6122 xcb_generic_error_t **e);
jpayne@69 6123
jpayne@69 6124 xcb_atom_t *
jpayne@69 6125 xcb_xkb_set_names_values_type_names (const xcb_xkb_set_names_values_t *S);
jpayne@69 6126
jpayne@69 6127 int
jpayne@69 6128 xcb_xkb_set_names_values_type_names_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6129 const xcb_xkb_set_names_values_t *S);
jpayne@69 6130
jpayne@69 6131 xcb_generic_iterator_t
jpayne@69 6132 xcb_xkb_set_names_values_type_names_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6133 const xcb_xkb_set_names_values_t *S);
jpayne@69 6134
jpayne@69 6135 uint8_t *
jpayne@69 6136 xcb_xkb_set_names_values_n_levels_per_type (const xcb_xkb_set_names_values_t *S);
jpayne@69 6137
jpayne@69 6138 int
jpayne@69 6139 xcb_xkb_set_names_values_n_levels_per_type_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6140 const xcb_xkb_set_names_values_t *S);
jpayne@69 6141
jpayne@69 6142 xcb_generic_iterator_t
jpayne@69 6143 xcb_xkb_set_names_values_n_levels_per_type_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6144 const xcb_xkb_set_names_values_t *S);
jpayne@69 6145
jpayne@69 6146 xcb_atom_t *
jpayne@69 6147 xcb_xkb_set_names_values_kt_level_names (const xcb_xkb_set_names_values_t *S);
jpayne@69 6148
jpayne@69 6149 int
jpayne@69 6150 xcb_xkb_set_names_values_kt_level_names_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6151 const xcb_xkb_set_names_values_t *S);
jpayne@69 6152
jpayne@69 6153 xcb_generic_iterator_t
jpayne@69 6154 xcb_xkb_set_names_values_kt_level_names_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6155 const xcb_xkb_set_names_values_t *S);
jpayne@69 6156
jpayne@69 6157 xcb_atom_t *
jpayne@69 6158 xcb_xkb_set_names_values_indicator_names (const xcb_xkb_set_names_values_t *S);
jpayne@69 6159
jpayne@69 6160 int
jpayne@69 6161 xcb_xkb_set_names_values_indicator_names_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6162 const xcb_xkb_set_names_values_t *S);
jpayne@69 6163
jpayne@69 6164 xcb_generic_iterator_t
jpayne@69 6165 xcb_xkb_set_names_values_indicator_names_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6166 const xcb_xkb_set_names_values_t *S);
jpayne@69 6167
jpayne@69 6168 xcb_atom_t *
jpayne@69 6169 xcb_xkb_set_names_values_virtual_mod_names (const xcb_xkb_set_names_values_t *S);
jpayne@69 6170
jpayne@69 6171 int
jpayne@69 6172 xcb_xkb_set_names_values_virtual_mod_names_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6173 const xcb_xkb_set_names_values_t *S);
jpayne@69 6174
jpayne@69 6175 xcb_generic_iterator_t
jpayne@69 6176 xcb_xkb_set_names_values_virtual_mod_names_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6177 const xcb_xkb_set_names_values_t *S);
jpayne@69 6178
jpayne@69 6179 xcb_atom_t *
jpayne@69 6180 xcb_xkb_set_names_values_groups (const xcb_xkb_set_names_values_t *S);
jpayne@69 6181
jpayne@69 6182 int
jpayne@69 6183 xcb_xkb_set_names_values_groups_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6184 const xcb_xkb_set_names_values_t *S);
jpayne@69 6185
jpayne@69 6186 xcb_generic_iterator_t
jpayne@69 6187 xcb_xkb_set_names_values_groups_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6188 const xcb_xkb_set_names_values_t *S);
jpayne@69 6189
jpayne@69 6190 xcb_xkb_key_name_t *
jpayne@69 6191 xcb_xkb_set_names_values_key_names (const xcb_xkb_set_names_values_t *S);
jpayne@69 6192
jpayne@69 6193 int
jpayne@69 6194 xcb_xkb_set_names_values_key_names_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6195 const xcb_xkb_set_names_values_t *S);
jpayne@69 6196
jpayne@69 6197 xcb_xkb_key_name_iterator_t
jpayne@69 6198 xcb_xkb_set_names_values_key_names_iterator (const xcb_xkb_set_names_request_t *R,
jpayne@69 6199 const xcb_xkb_set_names_values_t *S);
jpayne@69 6200
jpayne@69 6201 xcb_xkb_key_alias_t *
jpayne@69 6202 xcb_xkb_set_names_values_key_aliases (const xcb_xkb_set_names_values_t *S);
jpayne@69 6203
jpayne@69 6204 int
jpayne@69 6205 xcb_xkb_set_names_values_key_aliases_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6206 const xcb_xkb_set_names_values_t *S);
jpayne@69 6207
jpayne@69 6208 xcb_xkb_key_alias_iterator_t
jpayne@69 6209 xcb_xkb_set_names_values_key_aliases_iterator (const xcb_xkb_set_names_request_t *R,
jpayne@69 6210 const xcb_xkb_set_names_values_t *S);
jpayne@69 6211
jpayne@69 6212 xcb_atom_t *
jpayne@69 6213 xcb_xkb_set_names_values_radio_group_names (const xcb_xkb_set_names_values_t *S);
jpayne@69 6214
jpayne@69 6215 int
jpayne@69 6216 xcb_xkb_set_names_values_radio_group_names_length (const xcb_xkb_set_names_request_t *R,
jpayne@69 6217 const xcb_xkb_set_names_values_t *S);
jpayne@69 6218
jpayne@69 6219 xcb_generic_iterator_t
jpayne@69 6220 xcb_xkb_set_names_values_radio_group_names_end (const xcb_xkb_set_names_request_t *R,
jpayne@69 6221 const xcb_xkb_set_names_values_t *S);
jpayne@69 6222
jpayne@69 6223 int
jpayne@69 6224 xcb_xkb_set_names_values_serialize (void **_buffer,
jpayne@69 6225 uint8_t nTypes,
jpayne@69 6226 uint32_t indicators,
jpayne@69 6227 uint16_t virtualMods,
jpayne@69 6228 uint8_t groupNames,
jpayne@69 6229 uint8_t nKeys,
jpayne@69 6230 uint8_t nKeyAliases,
jpayne@69 6231 uint8_t nRadioGroups,
jpayne@69 6232 uint32_t which,
jpayne@69 6233 const xcb_xkb_set_names_values_t *_aux);
jpayne@69 6234
jpayne@69 6235 int
jpayne@69 6236 xcb_xkb_set_names_values_unpack (const void *_buffer,
jpayne@69 6237 uint8_t nTypes,
jpayne@69 6238 uint32_t indicators,
jpayne@69 6239 uint16_t virtualMods,
jpayne@69 6240 uint8_t groupNames,
jpayne@69 6241 uint8_t nKeys,
jpayne@69 6242 uint8_t nKeyAliases,
jpayne@69 6243 uint8_t nRadioGroups,
jpayne@69 6244 uint32_t which,
jpayne@69 6245 xcb_xkb_set_names_values_t *_aux);
jpayne@69 6246
jpayne@69 6247 int
jpayne@69 6248 xcb_xkb_set_names_values_sizeof (const void *_buffer,
jpayne@69 6249 uint8_t nTypes,
jpayne@69 6250 uint32_t indicators,
jpayne@69 6251 uint16_t virtualMods,
jpayne@69 6252 uint8_t groupNames,
jpayne@69 6253 uint8_t nKeys,
jpayne@69 6254 uint8_t nKeyAliases,
jpayne@69 6255 uint8_t nRadioGroups,
jpayne@69 6256 uint32_t which);
jpayne@69 6257
jpayne@69 6258 int
jpayne@69 6259 xcb_xkb_set_names_sizeof (const void *_buffer);
jpayne@69 6260
jpayne@69 6261 /**
jpayne@69 6262 *
jpayne@69 6263 * @param c The connection
jpayne@69 6264 * @return A cookie
jpayne@69 6265 *
jpayne@69 6266 * Delivers a request to the X server.
jpayne@69 6267 *
jpayne@69 6268 * This form can be used only if the request will not cause
jpayne@69 6269 * a reply to be generated. Any returned error will be
jpayne@69 6270 * saved for handling by xcb_request_check().
jpayne@69 6271 */
jpayne@69 6272 xcb_void_cookie_t
jpayne@69 6273 xcb_xkb_set_names_checked (xcb_connection_t *c,
jpayne@69 6274 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6275 uint16_t virtualMods,
jpayne@69 6276 uint32_t which,
jpayne@69 6277 uint8_t firstType,
jpayne@69 6278 uint8_t nTypes,
jpayne@69 6279 uint8_t firstKTLevelt,
jpayne@69 6280 uint8_t nKTLevels,
jpayne@69 6281 uint32_t indicators,
jpayne@69 6282 uint8_t groupNames,
jpayne@69 6283 uint8_t nRadioGroups,
jpayne@69 6284 xcb_keycode_t firstKey,
jpayne@69 6285 uint8_t nKeys,
jpayne@69 6286 uint8_t nKeyAliases,
jpayne@69 6287 uint16_t totalKTLevelNames,
jpayne@69 6288 const void *values);
jpayne@69 6289
jpayne@69 6290 /**
jpayne@69 6291 *
jpayne@69 6292 * @param c The connection
jpayne@69 6293 * @return A cookie
jpayne@69 6294 *
jpayne@69 6295 * Delivers a request to the X server.
jpayne@69 6296 *
jpayne@69 6297 */
jpayne@69 6298 xcb_void_cookie_t
jpayne@69 6299 xcb_xkb_set_names (xcb_connection_t *c,
jpayne@69 6300 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6301 uint16_t virtualMods,
jpayne@69 6302 uint32_t which,
jpayne@69 6303 uint8_t firstType,
jpayne@69 6304 uint8_t nTypes,
jpayne@69 6305 uint8_t firstKTLevelt,
jpayne@69 6306 uint8_t nKTLevels,
jpayne@69 6307 uint32_t indicators,
jpayne@69 6308 uint8_t groupNames,
jpayne@69 6309 uint8_t nRadioGroups,
jpayne@69 6310 xcb_keycode_t firstKey,
jpayne@69 6311 uint8_t nKeys,
jpayne@69 6312 uint8_t nKeyAliases,
jpayne@69 6313 uint16_t totalKTLevelNames,
jpayne@69 6314 const void *values);
jpayne@69 6315
jpayne@69 6316 /**
jpayne@69 6317 *
jpayne@69 6318 * @param c The connection
jpayne@69 6319 * @return A cookie
jpayne@69 6320 *
jpayne@69 6321 * Delivers a request to the X server.
jpayne@69 6322 *
jpayne@69 6323 * This form can be used only if the request will not cause
jpayne@69 6324 * a reply to be generated. Any returned error will be
jpayne@69 6325 * saved for handling by xcb_request_check().
jpayne@69 6326 */
jpayne@69 6327 xcb_void_cookie_t
jpayne@69 6328 xcb_xkb_set_names_aux_checked (xcb_connection_t *c,
jpayne@69 6329 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6330 uint16_t virtualMods,
jpayne@69 6331 uint32_t which,
jpayne@69 6332 uint8_t firstType,
jpayne@69 6333 uint8_t nTypes,
jpayne@69 6334 uint8_t firstKTLevelt,
jpayne@69 6335 uint8_t nKTLevels,
jpayne@69 6336 uint32_t indicators,
jpayne@69 6337 uint8_t groupNames,
jpayne@69 6338 uint8_t nRadioGroups,
jpayne@69 6339 xcb_keycode_t firstKey,
jpayne@69 6340 uint8_t nKeys,
jpayne@69 6341 uint8_t nKeyAliases,
jpayne@69 6342 uint16_t totalKTLevelNames,
jpayne@69 6343 const xcb_xkb_set_names_values_t *values);
jpayne@69 6344
jpayne@69 6345 /**
jpayne@69 6346 *
jpayne@69 6347 * @param c The connection
jpayne@69 6348 * @return A cookie
jpayne@69 6349 *
jpayne@69 6350 * Delivers a request to the X server.
jpayne@69 6351 *
jpayne@69 6352 */
jpayne@69 6353 xcb_void_cookie_t
jpayne@69 6354 xcb_xkb_set_names_aux (xcb_connection_t *c,
jpayne@69 6355 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6356 uint16_t virtualMods,
jpayne@69 6357 uint32_t which,
jpayne@69 6358 uint8_t firstType,
jpayne@69 6359 uint8_t nTypes,
jpayne@69 6360 uint8_t firstKTLevelt,
jpayne@69 6361 uint8_t nKTLevels,
jpayne@69 6362 uint32_t indicators,
jpayne@69 6363 uint8_t groupNames,
jpayne@69 6364 uint8_t nRadioGroups,
jpayne@69 6365 xcb_keycode_t firstKey,
jpayne@69 6366 uint8_t nKeys,
jpayne@69 6367 uint8_t nKeyAliases,
jpayne@69 6368 uint16_t totalKTLevelNames,
jpayne@69 6369 const xcb_xkb_set_names_values_t *values);
jpayne@69 6370
jpayne@69 6371 void *
jpayne@69 6372 xcb_xkb_set_names_values (const xcb_xkb_set_names_request_t *R);
jpayne@69 6373
jpayne@69 6374 /**
jpayne@69 6375 *
jpayne@69 6376 * @param c The connection
jpayne@69 6377 * @return A cookie
jpayne@69 6378 *
jpayne@69 6379 * Delivers a request to the X server.
jpayne@69 6380 *
jpayne@69 6381 */
jpayne@69 6382 xcb_xkb_per_client_flags_cookie_t
jpayne@69 6383 xcb_xkb_per_client_flags (xcb_connection_t *c,
jpayne@69 6384 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6385 uint32_t change,
jpayne@69 6386 uint32_t value,
jpayne@69 6387 uint32_t ctrlsToChange,
jpayne@69 6388 uint32_t autoCtrls,
jpayne@69 6389 uint32_t autoCtrlsValues);
jpayne@69 6390
jpayne@69 6391 /**
jpayne@69 6392 *
jpayne@69 6393 * @param c The connection
jpayne@69 6394 * @return A cookie
jpayne@69 6395 *
jpayne@69 6396 * Delivers a request to the X server.
jpayne@69 6397 *
jpayne@69 6398 * This form can be used only if the request will cause
jpayne@69 6399 * a reply to be generated. Any returned error will be
jpayne@69 6400 * placed in the event queue.
jpayne@69 6401 */
jpayne@69 6402 xcb_xkb_per_client_flags_cookie_t
jpayne@69 6403 xcb_xkb_per_client_flags_unchecked (xcb_connection_t *c,
jpayne@69 6404 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6405 uint32_t change,
jpayne@69 6406 uint32_t value,
jpayne@69 6407 uint32_t ctrlsToChange,
jpayne@69 6408 uint32_t autoCtrls,
jpayne@69 6409 uint32_t autoCtrlsValues);
jpayne@69 6410
jpayne@69 6411 /**
jpayne@69 6412 * Return the reply
jpayne@69 6413 * @param c The connection
jpayne@69 6414 * @param cookie The cookie
jpayne@69 6415 * @param e The xcb_generic_error_t supplied
jpayne@69 6416 *
jpayne@69 6417 * Returns the reply of the request asked by
jpayne@69 6418 *
jpayne@69 6419 * The parameter @p e supplied to this function must be NULL if
jpayne@69 6420 * xcb_xkb_per_client_flags_unchecked(). is used.
jpayne@69 6421 * Otherwise, it stores the error if any.
jpayne@69 6422 *
jpayne@69 6423 * The returned value must be freed by the caller using free().
jpayne@69 6424 */
jpayne@69 6425 xcb_xkb_per_client_flags_reply_t *
jpayne@69 6426 xcb_xkb_per_client_flags_reply (xcb_connection_t *c,
jpayne@69 6427 xcb_xkb_per_client_flags_cookie_t cookie /**< */,
jpayne@69 6428 xcb_generic_error_t **e);
jpayne@69 6429
jpayne@69 6430 int
jpayne@69 6431 xcb_xkb_list_components_sizeof (const void *_buffer);
jpayne@69 6432
jpayne@69 6433 /**
jpayne@69 6434 *
jpayne@69 6435 * @param c The connection
jpayne@69 6436 * @return A cookie
jpayne@69 6437 *
jpayne@69 6438 * Delivers a request to the X server.
jpayne@69 6439 *
jpayne@69 6440 */
jpayne@69 6441 xcb_xkb_list_components_cookie_t
jpayne@69 6442 xcb_xkb_list_components (xcb_connection_t *c,
jpayne@69 6443 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6444 uint16_t maxNames);
jpayne@69 6445
jpayne@69 6446 /**
jpayne@69 6447 *
jpayne@69 6448 * @param c The connection
jpayne@69 6449 * @return A cookie
jpayne@69 6450 *
jpayne@69 6451 * Delivers a request to the X server.
jpayne@69 6452 *
jpayne@69 6453 * This form can be used only if the request will cause
jpayne@69 6454 * a reply to be generated. Any returned error will be
jpayne@69 6455 * placed in the event queue.
jpayne@69 6456 */
jpayne@69 6457 xcb_xkb_list_components_cookie_t
jpayne@69 6458 xcb_xkb_list_components_unchecked (xcb_connection_t *c,
jpayne@69 6459 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6460 uint16_t maxNames);
jpayne@69 6461
jpayne@69 6462 int
jpayne@69 6463 xcb_xkb_list_components_keymaps_length (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6464
jpayne@69 6465 xcb_xkb_listing_iterator_t
jpayne@69 6466 xcb_xkb_list_components_keymaps_iterator (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6467
jpayne@69 6468 int
jpayne@69 6469 xcb_xkb_list_components_keycodes_length (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6470
jpayne@69 6471 xcb_xkb_listing_iterator_t
jpayne@69 6472 xcb_xkb_list_components_keycodes_iterator (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6473
jpayne@69 6474 int
jpayne@69 6475 xcb_xkb_list_components_types_length (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6476
jpayne@69 6477 xcb_xkb_listing_iterator_t
jpayne@69 6478 xcb_xkb_list_components_types_iterator (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6479
jpayne@69 6480 int
jpayne@69 6481 xcb_xkb_list_components_compat_maps_length (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6482
jpayne@69 6483 xcb_xkb_listing_iterator_t
jpayne@69 6484 xcb_xkb_list_components_compat_maps_iterator (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6485
jpayne@69 6486 int
jpayne@69 6487 xcb_xkb_list_components_symbols_length (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6488
jpayne@69 6489 xcb_xkb_listing_iterator_t
jpayne@69 6490 xcb_xkb_list_components_symbols_iterator (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6491
jpayne@69 6492 int
jpayne@69 6493 xcb_xkb_list_components_geometries_length (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6494
jpayne@69 6495 xcb_xkb_listing_iterator_t
jpayne@69 6496 xcb_xkb_list_components_geometries_iterator (const xcb_xkb_list_components_reply_t *R);
jpayne@69 6497
jpayne@69 6498 /**
jpayne@69 6499 * Return the reply
jpayne@69 6500 * @param c The connection
jpayne@69 6501 * @param cookie The cookie
jpayne@69 6502 * @param e The xcb_generic_error_t supplied
jpayne@69 6503 *
jpayne@69 6504 * Returns the reply of the request asked by
jpayne@69 6505 *
jpayne@69 6506 * The parameter @p e supplied to this function must be NULL if
jpayne@69 6507 * xcb_xkb_list_components_unchecked(). is used.
jpayne@69 6508 * Otherwise, it stores the error if any.
jpayne@69 6509 *
jpayne@69 6510 * The returned value must be freed by the caller using free().
jpayne@69 6511 */
jpayne@69 6512 xcb_xkb_list_components_reply_t *
jpayne@69 6513 xcb_xkb_list_components_reply (xcb_connection_t *c,
jpayne@69 6514 xcb_xkb_list_components_cookie_t cookie /**< */,
jpayne@69 6515 xcb_generic_error_t **e);
jpayne@69 6516
jpayne@69 6517 int
jpayne@69 6518 xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6519 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6520
jpayne@69 6521 xcb_xkb_key_type_iterator_t
jpayne@69 6522 xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6523 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6524
jpayne@69 6525 int
jpayne@69 6526 xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6527 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6528
jpayne@69 6529 xcb_xkb_key_sym_map_iterator_t
jpayne@69 6530 xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6531 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6532
jpayne@69 6533 uint8_t *
jpayne@69 6534 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6535
jpayne@69 6536 int
jpayne@69 6537 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6538 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6539
jpayne@69 6540 xcb_generic_iterator_t
jpayne@69 6541 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6542 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6543
jpayne@69 6544 xcb_xkb_action_t *
jpayne@69 6545 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6546
jpayne@69 6547 int
jpayne@69 6548 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6549 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6550
jpayne@69 6551 xcb_xkb_action_iterator_t
jpayne@69 6552 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6553 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6554
jpayne@69 6555 xcb_xkb_set_behavior_t *
jpayne@69 6556 xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6557
jpayne@69 6558 int
jpayne@69 6559 xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6560 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6561
jpayne@69 6562 xcb_xkb_set_behavior_iterator_t
jpayne@69 6563 xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6564 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6565
jpayne@69 6566 uint8_t *
jpayne@69 6567 xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6568
jpayne@69 6569 int
jpayne@69 6570 xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6571 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6572
jpayne@69 6573 xcb_generic_iterator_t
jpayne@69 6574 xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6575 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6576
jpayne@69 6577 xcb_xkb_set_explicit_t *
jpayne@69 6578 xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6579
jpayne@69 6580 int
jpayne@69 6581 xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6582 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6583
jpayne@69 6584 xcb_xkb_set_explicit_iterator_t
jpayne@69 6585 xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6586 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6587
jpayne@69 6588 xcb_xkb_key_mod_map_t *
jpayne@69 6589 xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6590
jpayne@69 6591 int
jpayne@69 6592 xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6593 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6594
jpayne@69 6595 xcb_xkb_key_mod_map_iterator_t
jpayne@69 6596 xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6597 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6598
jpayne@69 6599 xcb_xkb_key_v_mod_map_t *
jpayne@69 6600 xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6601
jpayne@69 6602 int
jpayne@69 6603 xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6604 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6605
jpayne@69 6606 xcb_xkb_key_v_mod_map_iterator_t
jpayne@69 6607 xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6608 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6609
jpayne@69 6610 int
jpayne@69 6611 xcb_xkb_get_kbd_by_name_replies_types_map_serialize (void **_buffer,
jpayne@69 6612 uint8_t nTypes,
jpayne@69 6613 uint8_t nKeySyms,
jpayne@69 6614 uint8_t nKeyActions,
jpayne@69 6615 uint16_t totalActions,
jpayne@69 6616 uint8_t totalKeyBehaviors,
jpayne@69 6617 uint16_t virtualMods,
jpayne@69 6618 uint8_t totalKeyExplicit,
jpayne@69 6619 uint8_t totalModMapKeys,
jpayne@69 6620 uint8_t totalVModMapKeys,
jpayne@69 6621 uint16_t present,
jpayne@69 6622 const xcb_xkb_get_kbd_by_name_replies_types_map_t *_aux);
jpayne@69 6623
jpayne@69 6624 int
jpayne@69 6625 xcb_xkb_get_kbd_by_name_replies_types_map_unpack (const void *_buffer,
jpayne@69 6626 uint8_t nTypes,
jpayne@69 6627 uint8_t nKeySyms,
jpayne@69 6628 uint8_t nKeyActions,
jpayne@69 6629 uint16_t totalActions,
jpayne@69 6630 uint8_t totalKeyBehaviors,
jpayne@69 6631 uint16_t virtualMods,
jpayne@69 6632 uint8_t totalKeyExplicit,
jpayne@69 6633 uint8_t totalModMapKeys,
jpayne@69 6634 uint8_t totalVModMapKeys,
jpayne@69 6635 uint16_t present,
jpayne@69 6636 xcb_xkb_get_kbd_by_name_replies_types_map_t *_aux);
jpayne@69 6637
jpayne@69 6638 int
jpayne@69 6639 xcb_xkb_get_kbd_by_name_replies_types_map_sizeof (const void *_buffer,
jpayne@69 6640 uint8_t nTypes,
jpayne@69 6641 uint8_t nKeySyms,
jpayne@69 6642 uint8_t nKeyActions,
jpayne@69 6643 uint16_t totalActions,
jpayne@69 6644 uint8_t totalKeyBehaviors,
jpayne@69 6645 uint16_t virtualMods,
jpayne@69 6646 uint8_t totalKeyExplicit,
jpayne@69 6647 uint8_t totalModMapKeys,
jpayne@69 6648 uint8_t totalVModMapKeys,
jpayne@69 6649 uint16_t present);
jpayne@69 6650
jpayne@69 6651 xcb_atom_t *
jpayne@69 6652 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6653
jpayne@69 6654 int
jpayne@69 6655 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6656 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6657
jpayne@69 6658 xcb_generic_iterator_t
jpayne@69 6659 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6660 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6661
jpayne@69 6662 uint8_t *
jpayne@69 6663 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6664
jpayne@69 6665 int
jpayne@69 6666 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6667 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6668
jpayne@69 6669 xcb_generic_iterator_t
jpayne@69 6670 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6671 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6672
jpayne@69 6673 xcb_atom_t *
jpayne@69 6674 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6675
jpayne@69 6676 int
jpayne@69 6677 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6678 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6679
jpayne@69 6680 xcb_generic_iterator_t
jpayne@69 6681 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6682 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6683
jpayne@69 6684 xcb_atom_t *
jpayne@69 6685 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6686
jpayne@69 6687 int
jpayne@69 6688 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6689 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6690
jpayne@69 6691 xcb_generic_iterator_t
jpayne@69 6692 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6693 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6694
jpayne@69 6695 xcb_atom_t *
jpayne@69 6696 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6697
jpayne@69 6698 int
jpayne@69 6699 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6700 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6701
jpayne@69 6702 xcb_generic_iterator_t
jpayne@69 6703 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6704 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6705
jpayne@69 6706 xcb_atom_t *
jpayne@69 6707 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6708
jpayne@69 6709 int
jpayne@69 6710 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6711 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6712
jpayne@69 6713 xcb_generic_iterator_t
jpayne@69 6714 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6715 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6716
jpayne@69 6717 xcb_xkb_key_name_t *
jpayne@69 6718 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6719
jpayne@69 6720 int
jpayne@69 6721 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6722 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6723
jpayne@69 6724 xcb_xkb_key_name_iterator_t
jpayne@69 6725 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6726 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6727
jpayne@69 6728 xcb_xkb_key_alias_t *
jpayne@69 6729 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6730
jpayne@69 6731 int
jpayne@69 6732 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6733 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6734
jpayne@69 6735 xcb_xkb_key_alias_iterator_t
jpayne@69 6736 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6737 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6738
jpayne@69 6739 xcb_atom_t *
jpayne@69 6740 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6741
jpayne@69 6742 int
jpayne@69 6743 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6744 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6745
jpayne@69 6746 xcb_generic_iterator_t
jpayne@69 6747 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6748 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6749
jpayne@69 6750 int
jpayne@69 6751 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize (void **_buffer,
jpayne@69 6752 uint8_t nTypes,
jpayne@69 6753 uint32_t indicators,
jpayne@69 6754 uint16_t virtualMods,
jpayne@69 6755 uint8_t groupNames,
jpayne@69 6756 uint8_t nKeys,
jpayne@69 6757 uint8_t nKeyAliases,
jpayne@69 6758 uint8_t nRadioGroups,
jpayne@69 6759 uint32_t which,
jpayne@69 6760 const xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *_aux);
jpayne@69 6761
jpayne@69 6762 int
jpayne@69 6763 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_unpack (const void *_buffer,
jpayne@69 6764 uint8_t nTypes,
jpayne@69 6765 uint32_t indicators,
jpayne@69 6766 uint16_t virtualMods,
jpayne@69 6767 uint8_t groupNames,
jpayne@69 6768 uint8_t nKeys,
jpayne@69 6769 uint8_t nKeyAliases,
jpayne@69 6770 uint8_t nRadioGroups,
jpayne@69 6771 uint32_t which,
jpayne@69 6772 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *_aux);
jpayne@69 6773
jpayne@69 6774 int
jpayne@69 6775 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof (const void *_buffer,
jpayne@69 6776 uint8_t nTypes,
jpayne@69 6777 uint32_t indicators,
jpayne@69 6778 uint16_t virtualMods,
jpayne@69 6779 uint8_t groupNames,
jpayne@69 6780 uint8_t nKeys,
jpayne@69 6781 uint8_t nKeyAliases,
jpayne@69 6782 uint8_t nRadioGroups,
jpayne@69 6783 uint32_t which);
jpayne@69 6784
jpayne@69 6785 xcb_xkb_sym_interpret_t *
jpayne@69 6786 xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6787
jpayne@69 6788 int
jpayne@69 6789 xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6790 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6791
jpayne@69 6792 xcb_xkb_sym_interpret_iterator_t
jpayne@69 6793 xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6794 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6795
jpayne@69 6796 xcb_xkb_mod_def_t *
jpayne@69 6797 xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6798
jpayne@69 6799 int
jpayne@69 6800 xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6801 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6802
jpayne@69 6803 xcb_xkb_mod_def_iterator_t
jpayne@69 6804 xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6805 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6806
jpayne@69 6807 xcb_xkb_indicator_map_t *
jpayne@69 6808 xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps (const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6809
jpayne@69 6810 int
jpayne@69 6811 xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_length (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6812 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6813
jpayne@69 6814 xcb_xkb_indicator_map_iterator_t
jpayne@69 6815 xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R,
jpayne@69 6816 const xcb_xkb_get_kbd_by_name_replies_t *S);
jpayne@69 6817
jpayne@69 6818 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *
jpayne@69 6819 xcb_xkb_get_kbd_by_name_replies_key_names_value_list (const xcb_xkb_get_kbd_by_name_replies_t *R);
jpayne@69 6820
jpayne@69 6821 xcb_xkb_counted_string_16_t *
jpayne@69 6822 xcb_xkb_get_kbd_by_name_replies_geometry_label_font (const xcb_xkb_get_kbd_by_name_replies_t *R);
jpayne@69 6823
jpayne@69 6824 int
jpayne@69 6825 xcb_xkb_get_kbd_by_name_replies_serialize (void **_buffer,
jpayne@69 6826 uint16_t reported,
jpayne@69 6827 const xcb_xkb_get_kbd_by_name_replies_t *_aux);
jpayne@69 6828
jpayne@69 6829 int
jpayne@69 6830 xcb_xkb_get_kbd_by_name_replies_unpack (const void *_buffer,
jpayne@69 6831 uint16_t reported,
jpayne@69 6832 xcb_xkb_get_kbd_by_name_replies_t *_aux);
jpayne@69 6833
jpayne@69 6834 int
jpayne@69 6835 xcb_xkb_get_kbd_by_name_replies_sizeof (const void *_buffer,
jpayne@69 6836 uint16_t reported);
jpayne@69 6837
jpayne@69 6838 int
jpayne@69 6839 xcb_xkb_get_kbd_by_name_sizeof (const void *_buffer);
jpayne@69 6840
jpayne@69 6841 /**
jpayne@69 6842 *
jpayne@69 6843 * @param c The connection
jpayne@69 6844 * @return A cookie
jpayne@69 6845 *
jpayne@69 6846 * Delivers a request to the X server.
jpayne@69 6847 *
jpayne@69 6848 */
jpayne@69 6849 xcb_xkb_get_kbd_by_name_cookie_t
jpayne@69 6850 xcb_xkb_get_kbd_by_name (xcb_connection_t *c,
jpayne@69 6851 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6852 uint16_t need,
jpayne@69 6853 uint16_t want,
jpayne@69 6854 uint8_t load);
jpayne@69 6855
jpayne@69 6856 /**
jpayne@69 6857 *
jpayne@69 6858 * @param c The connection
jpayne@69 6859 * @return A cookie
jpayne@69 6860 *
jpayne@69 6861 * Delivers a request to the X server.
jpayne@69 6862 *
jpayne@69 6863 * This form can be used only if the request will cause
jpayne@69 6864 * a reply to be generated. Any returned error will be
jpayne@69 6865 * placed in the event queue.
jpayne@69 6866 */
jpayne@69 6867 xcb_xkb_get_kbd_by_name_cookie_t
jpayne@69 6868 xcb_xkb_get_kbd_by_name_unchecked (xcb_connection_t *c,
jpayne@69 6869 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6870 uint16_t need,
jpayne@69 6871 uint16_t want,
jpayne@69 6872 uint8_t load);
jpayne@69 6873
jpayne@69 6874 void *
jpayne@69 6875 xcb_xkb_get_kbd_by_name_replies (const xcb_xkb_get_kbd_by_name_reply_t *R);
jpayne@69 6876
jpayne@69 6877 /**
jpayne@69 6878 * Return the reply
jpayne@69 6879 * @param c The connection
jpayne@69 6880 * @param cookie The cookie
jpayne@69 6881 * @param e The xcb_generic_error_t supplied
jpayne@69 6882 *
jpayne@69 6883 * Returns the reply of the request asked by
jpayne@69 6884 *
jpayne@69 6885 * The parameter @p e supplied to this function must be NULL if
jpayne@69 6886 * xcb_xkb_get_kbd_by_name_unchecked(). is used.
jpayne@69 6887 * Otherwise, it stores the error if any.
jpayne@69 6888 *
jpayne@69 6889 * The returned value must be freed by the caller using free().
jpayne@69 6890 */
jpayne@69 6891 xcb_xkb_get_kbd_by_name_reply_t *
jpayne@69 6892 xcb_xkb_get_kbd_by_name_reply (xcb_connection_t *c,
jpayne@69 6893 xcb_xkb_get_kbd_by_name_cookie_t cookie /**< */,
jpayne@69 6894 xcb_generic_error_t **e);
jpayne@69 6895
jpayne@69 6896 int
jpayne@69 6897 xcb_xkb_get_device_info_sizeof (const void *_buffer);
jpayne@69 6898
jpayne@69 6899 /**
jpayne@69 6900 *
jpayne@69 6901 * @param c The connection
jpayne@69 6902 * @return A cookie
jpayne@69 6903 *
jpayne@69 6904 * Delivers a request to the X server.
jpayne@69 6905 *
jpayne@69 6906 */
jpayne@69 6907 xcb_xkb_get_device_info_cookie_t
jpayne@69 6908 xcb_xkb_get_device_info (xcb_connection_t *c,
jpayne@69 6909 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6910 uint16_t wanted,
jpayne@69 6911 uint8_t allButtons,
jpayne@69 6912 uint8_t firstButton,
jpayne@69 6913 uint8_t nButtons,
jpayne@69 6914 xcb_xkb_led_class_spec_t ledClass,
jpayne@69 6915 xcb_xkb_id_spec_t ledID);
jpayne@69 6916
jpayne@69 6917 /**
jpayne@69 6918 *
jpayne@69 6919 * @param c The connection
jpayne@69 6920 * @return A cookie
jpayne@69 6921 *
jpayne@69 6922 * Delivers a request to the X server.
jpayne@69 6923 *
jpayne@69 6924 * This form can be used only if the request will cause
jpayne@69 6925 * a reply to be generated. Any returned error will be
jpayne@69 6926 * placed in the event queue.
jpayne@69 6927 */
jpayne@69 6928 xcb_xkb_get_device_info_cookie_t
jpayne@69 6929 xcb_xkb_get_device_info_unchecked (xcb_connection_t *c,
jpayne@69 6930 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6931 uint16_t wanted,
jpayne@69 6932 uint8_t allButtons,
jpayne@69 6933 uint8_t firstButton,
jpayne@69 6934 uint8_t nButtons,
jpayne@69 6935 xcb_xkb_led_class_spec_t ledClass,
jpayne@69 6936 xcb_xkb_id_spec_t ledID);
jpayne@69 6937
jpayne@69 6938 xcb_xkb_string8_t *
jpayne@69 6939 xcb_xkb_get_device_info_name (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6940
jpayne@69 6941 int
jpayne@69 6942 xcb_xkb_get_device_info_name_length (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6943
jpayne@69 6944 xcb_generic_iterator_t
jpayne@69 6945 xcb_xkb_get_device_info_name_end (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6946
jpayne@69 6947 xcb_xkb_action_t *
jpayne@69 6948 xcb_xkb_get_device_info_btn_actions (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6949
jpayne@69 6950 int
jpayne@69 6951 xcb_xkb_get_device_info_btn_actions_length (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6952
jpayne@69 6953 xcb_xkb_action_iterator_t
jpayne@69 6954 xcb_xkb_get_device_info_btn_actions_iterator (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6955
jpayne@69 6956 int
jpayne@69 6957 xcb_xkb_get_device_info_leds_length (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6958
jpayne@69 6959 xcb_xkb_device_led_info_iterator_t
jpayne@69 6960 xcb_xkb_get_device_info_leds_iterator (const xcb_xkb_get_device_info_reply_t *R);
jpayne@69 6961
jpayne@69 6962 /**
jpayne@69 6963 * Return the reply
jpayne@69 6964 * @param c The connection
jpayne@69 6965 * @param cookie The cookie
jpayne@69 6966 * @param e The xcb_generic_error_t supplied
jpayne@69 6967 *
jpayne@69 6968 * Returns the reply of the request asked by
jpayne@69 6969 *
jpayne@69 6970 * The parameter @p e supplied to this function must be NULL if
jpayne@69 6971 * xcb_xkb_get_device_info_unchecked(). is used.
jpayne@69 6972 * Otherwise, it stores the error if any.
jpayne@69 6973 *
jpayne@69 6974 * The returned value must be freed by the caller using free().
jpayne@69 6975 */
jpayne@69 6976 xcb_xkb_get_device_info_reply_t *
jpayne@69 6977 xcb_xkb_get_device_info_reply (xcb_connection_t *c,
jpayne@69 6978 xcb_xkb_get_device_info_cookie_t cookie /**< */,
jpayne@69 6979 xcb_generic_error_t **e);
jpayne@69 6980
jpayne@69 6981 int
jpayne@69 6982 xcb_xkb_set_device_info_sizeof (const void *_buffer);
jpayne@69 6983
jpayne@69 6984 /**
jpayne@69 6985 *
jpayne@69 6986 * @param c The connection
jpayne@69 6987 * @return A cookie
jpayne@69 6988 *
jpayne@69 6989 * Delivers a request to the X server.
jpayne@69 6990 *
jpayne@69 6991 * This form can be used only if the request will not cause
jpayne@69 6992 * a reply to be generated. Any returned error will be
jpayne@69 6993 * saved for handling by xcb_request_check().
jpayne@69 6994 */
jpayne@69 6995 xcb_void_cookie_t
jpayne@69 6996 xcb_xkb_set_device_info_checked (xcb_connection_t *c,
jpayne@69 6997 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 6998 uint8_t firstBtn,
jpayne@69 6999 uint8_t nBtns,
jpayne@69 7000 uint16_t change,
jpayne@69 7001 uint16_t nDeviceLedFBs,
jpayne@69 7002 const xcb_xkb_action_t *btnActions,
jpayne@69 7003 const xcb_xkb_device_led_info_t *leds);
jpayne@69 7004
jpayne@69 7005 /**
jpayne@69 7006 *
jpayne@69 7007 * @param c The connection
jpayne@69 7008 * @return A cookie
jpayne@69 7009 *
jpayne@69 7010 * Delivers a request to the X server.
jpayne@69 7011 *
jpayne@69 7012 */
jpayne@69 7013 xcb_void_cookie_t
jpayne@69 7014 xcb_xkb_set_device_info (xcb_connection_t *c,
jpayne@69 7015 xcb_xkb_device_spec_t deviceSpec,
jpayne@69 7016 uint8_t firstBtn,
jpayne@69 7017 uint8_t nBtns,
jpayne@69 7018 uint16_t change,
jpayne@69 7019 uint16_t nDeviceLedFBs,
jpayne@69 7020 const xcb_xkb_action_t *btnActions,
jpayne@69 7021 const xcb_xkb_device_led_info_t *leds);
jpayne@69 7022
jpayne@69 7023 xcb_xkb_action_t *
jpayne@69 7024 xcb_xkb_set_device_info_btn_actions (const xcb_xkb_set_device_info_request_t *R);
jpayne@69 7025
jpayne@69 7026 int
jpayne@69 7027 xcb_xkb_set_device_info_btn_actions_length (const xcb_xkb_set_device_info_request_t *R);
jpayne@69 7028
jpayne@69 7029 xcb_xkb_action_iterator_t
jpayne@69 7030 xcb_xkb_set_device_info_btn_actions_iterator (const xcb_xkb_set_device_info_request_t *R);
jpayne@69 7031
jpayne@69 7032 int
jpayne@69 7033 xcb_xkb_set_device_info_leds_length (const xcb_xkb_set_device_info_request_t *R);
jpayne@69 7034
jpayne@69 7035 xcb_xkb_device_led_info_iterator_t
jpayne@69 7036 xcb_xkb_set_device_info_leds_iterator (const xcb_xkb_set_device_info_request_t *R);
jpayne@69 7037
jpayne@69 7038 int
jpayne@69 7039 xcb_xkb_set_debugging_flags_sizeof (const void *_buffer);
jpayne@69 7040
jpayne@69 7041 /**
jpayne@69 7042 *
jpayne@69 7043 * @param c The connection
jpayne@69 7044 * @return A cookie
jpayne@69 7045 *
jpayne@69 7046 * Delivers a request to the X server.
jpayne@69 7047 *
jpayne@69 7048 */
jpayne@69 7049 xcb_xkb_set_debugging_flags_cookie_t
jpayne@69 7050 xcb_xkb_set_debugging_flags (xcb_connection_t *c,
jpayne@69 7051 uint16_t msgLength,
jpayne@69 7052 uint32_t affectFlags,
jpayne@69 7053 uint32_t flags,
jpayne@69 7054 uint32_t affectCtrls,
jpayne@69 7055 uint32_t ctrls,
jpayne@69 7056 const xcb_xkb_string8_t *message);
jpayne@69 7057
jpayne@69 7058 /**
jpayne@69 7059 *
jpayne@69 7060 * @param c The connection
jpayne@69 7061 * @return A cookie
jpayne@69 7062 *
jpayne@69 7063 * Delivers a request to the X server.
jpayne@69 7064 *
jpayne@69 7065 * This form can be used only if the request will cause
jpayne@69 7066 * a reply to be generated. Any returned error will be
jpayne@69 7067 * placed in the event queue.
jpayne@69 7068 */
jpayne@69 7069 xcb_xkb_set_debugging_flags_cookie_t
jpayne@69 7070 xcb_xkb_set_debugging_flags_unchecked (xcb_connection_t *c,
jpayne@69 7071 uint16_t msgLength,
jpayne@69 7072 uint32_t affectFlags,
jpayne@69 7073 uint32_t flags,
jpayne@69 7074 uint32_t affectCtrls,
jpayne@69 7075 uint32_t ctrls,
jpayne@69 7076 const xcb_xkb_string8_t *message);
jpayne@69 7077
jpayne@69 7078 /**
jpayne@69 7079 * Return the reply
jpayne@69 7080 * @param c The connection
jpayne@69 7081 * @param cookie The cookie
jpayne@69 7082 * @param e The xcb_generic_error_t supplied
jpayne@69 7083 *
jpayne@69 7084 * Returns the reply of the request asked by
jpayne@69 7085 *
jpayne@69 7086 * The parameter @p e supplied to this function must be NULL if
jpayne@69 7087 * xcb_xkb_set_debugging_flags_unchecked(). is used.
jpayne@69 7088 * Otherwise, it stores the error if any.
jpayne@69 7089 *
jpayne@69 7090 * The returned value must be freed by the caller using free().
jpayne@69 7091 */
jpayne@69 7092 xcb_xkb_set_debugging_flags_reply_t *
jpayne@69 7093 xcb_xkb_set_debugging_flags_reply (xcb_connection_t *c,
jpayne@69 7094 xcb_xkb_set_debugging_flags_cookie_t cookie /**< */,
jpayne@69 7095 xcb_generic_error_t **e);
jpayne@69 7096
jpayne@69 7097
jpayne@69 7098 #ifdef __cplusplus
jpayne@69 7099 }
jpayne@69 7100 #endif
jpayne@69 7101
jpayne@69 7102 #endif
jpayne@69 7103
jpayne@69 7104 /**
jpayne@69 7105 * @}
jpayne@69 7106 */