1 /* 2 * This file generated automatically from xinput.xml by c_client.py. 3 * Edit at your peril. 4 */ 5 6 /** 7 * @defgroup XCB_Input_API XCB Input API 8 * @brief Input XCB Protocol Implementation. 9 * @{ 10 **/ 11 12 #ifndef __XINPUT_H 13 #define __XINPUT_H 14 15 #include "xcb.h" 16 #include "xproto.h" 17 #include "render.h" 18 #include "shape.h" 19 #include "xfixes.h" 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #define XCB_INPUT_MAJOR_VERSION 2 26 #define XCB_INPUT_MINOR_VERSION 3 27 28 extern xcb_extension_t xcb_input_id; 29 30 typedef uint32_t xcb_input_event_class_t; 31 32 /** 33 * @brief xcb_input_event_class_iterator_t 34 **/ 35 typedef struct xcb_input_event_class_iterator_t { 36 xcb_input_event_class_t *data; /**< */ 37 int rem; /**< */ 38 int index; /**< */ 39 } xcb_input_event_class_iterator_t; 40 41 typedef uint8_t xcb_input_key_code_t; 42 43 /** 44 * @brief xcb_input_key_code_iterator_t 45 **/ 46 typedef struct xcb_input_key_code_iterator_t { 47 xcb_input_key_code_t *data; /**< */ 48 int rem; /**< */ 49 int index; /**< */ 50 } xcb_input_key_code_iterator_t; 51 52 typedef uint16_t xcb_input_device_id_t; 53 54 /** 55 * @brief xcb_input_device_id_iterator_t 56 **/ 57 typedef struct xcb_input_device_id_iterator_t { 58 xcb_input_device_id_t *data; /**< */ 59 int rem; /**< */ 60 int index; /**< */ 61 } xcb_input_device_id_iterator_t; 62 63 typedef int32_t xcb_input_fp1616_t; 64 65 /** 66 * @brief xcb_input_fp1616_iterator_t 67 **/ 68 typedef struct xcb_input_fp1616_iterator_t { 69 xcb_input_fp1616_t *data; /**< */ 70 int rem; /**< */ 71 int index; /**< */ 72 } xcb_input_fp1616_iterator_t; 73 74 /** 75 * @brief xcb_input_fp3232_t 76 **/ 77 typedef struct xcb_input_fp3232_t { 78 int32_t integral; /**< */ 79 uint32_t frac; /**< */ 80 } xcb_input_fp3232_t; 81 82 /** 83 * @brief xcb_input_fp3232_iterator_t 84 **/ 85 typedef struct xcb_input_fp3232_iterator_t { 86 xcb_input_fp3232_t *data; /**< */ 87 int rem; /**< */ 88 int index; /**< */ 89 } xcb_input_fp3232_iterator_t; 90 91 /** 92 * @brief xcb_input_get_extension_version_cookie_t 93 **/ 94 typedef struct xcb_input_get_extension_version_cookie_t { 95 unsigned int sequence; /**< */ 96 } xcb_input_get_extension_version_cookie_t; 97 98 /** Opcode for xcb_input_get_extension_version. */ 99 #define XCB_INPUT_GET_EXTENSION_VERSION 1 100 101 /** 102 * @brief xcb_input_get_extension_version_request_t 103 **/ 104 typedef struct xcb_input_get_extension_version_request_t { 105 uint8_t major_opcode; /**< */ 106 uint8_t minor_opcode; /**< */ 107 uint16_t length; /**< */ 108 uint16_t name_len; /**< */ 109 uint8_t pad0[2]; /**< */ 110 } xcb_input_get_extension_version_request_t; 111 112 /** 113 * @brief xcb_input_get_extension_version_reply_t 114 **/ 115 typedef struct xcb_input_get_extension_version_reply_t { 116 uint8_t response_type; /**< */ 117 uint8_t pad0; /**< */ 118 uint16_t sequence; /**< */ 119 uint32_t length; /**< */ 120 uint16_t server_major; /**< */ 121 uint16_t server_minor; /**< */ 122 uint8_t present; /**< */ 123 uint8_t pad1[19]; /**< */ 124 } xcb_input_get_extension_version_reply_t; 125 126 typedef enum xcb_input_device_use_t { 127 XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0, 128 XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1, 129 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2, 130 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3, 131 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4 132 } xcb_input_device_use_t; 133 134 typedef enum xcb_input_input_class_t { 135 XCB_INPUT_INPUT_CLASS_KEY = 0, 136 XCB_INPUT_INPUT_CLASS_BUTTON = 1, 137 XCB_INPUT_INPUT_CLASS_VALUATOR = 2, 138 XCB_INPUT_INPUT_CLASS_FEEDBACK = 3, 139 XCB_INPUT_INPUT_CLASS_PROXIMITY = 4, 140 XCB_INPUT_INPUT_CLASS_FOCUS = 5, 141 XCB_INPUT_INPUT_CLASS_OTHER = 6 142 } xcb_input_input_class_t; 143 144 typedef enum xcb_input_valuator_mode_t { 145 XCB_INPUT_VALUATOR_MODE_RELATIVE = 0, 146 XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1 147 } xcb_input_valuator_mode_t; 148 149 /** 150 * @brief xcb_input_device_info_t 151 **/ 152 typedef struct xcb_input_device_info_t { 153 xcb_atom_t device_type; /**< */ 154 uint8_t device_id; /**< */ 155 uint8_t num_class_info; /**< */ 156 uint8_t device_use; /**< */ 157 uint8_t pad0; /**< */ 158 } xcb_input_device_info_t; 159 160 /** 161 * @brief xcb_input_device_info_iterator_t 162 **/ 163 typedef struct xcb_input_device_info_iterator_t { 164 xcb_input_device_info_t *data; /**< */ 165 int rem; /**< */ 166 int index; /**< */ 167 } xcb_input_device_info_iterator_t; 168 169 /** 170 * @brief xcb_input_key_info_t 171 **/ 172 typedef struct xcb_input_key_info_t { 173 uint8_t class_id; /**< */ 174 uint8_t len; /**< */ 175 xcb_input_key_code_t min_keycode; /**< */ 176 xcb_input_key_code_t max_keycode; /**< */ 177 uint16_t num_keys; /**< */ 178 uint8_t pad0[2]; /**< */ 179 } xcb_input_key_info_t; 180 181 /** 182 * @brief xcb_input_key_info_iterator_t 183 **/ 184 typedef struct xcb_input_key_info_iterator_t { 185 xcb_input_key_info_t *data; /**< */ 186 int rem; /**< */ 187 int index; /**< */ 188 } xcb_input_key_info_iterator_t; 189 190 /** 191 * @brief xcb_input_button_info_t 192 **/ 193 typedef struct xcb_input_button_info_t { 194 uint8_t class_id; /**< */ 195 uint8_t len; /**< */ 196 uint16_t num_buttons; /**< */ 197 } xcb_input_button_info_t; 198 199 /** 200 * @brief xcb_input_button_info_iterator_t 201 **/ 202 typedef struct xcb_input_button_info_iterator_t { 203 xcb_input_button_info_t *data; /**< */ 204 int rem; /**< */ 205 int index; /**< */ 206 } xcb_input_button_info_iterator_t; 207 208 /** 209 * @brief xcb_input_axis_info_t 210 **/ 211 typedef struct xcb_input_axis_info_t { 212 uint32_t resolution; /**< */ 213 int32_t minimum; /**< */ 214 int32_t maximum; /**< */ 215 } xcb_input_axis_info_t; 216 217 /** 218 * @brief xcb_input_axis_info_iterator_t 219 **/ 220 typedef struct xcb_input_axis_info_iterator_t { 221 xcb_input_axis_info_t *data; /**< */ 222 int rem; /**< */ 223 int index; /**< */ 224 } xcb_input_axis_info_iterator_t; 225 226 /** 227 * @brief xcb_input_valuator_info_t 228 **/ 229 typedef struct xcb_input_valuator_info_t { 230 uint8_t class_id; /**< */ 231 uint8_t len; /**< */ 232 uint8_t axes_len; /**< */ 233 uint8_t mode; /**< */ 234 uint32_t motion_size; /**< */ 235 } xcb_input_valuator_info_t; 236 237 /** 238 * @brief xcb_input_valuator_info_iterator_t 239 **/ 240 typedef struct xcb_input_valuator_info_iterator_t { 241 xcb_input_valuator_info_t *data; /**< */ 242 int rem; /**< */ 243 int index; /**< */ 244 } xcb_input_valuator_info_iterator_t; 245 246 /** 247 * @brief xcb_input_input_info_t 248 **/ 249 typedef struct xcb_input_input_info_t { 250 uint8_t class_id; /**< */ 251 uint8_t len; /**< */ 252 } xcb_input_input_info_t; 253 254 /** 255 * @brief xcb_input_input_info_iterator_t 256 **/ 257 typedef struct xcb_input_input_info_iterator_t { 258 xcb_input_input_info_t *data; /**< */ 259 int rem; /**< */ 260 int index; /**< */ 261 } xcb_input_input_info_iterator_t; 262 263 /** 264 * @brief xcb_input_device_name_t 265 **/ 266 typedef struct xcb_input_device_name_t { 267 uint8_t len; /**< */ 268 } xcb_input_device_name_t; 269 270 /** 271 * @brief xcb_input_device_name_iterator_t 272 **/ 273 typedef struct xcb_input_device_name_iterator_t { 274 xcb_input_device_name_t *data; /**< */ 275 int rem; /**< */ 276 int index; /**< */ 277 } xcb_input_device_name_iterator_t; 278 279 /** 280 * @brief xcb_input_list_input_devices_cookie_t 281 **/ 282 typedef struct xcb_input_list_input_devices_cookie_t { 283 unsigned int sequence; /**< */ 284 } xcb_input_list_input_devices_cookie_t; 285 286 /** Opcode for xcb_input_list_input_devices. */ 287 #define XCB_INPUT_LIST_INPUT_DEVICES 2 288 289 /** 290 * @brief xcb_input_list_input_devices_request_t 291 **/ 292 typedef struct xcb_input_list_input_devices_request_t { 293 uint8_t major_opcode; /**< */ 294 uint8_t minor_opcode; /**< */ 295 uint16_t length; /**< */ 296 } xcb_input_list_input_devices_request_t; 297 298 /** 299 * @brief xcb_input_list_input_devices_reply_t 300 **/ 301 typedef struct xcb_input_list_input_devices_reply_t { 302 uint8_t response_type; /**< */ 303 uint8_t pad0; /**< */ 304 uint16_t sequence; /**< */ 305 uint32_t length; /**< */ 306 uint8_t devices_len; /**< */ 307 uint8_t pad1[23]; /**< */ 308 } xcb_input_list_input_devices_reply_t; 309 310 /** 311 * @brief xcb_input_input_class_info_t 312 **/ 313 typedef struct xcb_input_input_class_info_t { 314 uint8_t class_id; /**< */ 315 uint8_t event_type_base; /**< */ 316 } xcb_input_input_class_info_t; 317 318 /** 319 * @brief xcb_input_input_class_info_iterator_t 320 **/ 321 typedef struct xcb_input_input_class_info_iterator_t { 322 xcb_input_input_class_info_t *data; /**< */ 323 int rem; /**< */ 324 int index; /**< */ 325 } xcb_input_input_class_info_iterator_t; 326 327 /** 328 * @brief xcb_input_open_device_cookie_t 329 **/ 330 typedef struct xcb_input_open_device_cookie_t { 331 unsigned int sequence; /**< */ 332 } xcb_input_open_device_cookie_t; 333 334 /** Opcode for xcb_input_open_device. */ 335 #define XCB_INPUT_OPEN_DEVICE 3 336 337 /** 338 * @brief xcb_input_open_device_request_t 339 **/ 340 typedef struct xcb_input_open_device_request_t { 341 uint8_t major_opcode; /**< */ 342 uint8_t minor_opcode; /**< */ 343 uint16_t length; /**< */ 344 uint8_t device_id; /**< */ 345 uint8_t pad0[3]; /**< */ 346 } xcb_input_open_device_request_t; 347 348 /** 349 * @brief xcb_input_open_device_reply_t 350 **/ 351 typedef struct xcb_input_open_device_reply_t { 352 uint8_t response_type; /**< */ 353 uint8_t pad0; /**< */ 354 uint16_t sequence; /**< */ 355 uint32_t length; /**< */ 356 uint8_t num_classes; /**< */ 357 uint8_t pad1[23]; /**< */ 358 } xcb_input_open_device_reply_t; 359 360 /** Opcode for xcb_input_close_device. */ 361 #define XCB_INPUT_CLOSE_DEVICE 4 362 363 /** 364 * @brief xcb_input_close_device_request_t 365 **/ 366 typedef struct xcb_input_close_device_request_t { 367 uint8_t major_opcode; /**< */ 368 uint8_t minor_opcode; /**< */ 369 uint16_t length; /**< */ 370 uint8_t device_id; /**< */ 371 uint8_t pad0[3]; /**< */ 372 } xcb_input_close_device_request_t; 373 374 /** 375 * @brief xcb_input_set_device_mode_cookie_t 376 **/ 377 typedef struct xcb_input_set_device_mode_cookie_t { 378 unsigned int sequence; /**< */ 379 } xcb_input_set_device_mode_cookie_t; 380 381 /** Opcode for xcb_input_set_device_mode. */ 382 #define XCB_INPUT_SET_DEVICE_MODE 5 383 384 /** 385 * @brief xcb_input_set_device_mode_request_t 386 **/ 387 typedef struct xcb_input_set_device_mode_request_t { 388 uint8_t major_opcode; /**< */ 389 uint8_t minor_opcode; /**< */ 390 uint16_t length; /**< */ 391 uint8_t device_id; /**< */ 392 uint8_t mode; /**< */ 393 uint8_t pad0[2]; /**< */ 394 } xcb_input_set_device_mode_request_t; 395 396 /** 397 * @brief xcb_input_set_device_mode_reply_t 398 **/ 399 typedef struct xcb_input_set_device_mode_reply_t { 400 uint8_t response_type; /**< */ 401 uint8_t pad0; /**< */ 402 uint16_t sequence; /**< */ 403 uint32_t length; /**< */ 404 uint8_t status; /**< */ 405 uint8_t pad1[23]; /**< */ 406 } xcb_input_set_device_mode_reply_t; 407 408 /** Opcode for xcb_input_select_extension_event. */ 409 #define XCB_INPUT_SELECT_EXTENSION_EVENT 6 410 411 /** 412 * @brief xcb_input_select_extension_event_request_t 413 **/ 414 typedef struct xcb_input_select_extension_event_request_t { 415 uint8_t major_opcode; /**< */ 416 uint8_t minor_opcode; /**< */ 417 uint16_t length; /**< */ 418 xcb_window_t window; /**< */ 419 uint16_t num_classes; /**< */ 420 uint8_t pad0[2]; /**< */ 421 } xcb_input_select_extension_event_request_t; 422 423 /** 424 * @brief xcb_input_get_selected_extension_events_cookie_t 425 **/ 426 typedef struct xcb_input_get_selected_extension_events_cookie_t { 427 unsigned int sequence; /**< */ 428 } xcb_input_get_selected_extension_events_cookie_t; 429 430 /** Opcode for xcb_input_get_selected_extension_events. */ 431 #define XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS 7 432 433 /** 434 * @brief xcb_input_get_selected_extension_events_request_t 435 **/ 436 typedef struct xcb_input_get_selected_extension_events_request_t { 437 uint8_t major_opcode; /**< */ 438 uint8_t minor_opcode; /**< */ 439 uint16_t length; /**< */ 440 xcb_window_t window; /**< */ 441 } xcb_input_get_selected_extension_events_request_t; 442 443 /** 444 * @brief xcb_input_get_selected_extension_events_reply_t 445 **/ 446 typedef struct xcb_input_get_selected_extension_events_reply_t { 447 uint8_t response_type; /**< */ 448 uint8_t pad0; /**< */ 449 uint16_t sequence; /**< */ 450 uint32_t length; /**< */ 451 uint16_t num_this_classes; /**< */ 452 uint16_t num_all_classes; /**< */ 453 uint8_t pad1[20]; /**< */ 454 } xcb_input_get_selected_extension_events_reply_t; 455 456 typedef enum xcb_input_propagate_mode_t { 457 XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0, 458 XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1 459 } xcb_input_propagate_mode_t; 460 461 /** Opcode for xcb_input_change_device_dont_propagate_list. */ 462 #define XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST 8 463 464 /** 465 * @brief xcb_input_change_device_dont_propagate_list_request_t 466 **/ 467 typedef struct xcb_input_change_device_dont_propagate_list_request_t { 468 uint8_t major_opcode; /**< */ 469 uint8_t minor_opcode; /**< */ 470 uint16_t length; /**< */ 471 xcb_window_t window; /**< */ 472 uint16_t num_classes; /**< */ 473 uint8_t mode; /**< */ 474 uint8_t pad0; /**< */ 475 } xcb_input_change_device_dont_propagate_list_request_t; 476 477 /** 478 * @brief xcb_input_get_device_dont_propagate_list_cookie_t 479 **/ 480 typedef struct xcb_input_get_device_dont_propagate_list_cookie_t { 481 unsigned int sequence; /**< */ 482 } xcb_input_get_device_dont_propagate_list_cookie_t; 483 484 /** Opcode for xcb_input_get_device_dont_propagate_list. */ 485 #define XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST 9 486 487 /** 488 * @brief xcb_input_get_device_dont_propagate_list_request_t 489 **/ 490 typedef struct xcb_input_get_device_dont_propagate_list_request_t { 491 uint8_t major_opcode; /**< */ 492 uint8_t minor_opcode; /**< */ 493 uint16_t length; /**< */ 494 xcb_window_t window; /**< */ 495 } xcb_input_get_device_dont_propagate_list_request_t; 496 497 /** 498 * @brief xcb_input_get_device_dont_propagate_list_reply_t 499 **/ 500 typedef struct xcb_input_get_device_dont_propagate_list_reply_t { 501 uint8_t response_type; /**< */ 502 uint8_t pad0; /**< */ 503 uint16_t sequence; /**< */ 504 uint32_t length; /**< */ 505 uint16_t num_classes; /**< */ 506 uint8_t pad1[22]; /**< */ 507 } xcb_input_get_device_dont_propagate_list_reply_t; 508 509 /** 510 * @brief xcb_input_device_time_coord_t 511 **/ 512 typedef struct xcb_input_device_time_coord_t { 513 xcb_timestamp_t time; /**< */ 514 } xcb_input_device_time_coord_t; 515 516 /** 517 * @brief xcb_input_device_time_coord_iterator_t 518 **/ 519 typedef struct xcb_input_device_time_coord_iterator_t { 520 xcb_input_device_time_coord_t *data; /**< */ 521 int rem; /**< */ 522 int index; /**< */ 523 } xcb_input_device_time_coord_iterator_t; 524 525 /** 526 * @brief xcb_input_get_device_motion_events_cookie_t 527 **/ 528 typedef struct xcb_input_get_device_motion_events_cookie_t { 529 unsigned int sequence; /**< */ 530 } xcb_input_get_device_motion_events_cookie_t; 531 532 /** Opcode for xcb_input_get_device_motion_events. */ 533 #define XCB_INPUT_GET_DEVICE_MOTION_EVENTS 10 534 535 /** 536 * @brief xcb_input_get_device_motion_events_request_t 537 **/ 538 typedef struct xcb_input_get_device_motion_events_request_t { 539 uint8_t major_opcode; /**< */ 540 uint8_t minor_opcode; /**< */ 541 uint16_t length; /**< */ 542 xcb_timestamp_t start; /**< */ 543 xcb_timestamp_t stop; /**< */ 544 uint8_t device_id; /**< */ 545 } xcb_input_get_device_motion_events_request_t; 546 547 /** 548 * @brief xcb_input_get_device_motion_events_reply_t 549 **/ 550 typedef struct xcb_input_get_device_motion_events_reply_t { 551 uint8_t response_type; /**< */ 552 uint8_t pad0; /**< */ 553 uint16_t sequence; /**< */ 554 uint32_t length; /**< */ 555 uint32_t num_events; /**< */ 556 uint8_t num_axes; /**< */ 557 uint8_t device_mode; /**< */ 558 uint8_t pad1[18]; /**< */ 559 } xcb_input_get_device_motion_events_reply_t; 560 561 /** 562 * @brief xcb_input_change_keyboard_device_cookie_t 563 **/ 564 typedef struct xcb_input_change_keyboard_device_cookie_t { 565 unsigned int sequence; /**< */ 566 } xcb_input_change_keyboard_device_cookie_t; 567 568 /** Opcode for xcb_input_change_keyboard_device. */ 569 #define XCB_INPUT_CHANGE_KEYBOARD_DEVICE 11 570 571 /** 572 * @brief xcb_input_change_keyboard_device_request_t 573 **/ 574 typedef struct xcb_input_change_keyboard_device_request_t { 575 uint8_t major_opcode; /**< */ 576 uint8_t minor_opcode; /**< */ 577 uint16_t length; /**< */ 578 uint8_t device_id; /**< */ 579 uint8_t pad0[3]; /**< */ 580 } xcb_input_change_keyboard_device_request_t; 581 582 /** 583 * @brief xcb_input_change_keyboard_device_reply_t 584 **/ 585 typedef struct xcb_input_change_keyboard_device_reply_t { 586 uint8_t response_type; /**< */ 587 uint8_t pad0; /**< */ 588 uint16_t sequence; /**< */ 589 uint32_t length; /**< */ 590 uint8_t status; /**< */ 591 uint8_t pad1[23]; /**< */ 592 } xcb_input_change_keyboard_device_reply_t; 593 594 /** 595 * @brief xcb_input_change_pointer_device_cookie_t 596 **/ 597 typedef struct xcb_input_change_pointer_device_cookie_t { 598 unsigned int sequence; /**< */ 599 } xcb_input_change_pointer_device_cookie_t; 600 601 /** Opcode for xcb_input_change_pointer_device. */ 602 #define XCB_INPUT_CHANGE_POINTER_DEVICE 12 603 604 /** 605 * @brief xcb_input_change_pointer_device_request_t 606 **/ 607 typedef struct xcb_input_change_pointer_device_request_t { 608 uint8_t major_opcode; /**< */ 609 uint8_t minor_opcode; /**< */ 610 uint16_t length; /**< */ 611 uint8_t x_axis; /**< */ 612 uint8_t y_axis; /**< */ 613 uint8_t device_id; /**< */ 614 uint8_t pad0; /**< */ 615 } xcb_input_change_pointer_device_request_t; 616 617 /** 618 * @brief xcb_input_change_pointer_device_reply_t 619 **/ 620 typedef struct xcb_input_change_pointer_device_reply_t { 621 uint8_t response_type; /**< */ 622 uint8_t pad0; /**< */ 623 uint16_t sequence; /**< */ 624 uint32_t length; /**< */ 625 uint8_t status; /**< */ 626 uint8_t pad1[23]; /**< */ 627 } xcb_input_change_pointer_device_reply_t; 628 629 /** 630 * @brief xcb_input_grab_device_cookie_t 631 **/ 632 typedef struct xcb_input_grab_device_cookie_t { 633 unsigned int sequence; /**< */ 634 } xcb_input_grab_device_cookie_t; 635 636 /** Opcode for xcb_input_grab_device. */ 637 #define XCB_INPUT_GRAB_DEVICE 13 638 639 /** 640 * @brief xcb_input_grab_device_request_t 641 **/ 642 typedef struct xcb_input_grab_device_request_t { 643 uint8_t major_opcode; /**< */ 644 uint8_t minor_opcode; /**< */ 645 uint16_t length; /**< */ 646 xcb_window_t grab_window; /**< */ 647 xcb_timestamp_t time; /**< */ 648 uint16_t num_classes; /**< */ 649 uint8_t this_device_mode; /**< */ 650 uint8_t other_device_mode; /**< */ 651 uint8_t owner_events; /**< */ 652 uint8_t device_id; /**< */ 653 uint8_t pad0[2]; /**< */ 654 } xcb_input_grab_device_request_t; 655 656 /** 657 * @brief xcb_input_grab_device_reply_t 658 **/ 659 typedef struct xcb_input_grab_device_reply_t { 660 uint8_t response_type; /**< */ 661 uint8_t pad0; /**< */ 662 uint16_t sequence; /**< */ 663 uint32_t length; /**< */ 664 uint8_t status; /**< */ 665 uint8_t pad1[23]; /**< */ 666 } xcb_input_grab_device_reply_t; 667 668 /** Opcode for xcb_input_ungrab_device. */ 669 #define XCB_INPUT_UNGRAB_DEVICE 14 670 671 /** 672 * @brief xcb_input_ungrab_device_request_t 673 **/ 674 typedef struct xcb_input_ungrab_device_request_t { 675 uint8_t major_opcode; /**< */ 676 uint8_t minor_opcode; /**< */ 677 uint16_t length; /**< */ 678 xcb_timestamp_t time; /**< */ 679 uint8_t device_id; /**< */ 680 } xcb_input_ungrab_device_request_t; 681 682 /** Opcode for xcb_input_grab_device_key. */ 683 #define XCB_INPUT_GRAB_DEVICE_KEY 15 684 685 /** 686 * @brief xcb_input_grab_device_key_request_t 687 **/ 688 typedef struct xcb_input_grab_device_key_request_t { 689 uint8_t major_opcode; /**< */ 690 uint8_t minor_opcode; /**< */ 691 uint16_t length; /**< */ 692 xcb_window_t grab_window; /**< */ 693 uint16_t num_classes; /**< */ 694 uint16_t modifiers; /**< */ 695 uint8_t modifier_device; /**< */ 696 uint8_t grabbed_device; /**< */ 697 uint8_t key; /**< */ 698 uint8_t this_device_mode; /**< */ 699 uint8_t other_device_mode; /**< */ 700 uint8_t owner_events; /**< */ 701 uint8_t pad0[2]; /**< */ 702 } xcb_input_grab_device_key_request_t; 703 704 /** Opcode for xcb_input_ungrab_device_key. */ 705 #define XCB_INPUT_UNGRAB_DEVICE_KEY 16 706 707 /** 708 * @brief xcb_input_ungrab_device_key_request_t 709 **/ 710 typedef struct xcb_input_ungrab_device_key_request_t { 711 uint8_t major_opcode; /**< */ 712 uint8_t minor_opcode; /**< */ 713 uint16_t length; /**< */ 714 xcb_window_t grabWindow; /**< */ 715 uint16_t modifiers; /**< */ 716 uint8_t modifier_device; /**< */ 717 uint8_t key; /**< */ 718 uint8_t grabbed_device; /**< */ 719 } xcb_input_ungrab_device_key_request_t; 720 721 /** Opcode for xcb_input_grab_device_button. */ 722 #define XCB_INPUT_GRAB_DEVICE_BUTTON 17 723 724 /** 725 * @brief xcb_input_grab_device_button_request_t 726 **/ 727 typedef struct xcb_input_grab_device_button_request_t { 728 uint8_t major_opcode; /**< */ 729 uint8_t minor_opcode; /**< */ 730 uint16_t length; /**< */ 731 xcb_window_t grab_window; /**< */ 732 uint8_t grabbed_device; /**< */ 733 uint8_t modifier_device; /**< */ 734 uint16_t num_classes; /**< */ 735 uint16_t modifiers; /**< */ 736 uint8_t this_device_mode; /**< */ 737 uint8_t other_device_mode; /**< */ 738 uint8_t button; /**< */ 739 uint8_t owner_events; /**< */ 740 uint8_t pad0[2]; /**< */ 741 } xcb_input_grab_device_button_request_t; 742 743 /** Opcode for xcb_input_ungrab_device_button. */ 744 #define XCB_INPUT_UNGRAB_DEVICE_BUTTON 18 745 746 /** 747 * @brief xcb_input_ungrab_device_button_request_t 748 **/ 749 typedef struct xcb_input_ungrab_device_button_request_t { 750 uint8_t major_opcode; /**< */ 751 uint8_t minor_opcode; /**< */ 752 uint16_t length; /**< */ 753 xcb_window_t grab_window; /**< */ 754 uint16_t modifiers; /**< */ 755 uint8_t modifier_device; /**< */ 756 uint8_t button; /**< */ 757 uint8_t grabbed_device; /**< */ 758 } xcb_input_ungrab_device_button_request_t; 759 760 typedef enum xcb_input_device_input_mode_t { 761 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE = 0, 762 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE = 1, 763 XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE = 2, 764 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES = 3, 765 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL = 4, 766 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL = 5 767 } xcb_input_device_input_mode_t; 768 769 /** Opcode for xcb_input_allow_device_events. */ 770 #define XCB_INPUT_ALLOW_DEVICE_EVENTS 19 771 772 /** 773 * @brief xcb_input_allow_device_events_request_t 774 **/ 775 typedef struct xcb_input_allow_device_events_request_t { 776 uint8_t major_opcode; /**< */ 777 uint8_t minor_opcode; /**< */ 778 uint16_t length; /**< */ 779 xcb_timestamp_t time; /**< */ 780 uint8_t mode; /**< */ 781 uint8_t device_id; /**< */ 782 } xcb_input_allow_device_events_request_t; 783 784 /** 785 * @brief xcb_input_get_device_focus_cookie_t 786 **/ 787 typedef struct xcb_input_get_device_focus_cookie_t { 788 unsigned int sequence; /**< */ 789 } xcb_input_get_device_focus_cookie_t; 790 791 /** Opcode for xcb_input_get_device_focus. */ 792 #define XCB_INPUT_GET_DEVICE_FOCUS 20 793 794 /** 795 * @brief xcb_input_get_device_focus_request_t 796 **/ 797 typedef struct xcb_input_get_device_focus_request_t { 798 uint8_t major_opcode; /**< */ 799 uint8_t minor_opcode; /**< */ 800 uint16_t length; /**< */ 801 uint8_t device_id; /**< */ 802 uint8_t pad0[3]; /**< */ 803 } xcb_input_get_device_focus_request_t; 804 805 /** 806 * @brief xcb_input_get_device_focus_reply_t 807 **/ 808 typedef struct xcb_input_get_device_focus_reply_t { 809 uint8_t response_type; /**< */ 810 uint8_t pad0; /**< */ 811 uint16_t sequence; /**< */ 812 uint32_t length; /**< */ 813 xcb_window_t focus; /**< */ 814 xcb_timestamp_t time; /**< */ 815 uint8_t revert_to; /**< */ 816 uint8_t pad1[15]; /**< */ 817 } xcb_input_get_device_focus_reply_t; 818 819 /** Opcode for xcb_input_set_device_focus. */ 820 #define XCB_INPUT_SET_DEVICE_FOCUS 21 821 822 /** 823 * @brief xcb_input_set_device_focus_request_t 824 **/ 825 typedef struct xcb_input_set_device_focus_request_t { 826 uint8_t major_opcode; /**< */ 827 uint8_t minor_opcode; /**< */ 828 uint16_t length; /**< */ 829 xcb_window_t focus; /**< */ 830 xcb_timestamp_t time; /**< */ 831 uint8_t revert_to; /**< */ 832 uint8_t device_id; /**< */ 833 } xcb_input_set_device_focus_request_t; 834 835 typedef enum xcb_input_feedback_class_t { 836 XCB_INPUT_FEEDBACK_CLASS_KEYBOARD = 0, 837 XCB_INPUT_FEEDBACK_CLASS_POINTER = 1, 838 XCB_INPUT_FEEDBACK_CLASS_STRING = 2, 839 XCB_INPUT_FEEDBACK_CLASS_INTEGER = 3, 840 XCB_INPUT_FEEDBACK_CLASS_LED = 4, 841 XCB_INPUT_FEEDBACK_CLASS_BELL = 5 842 } xcb_input_feedback_class_t; 843 844 /** 845 * @brief xcb_input_kbd_feedback_state_t 846 **/ 847 typedef struct xcb_input_kbd_feedback_state_t { 848 uint8_t class_id; /**< */ 849 uint8_t feedback_id; /**< */ 850 uint16_t len; /**< */ 851 uint16_t pitch; /**< */ 852 uint16_t duration; /**< */ 853 uint32_t led_mask; /**< */ 854 uint32_t led_values; /**< */ 855 uint8_t global_auto_repeat; /**< */ 856 uint8_t click; /**< */ 857 uint8_t percent; /**< */ 858 uint8_t pad0; /**< */ 859 uint8_t auto_repeats[32]; /**< */ 860 } xcb_input_kbd_feedback_state_t; 861 862 /** 863 * @brief xcb_input_kbd_feedback_state_iterator_t 864 **/ 865 typedef struct xcb_input_kbd_feedback_state_iterator_t { 866 xcb_input_kbd_feedback_state_t *data; /**< */ 867 int rem; /**< */ 868 int index; /**< */ 869 } xcb_input_kbd_feedback_state_iterator_t; 870 871 /** 872 * @brief xcb_input_ptr_feedback_state_t 873 **/ 874 typedef struct xcb_input_ptr_feedback_state_t { 875 uint8_t class_id; /**< */ 876 uint8_t feedback_id; /**< */ 877 uint16_t len; /**< */ 878 uint8_t pad0[2]; /**< */ 879 uint16_t accel_num; /**< */ 880 uint16_t accel_denom; /**< */ 881 uint16_t threshold; /**< */ 882 } xcb_input_ptr_feedback_state_t; 883 884 /** 885 * @brief xcb_input_ptr_feedback_state_iterator_t 886 **/ 887 typedef struct xcb_input_ptr_feedback_state_iterator_t { 888 xcb_input_ptr_feedback_state_t *data; /**< */ 889 int rem; /**< */ 890 int index; /**< */ 891 } xcb_input_ptr_feedback_state_iterator_t; 892 893 /** 894 * @brief xcb_input_integer_feedback_state_t 895 **/ 896 typedef struct xcb_input_integer_feedback_state_t { 897 uint8_t class_id; /**< */ 898 uint8_t feedback_id; /**< */ 899 uint16_t len; /**< */ 900 uint32_t resolution; /**< */ 901 int32_t min_value; /**< */ 902 int32_t max_value; /**< */ 903 } xcb_input_integer_feedback_state_t; 904 905 /** 906 * @brief xcb_input_integer_feedback_state_iterator_t 907 **/ 908 typedef struct xcb_input_integer_feedback_state_iterator_t { 909 xcb_input_integer_feedback_state_t *data; /**< */ 910 int rem; /**< */ 911 int index; /**< */ 912 } xcb_input_integer_feedback_state_iterator_t; 913 914 /** 915 * @brief xcb_input_string_feedback_state_t 916 **/ 917 typedef struct xcb_input_string_feedback_state_t { 918 uint8_t class_id; /**< */ 919 uint8_t feedback_id; /**< */ 920 uint16_t len; /**< */ 921 uint16_t max_symbols; /**< */ 922 uint16_t num_keysyms; /**< */ 923 } xcb_input_string_feedback_state_t; 924 925 /** 926 * @brief xcb_input_string_feedback_state_iterator_t 927 **/ 928 typedef struct xcb_input_string_feedback_state_iterator_t { 929 xcb_input_string_feedback_state_t *data; /**< */ 930 int rem; /**< */ 931 int index; /**< */ 932 } xcb_input_string_feedback_state_iterator_t; 933 934 /** 935 * @brief xcb_input_bell_feedback_state_t 936 **/ 937 typedef struct xcb_input_bell_feedback_state_t { 938 uint8_t class_id; /**< */ 939 uint8_t feedback_id; /**< */ 940 uint16_t len; /**< */ 941 uint8_t percent; /**< */ 942 uint8_t pad0[3]; /**< */ 943 uint16_t pitch; /**< */ 944 uint16_t duration; /**< */ 945 } xcb_input_bell_feedback_state_t; 946 947 /** 948 * @brief xcb_input_bell_feedback_state_iterator_t 949 **/ 950 typedef struct xcb_input_bell_feedback_state_iterator_t { 951 xcb_input_bell_feedback_state_t *data; /**< */ 952 int rem; /**< */ 953 int index; /**< */ 954 } xcb_input_bell_feedback_state_iterator_t; 955 956 /** 957 * @brief xcb_input_led_feedback_state_t 958 **/ 959 typedef struct xcb_input_led_feedback_state_t { 960 uint8_t class_id; /**< */ 961 uint8_t feedback_id; /**< */ 962 uint16_t len; /**< */ 963 uint32_t led_mask; /**< */ 964 uint32_t led_values; /**< */ 965 } xcb_input_led_feedback_state_t; 966 967 /** 968 * @brief xcb_input_led_feedback_state_iterator_t 969 **/ 970 typedef struct xcb_input_led_feedback_state_iterator_t { 971 xcb_input_led_feedback_state_t *data; /**< */ 972 int rem; /**< */ 973 int index; /**< */ 974 } xcb_input_led_feedback_state_iterator_t; 975 976 /** 977 * @brief xcb_input_feedback_state_t 978 **/ 979 typedef struct xcb_input_feedback_state_t { 980 uint8_t class_id; /**< */ 981 uint8_t feedback_id; /**< */ 982 uint16_t len; /**< */ 983 } xcb_input_feedback_state_t; 984 985 /** 986 * @brief xcb_input_feedback_state_iterator_t 987 **/ 988 typedef struct xcb_input_feedback_state_iterator_t { 989 xcb_input_feedback_state_t *data; /**< */ 990 int rem; /**< */ 991 int index; /**< */ 992 } xcb_input_feedback_state_iterator_t; 993 994 /** 995 * @brief xcb_input_get_feedback_control_cookie_t 996 **/ 997 typedef struct xcb_input_get_feedback_control_cookie_t { 998 unsigned int sequence; /**< */ 999 } xcb_input_get_feedback_control_cookie_t; 1000 1001 /** Opcode for xcb_input_get_feedback_control. */ 1002 #define XCB_INPUT_GET_FEEDBACK_CONTROL 22 1003 1004 /** 1005 * @brief xcb_input_get_feedback_control_request_t 1006 **/ 1007 typedef struct xcb_input_get_feedback_control_request_t { 1008 uint8_t major_opcode; /**< */ 1009 uint8_t minor_opcode; /**< */ 1010 uint16_t length; /**< */ 1011 uint8_t device_id; /**< */ 1012 uint8_t pad0[3]; /**< */ 1013 } xcb_input_get_feedback_control_request_t; 1014 1015 /** 1016 * @brief xcb_input_get_feedback_control_reply_t 1017 **/ 1018 typedef struct xcb_input_get_feedback_control_reply_t { 1019 uint8_t response_type; /**< */ 1020 uint8_t pad0; /**< */ 1021 uint16_t sequence; /**< */ 1022 uint32_t length; /**< */ 1023 uint16_t num_feedbacks; /**< */ 1024 uint8_t pad1[22]; /**< */ 1025 } xcb_input_get_feedback_control_reply_t; 1026 1027 /** 1028 * @brief xcb_input_kbd_feedback_ctl_t 1029 **/ 1030 typedef struct xcb_input_kbd_feedback_ctl_t { 1031 uint8_t class_id; /**< */ 1032 uint8_t feedback_id; /**< */ 1033 uint16_t len; /**< */ 1034 xcb_input_key_code_t key; /**< */ 1035 uint8_t auto_repeat_mode; /**< */ 1036 int8_t key_click_percent; /**< */ 1037 int8_t bell_percent; /**< */ 1038 int16_t bell_pitch; /**< */ 1039 int16_t bell_duration; /**< */ 1040 uint32_t led_mask; /**< */ 1041 uint32_t led_values; /**< */ 1042 } xcb_input_kbd_feedback_ctl_t; 1043 1044 /** 1045 * @brief xcb_input_kbd_feedback_ctl_iterator_t 1046 **/ 1047 typedef struct xcb_input_kbd_feedback_ctl_iterator_t { 1048 xcb_input_kbd_feedback_ctl_t *data; /**< */ 1049 int rem; /**< */ 1050 int index; /**< */ 1051 } xcb_input_kbd_feedback_ctl_iterator_t; 1052 1053 /** 1054 * @brief xcb_input_ptr_feedback_ctl_t 1055 **/ 1056 typedef struct xcb_input_ptr_feedback_ctl_t { 1057 uint8_t class_id; /**< */ 1058 uint8_t feedback_id; /**< */ 1059 uint16_t len; /**< */ 1060 uint8_t pad0[2]; /**< */ 1061 int16_t num; /**< */ 1062 int16_t denom; /**< */ 1063 int16_t threshold; /**< */ 1064 } xcb_input_ptr_feedback_ctl_t; 1065 1066 /** 1067 * @brief xcb_input_ptr_feedback_ctl_iterator_t 1068 **/ 1069 typedef struct xcb_input_ptr_feedback_ctl_iterator_t { 1070 xcb_input_ptr_feedback_ctl_t *data; /**< */ 1071 int rem; /**< */ 1072 int index; /**< */ 1073 } xcb_input_ptr_feedback_ctl_iterator_t; 1074 1075 /** 1076 * @brief xcb_input_integer_feedback_ctl_t 1077 **/ 1078 typedef struct xcb_input_integer_feedback_ctl_t { 1079 uint8_t class_id; /**< */ 1080 uint8_t feedback_id; /**< */ 1081 uint16_t len; /**< */ 1082 int32_t int_to_display; /**< */ 1083 } xcb_input_integer_feedback_ctl_t; 1084 1085 /** 1086 * @brief xcb_input_integer_feedback_ctl_iterator_t 1087 **/ 1088 typedef struct xcb_input_integer_feedback_ctl_iterator_t { 1089 xcb_input_integer_feedback_ctl_t *data; /**< */ 1090 int rem; /**< */ 1091 int index; /**< */ 1092 } xcb_input_integer_feedback_ctl_iterator_t; 1093 1094 /** 1095 * @brief xcb_input_string_feedback_ctl_t 1096 **/ 1097 typedef struct xcb_input_string_feedback_ctl_t { 1098 uint8_t class_id; /**< */ 1099 uint8_t feedback_id; /**< */ 1100 uint16_t len; /**< */ 1101 uint8_t pad0[2]; /**< */ 1102 uint16_t num_keysyms; /**< */ 1103 } xcb_input_string_feedback_ctl_t; 1104 1105 /** 1106 * @brief xcb_input_string_feedback_ctl_iterator_t 1107 **/ 1108 typedef struct xcb_input_string_feedback_ctl_iterator_t { 1109 xcb_input_string_feedback_ctl_t *data; /**< */ 1110 int rem; /**< */ 1111 int index; /**< */ 1112 } xcb_input_string_feedback_ctl_iterator_t; 1113 1114 /** 1115 * @brief xcb_input_bell_feedback_ctl_t 1116 **/ 1117 typedef struct xcb_input_bell_feedback_ctl_t { 1118 uint8_t class_id; /**< */ 1119 uint8_t feedback_id; /**< */ 1120 uint16_t len; /**< */ 1121 int8_t percent; /**< */ 1122 uint8_t pad0[3]; /**< */ 1123 int16_t pitch; /**< */ 1124 int16_t duration; /**< */ 1125 } xcb_input_bell_feedback_ctl_t; 1126 1127 /** 1128 * @brief xcb_input_bell_feedback_ctl_iterator_t 1129 **/ 1130 typedef struct xcb_input_bell_feedback_ctl_iterator_t { 1131 xcb_input_bell_feedback_ctl_t *data; /**< */ 1132 int rem; /**< */ 1133 int index; /**< */ 1134 } xcb_input_bell_feedback_ctl_iterator_t; 1135 1136 /** 1137 * @brief xcb_input_led_feedback_ctl_t 1138 **/ 1139 typedef struct xcb_input_led_feedback_ctl_t { 1140 uint8_t class_id; /**< */ 1141 uint8_t feedback_id; /**< */ 1142 uint16_t len; /**< */ 1143 uint32_t led_mask; /**< */ 1144 uint32_t led_values; /**< */ 1145 } xcb_input_led_feedback_ctl_t; 1146 1147 /** 1148 * @brief xcb_input_led_feedback_ctl_iterator_t 1149 **/ 1150 typedef struct xcb_input_led_feedback_ctl_iterator_t { 1151 xcb_input_led_feedback_ctl_t *data; /**< */ 1152 int rem; /**< */ 1153 int index; /**< */ 1154 } xcb_input_led_feedback_ctl_iterator_t; 1155 1156 /** 1157 * @brief xcb_input_feedback_ctl_t 1158 **/ 1159 typedef struct xcb_input_feedback_ctl_t { 1160 uint8_t class_id; /**< */ 1161 uint8_t feedback_id; /**< */ 1162 uint16_t len; /**< */ 1163 } xcb_input_feedback_ctl_t; 1164 1165 /** 1166 * @brief xcb_input_feedback_ctl_iterator_t 1167 **/ 1168 typedef struct xcb_input_feedback_ctl_iterator_t { 1169 xcb_input_feedback_ctl_t *data; /**< */ 1170 int rem; /**< */ 1171 int index; /**< */ 1172 } xcb_input_feedback_ctl_iterator_t; 1173 1174 /** Opcode for xcb_input_change_feedback_control. */ 1175 #define XCB_INPUT_CHANGE_FEEDBACK_CONTROL 23 1176 1177 /** 1178 * @brief xcb_input_change_feedback_control_request_t 1179 **/ 1180 typedef struct xcb_input_change_feedback_control_request_t { 1181 uint8_t major_opcode; /**< */ 1182 uint8_t minor_opcode; /**< */ 1183 uint16_t length; /**< */ 1184 uint32_t mask; /**< */ 1185 uint8_t device_id; /**< */ 1186 uint8_t feedback_id; /**< */ 1187 } xcb_input_change_feedback_control_request_t; 1188 1189 /** 1190 * @brief xcb_input_get_device_key_mapping_cookie_t 1191 **/ 1192 typedef struct xcb_input_get_device_key_mapping_cookie_t { 1193 unsigned int sequence; /**< */ 1194 } xcb_input_get_device_key_mapping_cookie_t; 1195 1196 /** Opcode for xcb_input_get_device_key_mapping. */ 1197 #define XCB_INPUT_GET_DEVICE_KEY_MAPPING 24 1198 1199 /** 1200 * @brief xcb_input_get_device_key_mapping_request_t 1201 **/ 1202 typedef struct xcb_input_get_device_key_mapping_request_t { 1203 uint8_t major_opcode; /**< */ 1204 uint8_t minor_opcode; /**< */ 1205 uint16_t length; /**< */ 1206 uint8_t device_id; /**< */ 1207 xcb_input_key_code_t first_keycode; /**< */ 1208 uint8_t count; /**< */ 1209 } xcb_input_get_device_key_mapping_request_t; 1210 1211 /** 1212 * @brief xcb_input_get_device_key_mapping_reply_t 1213 **/ 1214 typedef struct xcb_input_get_device_key_mapping_reply_t { 1215 uint8_t response_type; /**< */ 1216 uint8_t pad0; /**< */ 1217 uint16_t sequence; /**< */ 1218 uint32_t length; /**< */ 1219 uint8_t keysyms_per_keycode; /**< */ 1220 uint8_t pad1[23]; /**< */ 1221 } xcb_input_get_device_key_mapping_reply_t; 1222 1223 /** Opcode for xcb_input_change_device_key_mapping. */ 1224 #define XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING 25 1225 1226 /** 1227 * @brief xcb_input_change_device_key_mapping_request_t 1228 **/ 1229 typedef struct xcb_input_change_device_key_mapping_request_t { 1230 uint8_t major_opcode; /**< */ 1231 uint8_t minor_opcode; /**< */ 1232 uint16_t length; /**< */ 1233 uint8_t device_id; /**< */ 1234 xcb_input_key_code_t first_keycode; /**< */ 1235 uint8_t keysyms_per_keycode; /**< */ 1236 uint8_t keycode_count; /**< */ 1237 } xcb_input_change_device_key_mapping_request_t; 1238 1239 /** 1240 * @brief xcb_input_get_device_modifier_mapping_cookie_t 1241 **/ 1242 typedef struct xcb_input_get_device_modifier_mapping_cookie_t { 1243 unsigned int sequence; /**< */ 1244 } xcb_input_get_device_modifier_mapping_cookie_t; 1245 1246 /** Opcode for xcb_input_get_device_modifier_mapping. */ 1247 #define XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING 26 1248 1249 /** 1250 * @brief xcb_input_get_device_modifier_mapping_request_t 1251 **/ 1252 typedef struct xcb_input_get_device_modifier_mapping_request_t { 1253 uint8_t major_opcode; /**< */ 1254 uint8_t minor_opcode; /**< */ 1255 uint16_t length; /**< */ 1256 uint8_t device_id; /**< */ 1257 uint8_t pad0[3]; /**< */ 1258 } xcb_input_get_device_modifier_mapping_request_t; 1259 1260 /** 1261 * @brief xcb_input_get_device_modifier_mapping_reply_t 1262 **/ 1263 typedef struct xcb_input_get_device_modifier_mapping_reply_t { 1264 uint8_t response_type; /**< */ 1265 uint8_t pad0; /**< */ 1266 uint16_t sequence; /**< */ 1267 uint32_t length; /**< */ 1268 uint8_t keycodes_per_modifier; /**< */ 1269 uint8_t pad1[23]; /**< */ 1270 } xcb_input_get_device_modifier_mapping_reply_t; 1271 1272 /** 1273 * @brief xcb_input_set_device_modifier_mapping_cookie_t 1274 **/ 1275 typedef struct xcb_input_set_device_modifier_mapping_cookie_t { 1276 unsigned int sequence; /**< */ 1277 } xcb_input_set_device_modifier_mapping_cookie_t; 1278 1279 /** Opcode for xcb_input_set_device_modifier_mapping. */ 1280 #define XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING 27 1281 1282 /** 1283 * @brief xcb_input_set_device_modifier_mapping_request_t 1284 **/ 1285 typedef struct xcb_input_set_device_modifier_mapping_request_t { 1286 uint8_t major_opcode; /**< */ 1287 uint8_t minor_opcode; /**< */ 1288 uint16_t length; /**< */ 1289 uint8_t device_id; /**< */ 1290 uint8_t keycodes_per_modifier; /**< */ 1291 uint8_t pad0; /**< */ 1292 } xcb_input_set_device_modifier_mapping_request_t; 1293 1294 /** 1295 * @brief xcb_input_set_device_modifier_mapping_reply_t 1296 **/ 1297 typedef struct xcb_input_set_device_modifier_mapping_reply_t { 1298 uint8_t response_type; /**< */ 1299 uint8_t pad0; /**< */ 1300 uint16_t sequence; /**< */ 1301 uint32_t length; /**< */ 1302 uint8_t status; /**< */ 1303 uint8_t pad1[23]; /**< */ 1304 } xcb_input_set_device_modifier_mapping_reply_t; 1305 1306 /** 1307 * @brief xcb_input_get_device_button_mapping_cookie_t 1308 **/ 1309 typedef struct xcb_input_get_device_button_mapping_cookie_t { 1310 unsigned int sequence; /**< */ 1311 } xcb_input_get_device_button_mapping_cookie_t; 1312 1313 /** Opcode for xcb_input_get_device_button_mapping. */ 1314 #define XCB_INPUT_GET_DEVICE_BUTTON_MAPPING 28 1315 1316 /** 1317 * @brief xcb_input_get_device_button_mapping_request_t 1318 **/ 1319 typedef struct xcb_input_get_device_button_mapping_request_t { 1320 uint8_t major_opcode; /**< */ 1321 uint8_t minor_opcode; /**< */ 1322 uint16_t length; /**< */ 1323 uint8_t device_id; /**< */ 1324 uint8_t pad0[3]; /**< */ 1325 } xcb_input_get_device_button_mapping_request_t; 1326 1327 /** 1328 * @brief xcb_input_get_device_button_mapping_reply_t 1329 **/ 1330 typedef struct xcb_input_get_device_button_mapping_reply_t { 1331 uint8_t response_type; /**< */ 1332 uint8_t pad0; /**< */ 1333 uint16_t sequence; /**< */ 1334 uint32_t length; /**< */ 1335 uint8_t map_size; /**< */ 1336 uint8_t pad1[23]; /**< */ 1337 } xcb_input_get_device_button_mapping_reply_t; 1338 1339 /** 1340 * @brief xcb_input_set_device_button_mapping_cookie_t 1341 **/ 1342 typedef struct xcb_input_set_device_button_mapping_cookie_t { 1343 unsigned int sequence; /**< */ 1344 } xcb_input_set_device_button_mapping_cookie_t; 1345 1346 /** Opcode for xcb_input_set_device_button_mapping. */ 1347 #define XCB_INPUT_SET_DEVICE_BUTTON_MAPPING 29 1348 1349 /** 1350 * @brief xcb_input_set_device_button_mapping_request_t 1351 **/ 1352 typedef struct xcb_input_set_device_button_mapping_request_t { 1353 uint8_t major_opcode; /**< */ 1354 uint8_t minor_opcode; /**< */ 1355 uint16_t length; /**< */ 1356 uint8_t device_id; /**< */ 1357 uint8_t map_size; /**< */ 1358 uint8_t pad0[2]; /**< */ 1359 } xcb_input_set_device_button_mapping_request_t; 1360 1361 /** 1362 * @brief xcb_input_set_device_button_mapping_reply_t 1363 **/ 1364 typedef struct xcb_input_set_device_button_mapping_reply_t { 1365 uint8_t response_type; /**< */ 1366 uint8_t pad0; /**< */ 1367 uint16_t sequence; /**< */ 1368 uint32_t length; /**< */ 1369 uint8_t status; /**< */ 1370 uint8_t pad1[23]; /**< */ 1371 } xcb_input_set_device_button_mapping_reply_t; 1372 1373 /** 1374 * @brief xcb_input_key_state_t 1375 **/ 1376 typedef struct xcb_input_key_state_t { 1377 uint8_t class_id; /**< */ 1378 uint8_t len; /**< */ 1379 uint8_t num_keys; /**< */ 1380 uint8_t pad0; /**< */ 1381 uint8_t keys[32]; /**< */ 1382 } xcb_input_key_state_t; 1383 1384 /** 1385 * @brief xcb_input_key_state_iterator_t 1386 **/ 1387 typedef struct xcb_input_key_state_iterator_t { 1388 xcb_input_key_state_t *data; /**< */ 1389 int rem; /**< */ 1390 int index; /**< */ 1391 } xcb_input_key_state_iterator_t; 1392 1393 /** 1394 * @brief xcb_input_button_state_t 1395 **/ 1396 typedef struct xcb_input_button_state_t { 1397 uint8_t class_id; /**< */ 1398 uint8_t len; /**< */ 1399 uint8_t num_buttons; /**< */ 1400 uint8_t pad0; /**< */ 1401 uint8_t buttons[32]; /**< */ 1402 } xcb_input_button_state_t; 1403 1404 /** 1405 * @brief xcb_input_button_state_iterator_t 1406 **/ 1407 typedef struct xcb_input_button_state_iterator_t { 1408 xcb_input_button_state_t *data; /**< */ 1409 int rem; /**< */ 1410 int index; /**< */ 1411 } xcb_input_button_state_iterator_t; 1412 1413 /** 1414 * @brief xcb_input_valuator_state_t 1415 **/ 1416 typedef struct xcb_input_valuator_state_t { 1417 uint8_t class_id; /**< */ 1418 uint8_t len; /**< */ 1419 uint8_t num_valuators; /**< */ 1420 uint8_t mode; /**< */ 1421 } xcb_input_valuator_state_t; 1422 1423 /** 1424 * @brief xcb_input_valuator_state_iterator_t 1425 **/ 1426 typedef struct xcb_input_valuator_state_iterator_t { 1427 xcb_input_valuator_state_t *data; /**< */ 1428 int rem; /**< */ 1429 int index; /**< */ 1430 } xcb_input_valuator_state_iterator_t; 1431 1432 /** 1433 * @brief xcb_input_input_state_t 1434 **/ 1435 typedef struct xcb_input_input_state_t { 1436 uint8_t class_id; /**< */ 1437 uint8_t len; /**< */ 1438 uint8_t num_items; /**< */ 1439 uint8_t pad0; /**< */ 1440 } xcb_input_input_state_t; 1441 1442 /** 1443 * @brief xcb_input_input_state_iterator_t 1444 **/ 1445 typedef struct xcb_input_input_state_iterator_t { 1446 xcb_input_input_state_t *data; /**< */ 1447 int rem; /**< */ 1448 int index; /**< */ 1449 } xcb_input_input_state_iterator_t; 1450 1451 /** 1452 * @brief xcb_input_query_device_state_cookie_t 1453 **/ 1454 typedef struct xcb_input_query_device_state_cookie_t { 1455 unsigned int sequence; /**< */ 1456 } xcb_input_query_device_state_cookie_t; 1457 1458 /** Opcode for xcb_input_query_device_state. */ 1459 #define XCB_INPUT_QUERY_DEVICE_STATE 30 1460 1461 /** 1462 * @brief xcb_input_query_device_state_request_t 1463 **/ 1464 typedef struct xcb_input_query_device_state_request_t { 1465 uint8_t major_opcode; /**< */ 1466 uint8_t minor_opcode; /**< */ 1467 uint16_t length; /**< */ 1468 uint8_t device_id; /**< */ 1469 uint8_t pad0[3]; /**< */ 1470 } xcb_input_query_device_state_request_t; 1471 1472 /** 1473 * @brief xcb_input_query_device_state_reply_t 1474 **/ 1475 typedef struct xcb_input_query_device_state_reply_t { 1476 uint8_t response_type; /**< */ 1477 uint8_t pad0; /**< */ 1478 uint16_t sequence; /**< */ 1479 uint32_t length; /**< */ 1480 uint8_t num_classes; /**< */ 1481 uint8_t pad1[23]; /**< */ 1482 } xcb_input_query_device_state_reply_t; 1483 1484 /** Opcode for xcb_input_send_extension_event. */ 1485 #define XCB_INPUT_SEND_EXTENSION_EVENT 31 1486 1487 /** 1488 * @brief xcb_input_send_extension_event_request_t 1489 **/ 1490 typedef struct xcb_input_send_extension_event_request_t { 1491 uint8_t major_opcode; /**< */ 1492 uint8_t minor_opcode; /**< */ 1493 uint16_t length; /**< */ 1494 xcb_window_t destination; /**< */ 1495 uint8_t device_id; /**< */ 1496 uint8_t propagate; /**< */ 1497 uint16_t num_classes; /**< */ 1498 uint8_t num_events; /**< */ 1499 uint8_t pad0[3]; /**< */ 1500 } xcb_input_send_extension_event_request_t; 1501 1502 /** Opcode for xcb_input_device_bell. */ 1503 #define XCB_INPUT_DEVICE_BELL 32 1504 1505 /** 1506 * @brief xcb_input_device_bell_request_t 1507 **/ 1508 typedef struct xcb_input_device_bell_request_t { 1509 uint8_t major_opcode; /**< */ 1510 uint8_t minor_opcode; /**< */ 1511 uint16_t length; /**< */ 1512 uint8_t device_id; /**< */ 1513 uint8_t feedback_id; /**< */ 1514 uint8_t feedback_class; /**< */ 1515 int8_t percent; /**< */ 1516 } xcb_input_device_bell_request_t; 1517 1518 /** 1519 * @brief xcb_input_set_device_valuators_cookie_t 1520 **/ 1521 typedef struct xcb_input_set_device_valuators_cookie_t { 1522 unsigned int sequence; /**< */ 1523 } xcb_input_set_device_valuators_cookie_t; 1524 1525 /** Opcode for xcb_input_set_device_valuators. */ 1526 #define XCB_INPUT_SET_DEVICE_VALUATORS 33 1527 1528 /** 1529 * @brief xcb_input_set_device_valuators_request_t 1530 **/ 1531 typedef struct xcb_input_set_device_valuators_request_t { 1532 uint8_t major_opcode; /**< */ 1533 uint8_t minor_opcode; /**< */ 1534 uint16_t length; /**< */ 1535 uint8_t device_id; /**< */ 1536 uint8_t first_valuator; /**< */ 1537 uint8_t num_valuators; /**< */ 1538 uint8_t pad0; /**< */ 1539 } xcb_input_set_device_valuators_request_t; 1540 1541 /** 1542 * @brief xcb_input_set_device_valuators_reply_t 1543 **/ 1544 typedef struct xcb_input_set_device_valuators_reply_t { 1545 uint8_t response_type; /**< */ 1546 uint8_t pad0; /**< */ 1547 uint16_t sequence; /**< */ 1548 uint32_t length; /**< */ 1549 uint8_t status; /**< */ 1550 uint8_t pad1[23]; /**< */ 1551 } xcb_input_set_device_valuators_reply_t; 1552 1553 typedef enum xcb_input_device_control_t { 1554 XCB_INPUT_DEVICE_CONTROL_RESOLUTION = 1, 1555 XCB_INPUT_DEVICE_CONTROL_ABS_CALIB = 2, 1556 XCB_INPUT_DEVICE_CONTROL_CORE = 3, 1557 XCB_INPUT_DEVICE_CONTROL_ENABLE = 4, 1558 XCB_INPUT_DEVICE_CONTROL_ABS_AREA = 5 1559 } xcb_input_device_control_t; 1560 1561 /** 1562 * @brief xcb_input_device_resolution_state_t 1563 **/ 1564 typedef struct xcb_input_device_resolution_state_t { 1565 uint16_t control_id; /**< */ 1566 uint16_t len; /**< */ 1567 uint32_t num_valuators; /**< */ 1568 } xcb_input_device_resolution_state_t; 1569 1570 /** 1571 * @brief xcb_input_device_resolution_state_iterator_t 1572 **/ 1573 typedef struct xcb_input_device_resolution_state_iterator_t { 1574 xcb_input_device_resolution_state_t *data; /**< */ 1575 int rem; /**< */ 1576 int index; /**< */ 1577 } xcb_input_device_resolution_state_iterator_t; 1578 1579 /** 1580 * @brief xcb_input_device_abs_calib_state_t 1581 **/ 1582 typedef struct xcb_input_device_abs_calib_state_t { 1583 uint16_t control_id; /**< */ 1584 uint16_t len; /**< */ 1585 int32_t min_x; /**< */ 1586 int32_t max_x; /**< */ 1587 int32_t min_y; /**< */ 1588 int32_t max_y; /**< */ 1589 uint32_t flip_x; /**< */ 1590 uint32_t flip_y; /**< */ 1591 uint32_t rotation; /**< */ 1592 uint32_t button_threshold; /**< */ 1593 } xcb_input_device_abs_calib_state_t; 1594 1595 /** 1596 * @brief xcb_input_device_abs_calib_state_iterator_t 1597 **/ 1598 typedef struct xcb_input_device_abs_calib_state_iterator_t { 1599 xcb_input_device_abs_calib_state_t *data; /**< */ 1600 int rem; /**< */ 1601 int index; /**< */ 1602 } xcb_input_device_abs_calib_state_iterator_t; 1603 1604 /** 1605 * @brief xcb_input_device_abs_area_state_t 1606 **/ 1607 typedef struct xcb_input_device_abs_area_state_t { 1608 uint16_t control_id; /**< */ 1609 uint16_t len; /**< */ 1610 uint32_t offset_x; /**< */ 1611 uint32_t offset_y; /**< */ 1612 uint32_t width; /**< */ 1613 uint32_t height; /**< */ 1614 uint32_t screen; /**< */ 1615 uint32_t following; /**< */ 1616 } xcb_input_device_abs_area_state_t; 1617 1618 /** 1619 * @brief xcb_input_device_abs_area_state_iterator_t 1620 **/ 1621 typedef struct xcb_input_device_abs_area_state_iterator_t { 1622 xcb_input_device_abs_area_state_t *data; /**< */ 1623 int rem; /**< */ 1624 int index; /**< */ 1625 } xcb_input_device_abs_area_state_iterator_t; 1626 1627 /** 1628 * @brief xcb_input_device_core_state_t 1629 **/ 1630 typedef struct xcb_input_device_core_state_t { 1631 uint16_t control_id; /**< */ 1632 uint16_t len; /**< */ 1633 uint8_t status; /**< */ 1634 uint8_t iscore; /**< */ 1635 uint8_t pad0[2]; /**< */ 1636 } xcb_input_device_core_state_t; 1637 1638 /** 1639 * @brief xcb_input_device_core_state_iterator_t 1640 **/ 1641 typedef struct xcb_input_device_core_state_iterator_t { 1642 xcb_input_device_core_state_t *data; /**< */ 1643 int rem; /**< */ 1644 int index; /**< */ 1645 } xcb_input_device_core_state_iterator_t; 1646 1647 /** 1648 * @brief xcb_input_device_enable_state_t 1649 **/ 1650 typedef struct xcb_input_device_enable_state_t { 1651 uint16_t control_id; /**< */ 1652 uint16_t len; /**< */ 1653 uint8_t enable; /**< */ 1654 uint8_t pad0[3]; /**< */ 1655 } xcb_input_device_enable_state_t; 1656 1657 /** 1658 * @brief xcb_input_device_enable_state_iterator_t 1659 **/ 1660 typedef struct xcb_input_device_enable_state_iterator_t { 1661 xcb_input_device_enable_state_t *data; /**< */ 1662 int rem; /**< */ 1663 int index; /**< */ 1664 } xcb_input_device_enable_state_iterator_t; 1665 1666 /** 1667 * @brief xcb_input_device_state_t 1668 **/ 1669 typedef struct xcb_input_device_state_t { 1670 uint16_t control_id; /**< */ 1671 uint16_t len; /**< */ 1672 } xcb_input_device_state_t; 1673 1674 /** 1675 * @brief xcb_input_device_state_iterator_t 1676 **/ 1677 typedef struct xcb_input_device_state_iterator_t { 1678 xcb_input_device_state_t *data; /**< */ 1679 int rem; /**< */ 1680 int index; /**< */ 1681 } xcb_input_device_state_iterator_t; 1682 1683 /** 1684 * @brief xcb_input_get_device_control_cookie_t 1685 **/ 1686 typedef struct xcb_input_get_device_control_cookie_t { 1687 unsigned int sequence; /**< */ 1688 } xcb_input_get_device_control_cookie_t; 1689 1690 /** Opcode for xcb_input_get_device_control. */ 1691 #define XCB_INPUT_GET_DEVICE_CONTROL 34 1692 1693 /** 1694 * @brief xcb_input_get_device_control_request_t 1695 **/ 1696 typedef struct xcb_input_get_device_control_request_t { 1697 uint8_t major_opcode; /**< */ 1698 uint8_t minor_opcode; /**< */ 1699 uint16_t length; /**< */ 1700 uint16_t control_id; /**< */ 1701 uint8_t device_id; /**< */ 1702 uint8_t pad0; /**< */ 1703 } xcb_input_get_device_control_request_t; 1704 1705 /** 1706 * @brief xcb_input_get_device_control_reply_t 1707 **/ 1708 typedef struct xcb_input_get_device_control_reply_t { 1709 uint8_t response_type; /**< */ 1710 uint8_t pad0; /**< */ 1711 uint16_t sequence; /**< */ 1712 uint32_t length; /**< */ 1713 uint8_t status; /**< */ 1714 uint8_t pad1[23]; /**< */ 1715 } xcb_input_get_device_control_reply_t; 1716 1717 /** 1718 * @brief xcb_input_device_resolution_ctl_t 1719 **/ 1720 typedef struct xcb_input_device_resolution_ctl_t { 1721 uint16_t control_id; /**< */ 1722 uint16_t len; /**< */ 1723 uint8_t first_valuator; /**< */ 1724 uint8_t num_valuators; /**< */ 1725 } xcb_input_device_resolution_ctl_t; 1726 1727 /** 1728 * @brief xcb_input_device_resolution_ctl_iterator_t 1729 **/ 1730 typedef struct xcb_input_device_resolution_ctl_iterator_t { 1731 xcb_input_device_resolution_ctl_t *data; /**< */ 1732 int rem; /**< */ 1733 int index; /**< */ 1734 } xcb_input_device_resolution_ctl_iterator_t; 1735 1736 /** 1737 * @brief xcb_input_device_abs_calib_ctl_t 1738 **/ 1739 typedef struct xcb_input_device_abs_calib_ctl_t { 1740 uint16_t control_id; /**< */ 1741 uint16_t len; /**< */ 1742 int32_t min_x; /**< */ 1743 int32_t max_x; /**< */ 1744 int32_t min_y; /**< */ 1745 int32_t max_y; /**< */ 1746 uint32_t flip_x; /**< */ 1747 uint32_t flip_y; /**< */ 1748 uint32_t rotation; /**< */ 1749 uint32_t button_threshold; /**< */ 1750 } xcb_input_device_abs_calib_ctl_t; 1751 1752 /** 1753 * @brief xcb_input_device_abs_calib_ctl_iterator_t 1754 **/ 1755 typedef struct xcb_input_device_abs_calib_ctl_iterator_t { 1756 xcb_input_device_abs_calib_ctl_t *data; /**< */ 1757 int rem; /**< */ 1758 int index; /**< */ 1759 } xcb_input_device_abs_calib_ctl_iterator_t; 1760 1761 /** 1762 * @brief xcb_input_device_abs_area_ctrl_t 1763 **/ 1764 typedef struct xcb_input_device_abs_area_ctrl_t { 1765 uint16_t control_id; /**< */ 1766 uint16_t len; /**< */ 1767 uint32_t offset_x; /**< */ 1768 uint32_t offset_y; /**< */ 1769 int32_t width; /**< */ 1770 int32_t height; /**< */ 1771 int32_t screen; /**< */ 1772 uint32_t following; /**< */ 1773 } xcb_input_device_abs_area_ctrl_t; 1774 1775 /** 1776 * @brief xcb_input_device_abs_area_ctrl_iterator_t 1777 **/ 1778 typedef struct xcb_input_device_abs_area_ctrl_iterator_t { 1779 xcb_input_device_abs_area_ctrl_t *data; /**< */ 1780 int rem; /**< */ 1781 int index; /**< */ 1782 } xcb_input_device_abs_area_ctrl_iterator_t; 1783 1784 /** 1785 * @brief xcb_input_device_core_ctrl_t 1786 **/ 1787 typedef struct xcb_input_device_core_ctrl_t { 1788 uint16_t control_id; /**< */ 1789 uint16_t len; /**< */ 1790 uint8_t status; /**< */ 1791 uint8_t pad0[3]; /**< */ 1792 } xcb_input_device_core_ctrl_t; 1793 1794 /** 1795 * @brief xcb_input_device_core_ctrl_iterator_t 1796 **/ 1797 typedef struct xcb_input_device_core_ctrl_iterator_t { 1798 xcb_input_device_core_ctrl_t *data; /**< */ 1799 int rem; /**< */ 1800 int index; /**< */ 1801 } xcb_input_device_core_ctrl_iterator_t; 1802 1803 /** 1804 * @brief xcb_input_device_enable_ctrl_t 1805 **/ 1806 typedef struct xcb_input_device_enable_ctrl_t { 1807 uint16_t control_id; /**< */ 1808 uint16_t len; /**< */ 1809 uint8_t enable; /**< */ 1810 uint8_t pad0[3]; /**< */ 1811 } xcb_input_device_enable_ctrl_t; 1812 1813 /** 1814 * @brief xcb_input_device_enable_ctrl_iterator_t 1815 **/ 1816 typedef struct xcb_input_device_enable_ctrl_iterator_t { 1817 xcb_input_device_enable_ctrl_t *data; /**< */ 1818 int rem; /**< */ 1819 int index; /**< */ 1820 } xcb_input_device_enable_ctrl_iterator_t; 1821 1822 /** 1823 * @brief xcb_input_device_ctl_t 1824 **/ 1825 typedef struct xcb_input_device_ctl_t { 1826 uint16_t control_id; /**< */ 1827 uint16_t len; /**< */ 1828 } xcb_input_device_ctl_t; 1829 1830 /** 1831 * @brief xcb_input_device_ctl_iterator_t 1832 **/ 1833 typedef struct xcb_input_device_ctl_iterator_t { 1834 xcb_input_device_ctl_t *data; /**< */ 1835 int rem; /**< */ 1836 int index; /**< */ 1837 } xcb_input_device_ctl_iterator_t; 1838 1839 /** 1840 * @brief xcb_input_change_device_control_cookie_t 1841 **/ 1842 typedef struct xcb_input_change_device_control_cookie_t { 1843 unsigned int sequence; /**< */ 1844 } xcb_input_change_device_control_cookie_t; 1845 1846 /** Opcode for xcb_input_change_device_control. */ 1847 #define XCB_INPUT_CHANGE_DEVICE_CONTROL 35 1848 1849 /** 1850 * @brief xcb_input_change_device_control_request_t 1851 **/ 1852 typedef struct xcb_input_change_device_control_request_t { 1853 uint8_t major_opcode; /**< */ 1854 uint8_t minor_opcode; /**< */ 1855 uint16_t length; /**< */ 1856 uint16_t control_id; /**< */ 1857 uint8_t device_id; /**< */ 1858 uint8_t pad0; /**< */ 1859 } xcb_input_change_device_control_request_t; 1860 1861 /** 1862 * @brief xcb_input_change_device_control_reply_t 1863 **/ 1864 typedef struct xcb_input_change_device_control_reply_t { 1865 uint8_t response_type; /**< */ 1866 uint8_t pad0; /**< */ 1867 uint16_t sequence; /**< */ 1868 uint32_t length; /**< */ 1869 uint8_t status; /**< */ 1870 uint8_t pad1[23]; /**< */ 1871 } xcb_input_change_device_control_reply_t; 1872 1873 /** 1874 * @brief xcb_input_list_device_properties_cookie_t 1875 **/ 1876 typedef struct xcb_input_list_device_properties_cookie_t { 1877 unsigned int sequence; /**< */ 1878 } xcb_input_list_device_properties_cookie_t; 1879 1880 /** Opcode for xcb_input_list_device_properties. */ 1881 #define XCB_INPUT_LIST_DEVICE_PROPERTIES 36 1882 1883 /** 1884 * @brief xcb_input_list_device_properties_request_t 1885 **/ 1886 typedef struct xcb_input_list_device_properties_request_t { 1887 uint8_t major_opcode; /**< */ 1888 uint8_t minor_opcode; /**< */ 1889 uint16_t length; /**< */ 1890 uint8_t device_id; /**< */ 1891 uint8_t pad0[3]; /**< */ 1892 } xcb_input_list_device_properties_request_t; 1893 1894 /** 1895 * @brief xcb_input_list_device_properties_reply_t 1896 **/ 1897 typedef struct xcb_input_list_device_properties_reply_t { 1898 uint8_t response_type; /**< */ 1899 uint8_t pad0; /**< */ 1900 uint16_t sequence; /**< */ 1901 uint32_t length; /**< */ 1902 uint16_t num_atoms; /**< */ 1903 uint8_t pad1[22]; /**< */ 1904 } xcb_input_list_device_properties_reply_t; 1905 1906 typedef enum xcb_input_property_format_t { 1907 XCB_INPUT_PROPERTY_FORMAT_8_BITS = 8, 1908 XCB_INPUT_PROPERTY_FORMAT_16_BITS = 16, 1909 XCB_INPUT_PROPERTY_FORMAT_32_BITS = 32 1910 } xcb_input_property_format_t; 1911 1912 /** 1913 * @brief xcb_input_change_device_property_items_t 1914 **/ 1915 typedef struct xcb_input_change_device_property_items_t { 1916 uint8_t *data8; /**< */ 1917 uint16_t *data16; /**< */ 1918 uint32_t *data32; /**< */ 1919 } xcb_input_change_device_property_items_t; 1920 1921 /** Opcode for xcb_input_change_device_property. */ 1922 #define XCB_INPUT_CHANGE_DEVICE_PROPERTY 37 1923 1924 /** 1925 * @brief xcb_input_change_device_property_request_t 1926 **/ 1927 typedef struct xcb_input_change_device_property_request_t { 1928 uint8_t major_opcode; /**< */ 1929 uint8_t minor_opcode; /**< */ 1930 uint16_t length; /**< */ 1931 xcb_atom_t property; /**< */ 1932 xcb_atom_t type; /**< */ 1933 uint8_t device_id; /**< */ 1934 uint8_t format; /**< */ 1935 uint8_t mode; /**< */ 1936 uint8_t pad0; /**< */ 1937 uint32_t num_items; /**< */ 1938 } xcb_input_change_device_property_request_t; 1939 1940 /** Opcode for xcb_input_delete_device_property. */ 1941 #define XCB_INPUT_DELETE_DEVICE_PROPERTY 38 1942 1943 /** 1944 * @brief xcb_input_delete_device_property_request_t 1945 **/ 1946 typedef struct xcb_input_delete_device_property_request_t { 1947 uint8_t major_opcode; /**< */ 1948 uint8_t minor_opcode; /**< */ 1949 uint16_t length; /**< */ 1950 xcb_atom_t property; /**< */ 1951 uint8_t device_id; /**< */ 1952 uint8_t pad0[3]; /**< */ 1953 } xcb_input_delete_device_property_request_t; 1954 1955 /** 1956 * @brief xcb_input_get_device_property_cookie_t 1957 **/ 1958 typedef struct xcb_input_get_device_property_cookie_t { 1959 unsigned int sequence; /**< */ 1960 } xcb_input_get_device_property_cookie_t; 1961 1962 /** Opcode for xcb_input_get_device_property. */ 1963 #define XCB_INPUT_GET_DEVICE_PROPERTY 39 1964 1965 /** 1966 * @brief xcb_input_get_device_property_request_t 1967 **/ 1968 typedef struct xcb_input_get_device_property_request_t { 1969 uint8_t major_opcode; /**< */ 1970 uint8_t minor_opcode; /**< */ 1971 uint16_t length; /**< */ 1972 xcb_atom_t property; /**< */ 1973 xcb_atom_t type; /**< */ 1974 uint32_t offset; /**< */ 1975 uint32_t len; /**< */ 1976 uint8_t device_id; /**< */ 1977 uint8_t _delete; /**< */ 1978 uint8_t pad0[2]; /**< */ 1979 } xcb_input_get_device_property_request_t; 1980 1981 /** 1982 * @brief xcb_input_get_device_property_items_t 1983 **/ 1984 typedef struct xcb_input_get_device_property_items_t { 1985 uint8_t *data8; /**< */ 1986 uint16_t *data16; /**< */ 1987 uint32_t *data32; /**< */ 1988 } xcb_input_get_device_property_items_t; 1989 1990 /** 1991 * @brief xcb_input_get_device_property_reply_t 1992 **/ 1993 typedef struct xcb_input_get_device_property_reply_t { 1994 uint8_t response_type; /**< */ 1995 uint8_t pad0; /**< */ 1996 uint16_t sequence; /**< */ 1997 uint32_t length; /**< */ 1998 xcb_atom_t type; /**< */ 1999 uint32_t bytes_after; /**< */ 2000 uint32_t num_items; /**< */ 2001 uint8_t format; /**< */ 2002 uint8_t device_id; /**< */ 2003 uint8_t pad1[10]; /**< */ 2004 } xcb_input_get_device_property_reply_t; 2005 2006 typedef enum xcb_input_device_t { 2007 XCB_INPUT_DEVICE_ALL = 0, 2008 XCB_INPUT_DEVICE_ALL_MASTER = 1 2009 } xcb_input_device_t; 2010 2011 /** 2012 * @brief xcb_input_group_info_t 2013 **/ 2014 typedef struct xcb_input_group_info_t { 2015 uint8_t base; /**< */ 2016 uint8_t latched; /**< */ 2017 uint8_t locked; /**< */ 2018 uint8_t effective; /**< */ 2019 } xcb_input_group_info_t; 2020 2021 /** 2022 * @brief xcb_input_group_info_iterator_t 2023 **/ 2024 typedef struct xcb_input_group_info_iterator_t { 2025 xcb_input_group_info_t *data; /**< */ 2026 int rem; /**< */ 2027 int index; /**< */ 2028 } xcb_input_group_info_iterator_t; 2029 2030 /** 2031 * @brief xcb_input_modifier_info_t 2032 **/ 2033 typedef struct xcb_input_modifier_info_t { 2034 uint32_t base; /**< */ 2035 uint32_t latched; /**< */ 2036 uint32_t locked; /**< */ 2037 uint32_t effective; /**< */ 2038 } xcb_input_modifier_info_t; 2039 2040 /** 2041 * @brief xcb_input_modifier_info_iterator_t 2042 **/ 2043 typedef struct xcb_input_modifier_info_iterator_t { 2044 xcb_input_modifier_info_t *data; /**< */ 2045 int rem; /**< */ 2046 int index; /**< */ 2047 } xcb_input_modifier_info_iterator_t; 2048 2049 /** 2050 * @brief xcb_input_xi_query_pointer_cookie_t 2051 **/ 2052 typedef struct xcb_input_xi_query_pointer_cookie_t { 2053 unsigned int sequence; /**< */ 2054 } xcb_input_xi_query_pointer_cookie_t; 2055 2056 /** Opcode for xcb_input_xi_query_pointer. */ 2057 #define XCB_INPUT_XI_QUERY_POINTER 40 2058 2059 /** 2060 * @brief xcb_input_xi_query_pointer_request_t 2061 **/ 2062 typedef struct xcb_input_xi_query_pointer_request_t { 2063 uint8_t major_opcode; /**< */ 2064 uint8_t minor_opcode; /**< */ 2065 uint16_t length; /**< */ 2066 xcb_window_t window; /**< */ 2067 xcb_input_device_id_t deviceid; /**< */ 2068 uint8_t pad0[2]; /**< */ 2069 } xcb_input_xi_query_pointer_request_t; 2070 2071 /** 2072 * @brief xcb_input_xi_query_pointer_reply_t 2073 **/ 2074 typedef struct xcb_input_xi_query_pointer_reply_t { 2075 uint8_t response_type; /**< */ 2076 uint8_t pad0; /**< */ 2077 uint16_t sequence; /**< */ 2078 uint32_t length; /**< */ 2079 xcb_window_t root; /**< */ 2080 xcb_window_t child; /**< */ 2081 xcb_input_fp1616_t root_x; /**< */ 2082 xcb_input_fp1616_t root_y; /**< */ 2083 xcb_input_fp1616_t win_x; /**< */ 2084 xcb_input_fp1616_t win_y; /**< */ 2085 uint8_t same_screen; /**< */ 2086 uint8_t pad1; /**< */ 2087 uint16_t buttons_len; /**< */ 2088 xcb_input_modifier_info_t mods; /**< */ 2089 xcb_input_group_info_t group; /**< */ 2090 } xcb_input_xi_query_pointer_reply_t; 2091 2092 /** Opcode for xcb_input_xi_warp_pointer. */ 2093 #define XCB_INPUT_XI_WARP_POINTER 41 2094 2095 /** 2096 * @brief xcb_input_xi_warp_pointer_request_t 2097 **/ 2098 typedef struct xcb_input_xi_warp_pointer_request_t { 2099 uint8_t major_opcode; /**< */ 2100 uint8_t minor_opcode; /**< */ 2101 uint16_t length; /**< */ 2102 xcb_window_t src_win; /**< */ 2103 xcb_window_t dst_win; /**< */ 2104 xcb_input_fp1616_t src_x; /**< */ 2105 xcb_input_fp1616_t src_y; /**< */ 2106 uint16_t src_width; /**< */ 2107 uint16_t src_height; /**< */ 2108 xcb_input_fp1616_t dst_x; /**< */ 2109 xcb_input_fp1616_t dst_y; /**< */ 2110 xcb_input_device_id_t deviceid; /**< */ 2111 uint8_t pad0[2]; /**< */ 2112 } xcb_input_xi_warp_pointer_request_t; 2113 2114 /** Opcode for xcb_input_xi_change_cursor. */ 2115 #define XCB_INPUT_XI_CHANGE_CURSOR 42 2116 2117 /** 2118 * @brief xcb_input_xi_change_cursor_request_t 2119 **/ 2120 typedef struct xcb_input_xi_change_cursor_request_t { 2121 uint8_t major_opcode; /**< */ 2122 uint8_t minor_opcode; /**< */ 2123 uint16_t length; /**< */ 2124 xcb_window_t window; /**< */ 2125 xcb_cursor_t cursor; /**< */ 2126 xcb_input_device_id_t deviceid; /**< */ 2127 uint8_t pad0[2]; /**< */ 2128 } xcb_input_xi_change_cursor_request_t; 2129 2130 typedef enum xcb_input_hierarchy_change_type_t { 2131 XCB_INPUT_HIERARCHY_CHANGE_TYPE_ADD_MASTER = 1, 2132 XCB_INPUT_HIERARCHY_CHANGE_TYPE_REMOVE_MASTER = 2, 2133 XCB_INPUT_HIERARCHY_CHANGE_TYPE_ATTACH_SLAVE = 3, 2134 XCB_INPUT_HIERARCHY_CHANGE_TYPE_DETACH_SLAVE = 4 2135 } xcb_input_hierarchy_change_type_t; 2136 2137 typedef enum xcb_input_change_mode_t { 2138 XCB_INPUT_CHANGE_MODE_ATTACH = 1, 2139 XCB_INPUT_CHANGE_MODE_FLOAT = 2 2140 } xcb_input_change_mode_t; 2141 2142 /** 2143 * @brief xcb_input_add_master_t 2144 **/ 2145 typedef struct xcb_input_add_master_t { 2146 uint16_t type; /**< */ 2147 uint16_t len; /**< */ 2148 uint16_t name_len; /**< */ 2149 uint8_t send_core; /**< */ 2150 uint8_t enable; /**< */ 2151 } xcb_input_add_master_t; 2152 2153 /** 2154 * @brief xcb_input_add_master_iterator_t 2155 **/ 2156 typedef struct xcb_input_add_master_iterator_t { 2157 xcb_input_add_master_t *data; /**< */ 2158 int rem; /**< */ 2159 int index; /**< */ 2160 } xcb_input_add_master_iterator_t; 2161 2162 /** 2163 * @brief xcb_input_remove_master_t 2164 **/ 2165 typedef struct xcb_input_remove_master_t { 2166 uint16_t type; /**< */ 2167 uint16_t len; /**< */ 2168 xcb_input_device_id_t deviceid; /**< */ 2169 uint8_t return_mode; /**< */ 2170 uint8_t pad0; /**< */ 2171 xcb_input_device_id_t return_pointer; /**< */ 2172 xcb_input_device_id_t return_keyboard; /**< */ 2173 } xcb_input_remove_master_t; 2174 2175 /** 2176 * @brief xcb_input_remove_master_iterator_t 2177 **/ 2178 typedef struct xcb_input_remove_master_iterator_t { 2179 xcb_input_remove_master_t *data; /**< */ 2180 int rem; /**< */ 2181 int index; /**< */ 2182 } xcb_input_remove_master_iterator_t; 2183 2184 /** 2185 * @brief xcb_input_attach_slave_t 2186 **/ 2187 typedef struct xcb_input_attach_slave_t { 2188 uint16_t type; /**< */ 2189 uint16_t len; /**< */ 2190 xcb_input_device_id_t deviceid; /**< */ 2191 xcb_input_device_id_t master; /**< */ 2192 } xcb_input_attach_slave_t; 2193 2194 /** 2195 * @brief xcb_input_attach_slave_iterator_t 2196 **/ 2197 typedef struct xcb_input_attach_slave_iterator_t { 2198 xcb_input_attach_slave_t *data; /**< */ 2199 int rem; /**< */ 2200 int index; /**< */ 2201 } xcb_input_attach_slave_iterator_t; 2202 2203 /** 2204 * @brief xcb_input_detach_slave_t 2205 **/ 2206 typedef struct xcb_input_detach_slave_t { 2207 uint16_t type; /**< */ 2208 uint16_t len; /**< */ 2209 xcb_input_device_id_t deviceid; /**< */ 2210 uint8_t pad0[2]; /**< */ 2211 } xcb_input_detach_slave_t; 2212 2213 /** 2214 * @brief xcb_input_detach_slave_iterator_t 2215 **/ 2216 typedef struct xcb_input_detach_slave_iterator_t { 2217 xcb_input_detach_slave_t *data; /**< */ 2218 int rem; /**< */ 2219 int index; /**< */ 2220 } xcb_input_detach_slave_iterator_t; 2221 2222 /** 2223 * @brief xcb_input_hierarchy_change_t 2224 **/ 2225 typedef struct xcb_input_hierarchy_change_t { 2226 uint16_t type; /**< */ 2227 uint16_t len; /**< */ 2228 } xcb_input_hierarchy_change_t; 2229 2230 /** 2231 * @brief xcb_input_hierarchy_change_iterator_t 2232 **/ 2233 typedef struct xcb_input_hierarchy_change_iterator_t { 2234 xcb_input_hierarchy_change_t *data; /**< */ 2235 int rem; /**< */ 2236 int index; /**< */ 2237 } xcb_input_hierarchy_change_iterator_t; 2238 2239 /** Opcode for xcb_input_xi_change_hierarchy. */ 2240 #define XCB_INPUT_XI_CHANGE_HIERARCHY 43 2241 2242 /** 2243 * @brief xcb_input_xi_change_hierarchy_request_t 2244 **/ 2245 typedef struct xcb_input_xi_change_hierarchy_request_t { 2246 uint8_t major_opcode; /**< */ 2247 uint8_t minor_opcode; /**< */ 2248 uint16_t length; /**< */ 2249 uint8_t num_changes; /**< */ 2250 } xcb_input_xi_change_hierarchy_request_t; 2251 2252 /** Opcode for xcb_input_xi_set_client_pointer. */ 2253 #define XCB_INPUT_XI_SET_CLIENT_POINTER 44 2254 2255 /** 2256 * @brief xcb_input_xi_set_client_pointer_request_t 2257 **/ 2258 typedef struct xcb_input_xi_set_client_pointer_request_t { 2259 uint8_t major_opcode; /**< */ 2260 uint8_t minor_opcode; /**< */ 2261 uint16_t length; /**< */ 2262 xcb_window_t window; /**< */ 2263 xcb_input_device_id_t deviceid; /**< */ 2264 uint8_t pad0[2]; /**< */ 2265 } xcb_input_xi_set_client_pointer_request_t; 2266 2267 /** 2268 * @brief xcb_input_xi_get_client_pointer_cookie_t 2269 **/ 2270 typedef struct xcb_input_xi_get_client_pointer_cookie_t { 2271 unsigned int sequence; /**< */ 2272 } xcb_input_xi_get_client_pointer_cookie_t; 2273 2274 /** Opcode for xcb_input_xi_get_client_pointer. */ 2275 #define XCB_INPUT_XI_GET_CLIENT_POINTER 45 2276 2277 /** 2278 * @brief xcb_input_xi_get_client_pointer_request_t 2279 **/ 2280 typedef struct xcb_input_xi_get_client_pointer_request_t { 2281 uint8_t major_opcode; /**< */ 2282 uint8_t minor_opcode; /**< */ 2283 uint16_t length; /**< */ 2284 xcb_window_t window; /**< */ 2285 } xcb_input_xi_get_client_pointer_request_t; 2286 2287 /** 2288 * @brief xcb_input_xi_get_client_pointer_reply_t 2289 **/ 2290 typedef struct xcb_input_xi_get_client_pointer_reply_t { 2291 uint8_t response_type; /**< */ 2292 uint8_t pad0; /**< */ 2293 uint16_t sequence; /**< */ 2294 uint32_t length; /**< */ 2295 uint8_t set; /**< */ 2296 uint8_t pad1; /**< */ 2297 xcb_input_device_id_t deviceid; /**< */ 2298 uint8_t pad2[20]; /**< */ 2299 } xcb_input_xi_get_client_pointer_reply_t; 2300 2301 typedef enum xcb_input_xi_event_mask_t { 2302 XCB_INPUT_XI_EVENT_MASK_DEVICE_CHANGED = 2, 2303 XCB_INPUT_XI_EVENT_MASK_KEY_PRESS = 4, 2304 XCB_INPUT_XI_EVENT_MASK_KEY_RELEASE = 8, 2305 XCB_INPUT_XI_EVENT_MASK_BUTTON_PRESS = 16, 2306 XCB_INPUT_XI_EVENT_MASK_BUTTON_RELEASE = 32, 2307 XCB_INPUT_XI_EVENT_MASK_MOTION = 64, 2308 XCB_INPUT_XI_EVENT_MASK_ENTER = 128, 2309 XCB_INPUT_XI_EVENT_MASK_LEAVE = 256, 2310 XCB_INPUT_XI_EVENT_MASK_FOCUS_IN = 512, 2311 XCB_INPUT_XI_EVENT_MASK_FOCUS_OUT = 1024, 2312 XCB_INPUT_XI_EVENT_MASK_HIERARCHY = 2048, 2313 XCB_INPUT_XI_EVENT_MASK_PROPERTY = 4096, 2314 XCB_INPUT_XI_EVENT_MASK_RAW_KEY_PRESS = 8192, 2315 XCB_INPUT_XI_EVENT_MASK_RAW_KEY_RELEASE = 16384, 2316 XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_PRESS = 32768, 2317 XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_RELEASE = 65536, 2318 XCB_INPUT_XI_EVENT_MASK_RAW_MOTION = 131072, 2319 XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN = 262144, 2320 XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE = 524288, 2321 XCB_INPUT_XI_EVENT_MASK_TOUCH_END = 1048576, 2322 XCB_INPUT_XI_EVENT_MASK_TOUCH_OWNERSHIP = 2097152, 2323 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_BEGIN = 4194304, 2324 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_UPDATE = 8388608, 2325 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_END = 16777216, 2326 XCB_INPUT_XI_EVENT_MASK_BARRIER_HIT = 33554432, 2327 XCB_INPUT_XI_EVENT_MASK_BARRIER_LEAVE = 67108864 2328 } xcb_input_xi_event_mask_t; 2329 2330 /** 2331 * @brief xcb_input_event_mask_t 2332 **/ 2333 typedef struct xcb_input_event_mask_t { 2334 xcb_input_device_id_t deviceid; /**< */ 2335 uint16_t mask_len; /**< */ 2336 } xcb_input_event_mask_t; 2337 2338 /** 2339 * @brief xcb_input_event_mask_iterator_t 2340 **/ 2341 typedef struct xcb_input_event_mask_iterator_t { 2342 xcb_input_event_mask_t *data; /**< */ 2343 int rem; /**< */ 2344 int index; /**< */ 2345 } xcb_input_event_mask_iterator_t; 2346 2347 /** Opcode for xcb_input_xi_select_events. */ 2348 #define XCB_INPUT_XI_SELECT_EVENTS 46 2349 2350 /** 2351 * @brief xcb_input_xi_select_events_request_t 2352 **/ 2353 typedef struct xcb_input_xi_select_events_request_t { 2354 uint8_t major_opcode; /**< */ 2355 uint8_t minor_opcode; /**< */ 2356 uint16_t length; /**< */ 2357 xcb_window_t window; /**< */ 2358 uint16_t num_mask; /**< */ 2359 uint8_t pad0[2]; /**< */ 2360 } xcb_input_xi_select_events_request_t; 2361 2362 /** 2363 * @brief xcb_input_xi_query_version_cookie_t 2364 **/ 2365 typedef struct xcb_input_xi_query_version_cookie_t { 2366 unsigned int sequence; /**< */ 2367 } xcb_input_xi_query_version_cookie_t; 2368 2369 /** Opcode for xcb_input_xi_query_version. */ 2370 #define XCB_INPUT_XI_QUERY_VERSION 47 2371 2372 /** 2373 * @brief xcb_input_xi_query_version_request_t 2374 **/ 2375 typedef struct xcb_input_xi_query_version_request_t { 2376 uint8_t major_opcode; /**< */ 2377 uint8_t minor_opcode; /**< */ 2378 uint16_t length; /**< */ 2379 uint16_t major_version; /**< */ 2380 uint16_t minor_version; /**< */ 2381 } xcb_input_xi_query_version_request_t; 2382 2383 /** 2384 * @brief xcb_input_xi_query_version_reply_t 2385 **/ 2386 typedef struct xcb_input_xi_query_version_reply_t { 2387 uint8_t response_type; /**< */ 2388 uint8_t pad0; /**< */ 2389 uint16_t sequence; /**< */ 2390 uint32_t length; /**< */ 2391 uint16_t major_version; /**< */ 2392 uint16_t minor_version; /**< */ 2393 uint8_t pad1[20]; /**< */ 2394 } xcb_input_xi_query_version_reply_t; 2395 2396 typedef enum xcb_input_device_class_type_t { 2397 XCB_INPUT_DEVICE_CLASS_TYPE_KEY = 0, 2398 XCB_INPUT_DEVICE_CLASS_TYPE_BUTTON = 1, 2399 XCB_INPUT_DEVICE_CLASS_TYPE_VALUATOR = 2, 2400 XCB_INPUT_DEVICE_CLASS_TYPE_SCROLL = 3, 2401 XCB_INPUT_DEVICE_CLASS_TYPE_TOUCH = 8 2402 } xcb_input_device_class_type_t; 2403 2404 typedef enum xcb_input_device_type_t { 2405 XCB_INPUT_DEVICE_TYPE_MASTER_POINTER = 1, 2406 XCB_INPUT_DEVICE_TYPE_MASTER_KEYBOARD = 2, 2407 XCB_INPUT_DEVICE_TYPE_SLAVE_POINTER = 3, 2408 XCB_INPUT_DEVICE_TYPE_SLAVE_KEYBOARD = 4, 2409 XCB_INPUT_DEVICE_TYPE_FLOATING_SLAVE = 5 2410 } xcb_input_device_type_t; 2411 2412 typedef enum xcb_input_scroll_flags_t { 2413 XCB_INPUT_SCROLL_FLAGS_NO_EMULATION = 1, 2414 XCB_INPUT_SCROLL_FLAGS_PREFERRED = 2 2415 } xcb_input_scroll_flags_t; 2416 2417 typedef enum xcb_input_scroll_type_t { 2418 XCB_INPUT_SCROLL_TYPE_VERTICAL = 1, 2419 XCB_INPUT_SCROLL_TYPE_HORIZONTAL = 2 2420 } xcb_input_scroll_type_t; 2421 2422 typedef enum xcb_input_touch_mode_t { 2423 XCB_INPUT_TOUCH_MODE_DIRECT = 1, 2424 XCB_INPUT_TOUCH_MODE_DEPENDENT = 2 2425 } xcb_input_touch_mode_t; 2426 2427 /** 2428 * @brief xcb_input_button_class_t 2429 **/ 2430 typedef struct xcb_input_button_class_t { 2431 uint16_t type; /**< */ 2432 uint16_t len; /**< */ 2433 xcb_input_device_id_t sourceid; /**< */ 2434 uint16_t num_buttons; /**< */ 2435 } xcb_input_button_class_t; 2436 2437 /** 2438 * @brief xcb_input_button_class_iterator_t 2439 **/ 2440 typedef struct xcb_input_button_class_iterator_t { 2441 xcb_input_button_class_t *data; /**< */ 2442 int rem; /**< */ 2443 int index; /**< */ 2444 } xcb_input_button_class_iterator_t; 2445 2446 /** 2447 * @brief xcb_input_key_class_t 2448 **/ 2449 typedef struct xcb_input_key_class_t { 2450 uint16_t type; /**< */ 2451 uint16_t len; /**< */ 2452 xcb_input_device_id_t sourceid; /**< */ 2453 uint16_t num_keys; /**< */ 2454 } xcb_input_key_class_t; 2455 2456 /** 2457 * @brief xcb_input_key_class_iterator_t 2458 **/ 2459 typedef struct xcb_input_key_class_iterator_t { 2460 xcb_input_key_class_t *data; /**< */ 2461 int rem; /**< */ 2462 int index; /**< */ 2463 } xcb_input_key_class_iterator_t; 2464 2465 /** 2466 * @brief xcb_input_scroll_class_t 2467 **/ 2468 typedef struct xcb_input_scroll_class_t { 2469 uint16_t type; /**< */ 2470 uint16_t len; /**< */ 2471 xcb_input_device_id_t sourceid; /**< */ 2472 uint16_t number; /**< */ 2473 uint16_t scroll_type; /**< */ 2474 uint8_t pad0[2]; /**< */ 2475 uint32_t flags; /**< */ 2476 xcb_input_fp3232_t increment; /**< */ 2477 } xcb_input_scroll_class_t; 2478 2479 /** 2480 * @brief xcb_input_scroll_class_iterator_t 2481 **/ 2482 typedef struct xcb_input_scroll_class_iterator_t { 2483 xcb_input_scroll_class_t *data; /**< */ 2484 int rem; /**< */ 2485 int index; /**< */ 2486 } xcb_input_scroll_class_iterator_t; 2487 2488 /** 2489 * @brief xcb_input_touch_class_t 2490 **/ 2491 typedef struct xcb_input_touch_class_t { 2492 uint16_t type; /**< */ 2493 uint16_t len; /**< */ 2494 xcb_input_device_id_t sourceid; /**< */ 2495 uint8_t mode; /**< */ 2496 uint8_t num_touches; /**< */ 2497 } xcb_input_touch_class_t; 2498 2499 /** 2500 * @brief xcb_input_touch_class_iterator_t 2501 **/ 2502 typedef struct xcb_input_touch_class_iterator_t { 2503 xcb_input_touch_class_t *data; /**< */ 2504 int rem; /**< */ 2505 int index; /**< */ 2506 } xcb_input_touch_class_iterator_t; 2507 2508 /** 2509 * @brief xcb_input_valuator_class_t 2510 **/ 2511 typedef struct xcb_input_valuator_class_t { 2512 uint16_t type; /**< */ 2513 uint16_t len; /**< */ 2514 xcb_input_device_id_t sourceid; /**< */ 2515 uint16_t number; /**< */ 2516 xcb_atom_t label; /**< */ 2517 xcb_input_fp3232_t min; /**< */ 2518 xcb_input_fp3232_t max; /**< */ 2519 xcb_input_fp3232_t value; /**< */ 2520 uint32_t resolution; /**< */ 2521 uint8_t mode; /**< */ 2522 uint8_t pad0[3]; /**< */ 2523 } xcb_input_valuator_class_t; 2524 2525 /** 2526 * @brief xcb_input_valuator_class_iterator_t 2527 **/ 2528 typedef struct xcb_input_valuator_class_iterator_t { 2529 xcb_input_valuator_class_t *data; /**< */ 2530 int rem; /**< */ 2531 int index; /**< */ 2532 } xcb_input_valuator_class_iterator_t; 2533 2534 /** 2535 * @brief xcb_input_device_class_t 2536 **/ 2537 typedef struct xcb_input_device_class_t { 2538 uint16_t type; /**< */ 2539 uint16_t len; /**< */ 2540 xcb_input_device_id_t sourceid; /**< */ 2541 uint8_t pad0[2]; /**< */ 2542 } xcb_input_device_class_t; 2543 2544 /** 2545 * @brief xcb_input_device_class_iterator_t 2546 **/ 2547 typedef struct xcb_input_device_class_iterator_t { 2548 xcb_input_device_class_t *data; /**< */ 2549 int rem; /**< */ 2550 int index; /**< */ 2551 } xcb_input_device_class_iterator_t; 2552 2553 /** 2554 * @brief xcb_input_xi_device_info_t 2555 **/ 2556 typedef struct xcb_input_xi_device_info_t { 2557 xcb_input_device_id_t deviceid; /**< */ 2558 uint16_t type; /**< */ 2559 xcb_input_device_id_t attachment; /**< */ 2560 uint16_t num_classes; /**< */ 2561 uint16_t name_len; /**< */ 2562 uint8_t enabled; /**< */ 2563 uint8_t pad0; /**< */ 2564 } xcb_input_xi_device_info_t; 2565 2566 /** 2567 * @brief xcb_input_xi_device_info_iterator_t 2568 **/ 2569 typedef struct xcb_input_xi_device_info_iterator_t { 2570 xcb_input_xi_device_info_t *data; /**< */ 2571 int rem; /**< */ 2572 int index; /**< */ 2573 } xcb_input_xi_device_info_iterator_t; 2574 2575 /** 2576 * @brief xcb_input_xi_query_device_cookie_t 2577 **/ 2578 typedef struct xcb_input_xi_query_device_cookie_t { 2579 unsigned int sequence; /**< */ 2580 } xcb_input_xi_query_device_cookie_t; 2581 2582 /** Opcode for xcb_input_xi_query_device. */ 2583 #define XCB_INPUT_XI_QUERY_DEVICE 48 2584 2585 /** 2586 * @brief xcb_input_xi_query_device_request_t 2587 **/ 2588 typedef struct xcb_input_xi_query_device_request_t { 2589 uint8_t major_opcode; /**< */ 2590 uint8_t minor_opcode; /**< */ 2591 uint16_t length; /**< */ 2592 xcb_input_device_id_t deviceid; /**< */ 2593 uint8_t pad0[2]; /**< */ 2594 } xcb_input_xi_query_device_request_t; 2595 2596 /** 2597 * @brief xcb_input_xi_query_device_reply_t 2598 **/ 2599 typedef struct xcb_input_xi_query_device_reply_t { 2600 uint8_t response_type; /**< */ 2601 uint8_t pad0; /**< */ 2602 uint16_t sequence; /**< */ 2603 uint32_t length; /**< */ 2604 uint16_t num_infos; /**< */ 2605 uint8_t pad1[22]; /**< */ 2606 } xcb_input_xi_query_device_reply_t; 2607 2608 /** Opcode for xcb_input_xi_set_focus. */ 2609 #define XCB_INPUT_XI_SET_FOCUS 49 2610 2611 /** 2612 * @brief xcb_input_xi_set_focus_request_t 2613 **/ 2614 typedef struct xcb_input_xi_set_focus_request_t { 2615 uint8_t major_opcode; /**< */ 2616 uint8_t minor_opcode; /**< */ 2617 uint16_t length; /**< */ 2618 xcb_window_t window; /**< */ 2619 xcb_timestamp_t time; /**< */ 2620 xcb_input_device_id_t deviceid; /**< */ 2621 uint8_t pad0[2]; /**< */ 2622 } xcb_input_xi_set_focus_request_t; 2623 2624 /** 2625 * @brief xcb_input_xi_get_focus_cookie_t 2626 **/ 2627 typedef struct xcb_input_xi_get_focus_cookie_t { 2628 unsigned int sequence; /**< */ 2629 } xcb_input_xi_get_focus_cookie_t; 2630 2631 /** Opcode for xcb_input_xi_get_focus. */ 2632 #define XCB_INPUT_XI_GET_FOCUS 50 2633 2634 /** 2635 * @brief xcb_input_xi_get_focus_request_t 2636 **/ 2637 typedef struct xcb_input_xi_get_focus_request_t { 2638 uint8_t major_opcode; /**< */ 2639 uint8_t minor_opcode; /**< */ 2640 uint16_t length; /**< */ 2641 xcb_input_device_id_t deviceid; /**< */ 2642 uint8_t pad0[2]; /**< */ 2643 } xcb_input_xi_get_focus_request_t; 2644 2645 /** 2646 * @brief xcb_input_xi_get_focus_reply_t 2647 **/ 2648 typedef struct xcb_input_xi_get_focus_reply_t { 2649 uint8_t response_type; /**< */ 2650 uint8_t pad0; /**< */ 2651 uint16_t sequence; /**< */ 2652 uint32_t length; /**< */ 2653 xcb_window_t focus; /**< */ 2654 uint8_t pad1[20]; /**< */ 2655 } xcb_input_xi_get_focus_reply_t; 2656 2657 typedef enum xcb_input_grab_owner_t { 2658 XCB_INPUT_GRAB_OWNER_NO_OWNER = 0, 2659 XCB_INPUT_GRAB_OWNER_OWNER = 1 2660 } xcb_input_grab_owner_t; 2661 2662 /** 2663 * @brief xcb_input_xi_grab_device_cookie_t 2664 **/ 2665 typedef struct xcb_input_xi_grab_device_cookie_t { 2666 unsigned int sequence; /**< */ 2667 } xcb_input_xi_grab_device_cookie_t; 2668 2669 /** Opcode for xcb_input_xi_grab_device. */ 2670 #define XCB_INPUT_XI_GRAB_DEVICE 51 2671 2672 /** 2673 * @brief xcb_input_xi_grab_device_request_t 2674 **/ 2675 typedef struct xcb_input_xi_grab_device_request_t { 2676 uint8_t major_opcode; /**< */ 2677 uint8_t minor_opcode; /**< */ 2678 uint16_t length; /**< */ 2679 xcb_window_t window; /**< */ 2680 xcb_timestamp_t time; /**< */ 2681 xcb_cursor_t cursor; /**< */ 2682 xcb_input_device_id_t deviceid; /**< */ 2683 uint8_t mode; /**< */ 2684 uint8_t paired_device_mode; /**< */ 2685 uint8_t owner_events; /**< */ 2686 uint8_t pad0; /**< */ 2687 uint16_t mask_len; /**< */ 2688 } xcb_input_xi_grab_device_request_t; 2689 2690 /** 2691 * @brief xcb_input_xi_grab_device_reply_t 2692 **/ 2693 typedef struct xcb_input_xi_grab_device_reply_t { 2694 uint8_t response_type; /**< */ 2695 uint8_t pad0; /**< */ 2696 uint16_t sequence; /**< */ 2697 uint32_t length; /**< */ 2698 uint8_t status; /**< */ 2699 uint8_t pad1[23]; /**< */ 2700 } xcb_input_xi_grab_device_reply_t; 2701 2702 /** Opcode for xcb_input_xi_ungrab_device. */ 2703 #define XCB_INPUT_XI_UNGRAB_DEVICE 52 2704 2705 /** 2706 * @brief xcb_input_xi_ungrab_device_request_t 2707 **/ 2708 typedef struct xcb_input_xi_ungrab_device_request_t { 2709 uint8_t major_opcode; /**< */ 2710 uint8_t minor_opcode; /**< */ 2711 uint16_t length; /**< */ 2712 xcb_timestamp_t time; /**< */ 2713 xcb_input_device_id_t deviceid; /**< */ 2714 uint8_t pad0[2]; /**< */ 2715 } xcb_input_xi_ungrab_device_request_t; 2716 2717 typedef enum xcb_input_event_mode_t { 2718 XCB_INPUT_EVENT_MODE_ASYNC_DEVICE = 0, 2719 XCB_INPUT_EVENT_MODE_SYNC_DEVICE = 1, 2720 XCB_INPUT_EVENT_MODE_REPLAY_DEVICE = 2, 2721 XCB_INPUT_EVENT_MODE_ASYNC_PAIRED_DEVICE = 3, 2722 XCB_INPUT_EVENT_MODE_ASYNC_PAIR = 4, 2723 XCB_INPUT_EVENT_MODE_SYNC_PAIR = 5, 2724 XCB_INPUT_EVENT_MODE_ACCEPT_TOUCH = 6, 2725 XCB_INPUT_EVENT_MODE_REJECT_TOUCH = 7 2726 } xcb_input_event_mode_t; 2727 2728 /** Opcode for xcb_input_xi_allow_events. */ 2729 #define XCB_INPUT_XI_ALLOW_EVENTS 53 2730 2731 /** 2732 * @brief xcb_input_xi_allow_events_request_t 2733 **/ 2734 typedef struct xcb_input_xi_allow_events_request_t { 2735 uint8_t major_opcode; /**< */ 2736 uint8_t minor_opcode; /**< */ 2737 uint16_t length; /**< */ 2738 xcb_timestamp_t time; /**< */ 2739 xcb_input_device_id_t deviceid; /**< */ 2740 uint8_t event_mode; /**< */ 2741 uint8_t pad0; /**< */ 2742 uint32_t touchid; /**< */ 2743 xcb_window_t grab_window; /**< */ 2744 } xcb_input_xi_allow_events_request_t; 2745 2746 typedef enum xcb_input_grab_mode_22_t { 2747 XCB_INPUT_GRAB_MODE_22_SYNC = 0, 2748 XCB_INPUT_GRAB_MODE_22_ASYNC = 1, 2749 XCB_INPUT_GRAB_MODE_22_TOUCH = 2 2750 } xcb_input_grab_mode_22_t; 2751 2752 typedef enum xcb_input_grab_type_t { 2753 XCB_INPUT_GRAB_TYPE_BUTTON = 0, 2754 XCB_INPUT_GRAB_TYPE_KEYCODE = 1, 2755 XCB_INPUT_GRAB_TYPE_ENTER = 2, 2756 XCB_INPUT_GRAB_TYPE_FOCUS_IN = 3, 2757 XCB_INPUT_GRAB_TYPE_TOUCH_BEGIN = 4 2758 } xcb_input_grab_type_t; 2759 2760 typedef enum xcb_input_modifier_mask_t { 2761 XCB_INPUT_MODIFIER_MASK_ANY = 2147483648 2762 } xcb_input_modifier_mask_t; 2763 2764 /** 2765 * @brief xcb_input_grab_modifier_info_t 2766 **/ 2767 typedef struct xcb_input_grab_modifier_info_t { 2768 uint32_t modifiers; /**< */ 2769 uint8_t status; /**< */ 2770 uint8_t pad0[3]; /**< */ 2771 } xcb_input_grab_modifier_info_t; 2772 2773 /** 2774 * @brief xcb_input_grab_modifier_info_iterator_t 2775 **/ 2776 typedef struct xcb_input_grab_modifier_info_iterator_t { 2777 xcb_input_grab_modifier_info_t *data; /**< */ 2778 int rem; /**< */ 2779 int index; /**< */ 2780 } xcb_input_grab_modifier_info_iterator_t; 2781 2782 /** 2783 * @brief xcb_input_xi_passive_grab_device_cookie_t 2784 **/ 2785 typedef struct xcb_input_xi_passive_grab_device_cookie_t { 2786 unsigned int sequence; /**< */ 2787 } xcb_input_xi_passive_grab_device_cookie_t; 2788 2789 /** Opcode for xcb_input_xi_passive_grab_device. */ 2790 #define XCB_INPUT_XI_PASSIVE_GRAB_DEVICE 54 2791 2792 /** 2793 * @brief xcb_input_xi_passive_grab_device_request_t 2794 **/ 2795 typedef struct xcb_input_xi_passive_grab_device_request_t { 2796 uint8_t major_opcode; /**< */ 2797 uint8_t minor_opcode; /**< */ 2798 uint16_t length; /**< */ 2799 xcb_timestamp_t time; /**< */ 2800 xcb_window_t grab_window; /**< */ 2801 xcb_cursor_t cursor; /**< */ 2802 uint32_t detail; /**< */ 2803 xcb_input_device_id_t deviceid; /**< */ 2804 uint16_t num_modifiers; /**< */ 2805 uint16_t mask_len; /**< */ 2806 uint8_t grab_type; /**< */ 2807 uint8_t grab_mode; /**< */ 2808 uint8_t paired_device_mode; /**< */ 2809 uint8_t owner_events; /**< */ 2810 uint8_t pad0[2]; /**< */ 2811 } xcb_input_xi_passive_grab_device_request_t; 2812 2813 /** 2814 * @brief xcb_input_xi_passive_grab_device_reply_t 2815 **/ 2816 typedef struct xcb_input_xi_passive_grab_device_reply_t { 2817 uint8_t response_type; /**< */ 2818 uint8_t pad0; /**< */ 2819 uint16_t sequence; /**< */ 2820 uint32_t length; /**< */ 2821 uint16_t num_modifiers; /**< */ 2822 uint8_t pad1[22]; /**< */ 2823 } xcb_input_xi_passive_grab_device_reply_t; 2824 2825 /** Opcode for xcb_input_xi_passive_ungrab_device. */ 2826 #define XCB_INPUT_XI_PASSIVE_UNGRAB_DEVICE 55 2827 2828 /** 2829 * @brief xcb_input_xi_passive_ungrab_device_request_t 2830 **/ 2831 typedef struct xcb_input_xi_passive_ungrab_device_request_t { 2832 uint8_t major_opcode; /**< */ 2833 uint8_t minor_opcode; /**< */ 2834 uint16_t length; /**< */ 2835 xcb_window_t grab_window; /**< */ 2836 uint32_t detail; /**< */ 2837 xcb_input_device_id_t deviceid; /**< */ 2838 uint16_t num_modifiers; /**< */ 2839 uint8_t grab_type; /**< */ 2840 uint8_t pad0[3]; /**< */ 2841 } xcb_input_xi_passive_ungrab_device_request_t; 2842 2843 /** 2844 * @brief xcb_input_xi_list_properties_cookie_t 2845 **/ 2846 typedef struct xcb_input_xi_list_properties_cookie_t { 2847 unsigned int sequence; /**< */ 2848 } xcb_input_xi_list_properties_cookie_t; 2849 2850 /** Opcode for xcb_input_xi_list_properties. */ 2851 #define XCB_INPUT_XI_LIST_PROPERTIES 56 2852 2853 /** 2854 * @brief xcb_input_xi_list_properties_request_t 2855 **/ 2856 typedef struct xcb_input_xi_list_properties_request_t { 2857 uint8_t major_opcode; /**< */ 2858 uint8_t minor_opcode; /**< */ 2859 uint16_t length; /**< */ 2860 xcb_input_device_id_t deviceid; /**< */ 2861 uint8_t pad0[2]; /**< */ 2862 } xcb_input_xi_list_properties_request_t; 2863 2864 /** 2865 * @brief xcb_input_xi_list_properties_reply_t 2866 **/ 2867 typedef struct xcb_input_xi_list_properties_reply_t { 2868 uint8_t response_type; /**< */ 2869 uint8_t pad0; /**< */ 2870 uint16_t sequence; /**< */ 2871 uint32_t length; /**< */ 2872 uint16_t num_properties; /**< */ 2873 uint8_t pad1[22]; /**< */ 2874 } xcb_input_xi_list_properties_reply_t; 2875 2876 /** 2877 * @brief xcb_input_xi_change_property_items_t 2878 **/ 2879 typedef struct xcb_input_xi_change_property_items_t { 2880 uint8_t *data8; /**< */ 2881 uint16_t *data16; /**< */ 2882 uint32_t *data32; /**< */ 2883 } xcb_input_xi_change_property_items_t; 2884 2885 /** Opcode for xcb_input_xi_change_property. */ 2886 #define XCB_INPUT_XI_CHANGE_PROPERTY 57 2887 2888 /** 2889 * @brief xcb_input_xi_change_property_request_t 2890 **/ 2891 typedef struct xcb_input_xi_change_property_request_t { 2892 uint8_t major_opcode; /**< */ 2893 uint8_t minor_opcode; /**< */ 2894 uint16_t length; /**< */ 2895 xcb_input_device_id_t deviceid; /**< */ 2896 uint8_t mode; /**< */ 2897 uint8_t format; /**< */ 2898 xcb_atom_t property; /**< */ 2899 xcb_atom_t type; /**< */ 2900 uint32_t num_items; /**< */ 2901 } xcb_input_xi_change_property_request_t; 2902 2903 /** Opcode for xcb_input_xi_delete_property. */ 2904 #define XCB_INPUT_XI_DELETE_PROPERTY 58 2905 2906 /** 2907 * @brief xcb_input_xi_delete_property_request_t 2908 **/ 2909 typedef struct xcb_input_xi_delete_property_request_t { 2910 uint8_t major_opcode; /**< */ 2911 uint8_t minor_opcode; /**< */ 2912 uint16_t length; /**< */ 2913 xcb_input_device_id_t deviceid; /**< */ 2914 uint8_t pad0[2]; /**< */ 2915 xcb_atom_t property; /**< */ 2916 } xcb_input_xi_delete_property_request_t; 2917 2918 /** 2919 * @brief xcb_input_xi_get_property_cookie_t 2920 **/ 2921 typedef struct xcb_input_xi_get_property_cookie_t { 2922 unsigned int sequence; /**< */ 2923 } xcb_input_xi_get_property_cookie_t; 2924 2925 /** Opcode for xcb_input_xi_get_property. */ 2926 #define XCB_INPUT_XI_GET_PROPERTY 59 2927 2928 /** 2929 * @brief xcb_input_xi_get_property_request_t 2930 **/ 2931 typedef struct xcb_input_xi_get_property_request_t { 2932 uint8_t major_opcode; /**< */ 2933 uint8_t minor_opcode; /**< */ 2934 uint16_t length; /**< */ 2935 xcb_input_device_id_t deviceid; /**< */ 2936 uint8_t _delete; /**< */ 2937 uint8_t pad0; /**< */ 2938 xcb_atom_t property; /**< */ 2939 xcb_atom_t type; /**< */ 2940 uint32_t offset; /**< */ 2941 uint32_t len; /**< */ 2942 } xcb_input_xi_get_property_request_t; 2943 2944 /** 2945 * @brief xcb_input_xi_get_property_items_t 2946 **/ 2947 typedef struct xcb_input_xi_get_property_items_t { 2948 uint8_t *data8; /**< */ 2949 uint16_t *data16; /**< */ 2950 uint32_t *data32; /**< */ 2951 } xcb_input_xi_get_property_items_t; 2952 2953 /** 2954 * @brief xcb_input_xi_get_property_reply_t 2955 **/ 2956 typedef struct xcb_input_xi_get_property_reply_t { 2957 uint8_t response_type; /**< */ 2958 uint8_t pad0; /**< */ 2959 uint16_t sequence; /**< */ 2960 uint32_t length; /**< */ 2961 xcb_atom_t type; /**< */ 2962 uint32_t bytes_after; /**< */ 2963 uint32_t num_items; /**< */ 2964 uint8_t format; /**< */ 2965 uint8_t pad1[11]; /**< */ 2966 } xcb_input_xi_get_property_reply_t; 2967 2968 /** 2969 * @brief xcb_input_xi_get_selected_events_cookie_t 2970 **/ 2971 typedef struct xcb_input_xi_get_selected_events_cookie_t { 2972 unsigned int sequence; /**< */ 2973 } xcb_input_xi_get_selected_events_cookie_t; 2974 2975 /** Opcode for xcb_input_xi_get_selected_events. */ 2976 #define XCB_INPUT_XI_GET_SELECTED_EVENTS 60 2977 2978 /** 2979 * @brief xcb_input_xi_get_selected_events_request_t 2980 **/ 2981 typedef struct xcb_input_xi_get_selected_events_request_t { 2982 uint8_t major_opcode; /**< */ 2983 uint8_t minor_opcode; /**< */ 2984 uint16_t length; /**< */ 2985 xcb_window_t window; /**< */ 2986 } xcb_input_xi_get_selected_events_request_t; 2987 2988 /** 2989 * @brief xcb_input_xi_get_selected_events_reply_t 2990 **/ 2991 typedef struct xcb_input_xi_get_selected_events_reply_t { 2992 uint8_t response_type; /**< */ 2993 uint8_t pad0; /**< */ 2994 uint16_t sequence; /**< */ 2995 uint32_t length; /**< */ 2996 uint16_t num_masks; /**< */ 2997 uint8_t pad1[22]; /**< */ 2998 } xcb_input_xi_get_selected_events_reply_t; 2999 3000 /** 3001 * @brief xcb_input_barrier_release_pointer_info_t 3002 **/ 3003 typedef struct xcb_input_barrier_release_pointer_info_t { 3004 xcb_input_device_id_t deviceid; /**< */ 3005 uint8_t pad0[2]; /**< */ 3006 xcb_xfixes_barrier_t barrier; /**< */ 3007 uint32_t eventid; /**< */ 3008 } xcb_input_barrier_release_pointer_info_t; 3009 3010 /** 3011 * @brief xcb_input_barrier_release_pointer_info_iterator_t 3012 **/ 3013 typedef struct xcb_input_barrier_release_pointer_info_iterator_t { 3014 xcb_input_barrier_release_pointer_info_t *data; /**< */ 3015 int rem; /**< */ 3016 int index; /**< */ 3017 } xcb_input_barrier_release_pointer_info_iterator_t; 3018 3019 /** Opcode for xcb_input_xi_barrier_release_pointer. */ 3020 #define XCB_INPUT_XI_BARRIER_RELEASE_POINTER 61 3021 3022 /** 3023 * @brief xcb_input_xi_barrier_release_pointer_request_t 3024 **/ 3025 typedef struct xcb_input_xi_barrier_release_pointer_request_t { 3026 uint8_t major_opcode; /**< */ 3027 uint8_t minor_opcode; /**< */ 3028 uint16_t length; /**< */ 3029 uint32_t num_barriers; /**< */ 3030 } xcb_input_xi_barrier_release_pointer_request_t; 3031 3032 /** Opcode for xcb_input_device_valuator. */ 3033 #define XCB_INPUT_DEVICE_VALUATOR 0 3034 3035 /** 3036 * @brief xcb_input_device_valuator_event_t 3037 **/ 3038 typedef struct xcb_input_device_valuator_event_t { 3039 uint8_t response_type; /**< */ 3040 uint8_t device_id; /**< */ 3041 uint16_t sequence; /**< */ 3042 uint16_t device_state; /**< */ 3043 uint8_t num_valuators; /**< */ 3044 uint8_t first_valuator; /**< */ 3045 int32_t valuators[6]; /**< */ 3046 } xcb_input_device_valuator_event_t; 3047 3048 /** Opcode for xcb_input_device_key_press. */ 3049 #define XCB_INPUT_DEVICE_KEY_PRESS 1 3050 3051 /** 3052 * @brief xcb_input_device_key_press_event_t 3053 **/ 3054 typedef struct xcb_input_device_key_press_event_t { 3055 uint8_t response_type; /**< */ 3056 uint8_t detail; /**< */ 3057 uint16_t sequence; /**< */ 3058 xcb_timestamp_t time; /**< */ 3059 xcb_window_t root; /**< */ 3060 xcb_window_t event; /**< */ 3061 xcb_window_t child; /**< */ 3062 int16_t root_x; /**< */ 3063 int16_t root_y; /**< */ 3064 int16_t event_x; /**< */ 3065 int16_t event_y; /**< */ 3066 uint16_t state; /**< */ 3067 uint8_t same_screen; /**< */ 3068 uint8_t device_id; /**< */ 3069 } xcb_input_device_key_press_event_t; 3070 3071 /** Opcode for xcb_input_device_key_release. */ 3072 #define XCB_INPUT_DEVICE_KEY_RELEASE 2 3073 3074 typedef xcb_input_device_key_press_event_t xcb_input_device_key_release_event_t; 3075 3076 /** Opcode for xcb_input_device_button_press. */ 3077 #define XCB_INPUT_DEVICE_BUTTON_PRESS 3 3078 3079 typedef xcb_input_device_key_press_event_t xcb_input_device_button_press_event_t; 3080 3081 /** Opcode for xcb_input_device_button_release. */ 3082 #define XCB_INPUT_DEVICE_BUTTON_RELEASE 4 3083 3084 typedef xcb_input_device_key_press_event_t xcb_input_device_button_release_event_t; 3085 3086 /** Opcode for xcb_input_device_motion_notify. */ 3087 #define XCB_INPUT_DEVICE_MOTION_NOTIFY 5 3088 3089 typedef xcb_input_device_key_press_event_t xcb_input_device_motion_notify_event_t; 3090 3091 /** Opcode for xcb_input_device_focus_in. */ 3092 #define XCB_INPUT_DEVICE_FOCUS_IN 6 3093 3094 /** 3095 * @brief xcb_input_device_focus_in_event_t 3096 **/ 3097 typedef struct xcb_input_device_focus_in_event_t { 3098 uint8_t response_type; /**< */ 3099 uint8_t detail; /**< */ 3100 uint16_t sequence; /**< */ 3101 xcb_timestamp_t time; /**< */ 3102 xcb_window_t window; /**< */ 3103 uint8_t mode; /**< */ 3104 uint8_t device_id; /**< */ 3105 uint8_t pad0[18]; /**< */ 3106 } xcb_input_device_focus_in_event_t; 3107 3108 /** Opcode for xcb_input_device_focus_out. */ 3109 #define XCB_INPUT_DEVICE_FOCUS_OUT 7 3110 3111 typedef xcb_input_device_focus_in_event_t xcb_input_device_focus_out_event_t; 3112 3113 /** Opcode for xcb_input_proximity_in. */ 3114 #define XCB_INPUT_PROXIMITY_IN 8 3115 3116 typedef xcb_input_device_key_press_event_t xcb_input_proximity_in_event_t; 3117 3118 /** Opcode for xcb_input_proximity_out. */ 3119 #define XCB_INPUT_PROXIMITY_OUT 9 3120 3121 typedef xcb_input_device_key_press_event_t xcb_input_proximity_out_event_t; 3122 3123 /** Opcode for xcb_input_device_state_notify. */ 3124 #define XCB_INPUT_DEVICE_STATE_NOTIFY 10 3125 3126 /** 3127 * @brief xcb_input_device_state_notify_event_t 3128 **/ 3129 typedef struct xcb_input_device_state_notify_event_t { 3130 uint8_t response_type; /**< */ 3131 uint8_t device_id; /**< */ 3132 uint16_t sequence; /**< */ 3133 xcb_timestamp_t time; /**< */ 3134 uint8_t num_keys; /**< */ 3135 uint8_t num_buttons; /**< */ 3136 uint8_t num_valuators; /**< */ 3137 uint8_t classes_reported; /**< */ 3138 uint8_t buttons[4]; /**< */ 3139 uint8_t keys[4]; /**< */ 3140 uint32_t valuators[3]; /**< */ 3141 } xcb_input_device_state_notify_event_t; 3142 3143 /** Opcode for xcb_input_device_mapping_notify. */ 3144 #define XCB_INPUT_DEVICE_MAPPING_NOTIFY 11 3145 3146 /** 3147 * @brief xcb_input_device_mapping_notify_event_t 3148 **/ 3149 typedef struct xcb_input_device_mapping_notify_event_t { 3150 uint8_t response_type; /**< */ 3151 uint8_t device_id; /**< */ 3152 uint16_t sequence; /**< */ 3153 uint8_t request; /**< */ 3154 xcb_input_key_code_t first_keycode; /**< */ 3155 uint8_t count; /**< */ 3156 uint8_t pad0; /**< */ 3157 xcb_timestamp_t time; /**< */ 3158 uint8_t pad1[20]; /**< */ 3159 } xcb_input_device_mapping_notify_event_t; 3160 3161 /** Opcode for xcb_input_change_device_notify. */ 3162 #define XCB_INPUT_CHANGE_DEVICE_NOTIFY 12 3163 3164 /** 3165 * @brief xcb_input_change_device_notify_event_t 3166 **/ 3167 typedef struct xcb_input_change_device_notify_event_t { 3168 uint8_t response_type; /**< */ 3169 uint8_t device_id; /**< */ 3170 uint16_t sequence; /**< */ 3171 xcb_timestamp_t time; /**< */ 3172 uint8_t request; /**< */ 3173 uint8_t pad0[23]; /**< */ 3174 } xcb_input_change_device_notify_event_t; 3175 3176 /** Opcode for xcb_input_device_key_state_notify. */ 3177 #define XCB_INPUT_DEVICE_KEY_STATE_NOTIFY 13 3178 3179 /** 3180 * @brief xcb_input_device_key_state_notify_event_t 3181 **/ 3182 typedef struct xcb_input_device_key_state_notify_event_t { 3183 uint8_t response_type; /**< */ 3184 uint8_t device_id; /**< */ 3185 uint16_t sequence; /**< */ 3186 uint8_t keys[28]; /**< */ 3187 } xcb_input_device_key_state_notify_event_t; 3188 3189 /** Opcode for xcb_input_device_button_state_notify. */ 3190 #define XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY 14 3191 3192 /** 3193 * @brief xcb_input_device_button_state_notify_event_t 3194 **/ 3195 typedef struct xcb_input_device_button_state_notify_event_t { 3196 uint8_t response_type; /**< */ 3197 uint8_t device_id; /**< */ 3198 uint16_t sequence; /**< */ 3199 uint8_t buttons[28]; /**< */ 3200 } xcb_input_device_button_state_notify_event_t; 3201 3202 typedef enum xcb_input_device_change_t { 3203 XCB_INPUT_DEVICE_CHANGE_ADDED = 0, 3204 XCB_INPUT_DEVICE_CHANGE_REMOVED = 1, 3205 XCB_INPUT_DEVICE_CHANGE_ENABLED = 2, 3206 XCB_INPUT_DEVICE_CHANGE_DISABLED = 3, 3207 XCB_INPUT_DEVICE_CHANGE_UNRECOVERABLE = 4, 3208 XCB_INPUT_DEVICE_CHANGE_CONTROL_CHANGED = 5 3209 } xcb_input_device_change_t; 3210 3211 /** Opcode for xcb_input_device_presence_notify. */ 3212 #define XCB_INPUT_DEVICE_PRESENCE_NOTIFY 15 3213 3214 /** 3215 * @brief xcb_input_device_presence_notify_event_t 3216 **/ 3217 typedef struct xcb_input_device_presence_notify_event_t { 3218 uint8_t response_type; /**< */ 3219 uint8_t pad0; /**< */ 3220 uint16_t sequence; /**< */ 3221 xcb_timestamp_t time; /**< */ 3222 uint8_t devchange; /**< */ 3223 uint8_t device_id; /**< */ 3224 uint16_t control; /**< */ 3225 uint8_t pad1[20]; /**< */ 3226 } xcb_input_device_presence_notify_event_t; 3227 3228 /** Opcode for xcb_input_device_property_notify. */ 3229 #define XCB_INPUT_DEVICE_PROPERTY_NOTIFY 16 3230 3231 /** 3232 * @brief xcb_input_device_property_notify_event_t 3233 **/ 3234 typedef struct xcb_input_device_property_notify_event_t { 3235 uint8_t response_type; /**< */ 3236 uint8_t state; /**< */ 3237 uint16_t sequence; /**< */ 3238 xcb_timestamp_t time; /**< */ 3239 xcb_atom_t property; /**< */ 3240 uint8_t pad0[19]; /**< */ 3241 uint8_t device_id; /**< */ 3242 } xcb_input_device_property_notify_event_t; 3243 3244 typedef enum xcb_input_change_reason_t { 3245 XCB_INPUT_CHANGE_REASON_SLAVE_SWITCH = 1, 3246 XCB_INPUT_CHANGE_REASON_DEVICE_CHANGE = 2 3247 } xcb_input_change_reason_t; 3248 3249 /** Opcode for xcb_input_device_changed. */ 3250 #define XCB_INPUT_DEVICE_CHANGED 1 3251 3252 /** 3253 * @brief xcb_input_device_changed_event_t 3254 **/ 3255 typedef struct xcb_input_device_changed_event_t { 3256 uint8_t response_type; /**< */ 3257 uint8_t extension; /**< */ 3258 uint16_t sequence; /**< */ 3259 uint32_t length; /**< */ 3260 uint16_t event_type; /**< */ 3261 xcb_input_device_id_t deviceid; /**< */ 3262 xcb_timestamp_t time; /**< */ 3263 uint16_t num_classes; /**< */ 3264 xcb_input_device_id_t sourceid; /**< */ 3265 uint8_t reason; /**< */ 3266 uint8_t pad0[11]; /**< */ 3267 uint32_t full_sequence; /**< */ 3268 } xcb_input_device_changed_event_t; 3269 3270 typedef enum xcb_input_key_event_flags_t { 3271 XCB_INPUT_KEY_EVENT_FLAGS_KEY_REPEAT = 65536 3272 } xcb_input_key_event_flags_t; 3273 3274 /** Opcode for xcb_input_key_press. */ 3275 #define XCB_INPUT_KEY_PRESS 2 3276 3277 /** 3278 * @brief xcb_input_key_press_event_t 3279 **/ 3280 typedef struct xcb_input_key_press_event_t { 3281 uint8_t response_type; /**< */ 3282 uint8_t extension; /**< */ 3283 uint16_t sequence; /**< */ 3284 uint32_t length; /**< */ 3285 uint16_t event_type; /**< */ 3286 xcb_input_device_id_t deviceid; /**< */ 3287 xcb_timestamp_t time; /**< */ 3288 uint32_t detail; /**< */ 3289 xcb_window_t root; /**< */ 3290 xcb_window_t event; /**< */ 3291 xcb_window_t child; /**< */ 3292 uint32_t full_sequence; /**< */ 3293 xcb_input_fp1616_t root_x; /**< */ 3294 xcb_input_fp1616_t root_y; /**< */ 3295 xcb_input_fp1616_t event_x; /**< */ 3296 xcb_input_fp1616_t event_y; /**< */ 3297 uint16_t buttons_len; /**< */ 3298 uint16_t valuators_len; /**< */ 3299 xcb_input_device_id_t sourceid; /**< */ 3300 uint8_t pad0[2]; /**< */ 3301 uint32_t flags; /**< */ 3302 xcb_input_modifier_info_t mods; /**< */ 3303 xcb_input_group_info_t group; /**< */ 3304 } xcb_input_key_press_event_t; 3305 3306 /** Opcode for xcb_input_key_release. */ 3307 #define XCB_INPUT_KEY_RELEASE 3 3308 3309 typedef xcb_input_key_press_event_t xcb_input_key_release_event_t; 3310 3311 typedef enum xcb_input_pointer_event_flags_t { 3312 XCB_INPUT_POINTER_EVENT_FLAGS_POINTER_EMULATED = 65536 3313 } xcb_input_pointer_event_flags_t; 3314 3315 /** Opcode for xcb_input_button_press. */ 3316 #define XCB_INPUT_BUTTON_PRESS 4 3317 3318 /** 3319 * @brief xcb_input_button_press_event_t 3320 **/ 3321 typedef struct xcb_input_button_press_event_t { 3322 uint8_t response_type; /**< */ 3323 uint8_t extension; /**< */ 3324 uint16_t sequence; /**< */ 3325 uint32_t length; /**< */ 3326 uint16_t event_type; /**< */ 3327 xcb_input_device_id_t deviceid; /**< */ 3328 xcb_timestamp_t time; /**< */ 3329 uint32_t detail; /**< */ 3330 xcb_window_t root; /**< */ 3331 xcb_window_t event; /**< */ 3332 xcb_window_t child; /**< */ 3333 uint32_t full_sequence; /**< */ 3334 xcb_input_fp1616_t root_x; /**< */ 3335 xcb_input_fp1616_t root_y; /**< */ 3336 xcb_input_fp1616_t event_x; /**< */ 3337 xcb_input_fp1616_t event_y; /**< */ 3338 uint16_t buttons_len; /**< */ 3339 uint16_t valuators_len; /**< */ 3340 xcb_input_device_id_t sourceid; /**< */ 3341 uint8_t pad0[2]; /**< */ 3342 uint32_t flags; /**< */ 3343 xcb_input_modifier_info_t mods; /**< */ 3344 xcb_input_group_info_t group; /**< */ 3345 } xcb_input_button_press_event_t; 3346 3347 /** Opcode for xcb_input_button_release. */ 3348 #define XCB_INPUT_BUTTON_RELEASE 5 3349 3350 typedef xcb_input_button_press_event_t xcb_input_button_release_event_t; 3351 3352 /** Opcode for xcb_input_motion. */ 3353 #define XCB_INPUT_MOTION 6 3354 3355 typedef xcb_input_button_press_event_t xcb_input_motion_event_t; 3356 3357 typedef enum xcb_input_notify_mode_t { 3358 XCB_INPUT_NOTIFY_MODE_NORMAL = 0, 3359 XCB_INPUT_NOTIFY_MODE_GRAB = 1, 3360 XCB_INPUT_NOTIFY_MODE_UNGRAB = 2, 3361 XCB_INPUT_NOTIFY_MODE_WHILE_GRABBED = 3, 3362 XCB_INPUT_NOTIFY_MODE_PASSIVE_GRAB = 4, 3363 XCB_INPUT_NOTIFY_MODE_PASSIVE_UNGRAB = 5 3364 } xcb_input_notify_mode_t; 3365 3366 typedef enum xcb_input_notify_detail_t { 3367 XCB_INPUT_NOTIFY_DETAIL_ANCESTOR = 0, 3368 XCB_INPUT_NOTIFY_DETAIL_VIRTUAL = 1, 3369 XCB_INPUT_NOTIFY_DETAIL_INFERIOR = 2, 3370 XCB_INPUT_NOTIFY_DETAIL_NONLINEAR = 3, 3371 XCB_INPUT_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, 3372 XCB_INPUT_NOTIFY_DETAIL_POINTER = 5, 3373 XCB_INPUT_NOTIFY_DETAIL_POINTER_ROOT = 6, 3374 XCB_INPUT_NOTIFY_DETAIL_NONE = 7 3375 } xcb_input_notify_detail_t; 3376 3377 /** Opcode for xcb_input_enter. */ 3378 #define XCB_INPUT_ENTER 7 3379 3380 /** 3381 * @brief xcb_input_enter_event_t 3382 **/ 3383 typedef struct xcb_input_enter_event_t { 3384 uint8_t response_type; /**< */ 3385 uint8_t extension; /**< */ 3386 uint16_t sequence; /**< */ 3387 uint32_t length; /**< */ 3388 uint16_t event_type; /**< */ 3389 xcb_input_device_id_t deviceid; /**< */ 3390 xcb_timestamp_t time; /**< */ 3391 xcb_input_device_id_t sourceid; /**< */ 3392 uint8_t mode; /**< */ 3393 uint8_t detail; /**< */ 3394 xcb_window_t root; /**< */ 3395 xcb_window_t event; /**< */ 3396 xcb_window_t child; /**< */ 3397 uint32_t full_sequence; /**< */ 3398 xcb_input_fp1616_t root_x; /**< */ 3399 xcb_input_fp1616_t root_y; /**< */ 3400 xcb_input_fp1616_t event_x; /**< */ 3401 xcb_input_fp1616_t event_y; /**< */ 3402 uint8_t same_screen; /**< */ 3403 uint8_t focus; /**< */ 3404 uint16_t buttons_len; /**< */ 3405 xcb_input_modifier_info_t mods; /**< */ 3406 xcb_input_group_info_t group; /**< */ 3407 } xcb_input_enter_event_t; 3408 3409 /** Opcode for xcb_input_leave. */ 3410 #define XCB_INPUT_LEAVE 8 3411 3412 typedef xcb_input_enter_event_t xcb_input_leave_event_t; 3413 3414 /** Opcode for xcb_input_focus_in. */ 3415 #define XCB_INPUT_FOCUS_IN 9 3416 3417 typedef xcb_input_enter_event_t xcb_input_focus_in_event_t; 3418 3419 /** Opcode for xcb_input_focus_out. */ 3420 #define XCB_INPUT_FOCUS_OUT 10 3421 3422 typedef xcb_input_enter_event_t xcb_input_focus_out_event_t; 3423 3424 typedef enum xcb_input_hierarchy_mask_t { 3425 XCB_INPUT_HIERARCHY_MASK_MASTER_ADDED = 1, 3426 XCB_INPUT_HIERARCHY_MASK_MASTER_REMOVED = 2, 3427 XCB_INPUT_HIERARCHY_MASK_SLAVE_ADDED = 4, 3428 XCB_INPUT_HIERARCHY_MASK_SLAVE_REMOVED = 8, 3429 XCB_INPUT_HIERARCHY_MASK_SLAVE_ATTACHED = 16, 3430 XCB_INPUT_HIERARCHY_MASK_SLAVE_DETACHED = 32, 3431 XCB_INPUT_HIERARCHY_MASK_DEVICE_ENABLED = 64, 3432 XCB_INPUT_HIERARCHY_MASK_DEVICE_DISABLED = 128 3433 } xcb_input_hierarchy_mask_t; 3434 3435 /** 3436 * @brief xcb_input_hierarchy_info_t 3437 **/ 3438 typedef struct xcb_input_hierarchy_info_t { 3439 xcb_input_device_id_t deviceid; /**< */ 3440 xcb_input_device_id_t attachment; /**< */ 3441 uint8_t type; /**< */ 3442 uint8_t enabled; /**< */ 3443 uint8_t pad0[2]; /**< */ 3444 uint32_t flags; /**< */ 3445 } xcb_input_hierarchy_info_t; 3446 3447 /** 3448 * @brief xcb_input_hierarchy_info_iterator_t 3449 **/ 3450 typedef struct xcb_input_hierarchy_info_iterator_t { 3451 xcb_input_hierarchy_info_t *data; /**< */ 3452 int rem; /**< */ 3453 int index; /**< */ 3454 } xcb_input_hierarchy_info_iterator_t; 3455 3456 /** Opcode for xcb_input_hierarchy. */ 3457 #define XCB_INPUT_HIERARCHY 11 3458 3459 /** 3460 * @brief xcb_input_hierarchy_event_t 3461 **/ 3462 typedef struct xcb_input_hierarchy_event_t { 3463 uint8_t response_type; /**< */ 3464 uint8_t extension; /**< */ 3465 uint16_t sequence; /**< */ 3466 uint32_t length; /**< */ 3467 uint16_t event_type; /**< */ 3468 xcb_input_device_id_t deviceid; /**< */ 3469 xcb_timestamp_t time; /**< */ 3470 uint32_t flags; /**< */ 3471 uint16_t num_infos; /**< */ 3472 uint8_t pad0[10]; /**< */ 3473 uint32_t full_sequence; /**< */ 3474 } xcb_input_hierarchy_event_t; 3475 3476 typedef enum xcb_input_property_flag_t { 3477 XCB_INPUT_PROPERTY_FLAG_DELETED = 0, 3478 XCB_INPUT_PROPERTY_FLAG_CREATED = 1, 3479 XCB_INPUT_PROPERTY_FLAG_MODIFIED = 2 3480 } xcb_input_property_flag_t; 3481 3482 /** Opcode for xcb_input_property. */ 3483 #define XCB_INPUT_PROPERTY 12 3484 3485 /** 3486 * @brief xcb_input_property_event_t 3487 **/ 3488 typedef struct xcb_input_property_event_t { 3489 uint8_t response_type; /**< */ 3490 uint8_t extension; /**< */ 3491 uint16_t sequence; /**< */ 3492 uint32_t length; /**< */ 3493 uint16_t event_type; /**< */ 3494 xcb_input_device_id_t deviceid; /**< */ 3495 xcb_timestamp_t time; /**< */ 3496 xcb_atom_t property; /**< */ 3497 uint8_t what; /**< */ 3498 uint8_t pad0[11]; /**< */ 3499 uint32_t full_sequence; /**< */ 3500 } xcb_input_property_event_t; 3501 3502 /** Opcode for xcb_input_raw_key_press. */ 3503 #define XCB_INPUT_RAW_KEY_PRESS 13 3504 3505 /** 3506 * @brief xcb_input_raw_key_press_event_t 3507 **/ 3508 typedef struct xcb_input_raw_key_press_event_t { 3509 uint8_t response_type; /**< */ 3510 uint8_t extension; /**< */ 3511 uint16_t sequence; /**< */ 3512 uint32_t length; /**< */ 3513 uint16_t event_type; /**< */ 3514 xcb_input_device_id_t deviceid; /**< */ 3515 xcb_timestamp_t time; /**< */ 3516 uint32_t detail; /**< */ 3517 xcb_input_device_id_t sourceid; /**< */ 3518 uint16_t valuators_len; /**< */ 3519 uint32_t flags; /**< */ 3520 uint8_t pad0[4]; /**< */ 3521 uint32_t full_sequence; /**< */ 3522 } xcb_input_raw_key_press_event_t; 3523 3524 /** Opcode for xcb_input_raw_key_release. */ 3525 #define XCB_INPUT_RAW_KEY_RELEASE 14 3526 3527 typedef xcb_input_raw_key_press_event_t xcb_input_raw_key_release_event_t; 3528 3529 /** Opcode for xcb_input_raw_button_press. */ 3530 #define XCB_INPUT_RAW_BUTTON_PRESS 15 3531 3532 /** 3533 * @brief xcb_input_raw_button_press_event_t 3534 **/ 3535 typedef struct xcb_input_raw_button_press_event_t { 3536 uint8_t response_type; /**< */ 3537 uint8_t extension; /**< */ 3538 uint16_t sequence; /**< */ 3539 uint32_t length; /**< */ 3540 uint16_t event_type; /**< */ 3541 xcb_input_device_id_t deviceid; /**< */ 3542 xcb_timestamp_t time; /**< */ 3543 uint32_t detail; /**< */ 3544 xcb_input_device_id_t sourceid; /**< */ 3545 uint16_t valuators_len; /**< */ 3546 uint32_t flags; /**< */ 3547 uint8_t pad0[4]; /**< */ 3548 uint32_t full_sequence; /**< */ 3549 } xcb_input_raw_button_press_event_t; 3550 3551 /** Opcode for xcb_input_raw_button_release. */ 3552 #define XCB_INPUT_RAW_BUTTON_RELEASE 16 3553 3554 typedef xcb_input_raw_button_press_event_t xcb_input_raw_button_release_event_t; 3555 3556 /** Opcode for xcb_input_raw_motion. */ 3557 #define XCB_INPUT_RAW_MOTION 17 3558 3559 typedef xcb_input_raw_button_press_event_t xcb_input_raw_motion_event_t; 3560 3561 typedef enum xcb_input_touch_event_flags_t { 3562 XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_PENDING_END = 65536, 3563 XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_EMULATING_POINTER = 131072 3564 } xcb_input_touch_event_flags_t; 3565 3566 /** Opcode for xcb_input_touch_begin. */ 3567 #define XCB_INPUT_TOUCH_BEGIN 18 3568 3569 /** 3570 * @brief xcb_input_touch_begin_event_t 3571 **/ 3572 typedef struct xcb_input_touch_begin_event_t { 3573 uint8_t response_type; /**< */ 3574 uint8_t extension; /**< */ 3575 uint16_t sequence; /**< */ 3576 uint32_t length; /**< */ 3577 uint16_t event_type; /**< */ 3578 xcb_input_device_id_t deviceid; /**< */ 3579 xcb_timestamp_t time; /**< */ 3580 uint32_t detail; /**< */ 3581 xcb_window_t root; /**< */ 3582 xcb_window_t event; /**< */ 3583 xcb_window_t child; /**< */ 3584 uint32_t full_sequence; /**< */ 3585 xcb_input_fp1616_t root_x; /**< */ 3586 xcb_input_fp1616_t root_y; /**< */ 3587 xcb_input_fp1616_t event_x; /**< */ 3588 xcb_input_fp1616_t event_y; /**< */ 3589 uint16_t buttons_len; /**< */ 3590 uint16_t valuators_len; /**< */ 3591 xcb_input_device_id_t sourceid; /**< */ 3592 uint8_t pad0[2]; /**< */ 3593 uint32_t flags; /**< */ 3594 xcb_input_modifier_info_t mods; /**< */ 3595 xcb_input_group_info_t group; /**< */ 3596 } xcb_input_touch_begin_event_t; 3597 3598 /** Opcode for xcb_input_touch_update. */ 3599 #define XCB_INPUT_TOUCH_UPDATE 19 3600 3601 typedef xcb_input_touch_begin_event_t xcb_input_touch_update_event_t; 3602 3603 /** Opcode for xcb_input_touch_end. */ 3604 #define XCB_INPUT_TOUCH_END 20 3605 3606 typedef xcb_input_touch_begin_event_t xcb_input_touch_end_event_t; 3607 3608 typedef enum xcb_input_touch_ownership_flags_t { 3609 XCB_INPUT_TOUCH_OWNERSHIP_FLAGS_NONE = 0 3610 } xcb_input_touch_ownership_flags_t; 3611 3612 /** Opcode for xcb_input_touch_ownership. */ 3613 #define XCB_INPUT_TOUCH_OWNERSHIP 21 3614 3615 /** 3616 * @brief xcb_input_touch_ownership_event_t 3617 **/ 3618 typedef struct xcb_input_touch_ownership_event_t { 3619 uint8_t response_type; /**< */ 3620 uint8_t extension; /**< */ 3621 uint16_t sequence; /**< */ 3622 uint32_t length; /**< */ 3623 uint16_t event_type; /**< */ 3624 xcb_input_device_id_t deviceid; /**< */ 3625 xcb_timestamp_t time; /**< */ 3626 uint32_t touchid; /**< */ 3627 xcb_window_t root; /**< */ 3628 xcb_window_t event; /**< */ 3629 xcb_window_t child; /**< */ 3630 uint32_t full_sequence; /**< */ 3631 xcb_input_device_id_t sourceid; /**< */ 3632 uint8_t pad0[2]; /**< */ 3633 uint32_t flags; /**< */ 3634 uint8_t pad1[8]; /**< */ 3635 } xcb_input_touch_ownership_event_t; 3636 3637 /** Opcode for xcb_input_raw_touch_begin. */ 3638 #define XCB_INPUT_RAW_TOUCH_BEGIN 22 3639 3640 /** 3641 * @brief xcb_input_raw_touch_begin_event_t 3642 **/ 3643 typedef struct xcb_input_raw_touch_begin_event_t { 3644 uint8_t response_type; /**< */ 3645 uint8_t extension; /**< */ 3646 uint16_t sequence; /**< */ 3647 uint32_t length; /**< */ 3648 uint16_t event_type; /**< */ 3649 xcb_input_device_id_t deviceid; /**< */ 3650 xcb_timestamp_t time; /**< */ 3651 uint32_t detail; /**< */ 3652 xcb_input_device_id_t sourceid; /**< */ 3653 uint16_t valuators_len; /**< */ 3654 uint32_t flags; /**< */ 3655 uint8_t pad0[4]; /**< */ 3656 uint32_t full_sequence; /**< */ 3657 } xcb_input_raw_touch_begin_event_t; 3658 3659 /** Opcode for xcb_input_raw_touch_update. */ 3660 #define XCB_INPUT_RAW_TOUCH_UPDATE 23 3661 3662 typedef xcb_input_raw_touch_begin_event_t xcb_input_raw_touch_update_event_t; 3663 3664 /** Opcode for xcb_input_raw_touch_end. */ 3665 #define XCB_INPUT_RAW_TOUCH_END 24 3666 3667 typedef xcb_input_raw_touch_begin_event_t xcb_input_raw_touch_end_event_t; 3668 3669 /** Opcode for xcb_input_barrier_hit. */ 3670 #define XCB_INPUT_BARRIER_HIT 25 3671 3672 /** 3673 * @brief xcb_input_barrier_hit_event_t 3674 **/ 3675 typedef struct xcb_input_barrier_hit_event_t { 3676 uint8_t response_type; /**< */ 3677 uint8_t extension; /**< */ 3678 uint16_t sequence; /**< */ 3679 uint32_t length; /**< */ 3680 uint16_t event_type; /**< */ 3681 xcb_input_device_id_t deviceid; /**< */ 3682 xcb_timestamp_t time; /**< */ 3683 uint32_t eventid; /**< */ 3684 xcb_window_t root; /**< */ 3685 xcb_window_t event; /**< */ 3686 xcb_xfixes_barrier_t barrier; /**< */ 3687 uint32_t full_sequence; /**< */ 3688 uint32_t dtime; /**< */ 3689 uint32_t flags; /**< */ 3690 xcb_input_device_id_t sourceid; /**< */ 3691 uint8_t pad0[2]; /**< */ 3692 xcb_input_fp1616_t root_x; /**< */ 3693 xcb_input_fp1616_t root_y; /**< */ 3694 xcb_input_fp3232_t dx; /**< */ 3695 xcb_input_fp3232_t dy; /**< */ 3696 } xcb_input_barrier_hit_event_t; 3697 3698 /** Opcode for xcb_input_barrier_leave. */ 3699 #define XCB_INPUT_BARRIER_LEAVE 26 3700 3701 typedef xcb_input_barrier_hit_event_t xcb_input_barrier_leave_event_t; 3702 3703 /** Opcode for xcb_input_device. */ 3704 #define XCB_INPUT_DEVICE 0 3705 3706 /** 3707 * @brief xcb_input_device_error_t 3708 **/ 3709 typedef struct xcb_input_device_error_t { 3710 uint8_t response_type; /**< */ 3711 uint8_t error_code; /**< */ 3712 uint16_t sequence; /**< */ 3713 } xcb_input_device_error_t; 3714 3715 /** Opcode for xcb_input_event. */ 3716 #define XCB_INPUT_EVENT 1 3717 3718 /** 3719 * @brief xcb_input_event_error_t 3720 **/ 3721 typedef struct xcb_input_event_error_t { 3722 uint8_t response_type; /**< */ 3723 uint8_t error_code; /**< */ 3724 uint16_t sequence; /**< */ 3725 } xcb_input_event_error_t; 3726 3727 /** Opcode for xcb_input_mode. */ 3728 #define XCB_INPUT_MODE 2 3729 3730 /** 3731 * @brief xcb_input_mode_error_t 3732 **/ 3733 typedef struct xcb_input_mode_error_t { 3734 uint8_t response_type; /**< */ 3735 uint8_t error_code; /**< */ 3736 uint16_t sequence; /**< */ 3737 } xcb_input_mode_error_t; 3738 3739 /** Opcode for xcb_input_device_busy. */ 3740 #define XCB_INPUT_DEVICE_BUSY 3 3741 3742 /** 3743 * @brief xcb_input_device_busy_error_t 3744 **/ 3745 typedef struct xcb_input_device_busy_error_t { 3746 uint8_t response_type; /**< */ 3747 uint8_t error_code; /**< */ 3748 uint16_t sequence; /**< */ 3749 } xcb_input_device_busy_error_t; 3750 3751 /** Opcode for xcb_input_class. */ 3752 #define XCB_INPUT_CLASS 4 3753 3754 /** 3755 * @brief xcb_input_class_error_t 3756 **/ 3757 typedef struct xcb_input_class_error_t { 3758 uint8_t response_type; /**< */ 3759 uint8_t error_code; /**< */ 3760 uint16_t sequence; /**< */ 3761 } xcb_input_class_error_t; 3762 3763 /** 3764 * Get the next element of the iterator 3765 * @param i Pointer to a xcb_input_event_class_iterator_t 3766 * 3767 * Get the next element in the iterator. The member rem is 3768 * decreased by one. The member data points to the next 3769 * element. The member index is increased by sizeof(xcb_input_event_class_t) 3770 */ 3771 3772 /***************************************************************************** 3773 ** 3774 ** void xcb_input_event_class_next 3775 ** 3776 ** @param xcb_input_event_class_iterator_t *i 3777 ** @returns void 3778 ** 3779 *****************************************************************************/ 3780 3781 void 3782 xcb_input_event_class_next (xcb_input_event_class_iterator_t *i /**< */); 3783 3784 /** 3785 * Return the iterator pointing to the last element 3786 * @param i An xcb_input_event_class_iterator_t 3787 * @return The iterator pointing to the last element 3788 * 3789 * Set the current element in the iterator to the last element. 3790 * The member rem is set to 0. The member data points to the 3791 * last element. 3792 */ 3793 3794 /***************************************************************************** 3795 ** 3796 ** xcb_generic_iterator_t xcb_input_event_class_end 3797 ** 3798 ** @param xcb_input_event_class_iterator_t i 3799 ** @returns xcb_generic_iterator_t 3800 ** 3801 *****************************************************************************/ 3802 3803 xcb_generic_iterator_t 3804 xcb_input_event_class_end (xcb_input_event_class_iterator_t i /**< */); 3805 3806 /** 3807 * Get the next element of the iterator 3808 * @param i Pointer to a xcb_input_key_code_iterator_t 3809 * 3810 * Get the next element in the iterator. The member rem is 3811 * decreased by one. The member data points to the next 3812 * element. The member index is increased by sizeof(xcb_input_key_code_t) 3813 */ 3814 3815 /***************************************************************************** 3816 ** 3817 ** void xcb_input_key_code_next 3818 ** 3819 ** @param xcb_input_key_code_iterator_t *i 3820 ** @returns void 3821 ** 3822 *****************************************************************************/ 3823 3824 void 3825 xcb_input_key_code_next (xcb_input_key_code_iterator_t *i /**< */); 3826 3827 /** 3828 * Return the iterator pointing to the last element 3829 * @param i An xcb_input_key_code_iterator_t 3830 * @return The iterator pointing to the last element 3831 * 3832 * Set the current element in the iterator to the last element. 3833 * The member rem is set to 0. The member data points to the 3834 * last element. 3835 */ 3836 3837 /***************************************************************************** 3838 ** 3839 ** xcb_generic_iterator_t xcb_input_key_code_end 3840 ** 3841 ** @param xcb_input_key_code_iterator_t i 3842 ** @returns xcb_generic_iterator_t 3843 ** 3844 *****************************************************************************/ 3845 3846 xcb_generic_iterator_t 3847 xcb_input_key_code_end (xcb_input_key_code_iterator_t i /**< */); 3848 3849 /** 3850 * Get the next element of the iterator 3851 * @param i Pointer to a xcb_input_device_id_iterator_t 3852 * 3853 * Get the next element in the iterator. The member rem is 3854 * decreased by one. The member data points to the next 3855 * element. The member index is increased by sizeof(xcb_input_device_id_t) 3856 */ 3857 3858 /***************************************************************************** 3859 ** 3860 ** void xcb_input_device_id_next 3861 ** 3862 ** @param xcb_input_device_id_iterator_t *i 3863 ** @returns void 3864 ** 3865 *****************************************************************************/ 3866 3867 void 3868 xcb_input_device_id_next (xcb_input_device_id_iterator_t *i /**< */); 3869 3870 /** 3871 * Return the iterator pointing to the last element 3872 * @param i An xcb_input_device_id_iterator_t 3873 * @return The iterator pointing to the last element 3874 * 3875 * Set the current element in the iterator to the last element. 3876 * The member rem is set to 0. The member data points to the 3877 * last element. 3878 */ 3879 3880 /***************************************************************************** 3881 ** 3882 ** xcb_generic_iterator_t xcb_input_device_id_end 3883 ** 3884 ** @param xcb_input_device_id_iterator_t i 3885 ** @returns xcb_generic_iterator_t 3886 ** 3887 *****************************************************************************/ 3888 3889 xcb_generic_iterator_t 3890 xcb_input_device_id_end (xcb_input_device_id_iterator_t i /**< */); 3891 3892 /** 3893 * Get the next element of the iterator 3894 * @param i Pointer to a xcb_input_fp1616_iterator_t 3895 * 3896 * Get the next element in the iterator. The member rem is 3897 * decreased by one. The member data points to the next 3898 * element. The member index is increased by sizeof(xcb_input_fp1616_t) 3899 */ 3900 3901 /***************************************************************************** 3902 ** 3903 ** void xcb_input_fp1616_next 3904 ** 3905 ** @param xcb_input_fp1616_iterator_t *i 3906 ** @returns void 3907 ** 3908 *****************************************************************************/ 3909 3910 void 3911 xcb_input_fp1616_next (xcb_input_fp1616_iterator_t *i /**< */); 3912 3913 /** 3914 * Return the iterator pointing to the last element 3915 * @param i An xcb_input_fp1616_iterator_t 3916 * @return The iterator pointing to the last element 3917 * 3918 * Set the current element in the iterator to the last element. 3919 * The member rem is set to 0. The member data points to the 3920 * last element. 3921 */ 3922 3923 /***************************************************************************** 3924 ** 3925 ** xcb_generic_iterator_t xcb_input_fp1616_end 3926 ** 3927 ** @param xcb_input_fp1616_iterator_t i 3928 ** @returns xcb_generic_iterator_t 3929 ** 3930 *****************************************************************************/ 3931 3932 xcb_generic_iterator_t 3933 xcb_input_fp1616_end (xcb_input_fp1616_iterator_t i /**< */); 3934 3935 /** 3936 * Get the next element of the iterator 3937 * @param i Pointer to a xcb_input_fp3232_iterator_t 3938 * 3939 * Get the next element in the iterator. The member rem is 3940 * decreased by one. The member data points to the next 3941 * element. The member index is increased by sizeof(xcb_input_fp3232_t) 3942 */ 3943 3944 /***************************************************************************** 3945 ** 3946 ** void xcb_input_fp3232_next 3947 ** 3948 ** @param xcb_input_fp3232_iterator_t *i 3949 ** @returns void 3950 ** 3951 *****************************************************************************/ 3952 3953 void 3954 xcb_input_fp3232_next (xcb_input_fp3232_iterator_t *i /**< */); 3955 3956 /** 3957 * Return the iterator pointing to the last element 3958 * @param i An xcb_input_fp3232_iterator_t 3959 * @return The iterator pointing to the last element 3960 * 3961 * Set the current element in the iterator to the last element. 3962 * The member rem is set to 0. The member data points to the 3963 * last element. 3964 */ 3965 3966 /***************************************************************************** 3967 ** 3968 ** xcb_generic_iterator_t xcb_input_fp3232_end 3969 ** 3970 ** @param xcb_input_fp3232_iterator_t i 3971 ** @returns xcb_generic_iterator_t 3972 ** 3973 *****************************************************************************/ 3974 3975 xcb_generic_iterator_t 3976 xcb_input_fp3232_end (xcb_input_fp3232_iterator_t i /**< */); 3977 3978 int 3979 xcb_input_get_extension_version_sizeof (const void *_buffer /**< */); 3980 3981 /** 3982 * 3983 * @param c The connection 3984 * @return A cookie 3985 * 3986 * Delivers a request to the X server. 3987 * 3988 */ 3989 3990 /***************************************************************************** 3991 ** 3992 ** xcb_input_get_extension_version_cookie_t xcb_input_get_extension_version 3993 ** 3994 ** @param xcb_connection_t *c 3995 ** @param uint16_t name_len 3996 ** @param const char *name 3997 ** @returns xcb_input_get_extension_version_cookie_t 3998 ** 3999 *****************************************************************************/ 4000 4001 xcb_input_get_extension_version_cookie_t 4002 xcb_input_get_extension_version (xcb_connection_t *c /**< */, 4003 uint16_t name_len /**< */, 4004 const char *name /**< */); 4005 4006 /** 4007 * 4008 * @param c The connection 4009 * @return A cookie 4010 * 4011 * Delivers a request to the X server. 4012 * 4013 * This form can be used only if the request will cause 4014 * a reply to be generated. Any returned error will be 4015 * placed in the event queue. 4016 */ 4017 4018 /***************************************************************************** 4019 ** 4020 ** xcb_input_get_extension_version_cookie_t xcb_input_get_extension_version_unchecked 4021 ** 4022 ** @param xcb_connection_t *c 4023 ** @param uint16_t name_len 4024 ** @param const char *name 4025 ** @returns xcb_input_get_extension_version_cookie_t 4026 ** 4027 *****************************************************************************/ 4028 4029 xcb_input_get_extension_version_cookie_t 4030 xcb_input_get_extension_version_unchecked (xcb_connection_t *c /**< */, 4031 uint16_t name_len /**< */, 4032 const char *name /**< */); 4033 4034 /** 4035 * Return the reply 4036 * @param c The connection 4037 * @param cookie The cookie 4038 * @param e The xcb_generic_error_t supplied 4039 * 4040 * Returns the reply of the request asked by 4041 * 4042 * The parameter @p e supplied to this function must be NULL if 4043 * xcb_input_get_extension_version_unchecked(). is used. 4044 * Otherwise, it stores the error if any. 4045 * 4046 * The returned value must be freed by the caller using free(). 4047 */ 4048 4049 /***************************************************************************** 4050 ** 4051 ** xcb_input_get_extension_version_reply_t * xcb_input_get_extension_version_reply 4052 ** 4053 ** @param xcb_connection_t *c 4054 ** @param xcb_input_get_extension_version_cookie_t cookie 4055 ** @param xcb_generic_error_t **e 4056 ** @returns xcb_input_get_extension_version_reply_t * 4057 ** 4058 *****************************************************************************/ 4059 4060 xcb_input_get_extension_version_reply_t * 4061 xcb_input_get_extension_version_reply (xcb_connection_t *c /**< */, 4062 xcb_input_get_extension_version_cookie_t cookie /**< */, 4063 xcb_generic_error_t **e /**< */); 4064 4065 /** 4066 * Get the next element of the iterator 4067 * @param i Pointer to a xcb_input_device_info_iterator_t 4068 * 4069 * Get the next element in the iterator. The member rem is 4070 * decreased by one. The member data points to the next 4071 * element. The member index is increased by sizeof(xcb_input_device_info_t) 4072 */ 4073 4074 /***************************************************************************** 4075 ** 4076 ** void xcb_input_device_info_next 4077 ** 4078 ** @param xcb_input_device_info_iterator_t *i 4079 ** @returns void 4080 ** 4081 *****************************************************************************/ 4082 4083 void 4084 xcb_input_device_info_next (xcb_input_device_info_iterator_t *i /**< */); 4085 4086 /** 4087 * Return the iterator pointing to the last element 4088 * @param i An xcb_input_device_info_iterator_t 4089 * @return The iterator pointing to the last element 4090 * 4091 * Set the current element in the iterator to the last element. 4092 * The member rem is set to 0. The member data points to the 4093 * last element. 4094 */ 4095 4096 /***************************************************************************** 4097 ** 4098 ** xcb_generic_iterator_t xcb_input_device_info_end 4099 ** 4100 ** @param xcb_input_device_info_iterator_t i 4101 ** @returns xcb_generic_iterator_t 4102 ** 4103 *****************************************************************************/ 4104 4105 xcb_generic_iterator_t 4106 xcb_input_device_info_end (xcb_input_device_info_iterator_t i /**< */); 4107 4108 /** 4109 * Get the next element of the iterator 4110 * @param i Pointer to a xcb_input_key_info_iterator_t 4111 * 4112 * Get the next element in the iterator. The member rem is 4113 * decreased by one. The member data points to the next 4114 * element. The member index is increased by sizeof(xcb_input_key_info_t) 4115 */ 4116 4117 /***************************************************************************** 4118 ** 4119 ** void xcb_input_key_info_next 4120 ** 4121 ** @param xcb_input_key_info_iterator_t *i 4122 ** @returns void 4123 ** 4124 *****************************************************************************/ 4125 4126 void 4127 xcb_input_key_info_next (xcb_input_key_info_iterator_t *i /**< */); 4128 4129 /** 4130 * Return the iterator pointing to the last element 4131 * @param i An xcb_input_key_info_iterator_t 4132 * @return The iterator pointing to the last element 4133 * 4134 * Set the current element in the iterator to the last element. 4135 * The member rem is set to 0. The member data points to the 4136 * last element. 4137 */ 4138 4139 /***************************************************************************** 4140 ** 4141 ** xcb_generic_iterator_t xcb_input_key_info_end 4142 ** 4143 ** @param xcb_input_key_info_iterator_t i 4144 ** @returns xcb_generic_iterator_t 4145 ** 4146 *****************************************************************************/ 4147 4148 xcb_generic_iterator_t 4149 xcb_input_key_info_end (xcb_input_key_info_iterator_t i /**< */); 4150 4151 /** 4152 * Get the next element of the iterator 4153 * @param i Pointer to a xcb_input_button_info_iterator_t 4154 * 4155 * Get the next element in the iterator. The member rem is 4156 * decreased by one. The member data points to the next 4157 * element. The member index is increased by sizeof(xcb_input_button_info_t) 4158 */ 4159 4160 /***************************************************************************** 4161 ** 4162 ** void xcb_input_button_info_next 4163 ** 4164 ** @param xcb_input_button_info_iterator_t *i 4165 ** @returns void 4166 ** 4167 *****************************************************************************/ 4168 4169 void 4170 xcb_input_button_info_next (xcb_input_button_info_iterator_t *i /**< */); 4171 4172 /** 4173 * Return the iterator pointing to the last element 4174 * @param i An xcb_input_button_info_iterator_t 4175 * @return The iterator pointing to the last element 4176 * 4177 * Set the current element in the iterator to the last element. 4178 * The member rem is set to 0. The member data points to the 4179 * last element. 4180 */ 4181 4182 /***************************************************************************** 4183 ** 4184 ** xcb_generic_iterator_t xcb_input_button_info_end 4185 ** 4186 ** @param xcb_input_button_info_iterator_t i 4187 ** @returns xcb_generic_iterator_t 4188 ** 4189 *****************************************************************************/ 4190 4191 xcb_generic_iterator_t 4192 xcb_input_button_info_end (xcb_input_button_info_iterator_t i /**< */); 4193 4194 /** 4195 * Get the next element of the iterator 4196 * @param i Pointer to a xcb_input_axis_info_iterator_t 4197 * 4198 * Get the next element in the iterator. The member rem is 4199 * decreased by one. The member data points to the next 4200 * element. The member index is increased by sizeof(xcb_input_axis_info_t) 4201 */ 4202 4203 /***************************************************************************** 4204 ** 4205 ** void xcb_input_axis_info_next 4206 ** 4207 ** @param xcb_input_axis_info_iterator_t *i 4208 ** @returns void 4209 ** 4210 *****************************************************************************/ 4211 4212 void 4213 xcb_input_axis_info_next (xcb_input_axis_info_iterator_t *i /**< */); 4214 4215 /** 4216 * Return the iterator pointing to the last element 4217 * @param i An xcb_input_axis_info_iterator_t 4218 * @return The iterator pointing to the last element 4219 * 4220 * Set the current element in the iterator to the last element. 4221 * The member rem is set to 0. The member data points to the 4222 * last element. 4223 */ 4224 4225 /***************************************************************************** 4226 ** 4227 ** xcb_generic_iterator_t xcb_input_axis_info_end 4228 ** 4229 ** @param xcb_input_axis_info_iterator_t i 4230 ** @returns xcb_generic_iterator_t 4231 ** 4232 *****************************************************************************/ 4233 4234 xcb_generic_iterator_t 4235 xcb_input_axis_info_end (xcb_input_axis_info_iterator_t i /**< */); 4236 4237 int 4238 xcb_input_valuator_info_sizeof (const void *_buffer /**< */); 4239 4240 4241 /***************************************************************************** 4242 ** 4243 ** xcb_input_axis_info_t * xcb_input_valuator_info_axes 4244 ** 4245 ** @param const xcb_input_valuator_info_t *R 4246 ** @returns xcb_input_axis_info_t * 4247 ** 4248 *****************************************************************************/ 4249 4250 xcb_input_axis_info_t * 4251 xcb_input_valuator_info_axes (const xcb_input_valuator_info_t *R /**< */); 4252 4253 4254 /***************************************************************************** 4255 ** 4256 ** int xcb_input_valuator_info_axes_length 4257 ** 4258 ** @param const xcb_input_valuator_info_t *R 4259 ** @returns int 4260 ** 4261 *****************************************************************************/ 4262 4263 int 4264 xcb_input_valuator_info_axes_length (const xcb_input_valuator_info_t *R /**< */); 4265 4266 4267 /***************************************************************************** 4268 ** 4269 ** xcb_input_axis_info_iterator_t xcb_input_valuator_info_axes_iterator 4270 ** 4271 ** @param const xcb_input_valuator_info_t *R 4272 ** @returns xcb_input_axis_info_iterator_t 4273 ** 4274 *****************************************************************************/ 4275 4276 xcb_input_axis_info_iterator_t 4277 xcb_input_valuator_info_axes_iterator (const xcb_input_valuator_info_t *R /**< */); 4278 4279 /** 4280 * Get the next element of the iterator 4281 * @param i Pointer to a xcb_input_valuator_info_iterator_t 4282 * 4283 * Get the next element in the iterator. The member rem is 4284 * decreased by one. The member data points to the next 4285 * element. The member index is increased by sizeof(xcb_input_valuator_info_t) 4286 */ 4287 4288 /***************************************************************************** 4289 ** 4290 ** void xcb_input_valuator_info_next 4291 ** 4292 ** @param xcb_input_valuator_info_iterator_t *i 4293 ** @returns void 4294 ** 4295 *****************************************************************************/ 4296 4297 void 4298 xcb_input_valuator_info_next (xcb_input_valuator_info_iterator_t *i /**< */); 4299 4300 /** 4301 * Return the iterator pointing to the last element 4302 * @param i An xcb_input_valuator_info_iterator_t 4303 * @return The iterator pointing to the last element 4304 * 4305 * Set the current element in the iterator to the last element. 4306 * The member rem is set to 0. The member data points to the 4307 * last element. 4308 */ 4309 4310 /***************************************************************************** 4311 ** 4312 ** xcb_generic_iterator_t xcb_input_valuator_info_end 4313 ** 4314 ** @param xcb_input_valuator_info_iterator_t i 4315 ** @returns xcb_generic_iterator_t 4316 ** 4317 *****************************************************************************/ 4318 4319 xcb_generic_iterator_t 4320 xcb_input_valuator_info_end (xcb_input_valuator_info_iterator_t i /**< */); 4321 4322 /** 4323 * Get the next element of the iterator 4324 * @param i Pointer to a xcb_input_input_info_iterator_t 4325 * 4326 * Get the next element in the iterator. The member rem is 4327 * decreased by one. The member data points to the next 4328 * element. The member index is increased by sizeof(xcb_input_input_info_t) 4329 */ 4330 4331 /***************************************************************************** 4332 ** 4333 ** void xcb_input_input_info_next 4334 ** 4335 ** @param xcb_input_input_info_iterator_t *i 4336 ** @returns void 4337 ** 4338 *****************************************************************************/ 4339 4340 void 4341 xcb_input_input_info_next (xcb_input_input_info_iterator_t *i /**< */); 4342 4343 /** 4344 * Return the iterator pointing to the last element 4345 * @param i An xcb_input_input_info_iterator_t 4346 * @return The iterator pointing to the last element 4347 * 4348 * Set the current element in the iterator to the last element. 4349 * The member rem is set to 0. The member data points to the 4350 * last element. 4351 */ 4352 4353 /***************************************************************************** 4354 ** 4355 ** xcb_generic_iterator_t xcb_input_input_info_end 4356 ** 4357 ** @param xcb_input_input_info_iterator_t i 4358 ** @returns xcb_generic_iterator_t 4359 ** 4360 *****************************************************************************/ 4361 4362 xcb_generic_iterator_t 4363 xcb_input_input_info_end (xcb_input_input_info_iterator_t i /**< */); 4364 4365 int 4366 xcb_input_device_name_sizeof (const void *_buffer /**< */); 4367 4368 4369 /***************************************************************************** 4370 ** 4371 ** char * xcb_input_device_name_string 4372 ** 4373 ** @param const xcb_input_device_name_t *R 4374 ** @returns char * 4375 ** 4376 *****************************************************************************/ 4377 4378 char * 4379 xcb_input_device_name_string (const xcb_input_device_name_t *R /**< */); 4380 4381 4382 /***************************************************************************** 4383 ** 4384 ** int xcb_input_device_name_string_length 4385 ** 4386 ** @param const xcb_input_device_name_t *R 4387 ** @returns int 4388 ** 4389 *****************************************************************************/ 4390 4391 int 4392 xcb_input_device_name_string_length (const xcb_input_device_name_t *R /**< */); 4393 4394 4395 /***************************************************************************** 4396 ** 4397 ** xcb_generic_iterator_t xcb_input_device_name_string_end 4398 ** 4399 ** @param const xcb_input_device_name_t *R 4400 ** @returns xcb_generic_iterator_t 4401 ** 4402 *****************************************************************************/ 4403 4404 xcb_generic_iterator_t 4405 xcb_input_device_name_string_end (const xcb_input_device_name_t *R /**< */); 4406 4407 /** 4408 * Get the next element of the iterator 4409 * @param i Pointer to a xcb_input_device_name_iterator_t 4410 * 4411 * Get the next element in the iterator. The member rem is 4412 * decreased by one. The member data points to the next 4413 * element. The member index is increased by sizeof(xcb_input_device_name_t) 4414 */ 4415 4416 /***************************************************************************** 4417 ** 4418 ** void xcb_input_device_name_next 4419 ** 4420 ** @param xcb_input_device_name_iterator_t *i 4421 ** @returns void 4422 ** 4423 *****************************************************************************/ 4424 4425 void 4426 xcb_input_device_name_next (xcb_input_device_name_iterator_t *i /**< */); 4427 4428 /** 4429 * Return the iterator pointing to the last element 4430 * @param i An xcb_input_device_name_iterator_t 4431 * @return The iterator pointing to the last element 4432 * 4433 * Set the current element in the iterator to the last element. 4434 * The member rem is set to 0. The member data points to the 4435 * last element. 4436 */ 4437 4438 /***************************************************************************** 4439 ** 4440 ** xcb_generic_iterator_t xcb_input_device_name_end 4441 ** 4442 ** @param xcb_input_device_name_iterator_t i 4443 ** @returns xcb_generic_iterator_t 4444 ** 4445 *****************************************************************************/ 4446 4447 xcb_generic_iterator_t 4448 xcb_input_device_name_end (xcb_input_device_name_iterator_t i /**< */); 4449 4450 int 4451 xcb_input_list_input_devices_sizeof (const void *_buffer /**< */); 4452 4453 /** 4454 * 4455 * @param c The connection 4456 * @return A cookie 4457 * 4458 * Delivers a request to the X server. 4459 * 4460 */ 4461 4462 /***************************************************************************** 4463 ** 4464 ** xcb_input_list_input_devices_cookie_t xcb_input_list_input_devices 4465 ** 4466 ** @param xcb_connection_t *c 4467 ** @returns xcb_input_list_input_devices_cookie_t 4468 ** 4469 *****************************************************************************/ 4470 4471 xcb_input_list_input_devices_cookie_t 4472 xcb_input_list_input_devices (xcb_connection_t *c /**< */); 4473 4474 /** 4475 * 4476 * @param c The connection 4477 * @return A cookie 4478 * 4479 * Delivers a request to the X server. 4480 * 4481 * This form can be used only if the request will cause 4482 * a reply to be generated. Any returned error will be 4483 * placed in the event queue. 4484 */ 4485 4486 /***************************************************************************** 4487 ** 4488 ** xcb_input_list_input_devices_cookie_t xcb_input_list_input_devices_unchecked 4489 ** 4490 ** @param xcb_connection_t *c 4491 ** @returns xcb_input_list_input_devices_cookie_t 4492 ** 4493 *****************************************************************************/ 4494 4495 xcb_input_list_input_devices_cookie_t 4496 xcb_input_list_input_devices_unchecked (xcb_connection_t *c /**< */); 4497 4498 4499 /***************************************************************************** 4500 ** 4501 ** xcb_input_device_info_t * xcb_input_list_input_devices_devices 4502 ** 4503 ** @param const xcb_input_list_input_devices_reply_t *R 4504 ** @returns xcb_input_device_info_t * 4505 ** 4506 *****************************************************************************/ 4507 4508 xcb_input_device_info_t * 4509 xcb_input_list_input_devices_devices (const xcb_input_list_input_devices_reply_t *R /**< */); 4510 4511 4512 /***************************************************************************** 4513 ** 4514 ** int xcb_input_list_input_devices_devices_length 4515 ** 4516 ** @param const xcb_input_list_input_devices_reply_t *R 4517 ** @returns int 4518 ** 4519 *****************************************************************************/ 4520 4521 int 4522 xcb_input_list_input_devices_devices_length (const xcb_input_list_input_devices_reply_t *R /**< */); 4523 4524 4525 /***************************************************************************** 4526 ** 4527 ** xcb_input_device_info_iterator_t xcb_input_list_input_devices_devices_iterator 4528 ** 4529 ** @param const xcb_input_list_input_devices_reply_t *R 4530 ** @returns xcb_input_device_info_iterator_t 4531 ** 4532 *****************************************************************************/ 4533 4534 xcb_input_device_info_iterator_t 4535 xcb_input_list_input_devices_devices_iterator (const xcb_input_list_input_devices_reply_t *R /**< */); 4536 4537 /** 4538 * Return the reply 4539 * @param c The connection 4540 * @param cookie The cookie 4541 * @param e The xcb_generic_error_t supplied 4542 * 4543 * Returns the reply of the request asked by 4544 * 4545 * The parameter @p e supplied to this function must be NULL if 4546 * xcb_input_list_input_devices_unchecked(). is used. 4547 * Otherwise, it stores the error if any. 4548 * 4549 * The returned value must be freed by the caller using free(). 4550 */ 4551 4552 /***************************************************************************** 4553 ** 4554 ** xcb_input_list_input_devices_reply_t * xcb_input_list_input_devices_reply 4555 ** 4556 ** @param xcb_connection_t *c 4557 ** @param xcb_input_list_input_devices_cookie_t cookie 4558 ** @param xcb_generic_error_t **e 4559 ** @returns xcb_input_list_input_devices_reply_t * 4560 ** 4561 *****************************************************************************/ 4562 4563 xcb_input_list_input_devices_reply_t * 4564 xcb_input_list_input_devices_reply (xcb_connection_t *c /**< */, 4565 xcb_input_list_input_devices_cookie_t cookie /**< */, 4566 xcb_generic_error_t **e /**< */); 4567 4568 /** 4569 * Get the next element of the iterator 4570 * @param i Pointer to a xcb_input_input_class_info_iterator_t 4571 * 4572 * Get the next element in the iterator. The member rem is 4573 * decreased by one. The member data points to the next 4574 * element. The member index is increased by sizeof(xcb_input_input_class_info_t) 4575 */ 4576 4577 /***************************************************************************** 4578 ** 4579 ** void xcb_input_input_class_info_next 4580 ** 4581 ** @param xcb_input_input_class_info_iterator_t *i 4582 ** @returns void 4583 ** 4584 *****************************************************************************/ 4585 4586 void 4587 xcb_input_input_class_info_next (xcb_input_input_class_info_iterator_t *i /**< */); 4588 4589 /** 4590 * Return the iterator pointing to the last element 4591 * @param i An xcb_input_input_class_info_iterator_t 4592 * @return The iterator pointing to the last element 4593 * 4594 * Set the current element in the iterator to the last element. 4595 * The member rem is set to 0. The member data points to the 4596 * last element. 4597 */ 4598 4599 /***************************************************************************** 4600 ** 4601 ** xcb_generic_iterator_t xcb_input_input_class_info_end 4602 ** 4603 ** @param xcb_input_input_class_info_iterator_t i 4604 ** @returns xcb_generic_iterator_t 4605 ** 4606 *****************************************************************************/ 4607 4608 xcb_generic_iterator_t 4609 xcb_input_input_class_info_end (xcb_input_input_class_info_iterator_t i /**< */); 4610 4611 int 4612 xcb_input_open_device_sizeof (const void *_buffer /**< */); 4613 4614 /** 4615 * 4616 * @param c The connection 4617 * @return A cookie 4618 * 4619 * Delivers a request to the X server. 4620 * 4621 */ 4622 4623 /***************************************************************************** 4624 ** 4625 ** xcb_input_open_device_cookie_t xcb_input_open_device 4626 ** 4627 ** @param xcb_connection_t *c 4628 ** @param uint8_t device_id 4629 ** @returns xcb_input_open_device_cookie_t 4630 ** 4631 *****************************************************************************/ 4632 4633 xcb_input_open_device_cookie_t 4634 xcb_input_open_device (xcb_connection_t *c /**< */, 4635 uint8_t device_id /**< */); 4636 4637 /** 4638 * 4639 * @param c The connection 4640 * @return A cookie 4641 * 4642 * Delivers a request to the X server. 4643 * 4644 * This form can be used only if the request will cause 4645 * a reply to be generated. Any returned error will be 4646 * placed in the event queue. 4647 */ 4648 4649 /***************************************************************************** 4650 ** 4651 ** xcb_input_open_device_cookie_t xcb_input_open_device_unchecked 4652 ** 4653 ** @param xcb_connection_t *c 4654 ** @param uint8_t device_id 4655 ** @returns xcb_input_open_device_cookie_t 4656 ** 4657 *****************************************************************************/ 4658 4659 xcb_input_open_device_cookie_t 4660 xcb_input_open_device_unchecked (xcb_connection_t *c /**< */, 4661 uint8_t device_id /**< */); 4662 4663 4664 /***************************************************************************** 4665 ** 4666 ** xcb_input_input_class_info_t * xcb_input_open_device_class_info 4667 ** 4668 ** @param const xcb_input_open_device_reply_t *R 4669 ** @returns xcb_input_input_class_info_t * 4670 ** 4671 *****************************************************************************/ 4672 4673 xcb_input_input_class_info_t * 4674 xcb_input_open_device_class_info (const xcb_input_open_device_reply_t *R /**< */); 4675 4676 4677 /***************************************************************************** 4678 ** 4679 ** int xcb_input_open_device_class_info_length 4680 ** 4681 ** @param const xcb_input_open_device_reply_t *R 4682 ** @returns int 4683 ** 4684 *****************************************************************************/ 4685 4686 int 4687 xcb_input_open_device_class_info_length (const xcb_input_open_device_reply_t *R /**< */); 4688 4689 4690 /***************************************************************************** 4691 ** 4692 ** xcb_input_input_class_info_iterator_t xcb_input_open_device_class_info_iterator 4693 ** 4694 ** @param const xcb_input_open_device_reply_t *R 4695 ** @returns xcb_input_input_class_info_iterator_t 4696 ** 4697 *****************************************************************************/ 4698 4699 xcb_input_input_class_info_iterator_t 4700 xcb_input_open_device_class_info_iterator (const xcb_input_open_device_reply_t *R /**< */); 4701 4702 /** 4703 * Return the reply 4704 * @param c The connection 4705 * @param cookie The cookie 4706 * @param e The xcb_generic_error_t supplied 4707 * 4708 * Returns the reply of the request asked by 4709 * 4710 * The parameter @p e supplied to this function must be NULL if 4711 * xcb_input_open_device_unchecked(). is used. 4712 * Otherwise, it stores the error if any. 4713 * 4714 * The returned value must be freed by the caller using free(). 4715 */ 4716 4717 /***************************************************************************** 4718 ** 4719 ** xcb_input_open_device_reply_t * xcb_input_open_device_reply 4720 ** 4721 ** @param xcb_connection_t *c 4722 ** @param xcb_input_open_device_cookie_t cookie 4723 ** @param xcb_generic_error_t **e 4724 ** @returns xcb_input_open_device_reply_t * 4725 ** 4726 *****************************************************************************/ 4727 4728 xcb_input_open_device_reply_t * 4729 xcb_input_open_device_reply (xcb_connection_t *c /**< */, 4730 xcb_input_open_device_cookie_t cookie /**< */, 4731 xcb_generic_error_t **e /**< */); 4732 4733 /** 4734 * 4735 * @param c The connection 4736 * @return A cookie 4737 * 4738 * Delivers a request to the X server. 4739 * 4740 * This form can be used only if the request will not cause 4741 * a reply to be generated. Any returned error will be 4742 * saved for handling by xcb_request_check(). 4743 */ 4744 4745 /***************************************************************************** 4746 ** 4747 ** xcb_void_cookie_t xcb_input_close_device_checked 4748 ** 4749 ** @param xcb_connection_t *c 4750 ** @param uint8_t device_id 4751 ** @returns xcb_void_cookie_t 4752 ** 4753 *****************************************************************************/ 4754 4755 xcb_void_cookie_t 4756 xcb_input_close_device_checked (xcb_connection_t *c /**< */, 4757 uint8_t device_id /**< */); 4758 4759 /** 4760 * 4761 * @param c The connection 4762 * @return A cookie 4763 * 4764 * Delivers a request to the X server. 4765 * 4766 */ 4767 4768 /***************************************************************************** 4769 ** 4770 ** xcb_void_cookie_t xcb_input_close_device 4771 ** 4772 ** @param xcb_connection_t *c 4773 ** @param uint8_t device_id 4774 ** @returns xcb_void_cookie_t 4775 ** 4776 *****************************************************************************/ 4777 4778 xcb_void_cookie_t 4779 xcb_input_close_device (xcb_connection_t *c /**< */, 4780 uint8_t device_id /**< */); 4781 4782 /** 4783 * 4784 * @param c The connection 4785 * @return A cookie 4786 * 4787 * Delivers a request to the X server. 4788 * 4789 */ 4790 4791 /***************************************************************************** 4792 ** 4793 ** xcb_input_set_device_mode_cookie_t xcb_input_set_device_mode 4794 ** 4795 ** @param xcb_connection_t *c 4796 ** @param uint8_t device_id 4797 ** @param uint8_t mode 4798 ** @returns xcb_input_set_device_mode_cookie_t 4799 ** 4800 *****************************************************************************/ 4801 4802 xcb_input_set_device_mode_cookie_t 4803 xcb_input_set_device_mode (xcb_connection_t *c /**< */, 4804 uint8_t device_id /**< */, 4805 uint8_t mode /**< */); 4806 4807 /** 4808 * 4809 * @param c The connection 4810 * @return A cookie 4811 * 4812 * Delivers a request to the X server. 4813 * 4814 * This form can be used only if the request will cause 4815 * a reply to be generated. Any returned error will be 4816 * placed in the event queue. 4817 */ 4818 4819 /***************************************************************************** 4820 ** 4821 ** xcb_input_set_device_mode_cookie_t xcb_input_set_device_mode_unchecked 4822 ** 4823 ** @param xcb_connection_t *c 4824 ** @param uint8_t device_id 4825 ** @param uint8_t mode 4826 ** @returns xcb_input_set_device_mode_cookie_t 4827 ** 4828 *****************************************************************************/ 4829 4830 xcb_input_set_device_mode_cookie_t 4831 xcb_input_set_device_mode_unchecked (xcb_connection_t *c /**< */, 4832 uint8_t device_id /**< */, 4833 uint8_t mode /**< */); 4834 4835 /** 4836 * Return the reply 4837 * @param c The connection 4838 * @param cookie The cookie 4839 * @param e The xcb_generic_error_t supplied 4840 * 4841 * Returns the reply of the request asked by 4842 * 4843 * The parameter @p e supplied to this function must be NULL if 4844 * xcb_input_set_device_mode_unchecked(). is used. 4845 * Otherwise, it stores the error if any. 4846 * 4847 * The returned value must be freed by the caller using free(). 4848 */ 4849 4850 /***************************************************************************** 4851 ** 4852 ** xcb_input_set_device_mode_reply_t * xcb_input_set_device_mode_reply 4853 ** 4854 ** @param xcb_connection_t *c 4855 ** @param xcb_input_set_device_mode_cookie_t cookie 4856 ** @param xcb_generic_error_t **e 4857 ** @returns xcb_input_set_device_mode_reply_t * 4858 ** 4859 *****************************************************************************/ 4860 4861 xcb_input_set_device_mode_reply_t * 4862 xcb_input_set_device_mode_reply (xcb_connection_t *c /**< */, 4863 xcb_input_set_device_mode_cookie_t cookie /**< */, 4864 xcb_generic_error_t **e /**< */); 4865 4866 int 4867 xcb_input_select_extension_event_sizeof (const void *_buffer /**< */); 4868 4869 /** 4870 * 4871 * @param c The connection 4872 * @return A cookie 4873 * 4874 * Delivers a request to the X server. 4875 * 4876 * This form can be used only if the request will not cause 4877 * a reply to be generated. Any returned error will be 4878 * saved for handling by xcb_request_check(). 4879 */ 4880 4881 /***************************************************************************** 4882 ** 4883 ** xcb_void_cookie_t xcb_input_select_extension_event_checked 4884 ** 4885 ** @param xcb_connection_t *c 4886 ** @param xcb_window_t window 4887 ** @param uint16_t num_classes 4888 ** @param const xcb_input_event_class_t *classes 4889 ** @returns xcb_void_cookie_t 4890 ** 4891 *****************************************************************************/ 4892 4893 xcb_void_cookie_t 4894 xcb_input_select_extension_event_checked (xcb_connection_t *c /**< */, 4895 xcb_window_t window /**< */, 4896 uint16_t num_classes /**< */, 4897 const xcb_input_event_class_t *classes /**< */); 4898 4899 /** 4900 * 4901 * @param c The connection 4902 * @return A cookie 4903 * 4904 * Delivers a request to the X server. 4905 * 4906 */ 4907 4908 /***************************************************************************** 4909 ** 4910 ** xcb_void_cookie_t xcb_input_select_extension_event 4911 ** 4912 ** @param xcb_connection_t *c 4913 ** @param xcb_window_t window 4914 ** @param uint16_t num_classes 4915 ** @param const xcb_input_event_class_t *classes 4916 ** @returns xcb_void_cookie_t 4917 ** 4918 *****************************************************************************/ 4919 4920 xcb_void_cookie_t 4921 xcb_input_select_extension_event (xcb_connection_t *c /**< */, 4922 xcb_window_t window /**< */, 4923 uint16_t num_classes /**< */, 4924 const xcb_input_event_class_t *classes /**< */); 4925 4926 int 4927 xcb_input_get_selected_extension_events_sizeof (const void *_buffer /**< */); 4928 4929 /** 4930 * 4931 * @param c The connection 4932 * @return A cookie 4933 * 4934 * Delivers a request to the X server. 4935 * 4936 */ 4937 4938 /***************************************************************************** 4939 ** 4940 ** xcb_input_get_selected_extension_events_cookie_t xcb_input_get_selected_extension_events 4941 ** 4942 ** @param xcb_connection_t *c 4943 ** @param xcb_window_t window 4944 ** @returns xcb_input_get_selected_extension_events_cookie_t 4945 ** 4946 *****************************************************************************/ 4947 4948 xcb_input_get_selected_extension_events_cookie_t 4949 xcb_input_get_selected_extension_events (xcb_connection_t *c /**< */, 4950 xcb_window_t window /**< */); 4951 4952 /** 4953 * 4954 * @param c The connection 4955 * @return A cookie 4956 * 4957 * Delivers a request to the X server. 4958 * 4959 * This form can be used only if the request will cause 4960 * a reply to be generated. Any returned error will be 4961 * placed in the event queue. 4962 */ 4963 4964 /***************************************************************************** 4965 ** 4966 ** xcb_input_get_selected_extension_events_cookie_t xcb_input_get_selected_extension_events_unchecked 4967 ** 4968 ** @param xcb_connection_t *c 4969 ** @param xcb_window_t window 4970 ** @returns xcb_input_get_selected_extension_events_cookie_t 4971 ** 4972 *****************************************************************************/ 4973 4974 xcb_input_get_selected_extension_events_cookie_t 4975 xcb_input_get_selected_extension_events_unchecked (xcb_connection_t *c /**< */, 4976 xcb_window_t window /**< */); 4977 4978 4979 /***************************************************************************** 4980 ** 4981 ** xcb_input_event_class_t * xcb_input_get_selected_extension_events_this_classes 4982 ** 4983 ** @param const xcb_input_get_selected_extension_events_reply_t *R 4984 ** @returns xcb_input_event_class_t * 4985 ** 4986 *****************************************************************************/ 4987 4988 xcb_input_event_class_t * 4989 xcb_input_get_selected_extension_events_this_classes (const xcb_input_get_selected_extension_events_reply_t *R /**< */); 4990 4991 4992 /***************************************************************************** 4993 ** 4994 ** int xcb_input_get_selected_extension_events_this_classes_length 4995 ** 4996 ** @param const xcb_input_get_selected_extension_events_reply_t *R 4997 ** @returns int 4998 ** 4999 *****************************************************************************/ 5000 5001 int 5002 xcb_input_get_selected_extension_events_this_classes_length (const xcb_input_get_selected_extension_events_reply_t *R /**< */); 5003 5004 5005 /***************************************************************************** 5006 ** 5007 ** xcb_generic_iterator_t xcb_input_get_selected_extension_events_this_classes_end 5008 ** 5009 ** @param const xcb_input_get_selected_extension_events_reply_t *R 5010 ** @returns xcb_generic_iterator_t 5011 ** 5012 *****************************************************************************/ 5013 5014 xcb_generic_iterator_t 5015 xcb_input_get_selected_extension_events_this_classes_end (const xcb_input_get_selected_extension_events_reply_t *R /**< */); 5016 5017 5018 /***************************************************************************** 5019 ** 5020 ** xcb_input_event_class_t * xcb_input_get_selected_extension_events_all_classes 5021 ** 5022 ** @param const xcb_input_get_selected_extension_events_reply_t *R 5023 ** @returns xcb_input_event_class_t * 5024 ** 5025 *****************************************************************************/ 5026 5027 xcb_input_event_class_t * 5028 xcb_input_get_selected_extension_events_all_classes (const xcb_input_get_selected_extension_events_reply_t *R /**< */); 5029 5030 5031 /***************************************************************************** 5032 ** 5033 ** int xcb_input_get_selected_extension_events_all_classes_length 5034 ** 5035 ** @param const xcb_input_get_selected_extension_events_reply_t *R 5036 ** @returns int 5037 ** 5038 *****************************************************************************/ 5039 5040 int 5041 xcb_input_get_selected_extension_events_all_classes_length (const xcb_input_get_selected_extension_events_reply_t *R /**< */); 5042 5043 5044 /***************************************************************************** 5045 ** 5046 ** xcb_generic_iterator_t xcb_input_get_selected_extension_events_all_classes_end 5047 ** 5048 ** @param const xcb_input_get_selected_extension_events_reply_t *R 5049 ** @returns xcb_generic_iterator_t 5050 ** 5051 *****************************************************************************/ 5052 5053 xcb_generic_iterator_t 5054 xcb_input_get_selected_extension_events_all_classes_end (const xcb_input_get_selected_extension_events_reply_t *R /**< */); 5055 5056 /** 5057 * Return the reply 5058 * @param c The connection 5059 * @param cookie The cookie 5060 * @param e The xcb_generic_error_t supplied 5061 * 5062 * Returns the reply of the request asked by 5063 * 5064 * The parameter @p e supplied to this function must be NULL if 5065 * xcb_input_get_selected_extension_events_unchecked(). is used. 5066 * Otherwise, it stores the error if any. 5067 * 5068 * The returned value must be freed by the caller using free(). 5069 */ 5070 5071 /***************************************************************************** 5072 ** 5073 ** xcb_input_get_selected_extension_events_reply_t * xcb_input_get_selected_extension_events_reply 5074 ** 5075 ** @param xcb_connection_t *c 5076 ** @param xcb_input_get_selected_extension_events_cookie_t cookie 5077 ** @param xcb_generic_error_t **e 5078 ** @returns xcb_input_get_selected_extension_events_reply_t * 5079 ** 5080 *****************************************************************************/ 5081 5082 xcb_input_get_selected_extension_events_reply_t * 5083 xcb_input_get_selected_extension_events_reply (xcb_connection_t *c /**< */, 5084 xcb_input_get_selected_extension_events_cookie_t cookie /**< */, 5085 xcb_generic_error_t **e /**< */); 5086 5087 int 5088 xcb_input_change_device_dont_propagate_list_sizeof (const void *_buffer /**< */); 5089 5090 /** 5091 * 5092 * @param c The connection 5093 * @return A cookie 5094 * 5095 * Delivers a request to the X server. 5096 * 5097 * This form can be used only if the request will not cause 5098 * a reply to be generated. Any returned error will be 5099 * saved for handling by xcb_request_check(). 5100 */ 5101 5102 /***************************************************************************** 5103 ** 5104 ** xcb_void_cookie_t xcb_input_change_device_dont_propagate_list_checked 5105 ** 5106 ** @param xcb_connection_t *c 5107 ** @param xcb_window_t window 5108 ** @param uint16_t num_classes 5109 ** @param uint8_t mode 5110 ** @param const xcb_input_event_class_t *classes 5111 ** @returns xcb_void_cookie_t 5112 ** 5113 *****************************************************************************/ 5114 5115 xcb_void_cookie_t 5116 xcb_input_change_device_dont_propagate_list_checked (xcb_connection_t *c /**< */, 5117 xcb_window_t window /**< */, 5118 uint16_t num_classes /**< */, 5119 uint8_t mode /**< */, 5120 const xcb_input_event_class_t *classes /**< */); 5121 5122 /** 5123 * 5124 * @param c The connection 5125 * @return A cookie 5126 * 5127 * Delivers a request to the X server. 5128 * 5129 */ 5130 5131 /***************************************************************************** 5132 ** 5133 ** xcb_void_cookie_t xcb_input_change_device_dont_propagate_list 5134 ** 5135 ** @param xcb_connection_t *c 5136 ** @param xcb_window_t window 5137 ** @param uint16_t num_classes 5138 ** @param uint8_t mode 5139 ** @param const xcb_input_event_class_t *classes 5140 ** @returns xcb_void_cookie_t 5141 ** 5142 *****************************************************************************/ 5143 5144 xcb_void_cookie_t 5145 xcb_input_change_device_dont_propagate_list (xcb_connection_t *c /**< */, 5146 xcb_window_t window /**< */, 5147 uint16_t num_classes /**< */, 5148 uint8_t mode /**< */, 5149 const xcb_input_event_class_t *classes /**< */); 5150 5151 int 5152 xcb_input_get_device_dont_propagate_list_sizeof (const void *_buffer /**< */); 5153 5154 /** 5155 * 5156 * @param c The connection 5157 * @return A cookie 5158 * 5159 * Delivers a request to the X server. 5160 * 5161 */ 5162 5163 /***************************************************************************** 5164 ** 5165 ** xcb_input_get_device_dont_propagate_list_cookie_t xcb_input_get_device_dont_propagate_list 5166 ** 5167 ** @param xcb_connection_t *c 5168 ** @param xcb_window_t window 5169 ** @returns xcb_input_get_device_dont_propagate_list_cookie_t 5170 ** 5171 *****************************************************************************/ 5172 5173 xcb_input_get_device_dont_propagate_list_cookie_t 5174 xcb_input_get_device_dont_propagate_list (xcb_connection_t *c /**< */, 5175 xcb_window_t window /**< */); 5176 5177 /** 5178 * 5179 * @param c The connection 5180 * @return A cookie 5181 * 5182 * Delivers a request to the X server. 5183 * 5184 * This form can be used only if the request will cause 5185 * a reply to be generated. Any returned error will be 5186 * placed in the event queue. 5187 */ 5188 5189 /***************************************************************************** 5190 ** 5191 ** xcb_input_get_device_dont_propagate_list_cookie_t xcb_input_get_device_dont_propagate_list_unchecked 5192 ** 5193 ** @param xcb_connection_t *c 5194 ** @param xcb_window_t window 5195 ** @returns xcb_input_get_device_dont_propagate_list_cookie_t 5196 ** 5197 *****************************************************************************/ 5198 5199 xcb_input_get_device_dont_propagate_list_cookie_t 5200 xcb_input_get_device_dont_propagate_list_unchecked (xcb_connection_t *c /**< */, 5201 xcb_window_t window /**< */); 5202 5203 5204 /***************************************************************************** 5205 ** 5206 ** xcb_input_event_class_t * xcb_input_get_device_dont_propagate_list_classes 5207 ** 5208 ** @param const xcb_input_get_device_dont_propagate_list_reply_t *R 5209 ** @returns xcb_input_event_class_t * 5210 ** 5211 *****************************************************************************/ 5212 5213 xcb_input_event_class_t * 5214 xcb_input_get_device_dont_propagate_list_classes (const xcb_input_get_device_dont_propagate_list_reply_t *R /**< */); 5215 5216 5217 /***************************************************************************** 5218 ** 5219 ** int xcb_input_get_device_dont_propagate_list_classes_length 5220 ** 5221 ** @param const xcb_input_get_device_dont_propagate_list_reply_t *R 5222 ** @returns int 5223 ** 5224 *****************************************************************************/ 5225 5226 int 5227 xcb_input_get_device_dont_propagate_list_classes_length (const xcb_input_get_device_dont_propagate_list_reply_t *R /**< */); 5228 5229 5230 /***************************************************************************** 5231 ** 5232 ** xcb_generic_iterator_t xcb_input_get_device_dont_propagate_list_classes_end 5233 ** 5234 ** @param const xcb_input_get_device_dont_propagate_list_reply_t *R 5235 ** @returns xcb_generic_iterator_t 5236 ** 5237 *****************************************************************************/ 5238 5239 xcb_generic_iterator_t 5240 xcb_input_get_device_dont_propagate_list_classes_end (const xcb_input_get_device_dont_propagate_list_reply_t *R /**< */); 5241 5242 /** 5243 * Return the reply 5244 * @param c The connection 5245 * @param cookie The cookie 5246 * @param e The xcb_generic_error_t supplied 5247 * 5248 * Returns the reply of the request asked by 5249 * 5250 * The parameter @p e supplied to this function must be NULL if 5251 * xcb_input_get_device_dont_propagate_list_unchecked(). is used. 5252 * Otherwise, it stores the error if any. 5253 * 5254 * The returned value must be freed by the caller using free(). 5255 */ 5256 5257 /***************************************************************************** 5258 ** 5259 ** xcb_input_get_device_dont_propagate_list_reply_t * xcb_input_get_device_dont_propagate_list_reply 5260 ** 5261 ** @param xcb_connection_t *c 5262 ** @param xcb_input_get_device_dont_propagate_list_cookie_t cookie 5263 ** @param xcb_generic_error_t **e 5264 ** @returns xcb_input_get_device_dont_propagate_list_reply_t * 5265 ** 5266 *****************************************************************************/ 5267 5268 xcb_input_get_device_dont_propagate_list_reply_t * 5269 xcb_input_get_device_dont_propagate_list_reply (xcb_connection_t *c /**< */, 5270 xcb_input_get_device_dont_propagate_list_cookie_t cookie /**< */, 5271 xcb_generic_error_t **e /**< */); 5272 5273 /** 5274 * Get the next element of the iterator 5275 * @param i Pointer to a xcb_input_device_time_coord_iterator_t 5276 * 5277 * Get the next element in the iterator. The member rem is 5278 * decreased by one. The member data points to the next 5279 * element. The member index is increased by sizeof(xcb_input_device_time_coord_t) 5280 */ 5281 5282 /***************************************************************************** 5283 ** 5284 ** void xcb_input_device_time_coord_next 5285 ** 5286 ** @param xcb_input_device_time_coord_iterator_t *i 5287 ** @returns void 5288 ** 5289 *****************************************************************************/ 5290 5291 void 5292 xcb_input_device_time_coord_next (xcb_input_device_time_coord_iterator_t *i /**< */); 5293 5294 /** 5295 * Return the iterator pointing to the last element 5296 * @param i An xcb_input_device_time_coord_iterator_t 5297 * @return The iterator pointing to the last element 5298 * 5299 * Set the current element in the iterator to the last element. 5300 * The member rem is set to 0. The member data points to the 5301 * last element. 5302 */ 5303 5304 /***************************************************************************** 5305 ** 5306 ** xcb_generic_iterator_t xcb_input_device_time_coord_end 5307 ** 5308 ** @param xcb_input_device_time_coord_iterator_t i 5309 ** @returns xcb_generic_iterator_t 5310 ** 5311 *****************************************************************************/ 5312 5313 xcb_generic_iterator_t 5314 xcb_input_device_time_coord_end (xcb_input_device_time_coord_iterator_t i /**< */); 5315 5316 /** 5317 * 5318 * @param c The connection 5319 * @return A cookie 5320 * 5321 * Delivers a request to the X server. 5322 * 5323 */ 5324 5325 /***************************************************************************** 5326 ** 5327 ** xcb_input_get_device_motion_events_cookie_t xcb_input_get_device_motion_events 5328 ** 5329 ** @param xcb_connection_t *c 5330 ** @param xcb_timestamp_t start 5331 ** @param xcb_timestamp_t stop 5332 ** @param uint8_t device_id 5333 ** @returns xcb_input_get_device_motion_events_cookie_t 5334 ** 5335 *****************************************************************************/ 5336 5337 xcb_input_get_device_motion_events_cookie_t 5338 xcb_input_get_device_motion_events (xcb_connection_t *c /**< */, 5339 xcb_timestamp_t start /**< */, 5340 xcb_timestamp_t stop /**< */, 5341 uint8_t device_id /**< */); 5342 5343 /** 5344 * 5345 * @param c The connection 5346 * @return A cookie 5347 * 5348 * Delivers a request to the X server. 5349 * 5350 * This form can be used only if the request will cause 5351 * a reply to be generated. Any returned error will be 5352 * placed in the event queue. 5353 */ 5354 5355 /***************************************************************************** 5356 ** 5357 ** xcb_input_get_device_motion_events_cookie_t xcb_input_get_device_motion_events_unchecked 5358 ** 5359 ** @param xcb_connection_t *c 5360 ** @param xcb_timestamp_t start 5361 ** @param xcb_timestamp_t stop 5362 ** @param uint8_t device_id 5363 ** @returns xcb_input_get_device_motion_events_cookie_t 5364 ** 5365 *****************************************************************************/ 5366 5367 xcb_input_get_device_motion_events_cookie_t 5368 xcb_input_get_device_motion_events_unchecked (xcb_connection_t *c /**< */, 5369 xcb_timestamp_t start /**< */, 5370 xcb_timestamp_t stop /**< */, 5371 uint8_t device_id /**< */); 5372 5373 /** 5374 * Return the reply 5375 * @param c The connection 5376 * @param cookie The cookie 5377 * @param e The xcb_generic_error_t supplied 5378 * 5379 * Returns the reply of the request asked by 5380 * 5381 * The parameter @p e supplied to this function must be NULL if 5382 * xcb_input_get_device_motion_events_unchecked(). is used. 5383 * Otherwise, it stores the error if any. 5384 * 5385 * The returned value must be freed by the caller using free(). 5386 */ 5387 5388 /***************************************************************************** 5389 ** 5390 ** xcb_input_get_device_motion_events_reply_t * xcb_input_get_device_motion_events_reply 5391 ** 5392 ** @param xcb_connection_t *c 5393 ** @param xcb_input_get_device_motion_events_cookie_t cookie 5394 ** @param xcb_generic_error_t **e 5395 ** @returns xcb_input_get_device_motion_events_reply_t * 5396 ** 5397 *****************************************************************************/ 5398 5399 xcb_input_get_device_motion_events_reply_t * 5400 xcb_input_get_device_motion_events_reply (xcb_connection_t *c /**< */, 5401 xcb_input_get_device_motion_events_cookie_t cookie /**< */, 5402 xcb_generic_error_t **e /**< */); 5403 5404 /** 5405 * 5406 * @param c The connection 5407 * @return A cookie 5408 * 5409 * Delivers a request to the X server. 5410 * 5411 */ 5412 5413 /***************************************************************************** 5414 ** 5415 ** xcb_input_change_keyboard_device_cookie_t xcb_input_change_keyboard_device 5416 ** 5417 ** @param xcb_connection_t *c 5418 ** @param uint8_t device_id 5419 ** @returns xcb_input_change_keyboard_device_cookie_t 5420 ** 5421 *****************************************************************************/ 5422 5423 xcb_input_change_keyboard_device_cookie_t 5424 xcb_input_change_keyboard_device (xcb_connection_t *c /**< */, 5425 uint8_t device_id /**< */); 5426 5427 /** 5428 * 5429 * @param c The connection 5430 * @return A cookie 5431 * 5432 * Delivers a request to the X server. 5433 * 5434 * This form can be used only if the request will cause 5435 * a reply to be generated. Any returned error will be 5436 * placed in the event queue. 5437 */ 5438 5439 /***************************************************************************** 5440 ** 5441 ** xcb_input_change_keyboard_device_cookie_t xcb_input_change_keyboard_device_unchecked 5442 ** 5443 ** @param xcb_connection_t *c 5444 ** @param uint8_t device_id 5445 ** @returns xcb_input_change_keyboard_device_cookie_t 5446 ** 5447 *****************************************************************************/ 5448 5449 xcb_input_change_keyboard_device_cookie_t 5450 xcb_input_change_keyboard_device_unchecked (xcb_connection_t *c /**< */, 5451 uint8_t device_id /**< */); 5452 5453 /** 5454 * Return the reply 5455 * @param c The connection 5456 * @param cookie The cookie 5457 * @param e The xcb_generic_error_t supplied 5458 * 5459 * Returns the reply of the request asked by 5460 * 5461 * The parameter @p e supplied to this function must be NULL if 5462 * xcb_input_change_keyboard_device_unchecked(). is used. 5463 * Otherwise, it stores the error if any. 5464 * 5465 * The returned value must be freed by the caller using free(). 5466 */ 5467 5468 /***************************************************************************** 5469 ** 5470 ** xcb_input_change_keyboard_device_reply_t * xcb_input_change_keyboard_device_reply 5471 ** 5472 ** @param xcb_connection_t *c 5473 ** @param xcb_input_change_keyboard_device_cookie_t cookie 5474 ** @param xcb_generic_error_t **e 5475 ** @returns xcb_input_change_keyboard_device_reply_t * 5476 ** 5477 *****************************************************************************/ 5478 5479 xcb_input_change_keyboard_device_reply_t * 5480 xcb_input_change_keyboard_device_reply (xcb_connection_t *c /**< */, 5481 xcb_input_change_keyboard_device_cookie_t cookie /**< */, 5482 xcb_generic_error_t **e /**< */); 5483 5484 /** 5485 * 5486 * @param c The connection 5487 * @return A cookie 5488 * 5489 * Delivers a request to the X server. 5490 * 5491 */ 5492 5493 /***************************************************************************** 5494 ** 5495 ** xcb_input_change_pointer_device_cookie_t xcb_input_change_pointer_device 5496 ** 5497 ** @param xcb_connection_t *c 5498 ** @param uint8_t x_axis 5499 ** @param uint8_t y_axis 5500 ** @param uint8_t device_id 5501 ** @returns xcb_input_change_pointer_device_cookie_t 5502 ** 5503 *****************************************************************************/ 5504 5505 xcb_input_change_pointer_device_cookie_t 5506 xcb_input_change_pointer_device (xcb_connection_t *c /**< */, 5507 uint8_t x_axis /**< */, 5508 uint8_t y_axis /**< */, 5509 uint8_t device_id /**< */); 5510 5511 /** 5512 * 5513 * @param c The connection 5514 * @return A cookie 5515 * 5516 * Delivers a request to the X server. 5517 * 5518 * This form can be used only if the request will cause 5519 * a reply to be generated. Any returned error will be 5520 * placed in the event queue. 5521 */ 5522 5523 /***************************************************************************** 5524 ** 5525 ** xcb_input_change_pointer_device_cookie_t xcb_input_change_pointer_device_unchecked 5526 ** 5527 ** @param xcb_connection_t *c 5528 ** @param uint8_t x_axis 5529 ** @param uint8_t y_axis 5530 ** @param uint8_t device_id 5531 ** @returns xcb_input_change_pointer_device_cookie_t 5532 ** 5533 *****************************************************************************/ 5534 5535 xcb_input_change_pointer_device_cookie_t 5536 xcb_input_change_pointer_device_unchecked (xcb_connection_t *c /**< */, 5537 uint8_t x_axis /**< */, 5538 uint8_t y_axis /**< */, 5539 uint8_t device_id /**< */); 5540 5541 /** 5542 * Return the reply 5543 * @param c The connection 5544 * @param cookie The cookie 5545 * @param e The xcb_generic_error_t supplied 5546 * 5547 * Returns the reply of the request asked by 5548 * 5549 * The parameter @p e supplied to this function must be NULL if 5550 * xcb_input_change_pointer_device_unchecked(). is used. 5551 * Otherwise, it stores the error if any. 5552 * 5553 * The returned value must be freed by the caller using free(). 5554 */ 5555 5556 /***************************************************************************** 5557 ** 5558 ** xcb_input_change_pointer_device_reply_t * xcb_input_change_pointer_device_reply 5559 ** 5560 ** @param xcb_connection_t *c 5561 ** @param xcb_input_change_pointer_device_cookie_t cookie 5562 ** @param xcb_generic_error_t **e 5563 ** @returns xcb_input_change_pointer_device_reply_t * 5564 ** 5565 *****************************************************************************/ 5566 5567 xcb_input_change_pointer_device_reply_t * 5568 xcb_input_change_pointer_device_reply (xcb_connection_t *c /**< */, 5569 xcb_input_change_pointer_device_cookie_t cookie /**< */, 5570 xcb_generic_error_t **e /**< */); 5571 5572 int 5573 xcb_input_grab_device_sizeof (const void *_buffer /**< */); 5574 5575 /** 5576 * 5577 * @param c The connection 5578 * @return A cookie 5579 * 5580 * Delivers a request to the X server. 5581 * 5582 */ 5583 5584 /***************************************************************************** 5585 ** 5586 ** xcb_input_grab_device_cookie_t xcb_input_grab_device 5587 ** 5588 ** @param xcb_connection_t *c 5589 ** @param xcb_window_t grab_window 5590 ** @param xcb_timestamp_t time 5591 ** @param uint16_t num_classes 5592 ** @param uint8_t this_device_mode 5593 ** @param uint8_t other_device_mode 5594 ** @param uint8_t owner_events 5595 ** @param uint8_t device_id 5596 ** @param const xcb_input_event_class_t *classes 5597 ** @returns xcb_input_grab_device_cookie_t 5598 ** 5599 *****************************************************************************/ 5600 5601 xcb_input_grab_device_cookie_t 5602 xcb_input_grab_device (xcb_connection_t *c /**< */, 5603 xcb_window_t grab_window /**< */, 5604 xcb_timestamp_t time /**< */, 5605 uint16_t num_classes /**< */, 5606 uint8_t this_device_mode /**< */, 5607 uint8_t other_device_mode /**< */, 5608 uint8_t owner_events /**< */, 5609 uint8_t device_id /**< */, 5610 const xcb_input_event_class_t *classes /**< */); 5611 5612 /** 5613 * 5614 * @param c The connection 5615 * @return A cookie 5616 * 5617 * Delivers a request to the X server. 5618 * 5619 * This form can be used only if the request will cause 5620 * a reply to be generated. Any returned error will be 5621 * placed in the event queue. 5622 */ 5623 5624 /***************************************************************************** 5625 ** 5626 ** xcb_input_grab_device_cookie_t xcb_input_grab_device_unchecked 5627 ** 5628 ** @param xcb_connection_t *c 5629 ** @param xcb_window_t grab_window 5630 ** @param xcb_timestamp_t time 5631 ** @param uint16_t num_classes 5632 ** @param uint8_t this_device_mode 5633 ** @param uint8_t other_device_mode 5634 ** @param uint8_t owner_events 5635 ** @param uint8_t device_id 5636 ** @param const xcb_input_event_class_t *classes 5637 ** @returns xcb_input_grab_device_cookie_t 5638 ** 5639 *****************************************************************************/ 5640 5641 xcb_input_grab_device_cookie_t 5642 xcb_input_grab_device_unchecked (xcb_connection_t *c /**< */, 5643 xcb_window_t grab_window /**< */, 5644 xcb_timestamp_t time /**< */, 5645 uint16_t num_classes /**< */, 5646 uint8_t this_device_mode /**< */, 5647 uint8_t other_device_mode /**< */, 5648 uint8_t owner_events /**< */, 5649 uint8_t device_id /**< */, 5650 const xcb_input_event_class_t *classes /**< */); 5651 5652 /** 5653 * Return the reply 5654 * @param c The connection 5655 * @param cookie The cookie 5656 * @param e The xcb_generic_error_t supplied 5657 * 5658 * Returns the reply of the request asked by 5659 * 5660 * The parameter @p e supplied to this function must be NULL if 5661 * xcb_input_grab_device_unchecked(). is used. 5662 * Otherwise, it stores the error if any. 5663 * 5664 * The returned value must be freed by the caller using free(). 5665 */ 5666 5667 /***************************************************************************** 5668 ** 5669 ** xcb_input_grab_device_reply_t * xcb_input_grab_device_reply 5670 ** 5671 ** @param xcb_connection_t *c 5672 ** @param xcb_input_grab_device_cookie_t cookie 5673 ** @param xcb_generic_error_t **e 5674 ** @returns xcb_input_grab_device_reply_t * 5675 ** 5676 *****************************************************************************/ 5677 5678 xcb_input_grab_device_reply_t * 5679 xcb_input_grab_device_reply (xcb_connection_t *c /**< */, 5680 xcb_input_grab_device_cookie_t cookie /**< */, 5681 xcb_generic_error_t **e /**< */); 5682 5683 /** 5684 * 5685 * @param c The connection 5686 * @return A cookie 5687 * 5688 * Delivers a request to the X server. 5689 * 5690 * This form can be used only if the request will not cause 5691 * a reply to be generated. Any returned error will be 5692 * saved for handling by xcb_request_check(). 5693 */ 5694 5695 /***************************************************************************** 5696 ** 5697 ** xcb_void_cookie_t xcb_input_ungrab_device_checked 5698 ** 5699 ** @param xcb_connection_t *c 5700 ** @param xcb_timestamp_t time 5701 ** @param uint8_t device_id 5702 ** @returns xcb_void_cookie_t 5703 ** 5704 *****************************************************************************/ 5705 5706 xcb_void_cookie_t 5707 xcb_input_ungrab_device_checked (xcb_connection_t *c /**< */, 5708 xcb_timestamp_t time /**< */, 5709 uint8_t device_id /**< */); 5710 5711 /** 5712 * 5713 * @param c The connection 5714 * @return A cookie 5715 * 5716 * Delivers a request to the X server. 5717 * 5718 */ 5719 5720 /***************************************************************************** 5721 ** 5722 ** xcb_void_cookie_t xcb_input_ungrab_device 5723 ** 5724 ** @param xcb_connection_t *c 5725 ** @param xcb_timestamp_t time 5726 ** @param uint8_t device_id 5727 ** @returns xcb_void_cookie_t 5728 ** 5729 *****************************************************************************/ 5730 5731 xcb_void_cookie_t 5732 xcb_input_ungrab_device (xcb_connection_t *c /**< */, 5733 xcb_timestamp_t time /**< */, 5734 uint8_t device_id /**< */); 5735 5736 int 5737 xcb_input_grab_device_key_sizeof (const void *_buffer /**< */); 5738 5739 /** 5740 * 5741 * @param c The connection 5742 * @return A cookie 5743 * 5744 * Delivers a request to the X server. 5745 * 5746 * This form can be used only if the request will not cause 5747 * a reply to be generated. Any returned error will be 5748 * saved for handling by xcb_request_check(). 5749 */ 5750 5751 /***************************************************************************** 5752 ** 5753 ** xcb_void_cookie_t xcb_input_grab_device_key_checked 5754 ** 5755 ** @param xcb_connection_t *c 5756 ** @param xcb_window_t grab_window 5757 ** @param uint16_t num_classes 5758 ** @param uint16_t modifiers 5759 ** @param uint8_t modifier_device 5760 ** @param uint8_t grabbed_device 5761 ** @param uint8_t key 5762 ** @param uint8_t this_device_mode 5763 ** @param uint8_t other_device_mode 5764 ** @param uint8_t owner_events 5765 ** @param const xcb_input_event_class_t *classes 5766 ** @returns xcb_void_cookie_t 5767 ** 5768 *****************************************************************************/ 5769 5770 xcb_void_cookie_t 5771 xcb_input_grab_device_key_checked (xcb_connection_t *c /**< */, 5772 xcb_window_t grab_window /**< */, 5773 uint16_t num_classes /**< */, 5774 uint16_t modifiers /**< */, 5775 uint8_t modifier_device /**< */, 5776 uint8_t grabbed_device /**< */, 5777 uint8_t key /**< */, 5778 uint8_t this_device_mode /**< */, 5779 uint8_t other_device_mode /**< */, 5780 uint8_t owner_events /**< */, 5781 const xcb_input_event_class_t *classes /**< */); 5782 5783 /** 5784 * 5785 * @param c The connection 5786 * @return A cookie 5787 * 5788 * Delivers a request to the X server. 5789 * 5790 */ 5791 5792 /***************************************************************************** 5793 ** 5794 ** xcb_void_cookie_t xcb_input_grab_device_key 5795 ** 5796 ** @param xcb_connection_t *c 5797 ** @param xcb_window_t grab_window 5798 ** @param uint16_t num_classes 5799 ** @param uint16_t modifiers 5800 ** @param uint8_t modifier_device 5801 ** @param uint8_t grabbed_device 5802 ** @param uint8_t key 5803 ** @param uint8_t this_device_mode 5804 ** @param uint8_t other_device_mode 5805 ** @param uint8_t owner_events 5806 ** @param const xcb_input_event_class_t *classes 5807 ** @returns xcb_void_cookie_t 5808 ** 5809 *****************************************************************************/ 5810 5811 xcb_void_cookie_t 5812 xcb_input_grab_device_key (xcb_connection_t *c /**< */, 5813 xcb_window_t grab_window /**< */, 5814 uint16_t num_classes /**< */, 5815 uint16_t modifiers /**< */, 5816 uint8_t modifier_device /**< */, 5817 uint8_t grabbed_device /**< */, 5818 uint8_t key /**< */, 5819 uint8_t this_device_mode /**< */, 5820 uint8_t other_device_mode /**< */, 5821 uint8_t owner_events /**< */, 5822 const xcb_input_event_class_t *classes /**< */); 5823 5824 /** 5825 * 5826 * @param c The connection 5827 * @return A cookie 5828 * 5829 * Delivers a request to the X server. 5830 * 5831 * This form can be used only if the request will not cause 5832 * a reply to be generated. Any returned error will be 5833 * saved for handling by xcb_request_check(). 5834 */ 5835 5836 /***************************************************************************** 5837 ** 5838 ** xcb_void_cookie_t xcb_input_ungrab_device_key_checked 5839 ** 5840 ** @param xcb_connection_t *c 5841 ** @param xcb_window_t grabWindow 5842 ** @param uint16_t modifiers 5843 ** @param uint8_t modifier_device 5844 ** @param uint8_t key 5845 ** @param uint8_t grabbed_device 5846 ** @returns xcb_void_cookie_t 5847 ** 5848 *****************************************************************************/ 5849 5850 xcb_void_cookie_t 5851 xcb_input_ungrab_device_key_checked (xcb_connection_t *c /**< */, 5852 xcb_window_t grabWindow /**< */, 5853 uint16_t modifiers /**< */, 5854 uint8_t modifier_device /**< */, 5855 uint8_t key /**< */, 5856 uint8_t grabbed_device /**< */); 5857 5858 /** 5859 * 5860 * @param c The connection 5861 * @return A cookie 5862 * 5863 * Delivers a request to the X server. 5864 * 5865 */ 5866 5867 /***************************************************************************** 5868 ** 5869 ** xcb_void_cookie_t xcb_input_ungrab_device_key 5870 ** 5871 ** @param xcb_connection_t *c 5872 ** @param xcb_window_t grabWindow 5873 ** @param uint16_t modifiers 5874 ** @param uint8_t modifier_device 5875 ** @param uint8_t key 5876 ** @param uint8_t grabbed_device 5877 ** @returns xcb_void_cookie_t 5878 ** 5879 *****************************************************************************/ 5880 5881 xcb_void_cookie_t 5882 xcb_input_ungrab_device_key (xcb_connection_t *c /**< */, 5883 xcb_window_t grabWindow /**< */, 5884 uint16_t modifiers /**< */, 5885 uint8_t modifier_device /**< */, 5886 uint8_t key /**< */, 5887 uint8_t grabbed_device /**< */); 5888 5889 int 5890 xcb_input_grab_device_button_sizeof (const void *_buffer /**< */); 5891 5892 /** 5893 * 5894 * @param c The connection 5895 * @return A cookie 5896 * 5897 * Delivers a request to the X server. 5898 * 5899 * This form can be used only if the request will not cause 5900 * a reply to be generated. Any returned error will be 5901 * saved for handling by xcb_request_check(). 5902 */ 5903 5904 /***************************************************************************** 5905 ** 5906 ** xcb_void_cookie_t xcb_input_grab_device_button_checked 5907 ** 5908 ** @param xcb_connection_t *c 5909 ** @param xcb_window_t grab_window 5910 ** @param uint8_t grabbed_device 5911 ** @param uint8_t modifier_device 5912 ** @param uint16_t num_classes 5913 ** @param uint16_t modifiers 5914 ** @param uint8_t this_device_mode 5915 ** @param uint8_t other_device_mode 5916 ** @param uint8_t button 5917 ** @param uint8_t owner_events 5918 ** @param const xcb_input_event_class_t *classes 5919 ** @returns xcb_void_cookie_t 5920 ** 5921 *****************************************************************************/ 5922 5923 xcb_void_cookie_t 5924 xcb_input_grab_device_button_checked (xcb_connection_t *c /**< */, 5925 xcb_window_t grab_window /**< */, 5926 uint8_t grabbed_device /**< */, 5927 uint8_t modifier_device /**< */, 5928 uint16_t num_classes /**< */, 5929 uint16_t modifiers /**< */, 5930 uint8_t this_device_mode /**< */, 5931 uint8_t other_device_mode /**< */, 5932 uint8_t button /**< */, 5933 uint8_t owner_events /**< */, 5934 const xcb_input_event_class_t *classes /**< */); 5935 5936 /** 5937 * 5938 * @param c The connection 5939 * @return A cookie 5940 * 5941 * Delivers a request to the X server. 5942 * 5943 */ 5944 5945 /***************************************************************************** 5946 ** 5947 ** xcb_void_cookie_t xcb_input_grab_device_button 5948 ** 5949 ** @param xcb_connection_t *c 5950 ** @param xcb_window_t grab_window 5951 ** @param uint8_t grabbed_device 5952 ** @param uint8_t modifier_device 5953 ** @param uint16_t num_classes 5954 ** @param uint16_t modifiers 5955 ** @param uint8_t this_device_mode 5956 ** @param uint8_t other_device_mode 5957 ** @param uint8_t button 5958 ** @param uint8_t owner_events 5959 ** @param const xcb_input_event_class_t *classes 5960 ** @returns xcb_void_cookie_t 5961 ** 5962 *****************************************************************************/ 5963 5964 xcb_void_cookie_t 5965 xcb_input_grab_device_button (xcb_connection_t *c /**< */, 5966 xcb_window_t grab_window /**< */, 5967 uint8_t grabbed_device /**< */, 5968 uint8_t modifier_device /**< */, 5969 uint16_t num_classes /**< */, 5970 uint16_t modifiers /**< */, 5971 uint8_t this_device_mode /**< */, 5972 uint8_t other_device_mode /**< */, 5973 uint8_t button /**< */, 5974 uint8_t owner_events /**< */, 5975 const xcb_input_event_class_t *classes /**< */); 5976 5977 /** 5978 * 5979 * @param c The connection 5980 * @return A cookie 5981 * 5982 * Delivers a request to the X server. 5983 * 5984 * This form can be used only if the request will not cause 5985 * a reply to be generated. Any returned error will be 5986 * saved for handling by xcb_request_check(). 5987 */ 5988 5989 /***************************************************************************** 5990 ** 5991 ** xcb_void_cookie_t xcb_input_ungrab_device_button_checked 5992 ** 5993 ** @param xcb_connection_t *c 5994 ** @param xcb_window_t grab_window 5995 ** @param uint16_t modifiers 5996 ** @param uint8_t modifier_device 5997 ** @param uint8_t button 5998 ** @param uint8_t grabbed_device 5999 ** @returns xcb_void_cookie_t 6000 ** 6001 *****************************************************************************/ 6002 6003 xcb_void_cookie_t 6004 xcb_input_ungrab_device_button_checked (xcb_connection_t *c /**< */, 6005 xcb_window_t grab_window /**< */, 6006 uint16_t modifiers /**< */, 6007 uint8_t modifier_device /**< */, 6008 uint8_t button /**< */, 6009 uint8_t grabbed_device /**< */); 6010 6011 /** 6012 * 6013 * @param c The connection 6014 * @return A cookie 6015 * 6016 * Delivers a request to the X server. 6017 * 6018 */ 6019 6020 /***************************************************************************** 6021 ** 6022 ** xcb_void_cookie_t xcb_input_ungrab_device_button 6023 ** 6024 ** @param xcb_connection_t *c 6025 ** @param xcb_window_t grab_window 6026 ** @param uint16_t modifiers 6027 ** @param uint8_t modifier_device 6028 ** @param uint8_t button 6029 ** @param uint8_t grabbed_device 6030 ** @returns xcb_void_cookie_t 6031 ** 6032 *****************************************************************************/ 6033 6034 xcb_void_cookie_t 6035 xcb_input_ungrab_device_button (xcb_connection_t *c /**< */, 6036 xcb_window_t grab_window /**< */, 6037 uint16_t modifiers /**< */, 6038 uint8_t modifier_device /**< */, 6039 uint8_t button /**< */, 6040 uint8_t grabbed_device /**< */); 6041 6042 /** 6043 * 6044 * @param c The connection 6045 * @return A cookie 6046 * 6047 * Delivers a request to the X server. 6048 * 6049 * This form can be used only if the request will not cause 6050 * a reply to be generated. Any returned error will be 6051 * saved for handling by xcb_request_check(). 6052 */ 6053 6054 /***************************************************************************** 6055 ** 6056 ** xcb_void_cookie_t xcb_input_allow_device_events_checked 6057 ** 6058 ** @param xcb_connection_t *c 6059 ** @param xcb_timestamp_t time 6060 ** @param uint8_t mode 6061 ** @param uint8_t device_id 6062 ** @returns xcb_void_cookie_t 6063 ** 6064 *****************************************************************************/ 6065 6066 xcb_void_cookie_t 6067 xcb_input_allow_device_events_checked (xcb_connection_t *c /**< */, 6068 xcb_timestamp_t time /**< */, 6069 uint8_t mode /**< */, 6070 uint8_t device_id /**< */); 6071 6072 /** 6073 * 6074 * @param c The connection 6075 * @return A cookie 6076 * 6077 * Delivers a request to the X server. 6078 * 6079 */ 6080 6081 /***************************************************************************** 6082 ** 6083 ** xcb_void_cookie_t xcb_input_allow_device_events 6084 ** 6085 ** @param xcb_connection_t *c 6086 ** @param xcb_timestamp_t time 6087 ** @param uint8_t mode 6088 ** @param uint8_t device_id 6089 ** @returns xcb_void_cookie_t 6090 ** 6091 *****************************************************************************/ 6092 6093 xcb_void_cookie_t 6094 xcb_input_allow_device_events (xcb_connection_t *c /**< */, 6095 xcb_timestamp_t time /**< */, 6096 uint8_t mode /**< */, 6097 uint8_t device_id /**< */); 6098 6099 /** 6100 * 6101 * @param c The connection 6102 * @return A cookie 6103 * 6104 * Delivers a request to the X server. 6105 * 6106 */ 6107 6108 /***************************************************************************** 6109 ** 6110 ** xcb_input_get_device_focus_cookie_t xcb_input_get_device_focus 6111 ** 6112 ** @param xcb_connection_t *c 6113 ** @param uint8_t device_id 6114 ** @returns xcb_input_get_device_focus_cookie_t 6115 ** 6116 *****************************************************************************/ 6117 6118 xcb_input_get_device_focus_cookie_t 6119 xcb_input_get_device_focus (xcb_connection_t *c /**< */, 6120 uint8_t device_id /**< */); 6121 6122 /** 6123 * 6124 * @param c The connection 6125 * @return A cookie 6126 * 6127 * Delivers a request to the X server. 6128 * 6129 * This form can be used only if the request will cause 6130 * a reply to be generated. Any returned error will be 6131 * placed in the event queue. 6132 */ 6133 6134 /***************************************************************************** 6135 ** 6136 ** xcb_input_get_device_focus_cookie_t xcb_input_get_device_focus_unchecked 6137 ** 6138 ** @param xcb_connection_t *c 6139 ** @param uint8_t device_id 6140 ** @returns xcb_input_get_device_focus_cookie_t 6141 ** 6142 *****************************************************************************/ 6143 6144 xcb_input_get_device_focus_cookie_t 6145 xcb_input_get_device_focus_unchecked (xcb_connection_t *c /**< */, 6146 uint8_t device_id /**< */); 6147 6148 /** 6149 * Return the reply 6150 * @param c The connection 6151 * @param cookie The cookie 6152 * @param e The xcb_generic_error_t supplied 6153 * 6154 * Returns the reply of the request asked by 6155 * 6156 * The parameter @p e supplied to this function must be NULL if 6157 * xcb_input_get_device_focus_unchecked(). is used. 6158 * Otherwise, it stores the error if any. 6159 * 6160 * The returned value must be freed by the caller using free(). 6161 */ 6162 6163 /***************************************************************************** 6164 ** 6165 ** xcb_input_get_device_focus_reply_t * xcb_input_get_device_focus_reply 6166 ** 6167 ** @param xcb_connection_t *c 6168 ** @param xcb_input_get_device_focus_cookie_t cookie 6169 ** @param xcb_generic_error_t **e 6170 ** @returns xcb_input_get_device_focus_reply_t * 6171 ** 6172 *****************************************************************************/ 6173 6174 xcb_input_get_device_focus_reply_t * 6175 xcb_input_get_device_focus_reply (xcb_connection_t *c /**< */, 6176 xcb_input_get_device_focus_cookie_t cookie /**< */, 6177 xcb_generic_error_t **e /**< */); 6178 6179 /** 6180 * 6181 * @param c The connection 6182 * @return A cookie 6183 * 6184 * Delivers a request to the X server. 6185 * 6186 * This form can be used only if the request will not cause 6187 * a reply to be generated. Any returned error will be 6188 * saved for handling by xcb_request_check(). 6189 */ 6190 6191 /***************************************************************************** 6192 ** 6193 ** xcb_void_cookie_t xcb_input_set_device_focus_checked 6194 ** 6195 ** @param xcb_connection_t *c 6196 ** @param xcb_window_t focus 6197 ** @param xcb_timestamp_t time 6198 ** @param uint8_t revert_to 6199 ** @param uint8_t device_id 6200 ** @returns xcb_void_cookie_t 6201 ** 6202 *****************************************************************************/ 6203 6204 xcb_void_cookie_t 6205 xcb_input_set_device_focus_checked (xcb_connection_t *c /**< */, 6206 xcb_window_t focus /**< */, 6207 xcb_timestamp_t time /**< */, 6208 uint8_t revert_to /**< */, 6209 uint8_t device_id /**< */); 6210 6211 /** 6212 * 6213 * @param c The connection 6214 * @return A cookie 6215 * 6216 * Delivers a request to the X server. 6217 * 6218 */ 6219 6220 /***************************************************************************** 6221 ** 6222 ** xcb_void_cookie_t xcb_input_set_device_focus 6223 ** 6224 ** @param xcb_connection_t *c 6225 ** @param xcb_window_t focus 6226 ** @param xcb_timestamp_t time 6227 ** @param uint8_t revert_to 6228 ** @param uint8_t device_id 6229 ** @returns xcb_void_cookie_t 6230 ** 6231 *****************************************************************************/ 6232 6233 xcb_void_cookie_t 6234 xcb_input_set_device_focus (xcb_connection_t *c /**< */, 6235 xcb_window_t focus /**< */, 6236 xcb_timestamp_t time /**< */, 6237 uint8_t revert_to /**< */, 6238 uint8_t device_id /**< */); 6239 6240 /** 6241 * Get the next element of the iterator 6242 * @param i Pointer to a xcb_input_kbd_feedback_state_iterator_t 6243 * 6244 * Get the next element in the iterator. The member rem is 6245 * decreased by one. The member data points to the next 6246 * element. The member index is increased by sizeof(xcb_input_kbd_feedback_state_t) 6247 */ 6248 6249 /***************************************************************************** 6250 ** 6251 ** void xcb_input_kbd_feedback_state_next 6252 ** 6253 ** @param xcb_input_kbd_feedback_state_iterator_t *i 6254 ** @returns void 6255 ** 6256 *****************************************************************************/ 6257 6258 void 6259 xcb_input_kbd_feedback_state_next (xcb_input_kbd_feedback_state_iterator_t *i /**< */); 6260 6261 /** 6262 * Return the iterator pointing to the last element 6263 * @param i An xcb_input_kbd_feedback_state_iterator_t 6264 * @return The iterator pointing to the last element 6265 * 6266 * Set the current element in the iterator to the last element. 6267 * The member rem is set to 0. The member data points to the 6268 * last element. 6269 */ 6270 6271 /***************************************************************************** 6272 ** 6273 ** xcb_generic_iterator_t xcb_input_kbd_feedback_state_end 6274 ** 6275 ** @param xcb_input_kbd_feedback_state_iterator_t i 6276 ** @returns xcb_generic_iterator_t 6277 ** 6278 *****************************************************************************/ 6279 6280 xcb_generic_iterator_t 6281 xcb_input_kbd_feedback_state_end (xcb_input_kbd_feedback_state_iterator_t i /**< */); 6282 6283 /** 6284 * Get the next element of the iterator 6285 * @param i Pointer to a xcb_input_ptr_feedback_state_iterator_t 6286 * 6287 * Get the next element in the iterator. The member rem is 6288 * decreased by one. The member data points to the next 6289 * element. The member index is increased by sizeof(xcb_input_ptr_feedback_state_t) 6290 */ 6291 6292 /***************************************************************************** 6293 ** 6294 ** void xcb_input_ptr_feedback_state_next 6295 ** 6296 ** @param xcb_input_ptr_feedback_state_iterator_t *i 6297 ** @returns void 6298 ** 6299 *****************************************************************************/ 6300 6301 void 6302 xcb_input_ptr_feedback_state_next (xcb_input_ptr_feedback_state_iterator_t *i /**< */); 6303 6304 /** 6305 * Return the iterator pointing to the last element 6306 * @param i An xcb_input_ptr_feedback_state_iterator_t 6307 * @return The iterator pointing to the last element 6308 * 6309 * Set the current element in the iterator to the last element. 6310 * The member rem is set to 0. The member data points to the 6311 * last element. 6312 */ 6313 6314 /***************************************************************************** 6315 ** 6316 ** xcb_generic_iterator_t xcb_input_ptr_feedback_state_end 6317 ** 6318 ** @param xcb_input_ptr_feedback_state_iterator_t i 6319 ** @returns xcb_generic_iterator_t 6320 ** 6321 *****************************************************************************/ 6322 6323 xcb_generic_iterator_t 6324 xcb_input_ptr_feedback_state_end (xcb_input_ptr_feedback_state_iterator_t i /**< */); 6325 6326 /** 6327 * Get the next element of the iterator 6328 * @param i Pointer to a xcb_input_integer_feedback_state_iterator_t 6329 * 6330 * Get the next element in the iterator. The member rem is 6331 * decreased by one. The member data points to the next 6332 * element. The member index is increased by sizeof(xcb_input_integer_feedback_state_t) 6333 */ 6334 6335 /***************************************************************************** 6336 ** 6337 ** void xcb_input_integer_feedback_state_next 6338 ** 6339 ** @param xcb_input_integer_feedback_state_iterator_t *i 6340 ** @returns void 6341 ** 6342 *****************************************************************************/ 6343 6344 void 6345 xcb_input_integer_feedback_state_next (xcb_input_integer_feedback_state_iterator_t *i /**< */); 6346 6347 /** 6348 * Return the iterator pointing to the last element 6349 * @param i An xcb_input_integer_feedback_state_iterator_t 6350 * @return The iterator pointing to the last element 6351 * 6352 * Set the current element in the iterator to the last element. 6353 * The member rem is set to 0. The member data points to the 6354 * last element. 6355 */ 6356 6357 /***************************************************************************** 6358 ** 6359 ** xcb_generic_iterator_t xcb_input_integer_feedback_state_end 6360 ** 6361 ** @param xcb_input_integer_feedback_state_iterator_t i 6362 ** @returns xcb_generic_iterator_t 6363 ** 6364 *****************************************************************************/ 6365 6366 xcb_generic_iterator_t 6367 xcb_input_integer_feedback_state_end (xcb_input_integer_feedback_state_iterator_t i /**< */); 6368 6369 int 6370 xcb_input_string_feedback_state_sizeof (const void *_buffer /**< */); 6371 6372 6373 /***************************************************************************** 6374 ** 6375 ** xcb_keysym_t * xcb_input_string_feedback_state_keysyms 6376 ** 6377 ** @param const xcb_input_string_feedback_state_t *R 6378 ** @returns xcb_keysym_t * 6379 ** 6380 *****************************************************************************/ 6381 6382 xcb_keysym_t * 6383 xcb_input_string_feedback_state_keysyms (const xcb_input_string_feedback_state_t *R /**< */); 6384 6385 6386 /***************************************************************************** 6387 ** 6388 ** int xcb_input_string_feedback_state_keysyms_length 6389 ** 6390 ** @param const xcb_input_string_feedback_state_t *R 6391 ** @returns int 6392 ** 6393 *****************************************************************************/ 6394 6395 int 6396 xcb_input_string_feedback_state_keysyms_length (const xcb_input_string_feedback_state_t *R /**< */); 6397 6398 6399 /***************************************************************************** 6400 ** 6401 ** xcb_generic_iterator_t xcb_input_string_feedback_state_keysyms_end 6402 ** 6403 ** @param const xcb_input_string_feedback_state_t *R 6404 ** @returns xcb_generic_iterator_t 6405 ** 6406 *****************************************************************************/ 6407 6408 xcb_generic_iterator_t 6409 xcb_input_string_feedback_state_keysyms_end (const xcb_input_string_feedback_state_t *R /**< */); 6410 6411 /** 6412 * Get the next element of the iterator 6413 * @param i Pointer to a xcb_input_string_feedback_state_iterator_t 6414 * 6415 * Get the next element in the iterator. The member rem is 6416 * decreased by one. The member data points to the next 6417 * element. The member index is increased by sizeof(xcb_input_string_feedback_state_t) 6418 */ 6419 6420 /***************************************************************************** 6421 ** 6422 ** void xcb_input_string_feedback_state_next 6423 ** 6424 ** @param xcb_input_string_feedback_state_iterator_t *i 6425 ** @returns void 6426 ** 6427 *****************************************************************************/ 6428 6429 void 6430 xcb_input_string_feedback_state_next (xcb_input_string_feedback_state_iterator_t *i /**< */); 6431 6432 /** 6433 * Return the iterator pointing to the last element 6434 * @param i An xcb_input_string_feedback_state_iterator_t 6435 * @return The iterator pointing to the last element 6436 * 6437 * Set the current element in the iterator to the last element. 6438 * The member rem is set to 0. The member data points to the 6439 * last element. 6440 */ 6441 6442 /***************************************************************************** 6443 ** 6444 ** xcb_generic_iterator_t xcb_input_string_feedback_state_end 6445 ** 6446 ** @param xcb_input_string_feedback_state_iterator_t i 6447 ** @returns xcb_generic_iterator_t 6448 ** 6449 *****************************************************************************/ 6450 6451 xcb_generic_iterator_t 6452 xcb_input_string_feedback_state_end (xcb_input_string_feedback_state_iterator_t i /**< */); 6453 6454 /** 6455 * Get the next element of the iterator 6456 * @param i Pointer to a xcb_input_bell_feedback_state_iterator_t 6457 * 6458 * Get the next element in the iterator. The member rem is 6459 * decreased by one. The member data points to the next 6460 * element. The member index is increased by sizeof(xcb_input_bell_feedback_state_t) 6461 */ 6462 6463 /***************************************************************************** 6464 ** 6465 ** void xcb_input_bell_feedback_state_next 6466 ** 6467 ** @param xcb_input_bell_feedback_state_iterator_t *i 6468 ** @returns void 6469 ** 6470 *****************************************************************************/ 6471 6472 void 6473 xcb_input_bell_feedback_state_next (xcb_input_bell_feedback_state_iterator_t *i /**< */); 6474 6475 /** 6476 * Return the iterator pointing to the last element 6477 * @param i An xcb_input_bell_feedback_state_iterator_t 6478 * @return The iterator pointing to the last element 6479 * 6480 * Set the current element in the iterator to the last element. 6481 * The member rem is set to 0. The member data points to the 6482 * last element. 6483 */ 6484 6485 /***************************************************************************** 6486 ** 6487 ** xcb_generic_iterator_t xcb_input_bell_feedback_state_end 6488 ** 6489 ** @param xcb_input_bell_feedback_state_iterator_t i 6490 ** @returns xcb_generic_iterator_t 6491 ** 6492 *****************************************************************************/ 6493 6494 xcb_generic_iterator_t 6495 xcb_input_bell_feedback_state_end (xcb_input_bell_feedback_state_iterator_t i /**< */); 6496 6497 /** 6498 * Get the next element of the iterator 6499 * @param i Pointer to a xcb_input_led_feedback_state_iterator_t 6500 * 6501 * Get the next element in the iterator. The member rem is 6502 * decreased by one. The member data points to the next 6503 * element. The member index is increased by sizeof(xcb_input_led_feedback_state_t) 6504 */ 6505 6506 /***************************************************************************** 6507 ** 6508 ** void xcb_input_led_feedback_state_next 6509 ** 6510 ** @param xcb_input_led_feedback_state_iterator_t *i 6511 ** @returns void 6512 ** 6513 *****************************************************************************/ 6514 6515 void 6516 xcb_input_led_feedback_state_next (xcb_input_led_feedback_state_iterator_t *i /**< */); 6517 6518 /** 6519 * Return the iterator pointing to the last element 6520 * @param i An xcb_input_led_feedback_state_iterator_t 6521 * @return The iterator pointing to the last element 6522 * 6523 * Set the current element in the iterator to the last element. 6524 * The member rem is set to 0. The member data points to the 6525 * last element. 6526 */ 6527 6528 /***************************************************************************** 6529 ** 6530 ** xcb_generic_iterator_t xcb_input_led_feedback_state_end 6531 ** 6532 ** @param xcb_input_led_feedback_state_iterator_t i 6533 ** @returns xcb_generic_iterator_t 6534 ** 6535 *****************************************************************************/ 6536 6537 xcb_generic_iterator_t 6538 xcb_input_led_feedback_state_end (xcb_input_led_feedback_state_iterator_t i /**< */); 6539 6540 int 6541 xcb_input_feedback_state_sizeof (const void *_buffer /**< */); 6542 6543 6544 /***************************************************************************** 6545 ** 6546 ** uint8_t * xcb_input_feedback_state_uninterpreted_data 6547 ** 6548 ** @param const xcb_input_feedback_state_t *R 6549 ** @returns uint8_t * 6550 ** 6551 *****************************************************************************/ 6552 6553 uint8_t * 6554 xcb_input_feedback_state_uninterpreted_data (const xcb_input_feedback_state_t *R /**< */); 6555 6556 6557 /***************************************************************************** 6558 ** 6559 ** int xcb_input_feedback_state_uninterpreted_data_length 6560 ** 6561 ** @param const xcb_input_feedback_state_t *R 6562 ** @returns int 6563 ** 6564 *****************************************************************************/ 6565 6566 int 6567 xcb_input_feedback_state_uninterpreted_data_length (const xcb_input_feedback_state_t *R /**< */); 6568 6569 6570 /***************************************************************************** 6571 ** 6572 ** xcb_generic_iterator_t xcb_input_feedback_state_uninterpreted_data_end 6573 ** 6574 ** @param const xcb_input_feedback_state_t *R 6575 ** @returns xcb_generic_iterator_t 6576 ** 6577 *****************************************************************************/ 6578 6579 xcb_generic_iterator_t 6580 xcb_input_feedback_state_uninterpreted_data_end (const xcb_input_feedback_state_t *R /**< */); 6581 6582 /** 6583 * Get the next element of the iterator 6584 * @param i Pointer to a xcb_input_feedback_state_iterator_t 6585 * 6586 * Get the next element in the iterator. The member rem is 6587 * decreased by one. The member data points to the next 6588 * element. The member index is increased by sizeof(xcb_input_feedback_state_t) 6589 */ 6590 6591 /***************************************************************************** 6592 ** 6593 ** void xcb_input_feedback_state_next 6594 ** 6595 ** @param xcb_input_feedback_state_iterator_t *i 6596 ** @returns void 6597 ** 6598 *****************************************************************************/ 6599 6600 void 6601 xcb_input_feedback_state_next (xcb_input_feedback_state_iterator_t *i /**< */); 6602 6603 /** 6604 * Return the iterator pointing to the last element 6605 * @param i An xcb_input_feedback_state_iterator_t 6606 * @return The iterator pointing to the last element 6607 * 6608 * Set the current element in the iterator to the last element. 6609 * The member rem is set to 0. The member data points to the 6610 * last element. 6611 */ 6612 6613 /***************************************************************************** 6614 ** 6615 ** xcb_generic_iterator_t xcb_input_feedback_state_end 6616 ** 6617 ** @param xcb_input_feedback_state_iterator_t i 6618 ** @returns xcb_generic_iterator_t 6619 ** 6620 *****************************************************************************/ 6621 6622 xcb_generic_iterator_t 6623 xcb_input_feedback_state_end (xcb_input_feedback_state_iterator_t i /**< */); 6624 6625 int 6626 xcb_input_get_feedback_control_sizeof (const void *_buffer /**< */); 6627 6628 /** 6629 * 6630 * @param c The connection 6631 * @return A cookie 6632 * 6633 * Delivers a request to the X server. 6634 * 6635 */ 6636 6637 /***************************************************************************** 6638 ** 6639 ** xcb_input_get_feedback_control_cookie_t xcb_input_get_feedback_control 6640 ** 6641 ** @param xcb_connection_t *c 6642 ** @param uint8_t device_id 6643 ** @returns xcb_input_get_feedback_control_cookie_t 6644 ** 6645 *****************************************************************************/ 6646 6647 xcb_input_get_feedback_control_cookie_t 6648 xcb_input_get_feedback_control (xcb_connection_t *c /**< */, 6649 uint8_t device_id /**< */); 6650 6651 /** 6652 * 6653 * @param c The connection 6654 * @return A cookie 6655 * 6656 * Delivers a request to the X server. 6657 * 6658 * This form can be used only if the request will cause 6659 * a reply to be generated. Any returned error will be 6660 * placed in the event queue. 6661 */ 6662 6663 /***************************************************************************** 6664 ** 6665 ** xcb_input_get_feedback_control_cookie_t xcb_input_get_feedback_control_unchecked 6666 ** 6667 ** @param xcb_connection_t *c 6668 ** @param uint8_t device_id 6669 ** @returns xcb_input_get_feedback_control_cookie_t 6670 ** 6671 *****************************************************************************/ 6672 6673 xcb_input_get_feedback_control_cookie_t 6674 xcb_input_get_feedback_control_unchecked (xcb_connection_t *c /**< */, 6675 uint8_t device_id /**< */); 6676 6677 6678 /***************************************************************************** 6679 ** 6680 ** int xcb_input_get_feedback_control_feedbacks_length 6681 ** 6682 ** @param const xcb_input_get_feedback_control_reply_t *R 6683 ** @returns int 6684 ** 6685 *****************************************************************************/ 6686 6687 int 6688 xcb_input_get_feedback_control_feedbacks_length (const xcb_input_get_feedback_control_reply_t *R /**< */); 6689 6690 6691 /***************************************************************************** 6692 ** 6693 ** xcb_input_feedback_state_iterator_t xcb_input_get_feedback_control_feedbacks_iterator 6694 ** 6695 ** @param const xcb_input_get_feedback_control_reply_t *R 6696 ** @returns xcb_input_feedback_state_iterator_t 6697 ** 6698 *****************************************************************************/ 6699 6700 xcb_input_feedback_state_iterator_t 6701 xcb_input_get_feedback_control_feedbacks_iterator (const xcb_input_get_feedback_control_reply_t *R /**< */); 6702 6703 /** 6704 * Return the reply 6705 * @param c The connection 6706 * @param cookie The cookie 6707 * @param e The xcb_generic_error_t supplied 6708 * 6709 * Returns the reply of the request asked by 6710 * 6711 * The parameter @p e supplied to this function must be NULL if 6712 * xcb_input_get_feedback_control_unchecked(). is used. 6713 * Otherwise, it stores the error if any. 6714 * 6715 * The returned value must be freed by the caller using free(). 6716 */ 6717 6718 /***************************************************************************** 6719 ** 6720 ** xcb_input_get_feedback_control_reply_t * xcb_input_get_feedback_control_reply 6721 ** 6722 ** @param xcb_connection_t *c 6723 ** @param xcb_input_get_feedback_control_cookie_t cookie 6724 ** @param xcb_generic_error_t **e 6725 ** @returns xcb_input_get_feedback_control_reply_t * 6726 ** 6727 *****************************************************************************/ 6728 6729 xcb_input_get_feedback_control_reply_t * 6730 xcb_input_get_feedback_control_reply (xcb_connection_t *c /**< */, 6731 xcb_input_get_feedback_control_cookie_t cookie /**< */, 6732 xcb_generic_error_t **e /**< */); 6733 6734 /** 6735 * Get the next element of the iterator 6736 * @param i Pointer to a xcb_input_kbd_feedback_ctl_iterator_t 6737 * 6738 * Get the next element in the iterator. The member rem is 6739 * decreased by one. The member data points to the next 6740 * element. The member index is increased by sizeof(xcb_input_kbd_feedback_ctl_t) 6741 */ 6742 6743 /***************************************************************************** 6744 ** 6745 ** void xcb_input_kbd_feedback_ctl_next 6746 ** 6747 ** @param xcb_input_kbd_feedback_ctl_iterator_t *i 6748 ** @returns void 6749 ** 6750 *****************************************************************************/ 6751 6752 void 6753 xcb_input_kbd_feedback_ctl_next (xcb_input_kbd_feedback_ctl_iterator_t *i /**< */); 6754 6755 /** 6756 * Return the iterator pointing to the last element 6757 * @param i An xcb_input_kbd_feedback_ctl_iterator_t 6758 * @return The iterator pointing to the last element 6759 * 6760 * Set the current element in the iterator to the last element. 6761 * The member rem is set to 0. The member data points to the 6762 * last element. 6763 */ 6764 6765 /***************************************************************************** 6766 ** 6767 ** xcb_generic_iterator_t xcb_input_kbd_feedback_ctl_end 6768 ** 6769 ** @param xcb_input_kbd_feedback_ctl_iterator_t i 6770 ** @returns xcb_generic_iterator_t 6771 ** 6772 *****************************************************************************/ 6773 6774 xcb_generic_iterator_t 6775 xcb_input_kbd_feedback_ctl_end (xcb_input_kbd_feedback_ctl_iterator_t i /**< */); 6776 6777 /** 6778 * Get the next element of the iterator 6779 * @param i Pointer to a xcb_input_ptr_feedback_ctl_iterator_t 6780 * 6781 * Get the next element in the iterator. The member rem is 6782 * decreased by one. The member data points to the next 6783 * element. The member index is increased by sizeof(xcb_input_ptr_feedback_ctl_t) 6784 */ 6785 6786 /***************************************************************************** 6787 ** 6788 ** void xcb_input_ptr_feedback_ctl_next 6789 ** 6790 ** @param xcb_input_ptr_feedback_ctl_iterator_t *i 6791 ** @returns void 6792 ** 6793 *****************************************************************************/ 6794 6795 void 6796 xcb_input_ptr_feedback_ctl_next (xcb_input_ptr_feedback_ctl_iterator_t *i /**< */); 6797 6798 /** 6799 * Return the iterator pointing to the last element 6800 * @param i An xcb_input_ptr_feedback_ctl_iterator_t 6801 * @return The iterator pointing to the last element 6802 * 6803 * Set the current element in the iterator to the last element. 6804 * The member rem is set to 0. The member data points to the 6805 * last element. 6806 */ 6807 6808 /***************************************************************************** 6809 ** 6810 ** xcb_generic_iterator_t xcb_input_ptr_feedback_ctl_end 6811 ** 6812 ** @param xcb_input_ptr_feedback_ctl_iterator_t i 6813 ** @returns xcb_generic_iterator_t 6814 ** 6815 *****************************************************************************/ 6816 6817 xcb_generic_iterator_t 6818 xcb_input_ptr_feedback_ctl_end (xcb_input_ptr_feedback_ctl_iterator_t i /**< */); 6819 6820 /** 6821 * Get the next element of the iterator 6822 * @param i Pointer to a xcb_input_integer_feedback_ctl_iterator_t 6823 * 6824 * Get the next element in the iterator. The member rem is 6825 * decreased by one. The member data points to the next 6826 * element. The member index is increased by sizeof(xcb_input_integer_feedback_ctl_t) 6827 */ 6828 6829 /***************************************************************************** 6830 ** 6831 ** void xcb_input_integer_feedback_ctl_next 6832 ** 6833 ** @param xcb_input_integer_feedback_ctl_iterator_t *i 6834 ** @returns void 6835 ** 6836 *****************************************************************************/ 6837 6838 void 6839 xcb_input_integer_feedback_ctl_next (xcb_input_integer_feedback_ctl_iterator_t *i /**< */); 6840 6841 /** 6842 * Return the iterator pointing to the last element 6843 * @param i An xcb_input_integer_feedback_ctl_iterator_t 6844 * @return The iterator pointing to the last element 6845 * 6846 * Set the current element in the iterator to the last element. 6847 * The member rem is set to 0. The member data points to the 6848 * last element. 6849 */ 6850 6851 /***************************************************************************** 6852 ** 6853 ** xcb_generic_iterator_t xcb_input_integer_feedback_ctl_end 6854 ** 6855 ** @param xcb_input_integer_feedback_ctl_iterator_t i 6856 ** @returns xcb_generic_iterator_t 6857 ** 6858 *****************************************************************************/ 6859 6860 xcb_generic_iterator_t 6861 xcb_input_integer_feedback_ctl_end (xcb_input_integer_feedback_ctl_iterator_t i /**< */); 6862 6863 int 6864 xcb_input_string_feedback_ctl_sizeof (const void *_buffer /**< */); 6865 6866 6867 /***************************************************************************** 6868 ** 6869 ** xcb_keysym_t * xcb_input_string_feedback_ctl_keysyms 6870 ** 6871 ** @param const xcb_input_string_feedback_ctl_t *R 6872 ** @returns xcb_keysym_t * 6873 ** 6874 *****************************************************************************/ 6875 6876 xcb_keysym_t * 6877 xcb_input_string_feedback_ctl_keysyms (const xcb_input_string_feedback_ctl_t *R /**< */); 6878 6879 6880 /***************************************************************************** 6881 ** 6882 ** int xcb_input_string_feedback_ctl_keysyms_length 6883 ** 6884 ** @param const xcb_input_string_feedback_ctl_t *R 6885 ** @returns int 6886 ** 6887 *****************************************************************************/ 6888 6889 int 6890 xcb_input_string_feedback_ctl_keysyms_length (const xcb_input_string_feedback_ctl_t *R /**< */); 6891 6892 6893 /***************************************************************************** 6894 ** 6895 ** xcb_generic_iterator_t xcb_input_string_feedback_ctl_keysyms_end 6896 ** 6897 ** @param const xcb_input_string_feedback_ctl_t *R 6898 ** @returns xcb_generic_iterator_t 6899 ** 6900 *****************************************************************************/ 6901 6902 xcb_generic_iterator_t 6903 xcb_input_string_feedback_ctl_keysyms_end (const xcb_input_string_feedback_ctl_t *R /**< */); 6904 6905 /** 6906 * Get the next element of the iterator 6907 * @param i Pointer to a xcb_input_string_feedback_ctl_iterator_t 6908 * 6909 * Get the next element in the iterator. The member rem is 6910 * decreased by one. The member data points to the next 6911 * element. The member index is increased by sizeof(xcb_input_string_feedback_ctl_t) 6912 */ 6913 6914 /***************************************************************************** 6915 ** 6916 ** void xcb_input_string_feedback_ctl_next 6917 ** 6918 ** @param xcb_input_string_feedback_ctl_iterator_t *i 6919 ** @returns void 6920 ** 6921 *****************************************************************************/ 6922 6923 void 6924 xcb_input_string_feedback_ctl_next (xcb_input_string_feedback_ctl_iterator_t *i /**< */); 6925 6926 /** 6927 * Return the iterator pointing to the last element 6928 * @param i An xcb_input_string_feedback_ctl_iterator_t 6929 * @return The iterator pointing to the last element 6930 * 6931 * Set the current element in the iterator to the last element. 6932 * The member rem is set to 0. The member data points to the 6933 * last element. 6934 */ 6935 6936 /***************************************************************************** 6937 ** 6938 ** xcb_generic_iterator_t xcb_input_string_feedback_ctl_end 6939 ** 6940 ** @param xcb_input_string_feedback_ctl_iterator_t i 6941 ** @returns xcb_generic_iterator_t 6942 ** 6943 *****************************************************************************/ 6944 6945 xcb_generic_iterator_t 6946 xcb_input_string_feedback_ctl_end (xcb_input_string_feedback_ctl_iterator_t i /**< */); 6947 6948 /** 6949 * Get the next element of the iterator 6950 * @param i Pointer to a xcb_input_bell_feedback_ctl_iterator_t 6951 * 6952 * Get the next element in the iterator. The member rem is 6953 * decreased by one. The member data points to the next 6954 * element. The member index is increased by sizeof(xcb_input_bell_feedback_ctl_t) 6955 */ 6956 6957 /***************************************************************************** 6958 ** 6959 ** void xcb_input_bell_feedback_ctl_next 6960 ** 6961 ** @param xcb_input_bell_feedback_ctl_iterator_t *i 6962 ** @returns void 6963 ** 6964 *****************************************************************************/ 6965 6966 void 6967 xcb_input_bell_feedback_ctl_next (xcb_input_bell_feedback_ctl_iterator_t *i /**< */); 6968 6969 /** 6970 * Return the iterator pointing to the last element 6971 * @param i An xcb_input_bell_feedback_ctl_iterator_t 6972 * @return The iterator pointing to the last element 6973 * 6974 * Set the current element in the iterator to the last element. 6975 * The member rem is set to 0. The member data points to the 6976 * last element. 6977 */ 6978 6979 /***************************************************************************** 6980 ** 6981 ** xcb_generic_iterator_t xcb_input_bell_feedback_ctl_end 6982 ** 6983 ** @param xcb_input_bell_feedback_ctl_iterator_t i 6984 ** @returns xcb_generic_iterator_t 6985 ** 6986 *****************************************************************************/ 6987 6988 xcb_generic_iterator_t 6989 xcb_input_bell_feedback_ctl_end (xcb_input_bell_feedback_ctl_iterator_t i /**< */); 6990 6991 /** 6992 * Get the next element of the iterator 6993 * @param i Pointer to a xcb_input_led_feedback_ctl_iterator_t 6994 * 6995 * Get the next element in the iterator. The member rem is 6996 * decreased by one. The member data points to the next 6997 * element. The member index is increased by sizeof(xcb_input_led_feedback_ctl_t) 6998 */ 6999 7000 /***************************************************************************** 7001 ** 7002 ** void xcb_input_led_feedback_ctl_next 7003 ** 7004 ** @param xcb_input_led_feedback_ctl_iterator_t *i 7005 ** @returns void 7006 ** 7007 *****************************************************************************/ 7008 7009 void 7010 xcb_input_led_feedback_ctl_next (xcb_input_led_feedback_ctl_iterator_t *i /**< */); 7011 7012 /** 7013 * Return the iterator pointing to the last element 7014 * @param i An xcb_input_led_feedback_ctl_iterator_t 7015 * @return The iterator pointing to the last element 7016 * 7017 * Set the current element in the iterator to the last element. 7018 * The member rem is set to 0. The member data points to the 7019 * last element. 7020 */ 7021 7022 /***************************************************************************** 7023 ** 7024 ** xcb_generic_iterator_t xcb_input_led_feedback_ctl_end 7025 ** 7026 ** @param xcb_input_led_feedback_ctl_iterator_t i 7027 ** @returns xcb_generic_iterator_t 7028 ** 7029 *****************************************************************************/ 7030 7031 xcb_generic_iterator_t 7032 xcb_input_led_feedback_ctl_end (xcb_input_led_feedback_ctl_iterator_t i /**< */); 7033 7034 int 7035 xcb_input_feedback_ctl_sizeof (const void *_buffer /**< */); 7036 7037 7038 /***************************************************************************** 7039 ** 7040 ** uint8_t * xcb_input_feedback_ctl_uninterpreted_data 7041 ** 7042 ** @param const xcb_input_feedback_ctl_t *R 7043 ** @returns uint8_t * 7044 ** 7045 *****************************************************************************/ 7046 7047 uint8_t * 7048 xcb_input_feedback_ctl_uninterpreted_data (const xcb_input_feedback_ctl_t *R /**< */); 7049 7050 7051 /***************************************************************************** 7052 ** 7053 ** int xcb_input_feedback_ctl_uninterpreted_data_length 7054 ** 7055 ** @param const xcb_input_feedback_ctl_t *R 7056 ** @returns int 7057 ** 7058 *****************************************************************************/ 7059 7060 int 7061 xcb_input_feedback_ctl_uninterpreted_data_length (const xcb_input_feedback_ctl_t *R /**< */); 7062 7063 7064 /***************************************************************************** 7065 ** 7066 ** xcb_generic_iterator_t xcb_input_feedback_ctl_uninterpreted_data_end 7067 ** 7068 ** @param const xcb_input_feedback_ctl_t *R 7069 ** @returns xcb_generic_iterator_t 7070 ** 7071 *****************************************************************************/ 7072 7073 xcb_generic_iterator_t 7074 xcb_input_feedback_ctl_uninterpreted_data_end (const xcb_input_feedback_ctl_t *R /**< */); 7075 7076 /** 7077 * Get the next element of the iterator 7078 * @param i Pointer to a xcb_input_feedback_ctl_iterator_t 7079 * 7080 * Get the next element in the iterator. The member rem is 7081 * decreased by one. The member data points to the next 7082 * element. The member index is increased by sizeof(xcb_input_feedback_ctl_t) 7083 */ 7084 7085 /***************************************************************************** 7086 ** 7087 ** void xcb_input_feedback_ctl_next 7088 ** 7089 ** @param xcb_input_feedback_ctl_iterator_t *i 7090 ** @returns void 7091 ** 7092 *****************************************************************************/ 7093 7094 void 7095 xcb_input_feedback_ctl_next (xcb_input_feedback_ctl_iterator_t *i /**< */); 7096 7097 /** 7098 * Return the iterator pointing to the last element 7099 * @param i An xcb_input_feedback_ctl_iterator_t 7100 * @return The iterator pointing to the last element 7101 * 7102 * Set the current element in the iterator to the last element. 7103 * The member rem is set to 0. The member data points to the 7104 * last element. 7105 */ 7106 7107 /***************************************************************************** 7108 ** 7109 ** xcb_generic_iterator_t xcb_input_feedback_ctl_end 7110 ** 7111 ** @param xcb_input_feedback_ctl_iterator_t i 7112 ** @returns xcb_generic_iterator_t 7113 ** 7114 *****************************************************************************/ 7115 7116 xcb_generic_iterator_t 7117 xcb_input_feedback_ctl_end (xcb_input_feedback_ctl_iterator_t i /**< */); 7118 7119 int 7120 xcb_input_change_feedback_control_sizeof (const void *_buffer /**< */); 7121 7122 /** 7123 * 7124 * @param c The connection 7125 * @return A cookie 7126 * 7127 * Delivers a request to the X server. 7128 * 7129 * This form can be used only if the request will not cause 7130 * a reply to be generated. Any returned error will be 7131 * saved for handling by xcb_request_check(). 7132 */ 7133 7134 /***************************************************************************** 7135 ** 7136 ** xcb_void_cookie_t xcb_input_change_feedback_control_checked 7137 ** 7138 ** @param xcb_connection_t *c 7139 ** @param uint32_t mask 7140 ** @param uint8_t device_id 7141 ** @param uint8_t feedback_id 7142 ** @param xcb_input_feedback_ctl_t *feedback 7143 ** @returns xcb_void_cookie_t 7144 ** 7145 *****************************************************************************/ 7146 7147 xcb_void_cookie_t 7148 xcb_input_change_feedback_control_checked (xcb_connection_t *c /**< */, 7149 uint32_t mask /**< */, 7150 uint8_t device_id /**< */, 7151 uint8_t feedback_id /**< */, 7152 xcb_input_feedback_ctl_t *feedback /**< */); 7153 7154 /** 7155 * 7156 * @param c The connection 7157 * @return A cookie 7158 * 7159 * Delivers a request to the X server. 7160 * 7161 */ 7162 7163 /***************************************************************************** 7164 ** 7165 ** xcb_void_cookie_t xcb_input_change_feedback_control 7166 ** 7167 ** @param xcb_connection_t *c 7168 ** @param uint32_t mask 7169 ** @param uint8_t device_id 7170 ** @param uint8_t feedback_id 7171 ** @param xcb_input_feedback_ctl_t *feedback 7172 ** @returns xcb_void_cookie_t 7173 ** 7174 *****************************************************************************/ 7175 7176 xcb_void_cookie_t 7177 xcb_input_change_feedback_control (xcb_connection_t *c /**< */, 7178 uint32_t mask /**< */, 7179 uint8_t device_id /**< */, 7180 uint8_t feedback_id /**< */, 7181 xcb_input_feedback_ctl_t *feedback /**< */); 7182 7183 int 7184 xcb_input_get_device_key_mapping_sizeof (const void *_buffer /**< */); 7185 7186 /** 7187 * 7188 * @param c The connection 7189 * @return A cookie 7190 * 7191 * Delivers a request to the X server. 7192 * 7193 */ 7194 7195 /***************************************************************************** 7196 ** 7197 ** xcb_input_get_device_key_mapping_cookie_t xcb_input_get_device_key_mapping 7198 ** 7199 ** @param xcb_connection_t *c 7200 ** @param uint8_t device_id 7201 ** @param xcb_input_key_code_t first_keycode 7202 ** @param uint8_t count 7203 ** @returns xcb_input_get_device_key_mapping_cookie_t 7204 ** 7205 *****************************************************************************/ 7206 7207 xcb_input_get_device_key_mapping_cookie_t 7208 xcb_input_get_device_key_mapping (xcb_connection_t *c /**< */, 7209 uint8_t device_id /**< */, 7210 xcb_input_key_code_t first_keycode /**< */, 7211 uint8_t count /**< */); 7212 7213 /** 7214 * 7215 * @param c The connection 7216 * @return A cookie 7217 * 7218 * Delivers a request to the X server. 7219 * 7220 * This form can be used only if the request will cause 7221 * a reply to be generated. Any returned error will be 7222 * placed in the event queue. 7223 */ 7224 7225 /***************************************************************************** 7226 ** 7227 ** xcb_input_get_device_key_mapping_cookie_t xcb_input_get_device_key_mapping_unchecked 7228 ** 7229 ** @param xcb_connection_t *c 7230 ** @param uint8_t device_id 7231 ** @param xcb_input_key_code_t first_keycode 7232 ** @param uint8_t count 7233 ** @returns xcb_input_get_device_key_mapping_cookie_t 7234 ** 7235 *****************************************************************************/ 7236 7237 xcb_input_get_device_key_mapping_cookie_t 7238 xcb_input_get_device_key_mapping_unchecked (xcb_connection_t *c /**< */, 7239 uint8_t device_id /**< */, 7240 xcb_input_key_code_t first_keycode /**< */, 7241 uint8_t count /**< */); 7242 7243 7244 /***************************************************************************** 7245 ** 7246 ** xcb_keysym_t * xcb_input_get_device_key_mapping_keysyms 7247 ** 7248 ** @param const xcb_input_get_device_key_mapping_reply_t *R 7249 ** @returns xcb_keysym_t * 7250 ** 7251 *****************************************************************************/ 7252 7253 xcb_keysym_t * 7254 xcb_input_get_device_key_mapping_keysyms (const xcb_input_get_device_key_mapping_reply_t *R /**< */); 7255 7256 7257 /***************************************************************************** 7258 ** 7259 ** int xcb_input_get_device_key_mapping_keysyms_length 7260 ** 7261 ** @param const xcb_input_get_device_key_mapping_reply_t *R 7262 ** @returns int 7263 ** 7264 *****************************************************************************/ 7265 7266 int 7267 xcb_input_get_device_key_mapping_keysyms_length (const xcb_input_get_device_key_mapping_reply_t *R /**< */); 7268 7269 7270 /***************************************************************************** 7271 ** 7272 ** xcb_generic_iterator_t xcb_input_get_device_key_mapping_keysyms_end 7273 ** 7274 ** @param const xcb_input_get_device_key_mapping_reply_t *R 7275 ** @returns xcb_generic_iterator_t 7276 ** 7277 *****************************************************************************/ 7278 7279 xcb_generic_iterator_t 7280 xcb_input_get_device_key_mapping_keysyms_end (const xcb_input_get_device_key_mapping_reply_t *R /**< */); 7281 7282 /** 7283 * Return the reply 7284 * @param c The connection 7285 * @param cookie The cookie 7286 * @param e The xcb_generic_error_t supplied 7287 * 7288 * Returns the reply of the request asked by 7289 * 7290 * The parameter @p e supplied to this function must be NULL if 7291 * xcb_input_get_device_key_mapping_unchecked(). is used. 7292 * Otherwise, it stores the error if any. 7293 * 7294 * The returned value must be freed by the caller using free(). 7295 */ 7296 7297 /***************************************************************************** 7298 ** 7299 ** xcb_input_get_device_key_mapping_reply_t * xcb_input_get_device_key_mapping_reply 7300 ** 7301 ** @param xcb_connection_t *c 7302 ** @param xcb_input_get_device_key_mapping_cookie_t cookie 7303 ** @param xcb_generic_error_t **e 7304 ** @returns xcb_input_get_device_key_mapping_reply_t * 7305 ** 7306 *****************************************************************************/ 7307 7308 xcb_input_get_device_key_mapping_reply_t * 7309 xcb_input_get_device_key_mapping_reply (xcb_connection_t *c /**< */, 7310 xcb_input_get_device_key_mapping_cookie_t cookie /**< */, 7311 xcb_generic_error_t **e /**< */); 7312 7313 int 7314 xcb_input_change_device_key_mapping_sizeof (const void *_buffer /**< */); 7315 7316 /** 7317 * 7318 * @param c The connection 7319 * @return A cookie 7320 * 7321 * Delivers a request to the X server. 7322 * 7323 * This form can be used only if the request will not cause 7324 * a reply to be generated. Any returned error will be 7325 * saved for handling by xcb_request_check(). 7326 */ 7327 7328 /***************************************************************************** 7329 ** 7330 ** xcb_void_cookie_t xcb_input_change_device_key_mapping_checked 7331 ** 7332 ** @param xcb_connection_t *c 7333 ** @param uint8_t device_id 7334 ** @param xcb_input_key_code_t first_keycode 7335 ** @param uint8_t keysyms_per_keycode 7336 ** @param uint8_t keycode_count 7337 ** @param const xcb_keysym_t *keysyms 7338 ** @returns xcb_void_cookie_t 7339 ** 7340 *****************************************************************************/ 7341 7342 xcb_void_cookie_t 7343 xcb_input_change_device_key_mapping_checked (xcb_connection_t *c /**< */, 7344 uint8_t device_id /**< */, 7345 xcb_input_key_code_t first_keycode /**< */, 7346 uint8_t keysyms_per_keycode /**< */, 7347 uint8_t keycode_count /**< */, 7348 const xcb_keysym_t *keysyms /**< */); 7349 7350 /** 7351 * 7352 * @param c The connection 7353 * @return A cookie 7354 * 7355 * Delivers a request to the X server. 7356 * 7357 */ 7358 7359 /***************************************************************************** 7360 ** 7361 ** xcb_void_cookie_t xcb_input_change_device_key_mapping 7362 ** 7363 ** @param xcb_connection_t *c 7364 ** @param uint8_t device_id 7365 ** @param xcb_input_key_code_t first_keycode 7366 ** @param uint8_t keysyms_per_keycode 7367 ** @param uint8_t keycode_count 7368 ** @param const xcb_keysym_t *keysyms 7369 ** @returns xcb_void_cookie_t 7370 ** 7371 *****************************************************************************/ 7372 7373 xcb_void_cookie_t 7374 xcb_input_change_device_key_mapping (xcb_connection_t *c /**< */, 7375 uint8_t device_id /**< */, 7376 xcb_input_key_code_t first_keycode /**< */, 7377 uint8_t keysyms_per_keycode /**< */, 7378 uint8_t keycode_count /**< */, 7379 const xcb_keysym_t *keysyms /**< */); 7380 7381 int 7382 xcb_input_get_device_modifier_mapping_sizeof (const void *_buffer /**< */); 7383 7384 /** 7385 * 7386 * @param c The connection 7387 * @return A cookie 7388 * 7389 * Delivers a request to the X server. 7390 * 7391 */ 7392 7393 /***************************************************************************** 7394 ** 7395 ** xcb_input_get_device_modifier_mapping_cookie_t xcb_input_get_device_modifier_mapping 7396 ** 7397 ** @param xcb_connection_t *c 7398 ** @param uint8_t device_id 7399 ** @returns xcb_input_get_device_modifier_mapping_cookie_t 7400 ** 7401 *****************************************************************************/ 7402 7403 xcb_input_get_device_modifier_mapping_cookie_t 7404 xcb_input_get_device_modifier_mapping (xcb_connection_t *c /**< */, 7405 uint8_t device_id /**< */); 7406 7407 /** 7408 * 7409 * @param c The connection 7410 * @return A cookie 7411 * 7412 * Delivers a request to the X server. 7413 * 7414 * This form can be used only if the request will cause 7415 * a reply to be generated. Any returned error will be 7416 * placed in the event queue. 7417 */ 7418 7419 /***************************************************************************** 7420 ** 7421 ** xcb_input_get_device_modifier_mapping_cookie_t xcb_input_get_device_modifier_mapping_unchecked 7422 ** 7423 ** @param xcb_connection_t *c 7424 ** @param uint8_t device_id 7425 ** @returns xcb_input_get_device_modifier_mapping_cookie_t 7426 ** 7427 *****************************************************************************/ 7428 7429 xcb_input_get_device_modifier_mapping_cookie_t 7430 xcb_input_get_device_modifier_mapping_unchecked (xcb_connection_t *c /**< */, 7431 uint8_t device_id /**< */); 7432 7433 7434 /***************************************************************************** 7435 ** 7436 ** uint8_t * xcb_input_get_device_modifier_mapping_keymaps 7437 ** 7438 ** @param const xcb_input_get_device_modifier_mapping_reply_t *R 7439 ** @returns uint8_t * 7440 ** 7441 *****************************************************************************/ 7442 7443 uint8_t * 7444 xcb_input_get_device_modifier_mapping_keymaps (const xcb_input_get_device_modifier_mapping_reply_t *R /**< */); 7445 7446 7447 /***************************************************************************** 7448 ** 7449 ** int xcb_input_get_device_modifier_mapping_keymaps_length 7450 ** 7451 ** @param const xcb_input_get_device_modifier_mapping_reply_t *R 7452 ** @returns int 7453 ** 7454 *****************************************************************************/ 7455 7456 int 7457 xcb_input_get_device_modifier_mapping_keymaps_length (const xcb_input_get_device_modifier_mapping_reply_t *R /**< */); 7458 7459 7460 /***************************************************************************** 7461 ** 7462 ** xcb_generic_iterator_t xcb_input_get_device_modifier_mapping_keymaps_end 7463 ** 7464 ** @param const xcb_input_get_device_modifier_mapping_reply_t *R 7465 ** @returns xcb_generic_iterator_t 7466 ** 7467 *****************************************************************************/ 7468 7469 xcb_generic_iterator_t 7470 xcb_input_get_device_modifier_mapping_keymaps_end (const xcb_input_get_device_modifier_mapping_reply_t *R /**< */); 7471 7472 /** 7473 * Return the reply 7474 * @param c The connection 7475 * @param cookie The cookie 7476 * @param e The xcb_generic_error_t supplied 7477 * 7478 * Returns the reply of the request asked by 7479 * 7480 * The parameter @p e supplied to this function must be NULL if 7481 * xcb_input_get_device_modifier_mapping_unchecked(). is used. 7482 * Otherwise, it stores the error if any. 7483 * 7484 * The returned value must be freed by the caller using free(). 7485 */ 7486 7487 /***************************************************************************** 7488 ** 7489 ** xcb_input_get_device_modifier_mapping_reply_t * xcb_input_get_device_modifier_mapping_reply 7490 ** 7491 ** @param xcb_connection_t *c 7492 ** @param xcb_input_get_device_modifier_mapping_cookie_t cookie 7493 ** @param xcb_generic_error_t **e 7494 ** @returns xcb_input_get_device_modifier_mapping_reply_t * 7495 ** 7496 *****************************************************************************/ 7497 7498 xcb_input_get_device_modifier_mapping_reply_t * 7499 xcb_input_get_device_modifier_mapping_reply (xcb_connection_t *c /**< */, 7500 xcb_input_get_device_modifier_mapping_cookie_t cookie /**< */, 7501 xcb_generic_error_t **e /**< */); 7502 7503 int 7504 xcb_input_set_device_modifier_mapping_sizeof (const void *_buffer /**< */); 7505 7506 /** 7507 * 7508 * @param c The connection 7509 * @return A cookie 7510 * 7511 * Delivers a request to the X server. 7512 * 7513 */ 7514 7515 /***************************************************************************** 7516 ** 7517 ** xcb_input_set_device_modifier_mapping_cookie_t xcb_input_set_device_modifier_mapping 7518 ** 7519 ** @param xcb_connection_t *c 7520 ** @param uint8_t device_id 7521 ** @param uint8_t keycodes_per_modifier 7522 ** @param const uint8_t *keymaps 7523 ** @returns xcb_input_set_device_modifier_mapping_cookie_t 7524 ** 7525 *****************************************************************************/ 7526 7527 xcb_input_set_device_modifier_mapping_cookie_t 7528 xcb_input_set_device_modifier_mapping (xcb_connection_t *c /**< */, 7529 uint8_t device_id /**< */, 7530 uint8_t keycodes_per_modifier /**< */, 7531 const uint8_t *keymaps /**< */); 7532 7533 /** 7534 * 7535 * @param c The connection 7536 * @return A cookie 7537 * 7538 * Delivers a request to the X server. 7539 * 7540 * This form can be used only if the request will cause 7541 * a reply to be generated. Any returned error will be 7542 * placed in the event queue. 7543 */ 7544 7545 /***************************************************************************** 7546 ** 7547 ** xcb_input_set_device_modifier_mapping_cookie_t xcb_input_set_device_modifier_mapping_unchecked 7548 ** 7549 ** @param xcb_connection_t *c 7550 ** @param uint8_t device_id 7551 ** @param uint8_t keycodes_per_modifier 7552 ** @param const uint8_t *keymaps 7553 ** @returns xcb_input_set_device_modifier_mapping_cookie_t 7554 ** 7555 *****************************************************************************/ 7556 7557 xcb_input_set_device_modifier_mapping_cookie_t 7558 xcb_input_set_device_modifier_mapping_unchecked (xcb_connection_t *c /**< */, 7559 uint8_t device_id /**< */, 7560 uint8_t keycodes_per_modifier /**< */, 7561 const uint8_t *keymaps /**< */); 7562 7563 /** 7564 * Return the reply 7565 * @param c The connection 7566 * @param cookie The cookie 7567 * @param e The xcb_generic_error_t supplied 7568 * 7569 * Returns the reply of the request asked by 7570 * 7571 * The parameter @p e supplied to this function must be NULL if 7572 * xcb_input_set_device_modifier_mapping_unchecked(). is used. 7573 * Otherwise, it stores the error if any. 7574 * 7575 * The returned value must be freed by the caller using free(). 7576 */ 7577 7578 /***************************************************************************** 7579 ** 7580 ** xcb_input_set_device_modifier_mapping_reply_t * xcb_input_set_device_modifier_mapping_reply 7581 ** 7582 ** @param xcb_connection_t *c 7583 ** @param xcb_input_set_device_modifier_mapping_cookie_t cookie 7584 ** @param xcb_generic_error_t **e 7585 ** @returns xcb_input_set_device_modifier_mapping_reply_t * 7586 ** 7587 *****************************************************************************/ 7588 7589 xcb_input_set_device_modifier_mapping_reply_t * 7590 xcb_input_set_device_modifier_mapping_reply (xcb_connection_t *c /**< */, 7591 xcb_input_set_device_modifier_mapping_cookie_t cookie /**< */, 7592 xcb_generic_error_t **e /**< */); 7593 7594 int 7595 xcb_input_get_device_button_mapping_sizeof (const void *_buffer /**< */); 7596 7597 /** 7598 * 7599 * @param c The connection 7600 * @return A cookie 7601 * 7602 * Delivers a request to the X server. 7603 * 7604 */ 7605 7606 /***************************************************************************** 7607 ** 7608 ** xcb_input_get_device_button_mapping_cookie_t xcb_input_get_device_button_mapping 7609 ** 7610 ** @param xcb_connection_t *c 7611 ** @param uint8_t device_id 7612 ** @returns xcb_input_get_device_button_mapping_cookie_t 7613 ** 7614 *****************************************************************************/ 7615 7616 xcb_input_get_device_button_mapping_cookie_t 7617 xcb_input_get_device_button_mapping (xcb_connection_t *c /**< */, 7618 uint8_t device_id /**< */); 7619 7620 /** 7621 * 7622 * @param c The connection 7623 * @return A cookie 7624 * 7625 * Delivers a request to the X server. 7626 * 7627 * This form can be used only if the request will cause 7628 * a reply to be generated. Any returned error will be 7629 * placed in the event queue. 7630 */ 7631 7632 /***************************************************************************** 7633 ** 7634 ** xcb_input_get_device_button_mapping_cookie_t xcb_input_get_device_button_mapping_unchecked 7635 ** 7636 ** @param xcb_connection_t *c 7637 ** @param uint8_t device_id 7638 ** @returns xcb_input_get_device_button_mapping_cookie_t 7639 ** 7640 *****************************************************************************/ 7641 7642 xcb_input_get_device_button_mapping_cookie_t 7643 xcb_input_get_device_button_mapping_unchecked (xcb_connection_t *c /**< */, 7644 uint8_t device_id /**< */); 7645 7646 7647 /***************************************************************************** 7648 ** 7649 ** uint8_t * xcb_input_get_device_button_mapping_map 7650 ** 7651 ** @param const xcb_input_get_device_button_mapping_reply_t *R 7652 ** @returns uint8_t * 7653 ** 7654 *****************************************************************************/ 7655 7656 uint8_t * 7657 xcb_input_get_device_button_mapping_map (const xcb_input_get_device_button_mapping_reply_t *R /**< */); 7658 7659 7660 /***************************************************************************** 7661 ** 7662 ** int xcb_input_get_device_button_mapping_map_length 7663 ** 7664 ** @param const xcb_input_get_device_button_mapping_reply_t *R 7665 ** @returns int 7666 ** 7667 *****************************************************************************/ 7668 7669 int 7670 xcb_input_get_device_button_mapping_map_length (const xcb_input_get_device_button_mapping_reply_t *R /**< */); 7671 7672 7673 /***************************************************************************** 7674 ** 7675 ** xcb_generic_iterator_t xcb_input_get_device_button_mapping_map_end 7676 ** 7677 ** @param const xcb_input_get_device_button_mapping_reply_t *R 7678 ** @returns xcb_generic_iterator_t 7679 ** 7680 *****************************************************************************/ 7681 7682 xcb_generic_iterator_t 7683 xcb_input_get_device_button_mapping_map_end (const xcb_input_get_device_button_mapping_reply_t *R /**< */); 7684 7685 /** 7686 * Return the reply 7687 * @param c The connection 7688 * @param cookie The cookie 7689 * @param e The xcb_generic_error_t supplied 7690 * 7691 * Returns the reply of the request asked by 7692 * 7693 * The parameter @p e supplied to this function must be NULL if 7694 * xcb_input_get_device_button_mapping_unchecked(). is used. 7695 * Otherwise, it stores the error if any. 7696 * 7697 * The returned value must be freed by the caller using free(). 7698 */ 7699 7700 /***************************************************************************** 7701 ** 7702 ** xcb_input_get_device_button_mapping_reply_t * xcb_input_get_device_button_mapping_reply 7703 ** 7704 ** @param xcb_connection_t *c 7705 ** @param xcb_input_get_device_button_mapping_cookie_t cookie 7706 ** @param xcb_generic_error_t **e 7707 ** @returns xcb_input_get_device_button_mapping_reply_t * 7708 ** 7709 *****************************************************************************/ 7710 7711 xcb_input_get_device_button_mapping_reply_t * 7712 xcb_input_get_device_button_mapping_reply (xcb_connection_t *c /**< */, 7713 xcb_input_get_device_button_mapping_cookie_t cookie /**< */, 7714 xcb_generic_error_t **e /**< */); 7715 7716 int 7717 xcb_input_set_device_button_mapping_sizeof (const void *_buffer /**< */); 7718 7719 /** 7720 * 7721 * @param c The connection 7722 * @return A cookie 7723 * 7724 * Delivers a request to the X server. 7725 * 7726 */ 7727 7728 /***************************************************************************** 7729 ** 7730 ** xcb_input_set_device_button_mapping_cookie_t xcb_input_set_device_button_mapping 7731 ** 7732 ** @param xcb_connection_t *c 7733 ** @param uint8_t device_id 7734 ** @param uint8_t map_size 7735 ** @param const uint8_t *map 7736 ** @returns xcb_input_set_device_button_mapping_cookie_t 7737 ** 7738 *****************************************************************************/ 7739 7740 xcb_input_set_device_button_mapping_cookie_t 7741 xcb_input_set_device_button_mapping (xcb_connection_t *c /**< */, 7742 uint8_t device_id /**< */, 7743 uint8_t map_size /**< */, 7744 const uint8_t *map /**< */); 7745 7746 /** 7747 * 7748 * @param c The connection 7749 * @return A cookie 7750 * 7751 * Delivers a request to the X server. 7752 * 7753 * This form can be used only if the request will cause 7754 * a reply to be generated. Any returned error will be 7755 * placed in the event queue. 7756 */ 7757 7758 /***************************************************************************** 7759 ** 7760 ** xcb_input_set_device_button_mapping_cookie_t xcb_input_set_device_button_mapping_unchecked 7761 ** 7762 ** @param xcb_connection_t *c 7763 ** @param uint8_t device_id 7764 ** @param uint8_t map_size 7765 ** @param const uint8_t *map 7766 ** @returns xcb_input_set_device_button_mapping_cookie_t 7767 ** 7768 *****************************************************************************/ 7769 7770 xcb_input_set_device_button_mapping_cookie_t 7771 xcb_input_set_device_button_mapping_unchecked (xcb_connection_t *c /**< */, 7772 uint8_t device_id /**< */, 7773 uint8_t map_size /**< */, 7774 const uint8_t *map /**< */); 7775 7776 /** 7777 * Return the reply 7778 * @param c The connection 7779 * @param cookie The cookie 7780 * @param e The xcb_generic_error_t supplied 7781 * 7782 * Returns the reply of the request asked by 7783 * 7784 * The parameter @p e supplied to this function must be NULL if 7785 * xcb_input_set_device_button_mapping_unchecked(). is used. 7786 * Otherwise, it stores the error if any. 7787 * 7788 * The returned value must be freed by the caller using free(). 7789 */ 7790 7791 /***************************************************************************** 7792 ** 7793 ** xcb_input_set_device_button_mapping_reply_t * xcb_input_set_device_button_mapping_reply 7794 ** 7795 ** @param xcb_connection_t *c 7796 ** @param xcb_input_set_device_button_mapping_cookie_t cookie 7797 ** @param xcb_generic_error_t **e 7798 ** @returns xcb_input_set_device_button_mapping_reply_t * 7799 ** 7800 *****************************************************************************/ 7801 7802 xcb_input_set_device_button_mapping_reply_t * 7803 xcb_input_set_device_button_mapping_reply (xcb_connection_t *c /**< */, 7804 xcb_input_set_device_button_mapping_cookie_t cookie /**< */, 7805 xcb_generic_error_t **e /**< */); 7806 7807 /** 7808 * Get the next element of the iterator 7809 * @param i Pointer to a xcb_input_key_state_iterator_t 7810 * 7811 * Get the next element in the iterator. The member rem is 7812 * decreased by one. The member data points to the next 7813 * element. The member index is increased by sizeof(xcb_input_key_state_t) 7814 */ 7815 7816 /***************************************************************************** 7817 ** 7818 ** void xcb_input_key_state_next 7819 ** 7820 ** @param xcb_input_key_state_iterator_t *i 7821 ** @returns void 7822 ** 7823 *****************************************************************************/ 7824 7825 void 7826 xcb_input_key_state_next (xcb_input_key_state_iterator_t *i /**< */); 7827 7828 /** 7829 * Return the iterator pointing to the last element 7830 * @param i An xcb_input_key_state_iterator_t 7831 * @return The iterator pointing to the last element 7832 * 7833 * Set the current element in the iterator to the last element. 7834 * The member rem is set to 0. The member data points to the 7835 * last element. 7836 */ 7837 7838 /***************************************************************************** 7839 ** 7840 ** xcb_generic_iterator_t xcb_input_key_state_end 7841 ** 7842 ** @param xcb_input_key_state_iterator_t i 7843 ** @returns xcb_generic_iterator_t 7844 ** 7845 *****************************************************************************/ 7846 7847 xcb_generic_iterator_t 7848 xcb_input_key_state_end (xcb_input_key_state_iterator_t i /**< */); 7849 7850 /** 7851 * Get the next element of the iterator 7852 * @param i Pointer to a xcb_input_button_state_iterator_t 7853 * 7854 * Get the next element in the iterator. The member rem is 7855 * decreased by one. The member data points to the next 7856 * element. The member index is increased by sizeof(xcb_input_button_state_t) 7857 */ 7858 7859 /***************************************************************************** 7860 ** 7861 ** void xcb_input_button_state_next 7862 ** 7863 ** @param xcb_input_button_state_iterator_t *i 7864 ** @returns void 7865 ** 7866 *****************************************************************************/ 7867 7868 void 7869 xcb_input_button_state_next (xcb_input_button_state_iterator_t *i /**< */); 7870 7871 /** 7872 * Return the iterator pointing to the last element 7873 * @param i An xcb_input_button_state_iterator_t 7874 * @return The iterator pointing to the last element 7875 * 7876 * Set the current element in the iterator to the last element. 7877 * The member rem is set to 0. The member data points to the 7878 * last element. 7879 */ 7880 7881 /***************************************************************************** 7882 ** 7883 ** xcb_generic_iterator_t xcb_input_button_state_end 7884 ** 7885 ** @param xcb_input_button_state_iterator_t i 7886 ** @returns xcb_generic_iterator_t 7887 ** 7888 *****************************************************************************/ 7889 7890 xcb_generic_iterator_t 7891 xcb_input_button_state_end (xcb_input_button_state_iterator_t i /**< */); 7892 7893 int 7894 xcb_input_valuator_state_sizeof (const void *_buffer /**< */); 7895 7896 7897 /***************************************************************************** 7898 ** 7899 ** uint32_t * xcb_input_valuator_state_valuators 7900 ** 7901 ** @param const xcb_input_valuator_state_t *R 7902 ** @returns uint32_t * 7903 ** 7904 *****************************************************************************/ 7905 7906 uint32_t * 7907 xcb_input_valuator_state_valuators (const xcb_input_valuator_state_t *R /**< */); 7908 7909 7910 /***************************************************************************** 7911 ** 7912 ** int xcb_input_valuator_state_valuators_length 7913 ** 7914 ** @param const xcb_input_valuator_state_t *R 7915 ** @returns int 7916 ** 7917 *****************************************************************************/ 7918 7919 int 7920 xcb_input_valuator_state_valuators_length (const xcb_input_valuator_state_t *R /**< */); 7921 7922 7923 /***************************************************************************** 7924 ** 7925 ** xcb_generic_iterator_t xcb_input_valuator_state_valuators_end 7926 ** 7927 ** @param const xcb_input_valuator_state_t *R 7928 ** @returns xcb_generic_iterator_t 7929 ** 7930 *****************************************************************************/ 7931 7932 xcb_generic_iterator_t 7933 xcb_input_valuator_state_valuators_end (const xcb_input_valuator_state_t *R /**< */); 7934 7935 /** 7936 * Get the next element of the iterator 7937 * @param i Pointer to a xcb_input_valuator_state_iterator_t 7938 * 7939 * Get the next element in the iterator. The member rem is 7940 * decreased by one. The member data points to the next 7941 * element. The member index is increased by sizeof(xcb_input_valuator_state_t) 7942 */ 7943 7944 /***************************************************************************** 7945 ** 7946 ** void xcb_input_valuator_state_next 7947 ** 7948 ** @param xcb_input_valuator_state_iterator_t *i 7949 ** @returns void 7950 ** 7951 *****************************************************************************/ 7952 7953 void 7954 xcb_input_valuator_state_next (xcb_input_valuator_state_iterator_t *i /**< */); 7955 7956 /** 7957 * Return the iterator pointing to the last element 7958 * @param i An xcb_input_valuator_state_iterator_t 7959 * @return The iterator pointing to the last element 7960 * 7961 * Set the current element in the iterator to the last element. 7962 * The member rem is set to 0. The member data points to the 7963 * last element. 7964 */ 7965 7966 /***************************************************************************** 7967 ** 7968 ** xcb_generic_iterator_t xcb_input_valuator_state_end 7969 ** 7970 ** @param xcb_input_valuator_state_iterator_t i 7971 ** @returns xcb_generic_iterator_t 7972 ** 7973 *****************************************************************************/ 7974 7975 xcb_generic_iterator_t 7976 xcb_input_valuator_state_end (xcb_input_valuator_state_iterator_t i /**< */); 7977 7978 int 7979 xcb_input_input_state_sizeof (const void *_buffer /**< */); 7980 7981 7982 /***************************************************************************** 7983 ** 7984 ** uint8_t * xcb_input_input_state_uninterpreted_data 7985 ** 7986 ** @param const xcb_input_input_state_t *R 7987 ** @returns uint8_t * 7988 ** 7989 *****************************************************************************/ 7990 7991 uint8_t * 7992 xcb_input_input_state_uninterpreted_data (const xcb_input_input_state_t *R /**< */); 7993 7994 7995 /***************************************************************************** 7996 ** 7997 ** int xcb_input_input_state_uninterpreted_data_length 7998 ** 7999 ** @param const xcb_input_input_state_t *R 8000 ** @returns int 8001 ** 8002 *****************************************************************************/ 8003 8004 int 8005 xcb_input_input_state_uninterpreted_data_length (const xcb_input_input_state_t *R /**< */); 8006 8007 8008 /***************************************************************************** 8009 ** 8010 ** xcb_generic_iterator_t xcb_input_input_state_uninterpreted_data_end 8011 ** 8012 ** @param const xcb_input_input_state_t *R 8013 ** @returns xcb_generic_iterator_t 8014 ** 8015 *****************************************************************************/ 8016 8017 xcb_generic_iterator_t 8018 xcb_input_input_state_uninterpreted_data_end (const xcb_input_input_state_t *R /**< */); 8019 8020 /** 8021 * Get the next element of the iterator 8022 * @param i Pointer to a xcb_input_input_state_iterator_t 8023 * 8024 * Get the next element in the iterator. The member rem is 8025 * decreased by one. The member data points to the next 8026 * element. The member index is increased by sizeof(xcb_input_input_state_t) 8027 */ 8028 8029 /***************************************************************************** 8030 ** 8031 ** void xcb_input_input_state_next 8032 ** 8033 ** @param xcb_input_input_state_iterator_t *i 8034 ** @returns void 8035 ** 8036 *****************************************************************************/ 8037 8038 void 8039 xcb_input_input_state_next (xcb_input_input_state_iterator_t *i /**< */); 8040 8041 /** 8042 * Return the iterator pointing to the last element 8043 * @param i An xcb_input_input_state_iterator_t 8044 * @return The iterator pointing to the last element 8045 * 8046 * Set the current element in the iterator to the last element. 8047 * The member rem is set to 0. The member data points to the 8048 * last element. 8049 */ 8050 8051 /***************************************************************************** 8052 ** 8053 ** xcb_generic_iterator_t xcb_input_input_state_end 8054 ** 8055 ** @param xcb_input_input_state_iterator_t i 8056 ** @returns xcb_generic_iterator_t 8057 ** 8058 *****************************************************************************/ 8059 8060 xcb_generic_iterator_t 8061 xcb_input_input_state_end (xcb_input_input_state_iterator_t i /**< */); 8062 8063 int 8064 xcb_input_query_device_state_sizeof (const void *_buffer /**< */); 8065 8066 /** 8067 * 8068 * @param c The connection 8069 * @return A cookie 8070 * 8071 * Delivers a request to the X server. 8072 * 8073 */ 8074 8075 /***************************************************************************** 8076 ** 8077 ** xcb_input_query_device_state_cookie_t xcb_input_query_device_state 8078 ** 8079 ** @param xcb_connection_t *c 8080 ** @param uint8_t device_id 8081 ** @returns xcb_input_query_device_state_cookie_t 8082 ** 8083 *****************************************************************************/ 8084 8085 xcb_input_query_device_state_cookie_t 8086 xcb_input_query_device_state (xcb_connection_t *c /**< */, 8087 uint8_t device_id /**< */); 8088 8089 /** 8090 * 8091 * @param c The connection 8092 * @return A cookie 8093 * 8094 * Delivers a request to the X server. 8095 * 8096 * This form can be used only if the request will cause 8097 * a reply to be generated. Any returned error will be 8098 * placed in the event queue. 8099 */ 8100 8101 /***************************************************************************** 8102 ** 8103 ** xcb_input_query_device_state_cookie_t xcb_input_query_device_state_unchecked 8104 ** 8105 ** @param xcb_connection_t *c 8106 ** @param uint8_t device_id 8107 ** @returns xcb_input_query_device_state_cookie_t 8108 ** 8109 *****************************************************************************/ 8110 8111 xcb_input_query_device_state_cookie_t 8112 xcb_input_query_device_state_unchecked (xcb_connection_t *c /**< */, 8113 uint8_t device_id /**< */); 8114 8115 8116 /***************************************************************************** 8117 ** 8118 ** int xcb_input_query_device_state_classes_length 8119 ** 8120 ** @param const xcb_input_query_device_state_reply_t *R 8121 ** @returns int 8122 ** 8123 *****************************************************************************/ 8124 8125 int 8126 xcb_input_query_device_state_classes_length (const xcb_input_query_device_state_reply_t *R /**< */); 8127 8128 8129 /***************************************************************************** 8130 ** 8131 ** xcb_input_input_state_iterator_t xcb_input_query_device_state_classes_iterator 8132 ** 8133 ** @param const xcb_input_query_device_state_reply_t *R 8134 ** @returns xcb_input_input_state_iterator_t 8135 ** 8136 *****************************************************************************/ 8137 8138 xcb_input_input_state_iterator_t 8139 xcb_input_query_device_state_classes_iterator (const xcb_input_query_device_state_reply_t *R /**< */); 8140 8141 /** 8142 * Return the reply 8143 * @param c The connection 8144 * @param cookie The cookie 8145 * @param e The xcb_generic_error_t supplied 8146 * 8147 * Returns the reply of the request asked by 8148 * 8149 * The parameter @p e supplied to this function must be NULL if 8150 * xcb_input_query_device_state_unchecked(). is used. 8151 * Otherwise, it stores the error if any. 8152 * 8153 * The returned value must be freed by the caller using free(). 8154 */ 8155 8156 /***************************************************************************** 8157 ** 8158 ** xcb_input_query_device_state_reply_t * xcb_input_query_device_state_reply 8159 ** 8160 ** @param xcb_connection_t *c 8161 ** @param xcb_input_query_device_state_cookie_t cookie 8162 ** @param xcb_generic_error_t **e 8163 ** @returns xcb_input_query_device_state_reply_t * 8164 ** 8165 *****************************************************************************/ 8166 8167 xcb_input_query_device_state_reply_t * 8168 xcb_input_query_device_state_reply (xcb_connection_t *c /**< */, 8169 xcb_input_query_device_state_cookie_t cookie /**< */, 8170 xcb_generic_error_t **e /**< */); 8171 8172 int 8173 xcb_input_send_extension_event_sizeof (const void *_buffer /**< */); 8174 8175 /** 8176 * 8177 * @param c The connection 8178 * @return A cookie 8179 * 8180 * Delivers a request to the X server. 8181 * 8182 * This form can be used only if the request will not cause 8183 * a reply to be generated. Any returned error will be 8184 * saved for handling by xcb_request_check(). 8185 */ 8186 8187 /***************************************************************************** 8188 ** 8189 ** xcb_void_cookie_t xcb_input_send_extension_event_checked 8190 ** 8191 ** @param xcb_connection_t *c 8192 ** @param xcb_window_t destination 8193 ** @param uint8_t device_id 8194 ** @param uint8_t propagate 8195 ** @param uint16_t num_classes 8196 ** @param uint8_t num_events 8197 ** @param const uint8_t *events 8198 ** @param const xcb_input_event_class_t *classes 8199 ** @returns xcb_void_cookie_t 8200 ** 8201 *****************************************************************************/ 8202 8203 xcb_void_cookie_t 8204 xcb_input_send_extension_event_checked (xcb_connection_t *c /**< */, 8205 xcb_window_t destination /**< */, 8206 uint8_t device_id /**< */, 8207 uint8_t propagate /**< */, 8208 uint16_t num_classes /**< */, 8209 uint8_t num_events /**< */, 8210 const uint8_t *events /**< */, 8211 const xcb_input_event_class_t *classes /**< */); 8212 8213 /** 8214 * 8215 * @param c The connection 8216 * @return A cookie 8217 * 8218 * Delivers a request to the X server. 8219 * 8220 */ 8221 8222 /***************************************************************************** 8223 ** 8224 ** xcb_void_cookie_t xcb_input_send_extension_event 8225 ** 8226 ** @param xcb_connection_t *c 8227 ** @param xcb_window_t destination 8228 ** @param uint8_t device_id 8229 ** @param uint8_t propagate 8230 ** @param uint16_t num_classes 8231 ** @param uint8_t num_events 8232 ** @param const uint8_t *events 8233 ** @param const xcb_input_event_class_t *classes 8234 ** @returns xcb_void_cookie_t 8235 ** 8236 *****************************************************************************/ 8237 8238 xcb_void_cookie_t 8239 xcb_input_send_extension_event (xcb_connection_t *c /**< */, 8240 xcb_window_t destination /**< */, 8241 uint8_t device_id /**< */, 8242 uint8_t propagate /**< */, 8243 uint16_t num_classes /**< */, 8244 uint8_t num_events /**< */, 8245 const uint8_t *events /**< */, 8246 const xcb_input_event_class_t *classes /**< */); 8247 8248 /** 8249 * 8250 * @param c The connection 8251 * @return A cookie 8252 * 8253 * Delivers a request to the X server. 8254 * 8255 * This form can be used only if the request will not cause 8256 * a reply to be generated. Any returned error will be 8257 * saved for handling by xcb_request_check(). 8258 */ 8259 8260 /***************************************************************************** 8261 ** 8262 ** xcb_void_cookie_t xcb_input_device_bell_checked 8263 ** 8264 ** @param xcb_connection_t *c 8265 ** @param uint8_t device_id 8266 ** @param uint8_t feedback_id 8267 ** @param uint8_t feedback_class 8268 ** @param int8_t percent 8269 ** @returns xcb_void_cookie_t 8270 ** 8271 *****************************************************************************/ 8272 8273 xcb_void_cookie_t 8274 xcb_input_device_bell_checked (xcb_connection_t *c /**< */, 8275 uint8_t device_id /**< */, 8276 uint8_t feedback_id /**< */, 8277 uint8_t feedback_class /**< */, 8278 int8_t percent /**< */); 8279 8280 /** 8281 * 8282 * @param c The connection 8283 * @return A cookie 8284 * 8285 * Delivers a request to the X server. 8286 * 8287 */ 8288 8289 /***************************************************************************** 8290 ** 8291 ** xcb_void_cookie_t xcb_input_device_bell 8292 ** 8293 ** @param xcb_connection_t *c 8294 ** @param uint8_t device_id 8295 ** @param uint8_t feedback_id 8296 ** @param uint8_t feedback_class 8297 ** @param int8_t percent 8298 ** @returns xcb_void_cookie_t 8299 ** 8300 *****************************************************************************/ 8301 8302 xcb_void_cookie_t 8303 xcb_input_device_bell (xcb_connection_t *c /**< */, 8304 uint8_t device_id /**< */, 8305 uint8_t feedback_id /**< */, 8306 uint8_t feedback_class /**< */, 8307 int8_t percent /**< */); 8308 8309 int 8310 xcb_input_set_device_valuators_sizeof (const void *_buffer /**< */); 8311 8312 /** 8313 * 8314 * @param c The connection 8315 * @return A cookie 8316 * 8317 * Delivers a request to the X server. 8318 * 8319 */ 8320 8321 /***************************************************************************** 8322 ** 8323 ** xcb_input_set_device_valuators_cookie_t xcb_input_set_device_valuators 8324 ** 8325 ** @param xcb_connection_t *c 8326 ** @param uint8_t device_id 8327 ** @param uint8_t first_valuator 8328 ** @param uint8_t num_valuators 8329 ** @param const int32_t *valuators 8330 ** @returns xcb_input_set_device_valuators_cookie_t 8331 ** 8332 *****************************************************************************/ 8333 8334 xcb_input_set_device_valuators_cookie_t 8335 xcb_input_set_device_valuators (xcb_connection_t *c /**< */, 8336 uint8_t device_id /**< */, 8337 uint8_t first_valuator /**< */, 8338 uint8_t num_valuators /**< */, 8339 const int32_t *valuators /**< */); 8340 8341 /** 8342 * 8343 * @param c The connection 8344 * @return A cookie 8345 * 8346 * Delivers a request to the X server. 8347 * 8348 * This form can be used only if the request will cause 8349 * a reply to be generated. Any returned error will be 8350 * placed in the event queue. 8351 */ 8352 8353 /***************************************************************************** 8354 ** 8355 ** xcb_input_set_device_valuators_cookie_t xcb_input_set_device_valuators_unchecked 8356 ** 8357 ** @param xcb_connection_t *c 8358 ** @param uint8_t device_id 8359 ** @param uint8_t first_valuator 8360 ** @param uint8_t num_valuators 8361 ** @param const int32_t *valuators 8362 ** @returns xcb_input_set_device_valuators_cookie_t 8363 ** 8364 *****************************************************************************/ 8365 8366 xcb_input_set_device_valuators_cookie_t 8367 xcb_input_set_device_valuators_unchecked (xcb_connection_t *c /**< */, 8368 uint8_t device_id /**< */, 8369 uint8_t first_valuator /**< */, 8370 uint8_t num_valuators /**< */, 8371 const int32_t *valuators /**< */); 8372 8373 /** 8374 * Return the reply 8375 * @param c The connection 8376 * @param cookie The cookie 8377 * @param e The xcb_generic_error_t supplied 8378 * 8379 * Returns the reply of the request asked by 8380 * 8381 * The parameter @p e supplied to this function must be NULL if 8382 * xcb_input_set_device_valuators_unchecked(). is used. 8383 * Otherwise, it stores the error if any. 8384 * 8385 * The returned value must be freed by the caller using free(). 8386 */ 8387 8388 /***************************************************************************** 8389 ** 8390 ** xcb_input_set_device_valuators_reply_t * xcb_input_set_device_valuators_reply 8391 ** 8392 ** @param xcb_connection_t *c 8393 ** @param xcb_input_set_device_valuators_cookie_t cookie 8394 ** @param xcb_generic_error_t **e 8395 ** @returns xcb_input_set_device_valuators_reply_t * 8396 ** 8397 *****************************************************************************/ 8398 8399 xcb_input_set_device_valuators_reply_t * 8400 xcb_input_set_device_valuators_reply (xcb_connection_t *c /**< */, 8401 xcb_input_set_device_valuators_cookie_t cookie /**< */, 8402 xcb_generic_error_t **e /**< */); 8403 8404 int 8405 xcb_input_device_resolution_state_sizeof (const void *_buffer /**< */); 8406 8407 8408 /***************************************************************************** 8409 ** 8410 ** uint32_t * xcb_input_device_resolution_state_resolution_values 8411 ** 8412 ** @param const xcb_input_device_resolution_state_t *R 8413 ** @returns uint32_t * 8414 ** 8415 *****************************************************************************/ 8416 8417 uint32_t * 8418 xcb_input_device_resolution_state_resolution_values (const xcb_input_device_resolution_state_t *R /**< */); 8419 8420 8421 /***************************************************************************** 8422 ** 8423 ** int xcb_input_device_resolution_state_resolution_values_length 8424 ** 8425 ** @param const xcb_input_device_resolution_state_t *R 8426 ** @returns int 8427 ** 8428 *****************************************************************************/ 8429 8430 int 8431 xcb_input_device_resolution_state_resolution_values_length (const xcb_input_device_resolution_state_t *R /**< */); 8432 8433 8434 /***************************************************************************** 8435 ** 8436 ** xcb_generic_iterator_t xcb_input_device_resolution_state_resolution_values_end 8437 ** 8438 ** @param const xcb_input_device_resolution_state_t *R 8439 ** @returns xcb_generic_iterator_t 8440 ** 8441 *****************************************************************************/ 8442 8443 xcb_generic_iterator_t 8444 xcb_input_device_resolution_state_resolution_values_end (const xcb_input_device_resolution_state_t *R /**< */); 8445 8446 8447 /***************************************************************************** 8448 ** 8449 ** uint32_t * xcb_input_device_resolution_state_resolution_min 8450 ** 8451 ** @param const xcb_input_device_resolution_state_t *R 8452 ** @returns uint32_t * 8453 ** 8454 *****************************************************************************/ 8455 8456 uint32_t * 8457 xcb_input_device_resolution_state_resolution_min (const xcb_input_device_resolution_state_t *R /**< */); 8458 8459 8460 /***************************************************************************** 8461 ** 8462 ** int xcb_input_device_resolution_state_resolution_min_length 8463 ** 8464 ** @param const xcb_input_device_resolution_state_t *R 8465 ** @returns int 8466 ** 8467 *****************************************************************************/ 8468 8469 int 8470 xcb_input_device_resolution_state_resolution_min_length (const xcb_input_device_resolution_state_t *R /**< */); 8471 8472 8473 /***************************************************************************** 8474 ** 8475 ** xcb_generic_iterator_t xcb_input_device_resolution_state_resolution_min_end 8476 ** 8477 ** @param const xcb_input_device_resolution_state_t *R 8478 ** @returns xcb_generic_iterator_t 8479 ** 8480 *****************************************************************************/ 8481 8482 xcb_generic_iterator_t 8483 xcb_input_device_resolution_state_resolution_min_end (const xcb_input_device_resolution_state_t *R /**< */); 8484 8485 8486 /***************************************************************************** 8487 ** 8488 ** uint32_t * xcb_input_device_resolution_state_resolution_max 8489 ** 8490 ** @param const xcb_input_device_resolution_state_t *R 8491 ** @returns uint32_t * 8492 ** 8493 *****************************************************************************/ 8494 8495 uint32_t * 8496 xcb_input_device_resolution_state_resolution_max (const xcb_input_device_resolution_state_t *R /**< */); 8497 8498 8499 /***************************************************************************** 8500 ** 8501 ** int xcb_input_device_resolution_state_resolution_max_length 8502 ** 8503 ** @param const xcb_input_device_resolution_state_t *R 8504 ** @returns int 8505 ** 8506 *****************************************************************************/ 8507 8508 int 8509 xcb_input_device_resolution_state_resolution_max_length (const xcb_input_device_resolution_state_t *R /**< */); 8510 8511 8512 /***************************************************************************** 8513 ** 8514 ** xcb_generic_iterator_t xcb_input_device_resolution_state_resolution_max_end 8515 ** 8516 ** @param const xcb_input_device_resolution_state_t *R 8517 ** @returns xcb_generic_iterator_t 8518 ** 8519 *****************************************************************************/ 8520 8521 xcb_generic_iterator_t 8522 xcb_input_device_resolution_state_resolution_max_end (const xcb_input_device_resolution_state_t *R /**< */); 8523 8524 /** 8525 * Get the next element of the iterator 8526 * @param i Pointer to a xcb_input_device_resolution_state_iterator_t 8527 * 8528 * Get the next element in the iterator. The member rem is 8529 * decreased by one. The member data points to the next 8530 * element. The member index is increased by sizeof(xcb_input_device_resolution_state_t) 8531 */ 8532 8533 /***************************************************************************** 8534 ** 8535 ** void xcb_input_device_resolution_state_next 8536 ** 8537 ** @param xcb_input_device_resolution_state_iterator_t *i 8538 ** @returns void 8539 ** 8540 *****************************************************************************/ 8541 8542 void 8543 xcb_input_device_resolution_state_next (xcb_input_device_resolution_state_iterator_t *i /**< */); 8544 8545 /** 8546 * Return the iterator pointing to the last element 8547 * @param i An xcb_input_device_resolution_state_iterator_t 8548 * @return The iterator pointing to the last element 8549 * 8550 * Set the current element in the iterator to the last element. 8551 * The member rem is set to 0. The member data points to the 8552 * last element. 8553 */ 8554 8555 /***************************************************************************** 8556 ** 8557 ** xcb_generic_iterator_t xcb_input_device_resolution_state_end 8558 ** 8559 ** @param xcb_input_device_resolution_state_iterator_t i 8560 ** @returns xcb_generic_iterator_t 8561 ** 8562 *****************************************************************************/ 8563 8564 xcb_generic_iterator_t 8565 xcb_input_device_resolution_state_end (xcb_input_device_resolution_state_iterator_t i /**< */); 8566 8567 /** 8568 * Get the next element of the iterator 8569 * @param i Pointer to a xcb_input_device_abs_calib_state_iterator_t 8570 * 8571 * Get the next element in the iterator. The member rem is 8572 * decreased by one. The member data points to the next 8573 * element. The member index is increased by sizeof(xcb_input_device_abs_calib_state_t) 8574 */ 8575 8576 /***************************************************************************** 8577 ** 8578 ** void xcb_input_device_abs_calib_state_next 8579 ** 8580 ** @param xcb_input_device_abs_calib_state_iterator_t *i 8581 ** @returns void 8582 ** 8583 *****************************************************************************/ 8584 8585 void 8586 xcb_input_device_abs_calib_state_next (xcb_input_device_abs_calib_state_iterator_t *i /**< */); 8587 8588 /** 8589 * Return the iterator pointing to the last element 8590 * @param i An xcb_input_device_abs_calib_state_iterator_t 8591 * @return The iterator pointing to the last element 8592 * 8593 * Set the current element in the iterator to the last element. 8594 * The member rem is set to 0. The member data points to the 8595 * last element. 8596 */ 8597 8598 /***************************************************************************** 8599 ** 8600 ** xcb_generic_iterator_t xcb_input_device_abs_calib_state_end 8601 ** 8602 ** @param xcb_input_device_abs_calib_state_iterator_t i 8603 ** @returns xcb_generic_iterator_t 8604 ** 8605 *****************************************************************************/ 8606 8607 xcb_generic_iterator_t 8608 xcb_input_device_abs_calib_state_end (xcb_input_device_abs_calib_state_iterator_t i /**< */); 8609 8610 /** 8611 * Get the next element of the iterator 8612 * @param i Pointer to a xcb_input_device_abs_area_state_iterator_t 8613 * 8614 * Get the next element in the iterator. The member rem is 8615 * decreased by one. The member data points to the next 8616 * element. The member index is increased by sizeof(xcb_input_device_abs_area_state_t) 8617 */ 8618 8619 /***************************************************************************** 8620 ** 8621 ** void xcb_input_device_abs_area_state_next 8622 ** 8623 ** @param xcb_input_device_abs_area_state_iterator_t *i 8624 ** @returns void 8625 ** 8626 *****************************************************************************/ 8627 8628 void 8629 xcb_input_device_abs_area_state_next (xcb_input_device_abs_area_state_iterator_t *i /**< */); 8630 8631 /** 8632 * Return the iterator pointing to the last element 8633 * @param i An xcb_input_device_abs_area_state_iterator_t 8634 * @return The iterator pointing to the last element 8635 * 8636 * Set the current element in the iterator to the last element. 8637 * The member rem is set to 0. The member data points to the 8638 * last element. 8639 */ 8640 8641 /***************************************************************************** 8642 ** 8643 ** xcb_generic_iterator_t xcb_input_device_abs_area_state_end 8644 ** 8645 ** @param xcb_input_device_abs_area_state_iterator_t i 8646 ** @returns xcb_generic_iterator_t 8647 ** 8648 *****************************************************************************/ 8649 8650 xcb_generic_iterator_t 8651 xcb_input_device_abs_area_state_end (xcb_input_device_abs_area_state_iterator_t i /**< */); 8652 8653 /** 8654 * Get the next element of the iterator 8655 * @param i Pointer to a xcb_input_device_core_state_iterator_t 8656 * 8657 * Get the next element in the iterator. The member rem is 8658 * decreased by one. The member data points to the next 8659 * element. The member index is increased by sizeof(xcb_input_device_core_state_t) 8660 */ 8661 8662 /***************************************************************************** 8663 ** 8664 ** void xcb_input_device_core_state_next 8665 ** 8666 ** @param xcb_input_device_core_state_iterator_t *i 8667 ** @returns void 8668 ** 8669 *****************************************************************************/ 8670 8671 void 8672 xcb_input_device_core_state_next (xcb_input_device_core_state_iterator_t *i /**< */); 8673 8674 /** 8675 * Return the iterator pointing to the last element 8676 * @param i An xcb_input_device_core_state_iterator_t 8677 * @return The iterator pointing to the last element 8678 * 8679 * Set the current element in the iterator to the last element. 8680 * The member rem is set to 0. The member data points to the 8681 * last element. 8682 */ 8683 8684 /***************************************************************************** 8685 ** 8686 ** xcb_generic_iterator_t xcb_input_device_core_state_end 8687 ** 8688 ** @param xcb_input_device_core_state_iterator_t i 8689 ** @returns xcb_generic_iterator_t 8690 ** 8691 *****************************************************************************/ 8692 8693 xcb_generic_iterator_t 8694 xcb_input_device_core_state_end (xcb_input_device_core_state_iterator_t i /**< */); 8695 8696 /** 8697 * Get the next element of the iterator 8698 * @param i Pointer to a xcb_input_device_enable_state_iterator_t 8699 * 8700 * Get the next element in the iterator. The member rem is 8701 * decreased by one. The member data points to the next 8702 * element. The member index is increased by sizeof(xcb_input_device_enable_state_t) 8703 */ 8704 8705 /***************************************************************************** 8706 ** 8707 ** void xcb_input_device_enable_state_next 8708 ** 8709 ** @param xcb_input_device_enable_state_iterator_t *i 8710 ** @returns void 8711 ** 8712 *****************************************************************************/ 8713 8714 void 8715 xcb_input_device_enable_state_next (xcb_input_device_enable_state_iterator_t *i /**< */); 8716 8717 /** 8718 * Return the iterator pointing to the last element 8719 * @param i An xcb_input_device_enable_state_iterator_t 8720 * @return The iterator pointing to the last element 8721 * 8722 * Set the current element in the iterator to the last element. 8723 * The member rem is set to 0. The member data points to the 8724 * last element. 8725 */ 8726 8727 /***************************************************************************** 8728 ** 8729 ** xcb_generic_iterator_t xcb_input_device_enable_state_end 8730 ** 8731 ** @param xcb_input_device_enable_state_iterator_t i 8732 ** @returns xcb_generic_iterator_t 8733 ** 8734 *****************************************************************************/ 8735 8736 xcb_generic_iterator_t 8737 xcb_input_device_enable_state_end (xcb_input_device_enable_state_iterator_t i /**< */); 8738 8739 int 8740 xcb_input_device_state_sizeof (const void *_buffer /**< */); 8741 8742 8743 /***************************************************************************** 8744 ** 8745 ** uint8_t * xcb_input_device_state_uninterpreted_data 8746 ** 8747 ** @param const xcb_input_device_state_t *R 8748 ** @returns uint8_t * 8749 ** 8750 *****************************************************************************/ 8751 8752 uint8_t * 8753 xcb_input_device_state_uninterpreted_data (const xcb_input_device_state_t *R /**< */); 8754 8755 8756 /***************************************************************************** 8757 ** 8758 ** int xcb_input_device_state_uninterpreted_data_length 8759 ** 8760 ** @param const xcb_input_device_state_t *R 8761 ** @returns int 8762 ** 8763 *****************************************************************************/ 8764 8765 int 8766 xcb_input_device_state_uninterpreted_data_length (const xcb_input_device_state_t *R /**< */); 8767 8768 8769 /***************************************************************************** 8770 ** 8771 ** xcb_generic_iterator_t xcb_input_device_state_uninterpreted_data_end 8772 ** 8773 ** @param const xcb_input_device_state_t *R 8774 ** @returns xcb_generic_iterator_t 8775 ** 8776 *****************************************************************************/ 8777 8778 xcb_generic_iterator_t 8779 xcb_input_device_state_uninterpreted_data_end (const xcb_input_device_state_t *R /**< */); 8780 8781 /** 8782 * Get the next element of the iterator 8783 * @param i Pointer to a xcb_input_device_state_iterator_t 8784 * 8785 * Get the next element in the iterator. The member rem is 8786 * decreased by one. The member data points to the next 8787 * element. The member index is increased by sizeof(xcb_input_device_state_t) 8788 */ 8789 8790 /***************************************************************************** 8791 ** 8792 ** void xcb_input_device_state_next 8793 ** 8794 ** @param xcb_input_device_state_iterator_t *i 8795 ** @returns void 8796 ** 8797 *****************************************************************************/ 8798 8799 void 8800 xcb_input_device_state_next (xcb_input_device_state_iterator_t *i /**< */); 8801 8802 /** 8803 * Return the iterator pointing to the last element 8804 * @param i An xcb_input_device_state_iterator_t 8805 * @return The iterator pointing to the last element 8806 * 8807 * Set the current element in the iterator to the last element. 8808 * The member rem is set to 0. The member data points to the 8809 * last element. 8810 */ 8811 8812 /***************************************************************************** 8813 ** 8814 ** xcb_generic_iterator_t xcb_input_device_state_end 8815 ** 8816 ** @param xcb_input_device_state_iterator_t i 8817 ** @returns xcb_generic_iterator_t 8818 ** 8819 *****************************************************************************/ 8820 8821 xcb_generic_iterator_t 8822 xcb_input_device_state_end (xcb_input_device_state_iterator_t i /**< */); 8823 8824 int 8825 xcb_input_get_device_control_sizeof (const void *_buffer /**< */); 8826 8827 /** 8828 * 8829 * @param c The connection 8830 * @return A cookie 8831 * 8832 * Delivers a request to the X server. 8833 * 8834 */ 8835 8836 /***************************************************************************** 8837 ** 8838 ** xcb_input_get_device_control_cookie_t xcb_input_get_device_control 8839 ** 8840 ** @param xcb_connection_t *c 8841 ** @param uint16_t control_id 8842 ** @param uint8_t device_id 8843 ** @returns xcb_input_get_device_control_cookie_t 8844 ** 8845 *****************************************************************************/ 8846 8847 xcb_input_get_device_control_cookie_t 8848 xcb_input_get_device_control (xcb_connection_t *c /**< */, 8849 uint16_t control_id /**< */, 8850 uint8_t device_id /**< */); 8851 8852 /** 8853 * 8854 * @param c The connection 8855 * @return A cookie 8856 * 8857 * Delivers a request to the X server. 8858 * 8859 * This form can be used only if the request will cause 8860 * a reply to be generated. Any returned error will be 8861 * placed in the event queue. 8862 */ 8863 8864 /***************************************************************************** 8865 ** 8866 ** xcb_input_get_device_control_cookie_t xcb_input_get_device_control_unchecked 8867 ** 8868 ** @param xcb_connection_t *c 8869 ** @param uint16_t control_id 8870 ** @param uint8_t device_id 8871 ** @returns xcb_input_get_device_control_cookie_t 8872 ** 8873 *****************************************************************************/ 8874 8875 xcb_input_get_device_control_cookie_t 8876 xcb_input_get_device_control_unchecked (xcb_connection_t *c /**< */, 8877 uint16_t control_id /**< */, 8878 uint8_t device_id /**< */); 8879 8880 8881 /***************************************************************************** 8882 ** 8883 ** xcb_input_device_state_t * xcb_input_get_device_control_control 8884 ** 8885 ** @param const xcb_input_get_device_control_reply_t *R 8886 ** @returns xcb_input_device_state_t * 8887 ** 8888 *****************************************************************************/ 8889 8890 xcb_input_device_state_t * 8891 xcb_input_get_device_control_control (const xcb_input_get_device_control_reply_t *R /**< */); 8892 8893 /** 8894 * Return the reply 8895 * @param c The connection 8896 * @param cookie The cookie 8897 * @param e The xcb_generic_error_t supplied 8898 * 8899 * Returns the reply of the request asked by 8900 * 8901 * The parameter @p e supplied to this function must be NULL if 8902 * xcb_input_get_device_control_unchecked(). is used. 8903 * Otherwise, it stores the error if any. 8904 * 8905 * The returned value must be freed by the caller using free(). 8906 */ 8907 8908 /***************************************************************************** 8909 ** 8910 ** xcb_input_get_device_control_reply_t * xcb_input_get_device_control_reply 8911 ** 8912 ** @param xcb_connection_t *c 8913 ** @param xcb_input_get_device_control_cookie_t cookie 8914 ** @param xcb_generic_error_t **e 8915 ** @returns xcb_input_get_device_control_reply_t * 8916 ** 8917 *****************************************************************************/ 8918 8919 xcb_input_get_device_control_reply_t * 8920 xcb_input_get_device_control_reply (xcb_connection_t *c /**< */, 8921 xcb_input_get_device_control_cookie_t cookie /**< */, 8922 xcb_generic_error_t **e /**< */); 8923 8924 int 8925 xcb_input_device_resolution_ctl_sizeof (const void *_buffer /**< */); 8926 8927 8928 /***************************************************************************** 8929 ** 8930 ** uint32_t * xcb_input_device_resolution_ctl_resolution_values 8931 ** 8932 ** @param const xcb_input_device_resolution_ctl_t *R 8933 ** @returns uint32_t * 8934 ** 8935 *****************************************************************************/ 8936 8937 uint32_t * 8938 xcb_input_device_resolution_ctl_resolution_values (const xcb_input_device_resolution_ctl_t *R /**< */); 8939 8940 8941 /***************************************************************************** 8942 ** 8943 ** int xcb_input_device_resolution_ctl_resolution_values_length 8944 ** 8945 ** @param const xcb_input_device_resolution_ctl_t *R 8946 ** @returns int 8947 ** 8948 *****************************************************************************/ 8949 8950 int 8951 xcb_input_device_resolution_ctl_resolution_values_length (const xcb_input_device_resolution_ctl_t *R /**< */); 8952 8953 8954 /***************************************************************************** 8955 ** 8956 ** xcb_generic_iterator_t xcb_input_device_resolution_ctl_resolution_values_end 8957 ** 8958 ** @param const xcb_input_device_resolution_ctl_t *R 8959 ** @returns xcb_generic_iterator_t 8960 ** 8961 *****************************************************************************/ 8962 8963 xcb_generic_iterator_t 8964 xcb_input_device_resolution_ctl_resolution_values_end (const xcb_input_device_resolution_ctl_t *R /**< */); 8965 8966 /** 8967 * Get the next element of the iterator 8968 * @param i Pointer to a xcb_input_device_resolution_ctl_iterator_t 8969 * 8970 * Get the next element in the iterator. The member rem is 8971 * decreased by one. The member data points to the next 8972 * element. The member index is increased by sizeof(xcb_input_device_resolution_ctl_t) 8973 */ 8974 8975 /***************************************************************************** 8976 ** 8977 ** void xcb_input_device_resolution_ctl_next 8978 ** 8979 ** @param xcb_input_device_resolution_ctl_iterator_t *i 8980 ** @returns void 8981 ** 8982 *****************************************************************************/ 8983 8984 void 8985 xcb_input_device_resolution_ctl_next (xcb_input_device_resolution_ctl_iterator_t *i /**< */); 8986 8987 /** 8988 * Return the iterator pointing to the last element 8989 * @param i An xcb_input_device_resolution_ctl_iterator_t 8990 * @return The iterator pointing to the last element 8991 * 8992 * Set the current element in the iterator to the last element. 8993 * The member rem is set to 0. The member data points to the 8994 * last element. 8995 */ 8996 8997 /***************************************************************************** 8998 ** 8999 ** xcb_generic_iterator_t xcb_input_device_resolution_ctl_end 9000 ** 9001 ** @param xcb_input_device_resolution_ctl_iterator_t i 9002 ** @returns xcb_generic_iterator_t 9003 ** 9004 *****************************************************************************/ 9005 9006 xcb_generic_iterator_t 9007 xcb_input_device_resolution_ctl_end (xcb_input_device_resolution_ctl_iterator_t i /**< */); 9008 9009 /** 9010 * Get the next element of the iterator 9011 * @param i Pointer to a xcb_input_device_abs_calib_ctl_iterator_t 9012 * 9013 * Get the next element in the iterator. The member rem is 9014 * decreased by one. The member data points to the next 9015 * element. The member index is increased by sizeof(xcb_input_device_abs_calib_ctl_t) 9016 */ 9017 9018 /***************************************************************************** 9019 ** 9020 ** void xcb_input_device_abs_calib_ctl_next 9021 ** 9022 ** @param xcb_input_device_abs_calib_ctl_iterator_t *i 9023 ** @returns void 9024 ** 9025 *****************************************************************************/ 9026 9027 void 9028 xcb_input_device_abs_calib_ctl_next (xcb_input_device_abs_calib_ctl_iterator_t *i /**< */); 9029 9030 /** 9031 * Return the iterator pointing to the last element 9032 * @param i An xcb_input_device_abs_calib_ctl_iterator_t 9033 * @return The iterator pointing to the last element 9034 * 9035 * Set the current element in the iterator to the last element. 9036 * The member rem is set to 0. The member data points to the 9037 * last element. 9038 */ 9039 9040 /***************************************************************************** 9041 ** 9042 ** xcb_generic_iterator_t xcb_input_device_abs_calib_ctl_end 9043 ** 9044 ** @param xcb_input_device_abs_calib_ctl_iterator_t i 9045 ** @returns xcb_generic_iterator_t 9046 ** 9047 *****************************************************************************/ 9048 9049 xcb_generic_iterator_t 9050 xcb_input_device_abs_calib_ctl_end (xcb_input_device_abs_calib_ctl_iterator_t i /**< */); 9051 9052 /** 9053 * Get the next element of the iterator 9054 * @param i Pointer to a xcb_input_device_abs_area_ctrl_iterator_t 9055 * 9056 * Get the next element in the iterator. The member rem is 9057 * decreased by one. The member data points to the next 9058 * element. The member index is increased by sizeof(xcb_input_device_abs_area_ctrl_t) 9059 */ 9060 9061 /***************************************************************************** 9062 ** 9063 ** void xcb_input_device_abs_area_ctrl_next 9064 ** 9065 ** @param xcb_input_device_abs_area_ctrl_iterator_t *i 9066 ** @returns void 9067 ** 9068 *****************************************************************************/ 9069 9070 void 9071 xcb_input_device_abs_area_ctrl_next (xcb_input_device_abs_area_ctrl_iterator_t *i /**< */); 9072 9073 /** 9074 * Return the iterator pointing to the last element 9075 * @param i An xcb_input_device_abs_area_ctrl_iterator_t 9076 * @return The iterator pointing to the last element 9077 * 9078 * Set the current element in the iterator to the last element. 9079 * The member rem is set to 0. The member data points to the 9080 * last element. 9081 */ 9082 9083 /***************************************************************************** 9084 ** 9085 ** xcb_generic_iterator_t xcb_input_device_abs_area_ctrl_end 9086 ** 9087 ** @param xcb_input_device_abs_area_ctrl_iterator_t i 9088 ** @returns xcb_generic_iterator_t 9089 ** 9090 *****************************************************************************/ 9091 9092 xcb_generic_iterator_t 9093 xcb_input_device_abs_area_ctrl_end (xcb_input_device_abs_area_ctrl_iterator_t i /**< */); 9094 9095 /** 9096 * Get the next element of the iterator 9097 * @param i Pointer to a xcb_input_device_core_ctrl_iterator_t 9098 * 9099 * Get the next element in the iterator. The member rem is 9100 * decreased by one. The member data points to the next 9101 * element. The member index is increased by sizeof(xcb_input_device_core_ctrl_t) 9102 */ 9103 9104 /***************************************************************************** 9105 ** 9106 ** void xcb_input_device_core_ctrl_next 9107 ** 9108 ** @param xcb_input_device_core_ctrl_iterator_t *i 9109 ** @returns void 9110 ** 9111 *****************************************************************************/ 9112 9113 void 9114 xcb_input_device_core_ctrl_next (xcb_input_device_core_ctrl_iterator_t *i /**< */); 9115 9116 /** 9117 * Return the iterator pointing to the last element 9118 * @param i An xcb_input_device_core_ctrl_iterator_t 9119 * @return The iterator pointing to the last element 9120 * 9121 * Set the current element in the iterator to the last element. 9122 * The member rem is set to 0. The member data points to the 9123 * last element. 9124 */ 9125 9126 /***************************************************************************** 9127 ** 9128 ** xcb_generic_iterator_t xcb_input_device_core_ctrl_end 9129 ** 9130 ** @param xcb_input_device_core_ctrl_iterator_t i 9131 ** @returns xcb_generic_iterator_t 9132 ** 9133 *****************************************************************************/ 9134 9135 xcb_generic_iterator_t 9136 xcb_input_device_core_ctrl_end (xcb_input_device_core_ctrl_iterator_t i /**< */); 9137 9138 /** 9139 * Get the next element of the iterator 9140 * @param i Pointer to a xcb_input_device_enable_ctrl_iterator_t 9141 * 9142 * Get the next element in the iterator. The member rem is 9143 * decreased by one. The member data points to the next 9144 * element. The member index is increased by sizeof(xcb_input_device_enable_ctrl_t) 9145 */ 9146 9147 /***************************************************************************** 9148 ** 9149 ** void xcb_input_device_enable_ctrl_next 9150 ** 9151 ** @param xcb_input_device_enable_ctrl_iterator_t *i 9152 ** @returns void 9153 ** 9154 *****************************************************************************/ 9155 9156 void 9157 xcb_input_device_enable_ctrl_next (xcb_input_device_enable_ctrl_iterator_t *i /**< */); 9158 9159 /** 9160 * Return the iterator pointing to the last element 9161 * @param i An xcb_input_device_enable_ctrl_iterator_t 9162 * @return The iterator pointing to the last element 9163 * 9164 * Set the current element in the iterator to the last element. 9165 * The member rem is set to 0. The member data points to the 9166 * last element. 9167 */ 9168 9169 /***************************************************************************** 9170 ** 9171 ** xcb_generic_iterator_t xcb_input_device_enable_ctrl_end 9172 ** 9173 ** @param xcb_input_device_enable_ctrl_iterator_t i 9174 ** @returns xcb_generic_iterator_t 9175 ** 9176 *****************************************************************************/ 9177 9178 xcb_generic_iterator_t 9179 xcb_input_device_enable_ctrl_end (xcb_input_device_enable_ctrl_iterator_t i /**< */); 9180 9181 int 9182 xcb_input_device_ctl_sizeof (const void *_buffer /**< */); 9183 9184 9185 /***************************************************************************** 9186 ** 9187 ** uint8_t * xcb_input_device_ctl_uninterpreted_data 9188 ** 9189 ** @param const xcb_input_device_ctl_t *R 9190 ** @returns uint8_t * 9191 ** 9192 *****************************************************************************/ 9193 9194 uint8_t * 9195 xcb_input_device_ctl_uninterpreted_data (const xcb_input_device_ctl_t *R /**< */); 9196 9197 9198 /***************************************************************************** 9199 ** 9200 ** int xcb_input_device_ctl_uninterpreted_data_length 9201 ** 9202 ** @param const xcb_input_device_ctl_t *R 9203 ** @returns int 9204 ** 9205 *****************************************************************************/ 9206 9207 int 9208 xcb_input_device_ctl_uninterpreted_data_length (const xcb_input_device_ctl_t *R /**< */); 9209 9210 9211 /***************************************************************************** 9212 ** 9213 ** xcb_generic_iterator_t xcb_input_device_ctl_uninterpreted_data_end 9214 ** 9215 ** @param const xcb_input_device_ctl_t *R 9216 ** @returns xcb_generic_iterator_t 9217 ** 9218 *****************************************************************************/ 9219 9220 xcb_generic_iterator_t 9221 xcb_input_device_ctl_uninterpreted_data_end (const xcb_input_device_ctl_t *R /**< */); 9222 9223 /** 9224 * Get the next element of the iterator 9225 * @param i Pointer to a xcb_input_device_ctl_iterator_t 9226 * 9227 * Get the next element in the iterator. The member rem is 9228 * decreased by one. The member data points to the next 9229 * element. The member index is increased by sizeof(xcb_input_device_ctl_t) 9230 */ 9231 9232 /***************************************************************************** 9233 ** 9234 ** void xcb_input_device_ctl_next 9235 ** 9236 ** @param xcb_input_device_ctl_iterator_t *i 9237 ** @returns void 9238 ** 9239 *****************************************************************************/ 9240 9241 void 9242 xcb_input_device_ctl_next (xcb_input_device_ctl_iterator_t *i /**< */); 9243 9244 /** 9245 * Return the iterator pointing to the last element 9246 * @param i An xcb_input_device_ctl_iterator_t 9247 * @return The iterator pointing to the last element 9248 * 9249 * Set the current element in the iterator to the last element. 9250 * The member rem is set to 0. The member data points to the 9251 * last element. 9252 */ 9253 9254 /***************************************************************************** 9255 ** 9256 ** xcb_generic_iterator_t xcb_input_device_ctl_end 9257 ** 9258 ** @param xcb_input_device_ctl_iterator_t i 9259 ** @returns xcb_generic_iterator_t 9260 ** 9261 *****************************************************************************/ 9262 9263 xcb_generic_iterator_t 9264 xcb_input_device_ctl_end (xcb_input_device_ctl_iterator_t i /**< */); 9265 9266 int 9267 xcb_input_change_device_control_sizeof (const void *_buffer /**< */); 9268 9269 /** 9270 * 9271 * @param c The connection 9272 * @return A cookie 9273 * 9274 * Delivers a request to the X server. 9275 * 9276 */ 9277 9278 /***************************************************************************** 9279 ** 9280 ** xcb_input_change_device_control_cookie_t xcb_input_change_device_control 9281 ** 9282 ** @param xcb_connection_t *c 9283 ** @param uint16_t control_id 9284 ** @param uint8_t device_id 9285 ** @param xcb_input_device_ctl_t *control 9286 ** @returns xcb_input_change_device_control_cookie_t 9287 ** 9288 *****************************************************************************/ 9289 9290 xcb_input_change_device_control_cookie_t 9291 xcb_input_change_device_control (xcb_connection_t *c /**< */, 9292 uint16_t control_id /**< */, 9293 uint8_t device_id /**< */, 9294 xcb_input_device_ctl_t *control /**< */); 9295 9296 /** 9297 * 9298 * @param c The connection 9299 * @return A cookie 9300 * 9301 * Delivers a request to the X server. 9302 * 9303 * This form can be used only if the request will cause 9304 * a reply to be generated. Any returned error will be 9305 * placed in the event queue. 9306 */ 9307 9308 /***************************************************************************** 9309 ** 9310 ** xcb_input_change_device_control_cookie_t xcb_input_change_device_control_unchecked 9311 ** 9312 ** @param xcb_connection_t *c 9313 ** @param uint16_t control_id 9314 ** @param uint8_t device_id 9315 ** @param xcb_input_device_ctl_t *control 9316 ** @returns xcb_input_change_device_control_cookie_t 9317 ** 9318 *****************************************************************************/ 9319 9320 xcb_input_change_device_control_cookie_t 9321 xcb_input_change_device_control_unchecked (xcb_connection_t *c /**< */, 9322 uint16_t control_id /**< */, 9323 uint8_t device_id /**< */, 9324 xcb_input_device_ctl_t *control /**< */); 9325 9326 /** 9327 * Return the reply 9328 * @param c The connection 9329 * @param cookie The cookie 9330 * @param e The xcb_generic_error_t supplied 9331 * 9332 * Returns the reply of the request asked by 9333 * 9334 * The parameter @p e supplied to this function must be NULL if 9335 * xcb_input_change_device_control_unchecked(). is used. 9336 * Otherwise, it stores the error if any. 9337 * 9338 * The returned value must be freed by the caller using free(). 9339 */ 9340 9341 /***************************************************************************** 9342 ** 9343 ** xcb_input_change_device_control_reply_t * xcb_input_change_device_control_reply 9344 ** 9345 ** @param xcb_connection_t *c 9346 ** @param xcb_input_change_device_control_cookie_t cookie 9347 ** @param xcb_generic_error_t **e 9348 ** @returns xcb_input_change_device_control_reply_t * 9349 ** 9350 *****************************************************************************/ 9351 9352 xcb_input_change_device_control_reply_t * 9353 xcb_input_change_device_control_reply (xcb_connection_t *c /**< */, 9354 xcb_input_change_device_control_cookie_t cookie /**< */, 9355 xcb_generic_error_t **e /**< */); 9356 9357 int 9358 xcb_input_list_device_properties_sizeof (const void *_buffer /**< */); 9359 9360 /** 9361 * 9362 * @param c The connection 9363 * @return A cookie 9364 * 9365 * Delivers a request to the X server. 9366 * 9367 */ 9368 9369 /***************************************************************************** 9370 ** 9371 ** xcb_input_list_device_properties_cookie_t xcb_input_list_device_properties 9372 ** 9373 ** @param xcb_connection_t *c 9374 ** @param uint8_t device_id 9375 ** @returns xcb_input_list_device_properties_cookie_t 9376 ** 9377 *****************************************************************************/ 9378 9379 xcb_input_list_device_properties_cookie_t 9380 xcb_input_list_device_properties (xcb_connection_t *c /**< */, 9381 uint8_t device_id /**< */); 9382 9383 /** 9384 * 9385 * @param c The connection 9386 * @return A cookie 9387 * 9388 * Delivers a request to the X server. 9389 * 9390 * This form can be used only if the request will cause 9391 * a reply to be generated. Any returned error will be 9392 * placed in the event queue. 9393 */ 9394 9395 /***************************************************************************** 9396 ** 9397 ** xcb_input_list_device_properties_cookie_t xcb_input_list_device_properties_unchecked 9398 ** 9399 ** @param xcb_connection_t *c 9400 ** @param uint8_t device_id 9401 ** @returns xcb_input_list_device_properties_cookie_t 9402 ** 9403 *****************************************************************************/ 9404 9405 xcb_input_list_device_properties_cookie_t 9406 xcb_input_list_device_properties_unchecked (xcb_connection_t *c /**< */, 9407 uint8_t device_id /**< */); 9408 9409 9410 /***************************************************************************** 9411 ** 9412 ** xcb_atom_t * xcb_input_list_device_properties_atoms 9413 ** 9414 ** @param const xcb_input_list_device_properties_reply_t *R 9415 ** @returns xcb_atom_t * 9416 ** 9417 *****************************************************************************/ 9418 9419 xcb_atom_t * 9420 xcb_input_list_device_properties_atoms (const xcb_input_list_device_properties_reply_t *R /**< */); 9421 9422 9423 /***************************************************************************** 9424 ** 9425 ** int xcb_input_list_device_properties_atoms_length 9426 ** 9427 ** @param const xcb_input_list_device_properties_reply_t *R 9428 ** @returns int 9429 ** 9430 *****************************************************************************/ 9431 9432 int 9433 xcb_input_list_device_properties_atoms_length (const xcb_input_list_device_properties_reply_t *R /**< */); 9434 9435 9436 /***************************************************************************** 9437 ** 9438 ** xcb_generic_iterator_t xcb_input_list_device_properties_atoms_end 9439 ** 9440 ** @param const xcb_input_list_device_properties_reply_t *R 9441 ** @returns xcb_generic_iterator_t 9442 ** 9443 *****************************************************************************/ 9444 9445 xcb_generic_iterator_t 9446 xcb_input_list_device_properties_atoms_end (const xcb_input_list_device_properties_reply_t *R /**< */); 9447 9448 /** 9449 * Return the reply 9450 * @param c The connection 9451 * @param cookie The cookie 9452 * @param e The xcb_generic_error_t supplied 9453 * 9454 * Returns the reply of the request asked by 9455 * 9456 * The parameter @p e supplied to this function must be NULL if 9457 * xcb_input_list_device_properties_unchecked(). is used. 9458 * Otherwise, it stores the error if any. 9459 * 9460 * The returned value must be freed by the caller using free(). 9461 */ 9462 9463 /***************************************************************************** 9464 ** 9465 ** xcb_input_list_device_properties_reply_t * xcb_input_list_device_properties_reply 9466 ** 9467 ** @param xcb_connection_t *c 9468 ** @param xcb_input_list_device_properties_cookie_t cookie 9469 ** @param xcb_generic_error_t **e 9470 ** @returns xcb_input_list_device_properties_reply_t * 9471 ** 9472 *****************************************************************************/ 9473 9474 xcb_input_list_device_properties_reply_t * 9475 xcb_input_list_device_properties_reply (xcb_connection_t *c /**< */, 9476 xcb_input_list_device_properties_cookie_t cookie /**< */, 9477 xcb_generic_error_t **e /**< */); 9478 9479 9480 /***************************************************************************** 9481 ** 9482 ** uint8_t * xcb_input_change_device_property_items_data_8 9483 ** 9484 ** @param const xcb_input_change_device_property_items_t *S 9485 ** @returns uint8_t * 9486 ** 9487 *****************************************************************************/ 9488 9489 uint8_t * 9490 xcb_input_change_device_property_items_data_8 (const xcb_input_change_device_property_items_t *S /**< */); 9491 9492 9493 /***************************************************************************** 9494 ** 9495 ** int xcb_input_change_device_property_items_data_8_length 9496 ** 9497 ** @param const xcb_input_change_device_property_items_t *R 9498 ** @returns int 9499 ** 9500 *****************************************************************************/ 9501 9502 int 9503 xcb_input_change_device_property_items_data_8_length (const xcb_input_change_device_property_request_t *R /**< */, 9504 const xcb_input_change_device_property_items_t *S /**< */); 9505 9506 9507 /***************************************************************************** 9508 ** 9509 ** xcb_generic_iterator_t xcb_input_change_device_property_items_data_8_end 9510 ** 9511 ** @param const xcb_input_change_device_property_items_t *R 9512 ** @returns xcb_generic_iterator_t 9513 ** 9514 *****************************************************************************/ 9515 9516 xcb_generic_iterator_t 9517 xcb_input_change_device_property_items_data_8_end (const xcb_input_change_device_property_request_t *R /**< */, 9518 const xcb_input_change_device_property_items_t *S /**< */); 9519 9520 9521 /***************************************************************************** 9522 ** 9523 ** uint16_t * xcb_input_change_device_property_items_data_16 9524 ** 9525 ** @param const xcb_input_change_device_property_items_t *S 9526 ** @returns uint16_t * 9527 ** 9528 *****************************************************************************/ 9529 9530 uint16_t * 9531 xcb_input_change_device_property_items_data_16 (const xcb_input_change_device_property_items_t *S /**< */); 9532 9533 9534 /***************************************************************************** 9535 ** 9536 ** int xcb_input_change_device_property_items_data_16_length 9537 ** 9538 ** @param const xcb_input_change_device_property_items_t *R 9539 ** @returns int 9540 ** 9541 *****************************************************************************/ 9542 9543 int 9544 xcb_input_change_device_property_items_data_16_length (const xcb_input_change_device_property_request_t *R /**< */, 9545 const xcb_input_change_device_property_items_t *S /**< */); 9546 9547 9548 /***************************************************************************** 9549 ** 9550 ** xcb_generic_iterator_t xcb_input_change_device_property_items_data_16_end 9551 ** 9552 ** @param const xcb_input_change_device_property_items_t *R 9553 ** @returns xcb_generic_iterator_t 9554 ** 9555 *****************************************************************************/ 9556 9557 xcb_generic_iterator_t 9558 xcb_input_change_device_property_items_data_16_end (const xcb_input_change_device_property_request_t *R /**< */, 9559 const xcb_input_change_device_property_items_t *S /**< */); 9560 9561 9562 /***************************************************************************** 9563 ** 9564 ** uint32_t * xcb_input_change_device_property_items_data_32 9565 ** 9566 ** @param const xcb_input_change_device_property_items_t *S 9567 ** @returns uint32_t * 9568 ** 9569 *****************************************************************************/ 9570 9571 uint32_t * 9572 xcb_input_change_device_property_items_data_32 (const xcb_input_change_device_property_items_t *S /**< */); 9573 9574 9575 /***************************************************************************** 9576 ** 9577 ** int xcb_input_change_device_property_items_data_32_length 9578 ** 9579 ** @param const xcb_input_change_device_property_items_t *R 9580 ** @returns int 9581 ** 9582 *****************************************************************************/ 9583 9584 int 9585 xcb_input_change_device_property_items_data_32_length (const xcb_input_change_device_property_request_t *R /**< */, 9586 const xcb_input_change_device_property_items_t *S /**< */); 9587 9588 9589 /***************************************************************************** 9590 ** 9591 ** xcb_generic_iterator_t xcb_input_change_device_property_items_data_32_end 9592 ** 9593 ** @param const xcb_input_change_device_property_items_t *R 9594 ** @returns xcb_generic_iterator_t 9595 ** 9596 *****************************************************************************/ 9597 9598 xcb_generic_iterator_t 9599 xcb_input_change_device_property_items_data_32_end (const xcb_input_change_device_property_request_t *R /**< */, 9600 const xcb_input_change_device_property_items_t *S /**< */); 9601 9602 int 9603 xcb_input_change_device_property_items_serialize (void **_buffer /**< */, 9604 uint32_t num_items /**< */, 9605 uint8_t format /**< */, 9606 const xcb_input_change_device_property_items_t *_aux /**< */); 9607 9608 int 9609 xcb_input_change_device_property_items_unpack (const void *_buffer /**< */, 9610 uint32_t num_items /**< */, 9611 uint8_t format /**< */, 9612 xcb_input_change_device_property_items_t *_aux /**< */); 9613 9614 int 9615 xcb_input_change_device_property_items_sizeof (const void *_buffer /**< */, 9616 uint32_t num_items /**< */, 9617 uint8_t format /**< */); 9618 9619 /** 9620 * 9621 * @param c The connection 9622 * @return A cookie 9623 * 9624 * Delivers a request to the X server. 9625 * 9626 * This form can be used only if the request will not cause 9627 * a reply to be generated. Any returned error will be 9628 * saved for handling by xcb_request_check(). 9629 */ 9630 9631 /***************************************************************************** 9632 ** 9633 ** xcb_void_cookie_t xcb_input_change_device_property_checked 9634 ** 9635 ** @param xcb_connection_t *c 9636 ** @param xcb_atom_t property 9637 ** @param xcb_atom_t type 9638 ** @param uint8_t device_id 9639 ** @param uint8_t format 9640 ** @param uint8_t mode 9641 ** @param uint32_t num_items 9642 ** @param const void *items 9643 ** @returns xcb_void_cookie_t 9644 ** 9645 *****************************************************************************/ 9646 9647 xcb_void_cookie_t 9648 xcb_input_change_device_property_checked (xcb_connection_t *c /**< */, 9649 xcb_atom_t property /**< */, 9650 xcb_atom_t type /**< */, 9651 uint8_t device_id /**< */, 9652 uint8_t format /**< */, 9653 uint8_t mode /**< */, 9654 uint32_t num_items /**< */, 9655 const void *items /**< */); 9656 9657 /** 9658 * 9659 * @param c The connection 9660 * @return A cookie 9661 * 9662 * Delivers a request to the X server. 9663 * 9664 */ 9665 9666 /***************************************************************************** 9667 ** 9668 ** xcb_void_cookie_t xcb_input_change_device_property 9669 ** 9670 ** @param xcb_connection_t *c 9671 ** @param xcb_atom_t property 9672 ** @param xcb_atom_t type 9673 ** @param uint8_t device_id 9674 ** @param uint8_t format 9675 ** @param uint8_t mode 9676 ** @param uint32_t num_items 9677 ** @param const void *items 9678 ** @returns xcb_void_cookie_t 9679 ** 9680 *****************************************************************************/ 9681 9682 xcb_void_cookie_t 9683 xcb_input_change_device_property (xcb_connection_t *c /**< */, 9684 xcb_atom_t property /**< */, 9685 xcb_atom_t type /**< */, 9686 uint8_t device_id /**< */, 9687 uint8_t format /**< */, 9688 uint8_t mode /**< */, 9689 uint32_t num_items /**< */, 9690 const void *items /**< */); 9691 9692 /** 9693 * 9694 * @param c The connection 9695 * @return A cookie 9696 * 9697 * Delivers a request to the X server. 9698 * 9699 * This form can be used only if the request will not cause 9700 * a reply to be generated. Any returned error will be 9701 * saved for handling by xcb_request_check(). 9702 */ 9703 9704 /***************************************************************************** 9705 ** 9706 ** xcb_void_cookie_t xcb_input_change_device_property_aux_checked 9707 ** 9708 ** @param xcb_connection_t *c 9709 ** @param xcb_atom_t property 9710 ** @param xcb_atom_t type 9711 ** @param uint8_t device_id 9712 ** @param uint8_t format 9713 ** @param uint8_t mode 9714 ** @param uint32_t num_items 9715 ** @param const xcb_input_change_device_property_items_t *items 9716 ** @returns xcb_void_cookie_t 9717 ** 9718 *****************************************************************************/ 9719 9720 xcb_void_cookie_t 9721 xcb_input_change_device_property_aux_checked (xcb_connection_t *c /**< */, 9722 xcb_atom_t property /**< */, 9723 xcb_atom_t type /**< */, 9724 uint8_t device_id /**< */, 9725 uint8_t format /**< */, 9726 uint8_t mode /**< */, 9727 uint32_t num_items /**< */, 9728 const xcb_input_change_device_property_items_t *items /**< */); 9729 9730 /** 9731 * 9732 * @param c The connection 9733 * @return A cookie 9734 * 9735 * Delivers a request to the X server. 9736 * 9737 */ 9738 9739 /***************************************************************************** 9740 ** 9741 ** xcb_void_cookie_t xcb_input_change_device_property_aux 9742 ** 9743 ** @param xcb_connection_t *c 9744 ** @param xcb_atom_t property 9745 ** @param xcb_atom_t type 9746 ** @param uint8_t device_id 9747 ** @param uint8_t format 9748 ** @param uint8_t mode 9749 ** @param uint32_t num_items 9750 ** @param const xcb_input_change_device_property_items_t *items 9751 ** @returns xcb_void_cookie_t 9752 ** 9753 *****************************************************************************/ 9754 9755 xcb_void_cookie_t 9756 xcb_input_change_device_property_aux (xcb_connection_t *c /**< */, 9757 xcb_atom_t property /**< */, 9758 xcb_atom_t type /**< */, 9759 uint8_t device_id /**< */, 9760 uint8_t format /**< */, 9761 uint8_t mode /**< */, 9762 uint32_t num_items /**< */, 9763 const xcb_input_change_device_property_items_t *items /**< */); 9764 9765 /** 9766 * 9767 * @param c The connection 9768 * @return A cookie 9769 * 9770 * Delivers a request to the X server. 9771 * 9772 * This form can be used only if the request will not cause 9773 * a reply to be generated. Any returned error will be 9774 * saved for handling by xcb_request_check(). 9775 */ 9776 9777 /***************************************************************************** 9778 ** 9779 ** xcb_void_cookie_t xcb_input_delete_device_property_checked 9780 ** 9781 ** @param xcb_connection_t *c 9782 ** @param xcb_atom_t property 9783 ** @param uint8_t device_id 9784 ** @returns xcb_void_cookie_t 9785 ** 9786 *****************************************************************************/ 9787 9788 xcb_void_cookie_t 9789 xcb_input_delete_device_property_checked (xcb_connection_t *c /**< */, 9790 xcb_atom_t property /**< */, 9791 uint8_t device_id /**< */); 9792 9793 /** 9794 * 9795 * @param c The connection 9796 * @return A cookie 9797 * 9798 * Delivers a request to the X server. 9799 * 9800 */ 9801 9802 /***************************************************************************** 9803 ** 9804 ** xcb_void_cookie_t xcb_input_delete_device_property 9805 ** 9806 ** @param xcb_connection_t *c 9807 ** @param xcb_atom_t property 9808 ** @param uint8_t device_id 9809 ** @returns xcb_void_cookie_t 9810 ** 9811 *****************************************************************************/ 9812 9813 xcb_void_cookie_t 9814 xcb_input_delete_device_property (xcb_connection_t *c /**< */, 9815 xcb_atom_t property /**< */, 9816 uint8_t device_id /**< */); 9817 9818 9819 /***************************************************************************** 9820 ** 9821 ** uint8_t * xcb_input_get_device_property_items_data_8 9822 ** 9823 ** @param const xcb_input_get_device_property_items_t *S 9824 ** @returns uint8_t * 9825 ** 9826 *****************************************************************************/ 9827 9828 uint8_t * 9829 xcb_input_get_device_property_items_data_8 (const xcb_input_get_device_property_items_t *S /**< */); 9830 9831 9832 /***************************************************************************** 9833 ** 9834 ** int xcb_input_get_device_property_items_data_8_length 9835 ** 9836 ** @param const xcb_input_get_device_property_items_t *R 9837 ** @returns int 9838 ** 9839 *****************************************************************************/ 9840 9841 int 9842 xcb_input_get_device_property_items_data_8_length (const xcb_input_get_device_property_reply_t *R /**< */, 9843 const xcb_input_get_device_property_items_t *S /**< */); 9844 9845 9846 /***************************************************************************** 9847 ** 9848 ** xcb_generic_iterator_t xcb_input_get_device_property_items_data_8_end 9849 ** 9850 ** @param const xcb_input_get_device_property_items_t *R 9851 ** @returns xcb_generic_iterator_t 9852 ** 9853 *****************************************************************************/ 9854 9855 xcb_generic_iterator_t 9856 xcb_input_get_device_property_items_data_8_end (const xcb_input_get_device_property_reply_t *R /**< */, 9857 const xcb_input_get_device_property_items_t *S /**< */); 9858 9859 9860 /***************************************************************************** 9861 ** 9862 ** uint16_t * xcb_input_get_device_property_items_data_16 9863 ** 9864 ** @param const xcb_input_get_device_property_items_t *S 9865 ** @returns uint16_t * 9866 ** 9867 *****************************************************************************/ 9868 9869 uint16_t * 9870 xcb_input_get_device_property_items_data_16 (const xcb_input_get_device_property_items_t *S /**< */); 9871 9872 9873 /***************************************************************************** 9874 ** 9875 ** int xcb_input_get_device_property_items_data_16_length 9876 ** 9877 ** @param const xcb_input_get_device_property_items_t *R 9878 ** @returns int 9879 ** 9880 *****************************************************************************/ 9881 9882 int 9883 xcb_input_get_device_property_items_data_16_length (const xcb_input_get_device_property_reply_t *R /**< */, 9884 const xcb_input_get_device_property_items_t *S /**< */); 9885 9886 9887 /***************************************************************************** 9888 ** 9889 ** xcb_generic_iterator_t xcb_input_get_device_property_items_data_16_end 9890 ** 9891 ** @param const xcb_input_get_device_property_items_t *R 9892 ** @returns xcb_generic_iterator_t 9893 ** 9894 *****************************************************************************/ 9895 9896 xcb_generic_iterator_t 9897 xcb_input_get_device_property_items_data_16_end (const xcb_input_get_device_property_reply_t *R /**< */, 9898 const xcb_input_get_device_property_items_t *S /**< */); 9899 9900 9901 /***************************************************************************** 9902 ** 9903 ** uint32_t * xcb_input_get_device_property_items_data_32 9904 ** 9905 ** @param const xcb_input_get_device_property_items_t *S 9906 ** @returns uint32_t * 9907 ** 9908 *****************************************************************************/ 9909 9910 uint32_t * 9911 xcb_input_get_device_property_items_data_32 (const xcb_input_get_device_property_items_t *S /**< */); 9912 9913 9914 /***************************************************************************** 9915 ** 9916 ** int xcb_input_get_device_property_items_data_32_length 9917 ** 9918 ** @param const xcb_input_get_device_property_items_t *R 9919 ** @returns int 9920 ** 9921 *****************************************************************************/ 9922 9923 int 9924 xcb_input_get_device_property_items_data_32_length (const xcb_input_get_device_property_reply_t *R /**< */, 9925 const xcb_input_get_device_property_items_t *S /**< */); 9926 9927 9928 /***************************************************************************** 9929 ** 9930 ** xcb_generic_iterator_t xcb_input_get_device_property_items_data_32_end 9931 ** 9932 ** @param const xcb_input_get_device_property_items_t *R 9933 ** @returns xcb_generic_iterator_t 9934 ** 9935 *****************************************************************************/ 9936 9937 xcb_generic_iterator_t 9938 xcb_input_get_device_property_items_data_32_end (const xcb_input_get_device_property_reply_t *R /**< */, 9939 const xcb_input_get_device_property_items_t *S /**< */); 9940 9941 int 9942 xcb_input_get_device_property_items_serialize (void **_buffer /**< */, 9943 uint32_t num_items /**< */, 9944 uint8_t format /**< */, 9945 const xcb_input_get_device_property_items_t *_aux /**< */); 9946 9947 int 9948 xcb_input_get_device_property_items_unpack (const void *_buffer /**< */, 9949 uint32_t num_items /**< */, 9950 uint8_t format /**< */, 9951 xcb_input_get_device_property_items_t *_aux /**< */); 9952 9953 int 9954 xcb_input_get_device_property_items_sizeof (const void *_buffer /**< */, 9955 uint32_t num_items /**< */, 9956 uint8_t format /**< */); 9957 9958 /** 9959 * 9960 * @param c The connection 9961 * @return A cookie 9962 * 9963 * Delivers a request to the X server. 9964 * 9965 */ 9966 9967 /***************************************************************************** 9968 ** 9969 ** xcb_input_get_device_property_cookie_t xcb_input_get_device_property 9970 ** 9971 ** @param xcb_connection_t *c 9972 ** @param xcb_atom_t property 9973 ** @param xcb_atom_t type 9974 ** @param uint32_t offset 9975 ** @param uint32_t len 9976 ** @param uint8_t device_id 9977 ** @param uint8_t _delete 9978 ** @returns xcb_input_get_device_property_cookie_t 9979 ** 9980 *****************************************************************************/ 9981 9982 xcb_input_get_device_property_cookie_t 9983 xcb_input_get_device_property (xcb_connection_t *c /**< */, 9984 xcb_atom_t property /**< */, 9985 xcb_atom_t type /**< */, 9986 uint32_t offset /**< */, 9987 uint32_t len /**< */, 9988 uint8_t device_id /**< */, 9989 uint8_t _delete /**< */); 9990 9991 /** 9992 * 9993 * @param c The connection 9994 * @return A cookie 9995 * 9996 * Delivers a request to the X server. 9997 * 9998 * This form can be used only if the request will cause 9999 * a reply to be generated. Any returned error will be 10000 * placed in the event queue. 10001 */ 10002 10003 /***************************************************************************** 10004 ** 10005 ** xcb_input_get_device_property_cookie_t xcb_input_get_device_property_unchecked 10006 ** 10007 ** @param xcb_connection_t *c 10008 ** @param xcb_atom_t property 10009 ** @param xcb_atom_t type 10010 ** @param uint32_t offset 10011 ** @param uint32_t len 10012 ** @param uint8_t device_id 10013 ** @param uint8_t _delete 10014 ** @returns xcb_input_get_device_property_cookie_t 10015 ** 10016 *****************************************************************************/ 10017 10018 xcb_input_get_device_property_cookie_t 10019 xcb_input_get_device_property_unchecked (xcb_connection_t *c /**< */, 10020 xcb_atom_t property /**< */, 10021 xcb_atom_t type /**< */, 10022 uint32_t offset /**< */, 10023 uint32_t len /**< */, 10024 uint8_t device_id /**< */, 10025 uint8_t _delete /**< */); 10026 10027 10028 /***************************************************************************** 10029 ** 10030 ** xcb_input_get_device_property_items_t * xcb_input_get_device_property_items 10031 ** 10032 ** @param const xcb_input_get_device_property_reply_t *R 10033 ** @returns xcb_input_get_device_property_items_t * 10034 ** 10035 *****************************************************************************/ 10036 10037 void * 10038 xcb_input_get_device_property_items (const xcb_input_get_device_property_reply_t *R /**< */); 10039 10040 /** 10041 * Return the reply 10042 * @param c The connection 10043 * @param cookie The cookie 10044 * @param e The xcb_generic_error_t supplied 10045 * 10046 * Returns the reply of the request asked by 10047 * 10048 * The parameter @p e supplied to this function must be NULL if 10049 * xcb_input_get_device_property_unchecked(). is used. 10050 * Otherwise, it stores the error if any. 10051 * 10052 * The returned value must be freed by the caller using free(). 10053 */ 10054 10055 /***************************************************************************** 10056 ** 10057 ** xcb_input_get_device_property_reply_t * xcb_input_get_device_property_reply 10058 ** 10059 ** @param xcb_connection_t *c 10060 ** @param xcb_input_get_device_property_cookie_t cookie 10061 ** @param xcb_generic_error_t **e 10062 ** @returns xcb_input_get_device_property_reply_t * 10063 ** 10064 *****************************************************************************/ 10065 10066 xcb_input_get_device_property_reply_t * 10067 xcb_input_get_device_property_reply (xcb_connection_t *c /**< */, 10068 xcb_input_get_device_property_cookie_t cookie /**< */, 10069 xcb_generic_error_t **e /**< */); 10070 10071 /** 10072 * Get the next element of the iterator 10073 * @param i Pointer to a xcb_input_group_info_iterator_t 10074 * 10075 * Get the next element in the iterator. The member rem is 10076 * decreased by one. The member data points to the next 10077 * element. The member index is increased by sizeof(xcb_input_group_info_t) 10078 */ 10079 10080 /***************************************************************************** 10081 ** 10082 ** void xcb_input_group_info_next 10083 ** 10084 ** @param xcb_input_group_info_iterator_t *i 10085 ** @returns void 10086 ** 10087 *****************************************************************************/ 10088 10089 void 10090 xcb_input_group_info_next (xcb_input_group_info_iterator_t *i /**< */); 10091 10092 /** 10093 * Return the iterator pointing to the last element 10094 * @param i An xcb_input_group_info_iterator_t 10095 * @return The iterator pointing to the last element 10096 * 10097 * Set the current element in the iterator to the last element. 10098 * The member rem is set to 0. The member data points to the 10099 * last element. 10100 */ 10101 10102 /***************************************************************************** 10103 ** 10104 ** xcb_generic_iterator_t xcb_input_group_info_end 10105 ** 10106 ** @param xcb_input_group_info_iterator_t i 10107 ** @returns xcb_generic_iterator_t 10108 ** 10109 *****************************************************************************/ 10110 10111 xcb_generic_iterator_t 10112 xcb_input_group_info_end (xcb_input_group_info_iterator_t i /**< */); 10113 10114 /** 10115 * Get the next element of the iterator 10116 * @param i Pointer to a xcb_input_modifier_info_iterator_t 10117 * 10118 * Get the next element in the iterator. The member rem is 10119 * decreased by one. The member data points to the next 10120 * element. The member index is increased by sizeof(xcb_input_modifier_info_t) 10121 */ 10122 10123 /***************************************************************************** 10124 ** 10125 ** void xcb_input_modifier_info_next 10126 ** 10127 ** @param xcb_input_modifier_info_iterator_t *i 10128 ** @returns void 10129 ** 10130 *****************************************************************************/ 10131 10132 void 10133 xcb_input_modifier_info_next (xcb_input_modifier_info_iterator_t *i /**< */); 10134 10135 /** 10136 * Return the iterator pointing to the last element 10137 * @param i An xcb_input_modifier_info_iterator_t 10138 * @return The iterator pointing to the last element 10139 * 10140 * Set the current element in the iterator to the last element. 10141 * The member rem is set to 0. The member data points to the 10142 * last element. 10143 */ 10144 10145 /***************************************************************************** 10146 ** 10147 ** xcb_generic_iterator_t xcb_input_modifier_info_end 10148 ** 10149 ** @param xcb_input_modifier_info_iterator_t i 10150 ** @returns xcb_generic_iterator_t 10151 ** 10152 *****************************************************************************/ 10153 10154 xcb_generic_iterator_t 10155 xcb_input_modifier_info_end (xcb_input_modifier_info_iterator_t i /**< */); 10156 10157 int 10158 xcb_input_xi_query_pointer_sizeof (const void *_buffer /**< */); 10159 10160 /** 10161 * 10162 * @param c The connection 10163 * @return A cookie 10164 * 10165 * Delivers a request to the X server. 10166 * 10167 */ 10168 10169 /***************************************************************************** 10170 ** 10171 ** xcb_input_xi_query_pointer_cookie_t xcb_input_xi_query_pointer 10172 ** 10173 ** @param xcb_connection_t *c 10174 ** @param xcb_window_t window 10175 ** @param xcb_input_device_id_t deviceid 10176 ** @returns xcb_input_xi_query_pointer_cookie_t 10177 ** 10178 *****************************************************************************/ 10179 10180 xcb_input_xi_query_pointer_cookie_t 10181 xcb_input_xi_query_pointer (xcb_connection_t *c /**< */, 10182 xcb_window_t window /**< */, 10183 xcb_input_device_id_t deviceid /**< */); 10184 10185 /** 10186 * 10187 * @param c The connection 10188 * @return A cookie 10189 * 10190 * Delivers a request to the X server. 10191 * 10192 * This form can be used only if the request will cause 10193 * a reply to be generated. Any returned error will be 10194 * placed in the event queue. 10195 */ 10196 10197 /***************************************************************************** 10198 ** 10199 ** xcb_input_xi_query_pointer_cookie_t xcb_input_xi_query_pointer_unchecked 10200 ** 10201 ** @param xcb_connection_t *c 10202 ** @param xcb_window_t window 10203 ** @param xcb_input_device_id_t deviceid 10204 ** @returns xcb_input_xi_query_pointer_cookie_t 10205 ** 10206 *****************************************************************************/ 10207 10208 xcb_input_xi_query_pointer_cookie_t 10209 xcb_input_xi_query_pointer_unchecked (xcb_connection_t *c /**< */, 10210 xcb_window_t window /**< */, 10211 xcb_input_device_id_t deviceid /**< */); 10212 10213 10214 /***************************************************************************** 10215 ** 10216 ** uint32_t * xcb_input_xi_query_pointer_buttons 10217 ** 10218 ** @param const xcb_input_xi_query_pointer_reply_t *R 10219 ** @returns uint32_t * 10220 ** 10221 *****************************************************************************/ 10222 10223 uint32_t * 10224 xcb_input_xi_query_pointer_buttons (const xcb_input_xi_query_pointer_reply_t *R /**< */); 10225 10226 10227 /***************************************************************************** 10228 ** 10229 ** int xcb_input_xi_query_pointer_buttons_length 10230 ** 10231 ** @param const xcb_input_xi_query_pointer_reply_t *R 10232 ** @returns int 10233 ** 10234 *****************************************************************************/ 10235 10236 int 10237 xcb_input_xi_query_pointer_buttons_length (const xcb_input_xi_query_pointer_reply_t *R /**< */); 10238 10239 10240 /***************************************************************************** 10241 ** 10242 ** xcb_generic_iterator_t xcb_input_xi_query_pointer_buttons_end 10243 ** 10244 ** @param const xcb_input_xi_query_pointer_reply_t *R 10245 ** @returns xcb_generic_iterator_t 10246 ** 10247 *****************************************************************************/ 10248 10249 xcb_generic_iterator_t 10250 xcb_input_xi_query_pointer_buttons_end (const xcb_input_xi_query_pointer_reply_t *R /**< */); 10251 10252 /** 10253 * Return the reply 10254 * @param c The connection 10255 * @param cookie The cookie 10256 * @param e The xcb_generic_error_t supplied 10257 * 10258 * Returns the reply of the request asked by 10259 * 10260 * The parameter @p e supplied to this function must be NULL if 10261 * xcb_input_xi_query_pointer_unchecked(). is used. 10262 * Otherwise, it stores the error if any. 10263 * 10264 * The returned value must be freed by the caller using free(). 10265 */ 10266 10267 /***************************************************************************** 10268 ** 10269 ** xcb_input_xi_query_pointer_reply_t * xcb_input_xi_query_pointer_reply 10270 ** 10271 ** @param xcb_connection_t *c 10272 ** @param xcb_input_xi_query_pointer_cookie_t cookie 10273 ** @param xcb_generic_error_t **e 10274 ** @returns xcb_input_xi_query_pointer_reply_t * 10275 ** 10276 *****************************************************************************/ 10277 10278 xcb_input_xi_query_pointer_reply_t * 10279 xcb_input_xi_query_pointer_reply (xcb_connection_t *c /**< */, 10280 xcb_input_xi_query_pointer_cookie_t cookie /**< */, 10281 xcb_generic_error_t **e /**< */); 10282 10283 /** 10284 * 10285 * @param c The connection 10286 * @return A cookie 10287 * 10288 * Delivers a request to the X server. 10289 * 10290 * This form can be used only if the request will not cause 10291 * a reply to be generated. Any returned error will be 10292 * saved for handling by xcb_request_check(). 10293 */ 10294 10295 /***************************************************************************** 10296 ** 10297 ** xcb_void_cookie_t xcb_input_xi_warp_pointer_checked 10298 ** 10299 ** @param xcb_connection_t *c 10300 ** @param xcb_window_t src_win 10301 ** @param xcb_window_t dst_win 10302 ** @param xcb_input_fp1616_t src_x 10303 ** @param xcb_input_fp1616_t src_y 10304 ** @param uint16_t src_width 10305 ** @param uint16_t src_height 10306 ** @param xcb_input_fp1616_t dst_x 10307 ** @param xcb_input_fp1616_t dst_y 10308 ** @param xcb_input_device_id_t deviceid 10309 ** @returns xcb_void_cookie_t 10310 ** 10311 *****************************************************************************/ 10312 10313 xcb_void_cookie_t 10314 xcb_input_xi_warp_pointer_checked (xcb_connection_t *c /**< */, 10315 xcb_window_t src_win /**< */, 10316 xcb_window_t dst_win /**< */, 10317 xcb_input_fp1616_t src_x /**< */, 10318 xcb_input_fp1616_t src_y /**< */, 10319 uint16_t src_width /**< */, 10320 uint16_t src_height /**< */, 10321 xcb_input_fp1616_t dst_x /**< */, 10322 xcb_input_fp1616_t dst_y /**< */, 10323 xcb_input_device_id_t deviceid /**< */); 10324 10325 /** 10326 * 10327 * @param c The connection 10328 * @return A cookie 10329 * 10330 * Delivers a request to the X server. 10331 * 10332 */ 10333 10334 /***************************************************************************** 10335 ** 10336 ** xcb_void_cookie_t xcb_input_xi_warp_pointer 10337 ** 10338 ** @param xcb_connection_t *c 10339 ** @param xcb_window_t src_win 10340 ** @param xcb_window_t dst_win 10341 ** @param xcb_input_fp1616_t src_x 10342 ** @param xcb_input_fp1616_t src_y 10343 ** @param uint16_t src_width 10344 ** @param uint16_t src_height 10345 ** @param xcb_input_fp1616_t dst_x 10346 ** @param xcb_input_fp1616_t dst_y 10347 ** @param xcb_input_device_id_t deviceid 10348 ** @returns xcb_void_cookie_t 10349 ** 10350 *****************************************************************************/ 10351 10352 xcb_void_cookie_t 10353 xcb_input_xi_warp_pointer (xcb_connection_t *c /**< */, 10354 xcb_window_t src_win /**< */, 10355 xcb_window_t dst_win /**< */, 10356 xcb_input_fp1616_t src_x /**< */, 10357 xcb_input_fp1616_t src_y /**< */, 10358 uint16_t src_width /**< */, 10359 uint16_t src_height /**< */, 10360 xcb_input_fp1616_t dst_x /**< */, 10361 xcb_input_fp1616_t dst_y /**< */, 10362 xcb_input_device_id_t deviceid /**< */); 10363 10364 /** 10365 * 10366 * @param c The connection 10367 * @return A cookie 10368 * 10369 * Delivers a request to the X server. 10370 * 10371 * This form can be used only if the request will not cause 10372 * a reply to be generated. Any returned error will be 10373 * saved for handling by xcb_request_check(). 10374 */ 10375 10376 /***************************************************************************** 10377 ** 10378 ** xcb_void_cookie_t xcb_input_xi_change_cursor_checked 10379 ** 10380 ** @param xcb_connection_t *c 10381 ** @param xcb_window_t window 10382 ** @param xcb_cursor_t cursor 10383 ** @param xcb_input_device_id_t deviceid 10384 ** @returns xcb_void_cookie_t 10385 ** 10386 *****************************************************************************/ 10387 10388 xcb_void_cookie_t 10389 xcb_input_xi_change_cursor_checked (xcb_connection_t *c /**< */, 10390 xcb_window_t window /**< */, 10391 xcb_cursor_t cursor /**< */, 10392 xcb_input_device_id_t deviceid /**< */); 10393 10394 /** 10395 * 10396 * @param c The connection 10397 * @return A cookie 10398 * 10399 * Delivers a request to the X server. 10400 * 10401 */ 10402 10403 /***************************************************************************** 10404 ** 10405 ** xcb_void_cookie_t xcb_input_xi_change_cursor 10406 ** 10407 ** @param xcb_connection_t *c 10408 ** @param xcb_window_t window 10409 ** @param xcb_cursor_t cursor 10410 ** @param xcb_input_device_id_t deviceid 10411 ** @returns xcb_void_cookie_t 10412 ** 10413 *****************************************************************************/ 10414 10415 xcb_void_cookie_t 10416 xcb_input_xi_change_cursor (xcb_connection_t *c /**< */, 10417 xcb_window_t window /**< */, 10418 xcb_cursor_t cursor /**< */, 10419 xcb_input_device_id_t deviceid /**< */); 10420 10421 int 10422 xcb_input_add_master_sizeof (const void *_buffer /**< */); 10423 10424 10425 /***************************************************************************** 10426 ** 10427 ** char * xcb_input_add_master_name 10428 ** 10429 ** @param const xcb_input_add_master_t *R 10430 ** @returns char * 10431 ** 10432 *****************************************************************************/ 10433 10434 char * 10435 xcb_input_add_master_name (const xcb_input_add_master_t *R /**< */); 10436 10437 10438 /***************************************************************************** 10439 ** 10440 ** int xcb_input_add_master_name_length 10441 ** 10442 ** @param const xcb_input_add_master_t *R 10443 ** @returns int 10444 ** 10445 *****************************************************************************/ 10446 10447 int 10448 xcb_input_add_master_name_length (const xcb_input_add_master_t *R /**< */); 10449 10450 10451 /***************************************************************************** 10452 ** 10453 ** xcb_generic_iterator_t xcb_input_add_master_name_end 10454 ** 10455 ** @param const xcb_input_add_master_t *R 10456 ** @returns xcb_generic_iterator_t 10457 ** 10458 *****************************************************************************/ 10459 10460 xcb_generic_iterator_t 10461 xcb_input_add_master_name_end (const xcb_input_add_master_t *R /**< */); 10462 10463 /** 10464 * Get the next element of the iterator 10465 * @param i Pointer to a xcb_input_add_master_iterator_t 10466 * 10467 * Get the next element in the iterator. The member rem is 10468 * decreased by one. The member data points to the next 10469 * element. The member index is increased by sizeof(xcb_input_add_master_t) 10470 */ 10471 10472 /***************************************************************************** 10473 ** 10474 ** void xcb_input_add_master_next 10475 ** 10476 ** @param xcb_input_add_master_iterator_t *i 10477 ** @returns void 10478 ** 10479 *****************************************************************************/ 10480 10481 void 10482 xcb_input_add_master_next (xcb_input_add_master_iterator_t *i /**< */); 10483 10484 /** 10485 * Return the iterator pointing to the last element 10486 * @param i An xcb_input_add_master_iterator_t 10487 * @return The iterator pointing to the last element 10488 * 10489 * Set the current element in the iterator to the last element. 10490 * The member rem is set to 0. The member data points to the 10491 * last element. 10492 */ 10493 10494 /***************************************************************************** 10495 ** 10496 ** xcb_generic_iterator_t xcb_input_add_master_end 10497 ** 10498 ** @param xcb_input_add_master_iterator_t i 10499 ** @returns xcb_generic_iterator_t 10500 ** 10501 *****************************************************************************/ 10502 10503 xcb_generic_iterator_t 10504 xcb_input_add_master_end (xcb_input_add_master_iterator_t i /**< */); 10505 10506 /** 10507 * Get the next element of the iterator 10508 * @param i Pointer to a xcb_input_remove_master_iterator_t 10509 * 10510 * Get the next element in the iterator. The member rem is 10511 * decreased by one. The member data points to the next 10512 * element. The member index is increased by sizeof(xcb_input_remove_master_t) 10513 */ 10514 10515 /***************************************************************************** 10516 ** 10517 ** void xcb_input_remove_master_next 10518 ** 10519 ** @param xcb_input_remove_master_iterator_t *i 10520 ** @returns void 10521 ** 10522 *****************************************************************************/ 10523 10524 void 10525 xcb_input_remove_master_next (xcb_input_remove_master_iterator_t *i /**< */); 10526 10527 /** 10528 * Return the iterator pointing to the last element 10529 * @param i An xcb_input_remove_master_iterator_t 10530 * @return The iterator pointing to the last element 10531 * 10532 * Set the current element in the iterator to the last element. 10533 * The member rem is set to 0. The member data points to the 10534 * last element. 10535 */ 10536 10537 /***************************************************************************** 10538 ** 10539 ** xcb_generic_iterator_t xcb_input_remove_master_end 10540 ** 10541 ** @param xcb_input_remove_master_iterator_t i 10542 ** @returns xcb_generic_iterator_t 10543 ** 10544 *****************************************************************************/ 10545 10546 xcb_generic_iterator_t 10547 xcb_input_remove_master_end (xcb_input_remove_master_iterator_t i /**< */); 10548 10549 /** 10550 * Get the next element of the iterator 10551 * @param i Pointer to a xcb_input_attach_slave_iterator_t 10552 * 10553 * Get the next element in the iterator. The member rem is 10554 * decreased by one. The member data points to the next 10555 * element. The member index is increased by sizeof(xcb_input_attach_slave_t) 10556 */ 10557 10558 /***************************************************************************** 10559 ** 10560 ** void xcb_input_attach_slave_next 10561 ** 10562 ** @param xcb_input_attach_slave_iterator_t *i 10563 ** @returns void 10564 ** 10565 *****************************************************************************/ 10566 10567 void 10568 xcb_input_attach_slave_next (xcb_input_attach_slave_iterator_t *i /**< */); 10569 10570 /** 10571 * Return the iterator pointing to the last element 10572 * @param i An xcb_input_attach_slave_iterator_t 10573 * @return The iterator pointing to the last element 10574 * 10575 * Set the current element in the iterator to the last element. 10576 * The member rem is set to 0. The member data points to the 10577 * last element. 10578 */ 10579 10580 /***************************************************************************** 10581 ** 10582 ** xcb_generic_iterator_t xcb_input_attach_slave_end 10583 ** 10584 ** @param xcb_input_attach_slave_iterator_t i 10585 ** @returns xcb_generic_iterator_t 10586 ** 10587 *****************************************************************************/ 10588 10589 xcb_generic_iterator_t 10590 xcb_input_attach_slave_end (xcb_input_attach_slave_iterator_t i /**< */); 10591 10592 /** 10593 * Get the next element of the iterator 10594 * @param i Pointer to a xcb_input_detach_slave_iterator_t 10595 * 10596 * Get the next element in the iterator. The member rem is 10597 * decreased by one. The member data points to the next 10598 * element. The member index is increased by sizeof(xcb_input_detach_slave_t) 10599 */ 10600 10601 /***************************************************************************** 10602 ** 10603 ** void xcb_input_detach_slave_next 10604 ** 10605 ** @param xcb_input_detach_slave_iterator_t *i 10606 ** @returns void 10607 ** 10608 *****************************************************************************/ 10609 10610 void 10611 xcb_input_detach_slave_next (xcb_input_detach_slave_iterator_t *i /**< */); 10612 10613 /** 10614 * Return the iterator pointing to the last element 10615 * @param i An xcb_input_detach_slave_iterator_t 10616 * @return The iterator pointing to the last element 10617 * 10618 * Set the current element in the iterator to the last element. 10619 * The member rem is set to 0. The member data points to the 10620 * last element. 10621 */ 10622 10623 /***************************************************************************** 10624 ** 10625 ** xcb_generic_iterator_t xcb_input_detach_slave_end 10626 ** 10627 ** @param xcb_input_detach_slave_iterator_t i 10628 ** @returns xcb_generic_iterator_t 10629 ** 10630 *****************************************************************************/ 10631 10632 xcb_generic_iterator_t 10633 xcb_input_detach_slave_end (xcb_input_detach_slave_iterator_t i /**< */); 10634 10635 int 10636 xcb_input_hierarchy_change_sizeof (const void *_buffer /**< */); 10637 10638 10639 /***************************************************************************** 10640 ** 10641 ** uint8_t * xcb_input_hierarchy_change_uninterpreted_data 10642 ** 10643 ** @param const xcb_input_hierarchy_change_t *R 10644 ** @returns uint8_t * 10645 ** 10646 *****************************************************************************/ 10647 10648 uint8_t * 10649 xcb_input_hierarchy_change_uninterpreted_data (const xcb_input_hierarchy_change_t *R /**< */); 10650 10651 10652 /***************************************************************************** 10653 ** 10654 ** int xcb_input_hierarchy_change_uninterpreted_data_length 10655 ** 10656 ** @param const xcb_input_hierarchy_change_t *R 10657 ** @returns int 10658 ** 10659 *****************************************************************************/ 10660 10661 int 10662 xcb_input_hierarchy_change_uninterpreted_data_length (const xcb_input_hierarchy_change_t *R /**< */); 10663 10664 10665 /***************************************************************************** 10666 ** 10667 ** xcb_generic_iterator_t xcb_input_hierarchy_change_uninterpreted_data_end 10668 ** 10669 ** @param const xcb_input_hierarchy_change_t *R 10670 ** @returns xcb_generic_iterator_t 10671 ** 10672 *****************************************************************************/ 10673 10674 xcb_generic_iterator_t 10675 xcb_input_hierarchy_change_uninterpreted_data_end (const xcb_input_hierarchy_change_t *R /**< */); 10676 10677 /** 10678 * Get the next element of the iterator 10679 * @param i Pointer to a xcb_input_hierarchy_change_iterator_t 10680 * 10681 * Get the next element in the iterator. The member rem is 10682 * decreased by one. The member data points to the next 10683 * element. The member index is increased by sizeof(xcb_input_hierarchy_change_t) 10684 */ 10685 10686 /***************************************************************************** 10687 ** 10688 ** void xcb_input_hierarchy_change_next 10689 ** 10690 ** @param xcb_input_hierarchy_change_iterator_t *i 10691 ** @returns void 10692 ** 10693 *****************************************************************************/ 10694 10695 void 10696 xcb_input_hierarchy_change_next (xcb_input_hierarchy_change_iterator_t *i /**< */); 10697 10698 /** 10699 * Return the iterator pointing to the last element 10700 * @param i An xcb_input_hierarchy_change_iterator_t 10701 * @return The iterator pointing to the last element 10702 * 10703 * Set the current element in the iterator to the last element. 10704 * The member rem is set to 0. The member data points to the 10705 * last element. 10706 */ 10707 10708 /***************************************************************************** 10709 ** 10710 ** xcb_generic_iterator_t xcb_input_hierarchy_change_end 10711 ** 10712 ** @param xcb_input_hierarchy_change_iterator_t i 10713 ** @returns xcb_generic_iterator_t 10714 ** 10715 *****************************************************************************/ 10716 10717 xcb_generic_iterator_t 10718 xcb_input_hierarchy_change_end (xcb_input_hierarchy_change_iterator_t i /**< */); 10719 10720 int 10721 xcb_input_xi_change_hierarchy_sizeof (const void *_buffer /**< */); 10722 10723 /** 10724 * 10725 * @param c The connection 10726 * @return A cookie 10727 * 10728 * Delivers a request to the X server. 10729 * 10730 * This form can be used only if the request will not cause 10731 * a reply to be generated. Any returned error will be 10732 * saved for handling by xcb_request_check(). 10733 */ 10734 10735 /***************************************************************************** 10736 ** 10737 ** xcb_void_cookie_t xcb_input_xi_change_hierarchy_checked 10738 ** 10739 ** @param xcb_connection_t *c 10740 ** @param uint8_t num_changes 10741 ** @param const xcb_input_hierarchy_change_t *changes 10742 ** @returns xcb_void_cookie_t 10743 ** 10744 *****************************************************************************/ 10745 10746 xcb_void_cookie_t 10747 xcb_input_xi_change_hierarchy_checked (xcb_connection_t *c /**< */, 10748 uint8_t num_changes /**< */, 10749 const xcb_input_hierarchy_change_t *changes /**< */); 10750 10751 /** 10752 * 10753 * @param c The connection 10754 * @return A cookie 10755 * 10756 * Delivers a request to the X server. 10757 * 10758 */ 10759 10760 /***************************************************************************** 10761 ** 10762 ** xcb_void_cookie_t xcb_input_xi_change_hierarchy 10763 ** 10764 ** @param xcb_connection_t *c 10765 ** @param uint8_t num_changes 10766 ** @param const xcb_input_hierarchy_change_t *changes 10767 ** @returns xcb_void_cookie_t 10768 ** 10769 *****************************************************************************/ 10770 10771 xcb_void_cookie_t 10772 xcb_input_xi_change_hierarchy (xcb_connection_t *c /**< */, 10773 uint8_t num_changes /**< */, 10774 const xcb_input_hierarchy_change_t *changes /**< */); 10775 10776 /** 10777 * 10778 * @param c The connection 10779 * @return A cookie 10780 * 10781 * Delivers a request to the X server. 10782 * 10783 * This form can be used only if the request will not cause 10784 * a reply to be generated. Any returned error will be 10785 * saved for handling by xcb_request_check(). 10786 */ 10787 10788 /***************************************************************************** 10789 ** 10790 ** xcb_void_cookie_t xcb_input_xi_set_client_pointer_checked 10791 ** 10792 ** @param xcb_connection_t *c 10793 ** @param xcb_window_t window 10794 ** @param xcb_input_device_id_t deviceid 10795 ** @returns xcb_void_cookie_t 10796 ** 10797 *****************************************************************************/ 10798 10799 xcb_void_cookie_t 10800 xcb_input_xi_set_client_pointer_checked (xcb_connection_t *c /**< */, 10801 xcb_window_t window /**< */, 10802 xcb_input_device_id_t deviceid /**< */); 10803 10804 /** 10805 * 10806 * @param c The connection 10807 * @return A cookie 10808 * 10809 * Delivers a request to the X server. 10810 * 10811 */ 10812 10813 /***************************************************************************** 10814 ** 10815 ** xcb_void_cookie_t xcb_input_xi_set_client_pointer 10816 ** 10817 ** @param xcb_connection_t *c 10818 ** @param xcb_window_t window 10819 ** @param xcb_input_device_id_t deviceid 10820 ** @returns xcb_void_cookie_t 10821 ** 10822 *****************************************************************************/ 10823 10824 xcb_void_cookie_t 10825 xcb_input_xi_set_client_pointer (xcb_connection_t *c /**< */, 10826 xcb_window_t window /**< */, 10827 xcb_input_device_id_t deviceid /**< */); 10828 10829 /** 10830 * 10831 * @param c The connection 10832 * @return A cookie 10833 * 10834 * Delivers a request to the X server. 10835 * 10836 */ 10837 10838 /***************************************************************************** 10839 ** 10840 ** xcb_input_xi_get_client_pointer_cookie_t xcb_input_xi_get_client_pointer 10841 ** 10842 ** @param xcb_connection_t *c 10843 ** @param xcb_window_t window 10844 ** @returns xcb_input_xi_get_client_pointer_cookie_t 10845 ** 10846 *****************************************************************************/ 10847 10848 xcb_input_xi_get_client_pointer_cookie_t 10849 xcb_input_xi_get_client_pointer (xcb_connection_t *c /**< */, 10850 xcb_window_t window /**< */); 10851 10852 /** 10853 * 10854 * @param c The connection 10855 * @return A cookie 10856 * 10857 * Delivers a request to the X server. 10858 * 10859 * This form can be used only if the request will cause 10860 * a reply to be generated. Any returned error will be 10861 * placed in the event queue. 10862 */ 10863 10864 /***************************************************************************** 10865 ** 10866 ** xcb_input_xi_get_client_pointer_cookie_t xcb_input_xi_get_client_pointer_unchecked 10867 ** 10868 ** @param xcb_connection_t *c 10869 ** @param xcb_window_t window 10870 ** @returns xcb_input_xi_get_client_pointer_cookie_t 10871 ** 10872 *****************************************************************************/ 10873 10874 xcb_input_xi_get_client_pointer_cookie_t 10875 xcb_input_xi_get_client_pointer_unchecked (xcb_connection_t *c /**< */, 10876 xcb_window_t window /**< */); 10877 10878 /** 10879 * Return the reply 10880 * @param c The connection 10881 * @param cookie The cookie 10882 * @param e The xcb_generic_error_t supplied 10883 * 10884 * Returns the reply of the request asked by 10885 * 10886 * The parameter @p e supplied to this function must be NULL if 10887 * xcb_input_xi_get_client_pointer_unchecked(). is used. 10888 * Otherwise, it stores the error if any. 10889 * 10890 * The returned value must be freed by the caller using free(). 10891 */ 10892 10893 /***************************************************************************** 10894 ** 10895 ** xcb_input_xi_get_client_pointer_reply_t * xcb_input_xi_get_client_pointer_reply 10896 ** 10897 ** @param xcb_connection_t *c 10898 ** @param xcb_input_xi_get_client_pointer_cookie_t cookie 10899 ** @param xcb_generic_error_t **e 10900 ** @returns xcb_input_xi_get_client_pointer_reply_t * 10901 ** 10902 *****************************************************************************/ 10903 10904 xcb_input_xi_get_client_pointer_reply_t * 10905 xcb_input_xi_get_client_pointer_reply (xcb_connection_t *c /**< */, 10906 xcb_input_xi_get_client_pointer_cookie_t cookie /**< */, 10907 xcb_generic_error_t **e /**< */); 10908 10909 int 10910 xcb_input_event_mask_sizeof (const void *_buffer /**< */); 10911 10912 10913 /***************************************************************************** 10914 ** 10915 ** uint32_t * xcb_input_event_mask_mask 10916 ** 10917 ** @param const xcb_input_event_mask_t *R 10918 ** @returns uint32_t * 10919 ** 10920 *****************************************************************************/ 10921 10922 uint32_t * 10923 xcb_input_event_mask_mask (const xcb_input_event_mask_t *R /**< */); 10924 10925 10926 /***************************************************************************** 10927 ** 10928 ** int xcb_input_event_mask_mask_length 10929 ** 10930 ** @param const xcb_input_event_mask_t *R 10931 ** @returns int 10932 ** 10933 *****************************************************************************/ 10934 10935 int 10936 xcb_input_event_mask_mask_length (const xcb_input_event_mask_t *R /**< */); 10937 10938 10939 /***************************************************************************** 10940 ** 10941 ** xcb_generic_iterator_t xcb_input_event_mask_mask_end 10942 ** 10943 ** @param const xcb_input_event_mask_t *R 10944 ** @returns xcb_generic_iterator_t 10945 ** 10946 *****************************************************************************/ 10947 10948 xcb_generic_iterator_t 10949 xcb_input_event_mask_mask_end (const xcb_input_event_mask_t *R /**< */); 10950 10951 /** 10952 * Get the next element of the iterator 10953 * @param i Pointer to a xcb_input_event_mask_iterator_t 10954 * 10955 * Get the next element in the iterator. The member rem is 10956 * decreased by one. The member data points to the next 10957 * element. The member index is increased by sizeof(xcb_input_event_mask_t) 10958 */ 10959 10960 /***************************************************************************** 10961 ** 10962 ** void xcb_input_event_mask_next 10963 ** 10964 ** @param xcb_input_event_mask_iterator_t *i 10965 ** @returns void 10966 ** 10967 *****************************************************************************/ 10968 10969 void 10970 xcb_input_event_mask_next (xcb_input_event_mask_iterator_t *i /**< */); 10971 10972 /** 10973 * Return the iterator pointing to the last element 10974 * @param i An xcb_input_event_mask_iterator_t 10975 * @return The iterator pointing to the last element 10976 * 10977 * Set the current element in the iterator to the last element. 10978 * The member rem is set to 0. The member data points to the 10979 * last element. 10980 */ 10981 10982 /***************************************************************************** 10983 ** 10984 ** xcb_generic_iterator_t xcb_input_event_mask_end 10985 ** 10986 ** @param xcb_input_event_mask_iterator_t i 10987 ** @returns xcb_generic_iterator_t 10988 ** 10989 *****************************************************************************/ 10990 10991 xcb_generic_iterator_t 10992 xcb_input_event_mask_end (xcb_input_event_mask_iterator_t i /**< */); 10993 10994 int 10995 xcb_input_xi_select_events_sizeof (const void *_buffer /**< */); 10996 10997 /** 10998 * 10999 * @param c The connection 11000 * @return A cookie 11001 * 11002 * Delivers a request to the X server. 11003 * 11004 * This form can be used only if the request will not cause 11005 * a reply to be generated. Any returned error will be 11006 * saved for handling by xcb_request_check(). 11007 */ 11008 11009 /***************************************************************************** 11010 ** 11011 ** xcb_void_cookie_t xcb_input_xi_select_events_checked 11012 ** 11013 ** @param xcb_connection_t *c 11014 ** @param xcb_window_t window 11015 ** @param uint16_t num_mask 11016 ** @param const xcb_input_event_mask_t *masks 11017 ** @returns xcb_void_cookie_t 11018 ** 11019 *****************************************************************************/ 11020 11021 xcb_void_cookie_t 11022 xcb_input_xi_select_events_checked (xcb_connection_t *c /**< */, 11023 xcb_window_t window /**< */, 11024 uint16_t num_mask /**< */, 11025 const xcb_input_event_mask_t *masks /**< */); 11026 11027 /** 11028 * 11029 * @param c The connection 11030 * @return A cookie 11031 * 11032 * Delivers a request to the X server. 11033 * 11034 */ 11035 11036 /***************************************************************************** 11037 ** 11038 ** xcb_void_cookie_t xcb_input_xi_select_events 11039 ** 11040 ** @param xcb_connection_t *c 11041 ** @param xcb_window_t window 11042 ** @param uint16_t num_mask 11043 ** @param const xcb_input_event_mask_t *masks 11044 ** @returns xcb_void_cookie_t 11045 ** 11046 *****************************************************************************/ 11047 11048 xcb_void_cookie_t 11049 xcb_input_xi_select_events (xcb_connection_t *c /**< */, 11050 xcb_window_t window /**< */, 11051 uint16_t num_mask /**< */, 11052 const xcb_input_event_mask_t *masks /**< */); 11053 11054 /** 11055 * 11056 * @param c The connection 11057 * @return A cookie 11058 * 11059 * Delivers a request to the X server. 11060 * 11061 */ 11062 11063 /***************************************************************************** 11064 ** 11065 ** xcb_input_xi_query_version_cookie_t xcb_input_xi_query_version 11066 ** 11067 ** @param xcb_connection_t *c 11068 ** @param uint16_t major_version 11069 ** @param uint16_t minor_version 11070 ** @returns xcb_input_xi_query_version_cookie_t 11071 ** 11072 *****************************************************************************/ 11073 11074 xcb_input_xi_query_version_cookie_t 11075 xcb_input_xi_query_version (xcb_connection_t *c /**< */, 11076 uint16_t major_version /**< */, 11077 uint16_t minor_version /**< */); 11078 11079 /** 11080 * 11081 * @param c The connection 11082 * @return A cookie 11083 * 11084 * Delivers a request to the X server. 11085 * 11086 * This form can be used only if the request will cause 11087 * a reply to be generated. Any returned error will be 11088 * placed in the event queue. 11089 */ 11090 11091 /***************************************************************************** 11092 ** 11093 ** xcb_input_xi_query_version_cookie_t xcb_input_xi_query_version_unchecked 11094 ** 11095 ** @param xcb_connection_t *c 11096 ** @param uint16_t major_version 11097 ** @param uint16_t minor_version 11098 ** @returns xcb_input_xi_query_version_cookie_t 11099 ** 11100 *****************************************************************************/ 11101 11102 xcb_input_xi_query_version_cookie_t 11103 xcb_input_xi_query_version_unchecked (xcb_connection_t *c /**< */, 11104 uint16_t major_version /**< */, 11105 uint16_t minor_version /**< */); 11106 11107 /** 11108 * Return the reply 11109 * @param c The connection 11110 * @param cookie The cookie 11111 * @param e The xcb_generic_error_t supplied 11112 * 11113 * Returns the reply of the request asked by 11114 * 11115 * The parameter @p e supplied to this function must be NULL if 11116 * xcb_input_xi_query_version_unchecked(). is used. 11117 * Otherwise, it stores the error if any. 11118 * 11119 * The returned value must be freed by the caller using free(). 11120 */ 11121 11122 /***************************************************************************** 11123 ** 11124 ** xcb_input_xi_query_version_reply_t * xcb_input_xi_query_version_reply 11125 ** 11126 ** @param xcb_connection_t *c 11127 ** @param xcb_input_xi_query_version_cookie_t cookie 11128 ** @param xcb_generic_error_t **e 11129 ** @returns xcb_input_xi_query_version_reply_t * 11130 ** 11131 *****************************************************************************/ 11132 11133 xcb_input_xi_query_version_reply_t * 11134 xcb_input_xi_query_version_reply (xcb_connection_t *c /**< */, 11135 xcb_input_xi_query_version_cookie_t cookie /**< */, 11136 xcb_generic_error_t **e /**< */); 11137 11138 int 11139 xcb_input_button_class_sizeof (const void *_buffer /**< */); 11140 11141 11142 /***************************************************************************** 11143 ** 11144 ** uint32_t * xcb_input_button_class_state 11145 ** 11146 ** @param const xcb_input_button_class_t *R 11147 ** @returns uint32_t * 11148 ** 11149 *****************************************************************************/ 11150 11151 uint32_t * 11152 xcb_input_button_class_state (const xcb_input_button_class_t *R /**< */); 11153 11154 11155 /***************************************************************************** 11156 ** 11157 ** int xcb_input_button_class_state_length 11158 ** 11159 ** @param const xcb_input_button_class_t *R 11160 ** @returns int 11161 ** 11162 *****************************************************************************/ 11163 11164 int 11165 xcb_input_button_class_state_length (const xcb_input_button_class_t *R /**< */); 11166 11167 11168 /***************************************************************************** 11169 ** 11170 ** xcb_generic_iterator_t xcb_input_button_class_state_end 11171 ** 11172 ** @param const xcb_input_button_class_t *R 11173 ** @returns xcb_generic_iterator_t 11174 ** 11175 *****************************************************************************/ 11176 11177 xcb_generic_iterator_t 11178 xcb_input_button_class_state_end (const xcb_input_button_class_t *R /**< */); 11179 11180 11181 /***************************************************************************** 11182 ** 11183 ** xcb_atom_t * xcb_input_button_class_labels 11184 ** 11185 ** @param const xcb_input_button_class_t *R 11186 ** @returns xcb_atom_t * 11187 ** 11188 *****************************************************************************/ 11189 11190 xcb_atom_t * 11191 xcb_input_button_class_labels (const xcb_input_button_class_t *R /**< */); 11192 11193 11194 /***************************************************************************** 11195 ** 11196 ** int xcb_input_button_class_labels_length 11197 ** 11198 ** @param const xcb_input_button_class_t *R 11199 ** @returns int 11200 ** 11201 *****************************************************************************/ 11202 11203 int 11204 xcb_input_button_class_labels_length (const xcb_input_button_class_t *R /**< */); 11205 11206 11207 /***************************************************************************** 11208 ** 11209 ** xcb_generic_iterator_t xcb_input_button_class_labels_end 11210 ** 11211 ** @param const xcb_input_button_class_t *R 11212 ** @returns xcb_generic_iterator_t 11213 ** 11214 *****************************************************************************/ 11215 11216 xcb_generic_iterator_t 11217 xcb_input_button_class_labels_end (const xcb_input_button_class_t *R /**< */); 11218 11219 /** 11220 * Get the next element of the iterator 11221 * @param i Pointer to a xcb_input_button_class_iterator_t 11222 * 11223 * Get the next element in the iterator. The member rem is 11224 * decreased by one. The member data points to the next 11225 * element. The member index is increased by sizeof(xcb_input_button_class_t) 11226 */ 11227 11228 /***************************************************************************** 11229 ** 11230 ** void xcb_input_button_class_next 11231 ** 11232 ** @param xcb_input_button_class_iterator_t *i 11233 ** @returns void 11234 ** 11235 *****************************************************************************/ 11236 11237 void 11238 xcb_input_button_class_next (xcb_input_button_class_iterator_t *i /**< */); 11239 11240 /** 11241 * Return the iterator pointing to the last element 11242 * @param i An xcb_input_button_class_iterator_t 11243 * @return The iterator pointing to the last element 11244 * 11245 * Set the current element in the iterator to the last element. 11246 * The member rem is set to 0. The member data points to the 11247 * last element. 11248 */ 11249 11250 /***************************************************************************** 11251 ** 11252 ** xcb_generic_iterator_t xcb_input_button_class_end 11253 ** 11254 ** @param xcb_input_button_class_iterator_t i 11255 ** @returns xcb_generic_iterator_t 11256 ** 11257 *****************************************************************************/ 11258 11259 xcb_generic_iterator_t 11260 xcb_input_button_class_end (xcb_input_button_class_iterator_t i /**< */); 11261 11262 int 11263 xcb_input_key_class_sizeof (const void *_buffer /**< */); 11264 11265 11266 /***************************************************************************** 11267 ** 11268 ** uint32_t * xcb_input_key_class_keys 11269 ** 11270 ** @param const xcb_input_key_class_t *R 11271 ** @returns uint32_t * 11272 ** 11273 *****************************************************************************/ 11274 11275 uint32_t * 11276 xcb_input_key_class_keys (const xcb_input_key_class_t *R /**< */); 11277 11278 11279 /***************************************************************************** 11280 ** 11281 ** int xcb_input_key_class_keys_length 11282 ** 11283 ** @param const xcb_input_key_class_t *R 11284 ** @returns int 11285 ** 11286 *****************************************************************************/ 11287 11288 int 11289 xcb_input_key_class_keys_length (const xcb_input_key_class_t *R /**< */); 11290 11291 11292 /***************************************************************************** 11293 ** 11294 ** xcb_generic_iterator_t xcb_input_key_class_keys_end 11295 ** 11296 ** @param const xcb_input_key_class_t *R 11297 ** @returns xcb_generic_iterator_t 11298 ** 11299 *****************************************************************************/ 11300 11301 xcb_generic_iterator_t 11302 xcb_input_key_class_keys_end (const xcb_input_key_class_t *R /**< */); 11303 11304 /** 11305 * Get the next element of the iterator 11306 * @param i Pointer to a xcb_input_key_class_iterator_t 11307 * 11308 * Get the next element in the iterator. The member rem is 11309 * decreased by one. The member data points to the next 11310 * element. The member index is increased by sizeof(xcb_input_key_class_t) 11311 */ 11312 11313 /***************************************************************************** 11314 ** 11315 ** void xcb_input_key_class_next 11316 ** 11317 ** @param xcb_input_key_class_iterator_t *i 11318 ** @returns void 11319 ** 11320 *****************************************************************************/ 11321 11322 void 11323 xcb_input_key_class_next (xcb_input_key_class_iterator_t *i /**< */); 11324 11325 /** 11326 * Return the iterator pointing to the last element 11327 * @param i An xcb_input_key_class_iterator_t 11328 * @return The iterator pointing to the last element 11329 * 11330 * Set the current element in the iterator to the last element. 11331 * The member rem is set to 0. The member data points to the 11332 * last element. 11333 */ 11334 11335 /***************************************************************************** 11336 ** 11337 ** xcb_generic_iterator_t xcb_input_key_class_end 11338 ** 11339 ** @param xcb_input_key_class_iterator_t i 11340 ** @returns xcb_generic_iterator_t 11341 ** 11342 *****************************************************************************/ 11343 11344 xcb_generic_iterator_t 11345 xcb_input_key_class_end (xcb_input_key_class_iterator_t i /**< */); 11346 11347 /** 11348 * Get the next element of the iterator 11349 * @param i Pointer to a xcb_input_scroll_class_iterator_t 11350 * 11351 * Get the next element in the iterator. The member rem is 11352 * decreased by one. The member data points to the next 11353 * element. The member index is increased by sizeof(xcb_input_scroll_class_t) 11354 */ 11355 11356 /***************************************************************************** 11357 ** 11358 ** void xcb_input_scroll_class_next 11359 ** 11360 ** @param xcb_input_scroll_class_iterator_t *i 11361 ** @returns void 11362 ** 11363 *****************************************************************************/ 11364 11365 void 11366 xcb_input_scroll_class_next (xcb_input_scroll_class_iterator_t *i /**< */); 11367 11368 /** 11369 * Return the iterator pointing to the last element 11370 * @param i An xcb_input_scroll_class_iterator_t 11371 * @return The iterator pointing to the last element 11372 * 11373 * Set the current element in the iterator to the last element. 11374 * The member rem is set to 0. The member data points to the 11375 * last element. 11376 */ 11377 11378 /***************************************************************************** 11379 ** 11380 ** xcb_generic_iterator_t xcb_input_scroll_class_end 11381 ** 11382 ** @param xcb_input_scroll_class_iterator_t i 11383 ** @returns xcb_generic_iterator_t 11384 ** 11385 *****************************************************************************/ 11386 11387 xcb_generic_iterator_t 11388 xcb_input_scroll_class_end (xcb_input_scroll_class_iterator_t i /**< */); 11389 11390 /** 11391 * Get the next element of the iterator 11392 * @param i Pointer to a xcb_input_touch_class_iterator_t 11393 * 11394 * Get the next element in the iterator. The member rem is 11395 * decreased by one. The member data points to the next 11396 * element. The member index is increased by sizeof(xcb_input_touch_class_t) 11397 */ 11398 11399 /***************************************************************************** 11400 ** 11401 ** void xcb_input_touch_class_next 11402 ** 11403 ** @param xcb_input_touch_class_iterator_t *i 11404 ** @returns void 11405 ** 11406 *****************************************************************************/ 11407 11408 void 11409 xcb_input_touch_class_next (xcb_input_touch_class_iterator_t *i /**< */); 11410 11411 /** 11412 * Return the iterator pointing to the last element 11413 * @param i An xcb_input_touch_class_iterator_t 11414 * @return The iterator pointing to the last element 11415 * 11416 * Set the current element in the iterator to the last element. 11417 * The member rem is set to 0. The member data points to the 11418 * last element. 11419 */ 11420 11421 /***************************************************************************** 11422 ** 11423 ** xcb_generic_iterator_t xcb_input_touch_class_end 11424 ** 11425 ** @param xcb_input_touch_class_iterator_t i 11426 ** @returns xcb_generic_iterator_t 11427 ** 11428 *****************************************************************************/ 11429 11430 xcb_generic_iterator_t 11431 xcb_input_touch_class_end (xcb_input_touch_class_iterator_t i /**< */); 11432 11433 /** 11434 * Get the next element of the iterator 11435 * @param i Pointer to a xcb_input_valuator_class_iterator_t 11436 * 11437 * Get the next element in the iterator. The member rem is 11438 * decreased by one. The member data points to the next 11439 * element. The member index is increased by sizeof(xcb_input_valuator_class_t) 11440 */ 11441 11442 /***************************************************************************** 11443 ** 11444 ** void xcb_input_valuator_class_next 11445 ** 11446 ** @param xcb_input_valuator_class_iterator_t *i 11447 ** @returns void 11448 ** 11449 *****************************************************************************/ 11450 11451 void 11452 xcb_input_valuator_class_next (xcb_input_valuator_class_iterator_t *i /**< */); 11453 11454 /** 11455 * Return the iterator pointing to the last element 11456 * @param i An xcb_input_valuator_class_iterator_t 11457 * @return The iterator pointing to the last element 11458 * 11459 * Set the current element in the iterator to the last element. 11460 * The member rem is set to 0. The member data points to the 11461 * last element. 11462 */ 11463 11464 /***************************************************************************** 11465 ** 11466 ** xcb_generic_iterator_t xcb_input_valuator_class_end 11467 ** 11468 ** @param xcb_input_valuator_class_iterator_t i 11469 ** @returns xcb_generic_iterator_t 11470 ** 11471 *****************************************************************************/ 11472 11473 xcb_generic_iterator_t 11474 xcb_input_valuator_class_end (xcb_input_valuator_class_iterator_t i /**< */); 11475 11476 int 11477 xcb_input_device_class_sizeof (const void *_buffer /**< */); 11478 11479 11480 /***************************************************************************** 11481 ** 11482 ** uint8_t * xcb_input_device_class_uninterpreted_data 11483 ** 11484 ** @param const xcb_input_device_class_t *R 11485 ** @returns uint8_t * 11486 ** 11487 *****************************************************************************/ 11488 11489 uint8_t * 11490 xcb_input_device_class_uninterpreted_data (const xcb_input_device_class_t *R /**< */); 11491 11492 11493 /***************************************************************************** 11494 ** 11495 ** int xcb_input_device_class_uninterpreted_data_length 11496 ** 11497 ** @param const xcb_input_device_class_t *R 11498 ** @returns int 11499 ** 11500 *****************************************************************************/ 11501 11502 int 11503 xcb_input_device_class_uninterpreted_data_length (const xcb_input_device_class_t *R /**< */); 11504 11505 11506 /***************************************************************************** 11507 ** 11508 ** xcb_generic_iterator_t xcb_input_device_class_uninterpreted_data_end 11509 ** 11510 ** @param const xcb_input_device_class_t *R 11511 ** @returns xcb_generic_iterator_t 11512 ** 11513 *****************************************************************************/ 11514 11515 xcb_generic_iterator_t 11516 xcb_input_device_class_uninterpreted_data_end (const xcb_input_device_class_t *R /**< */); 11517 11518 /** 11519 * Get the next element of the iterator 11520 * @param i Pointer to a xcb_input_device_class_iterator_t 11521 * 11522 * Get the next element in the iterator. The member rem is 11523 * decreased by one. The member data points to the next 11524 * element. The member index is increased by sizeof(xcb_input_device_class_t) 11525 */ 11526 11527 /***************************************************************************** 11528 ** 11529 ** void xcb_input_device_class_next 11530 ** 11531 ** @param xcb_input_device_class_iterator_t *i 11532 ** @returns void 11533 ** 11534 *****************************************************************************/ 11535 11536 void 11537 xcb_input_device_class_next (xcb_input_device_class_iterator_t *i /**< */); 11538 11539 /** 11540 * Return the iterator pointing to the last element 11541 * @param i An xcb_input_device_class_iterator_t 11542 * @return The iterator pointing to the last element 11543 * 11544 * Set the current element in the iterator to the last element. 11545 * The member rem is set to 0. The member data points to the 11546 * last element. 11547 */ 11548 11549 /***************************************************************************** 11550 ** 11551 ** xcb_generic_iterator_t xcb_input_device_class_end 11552 ** 11553 ** @param xcb_input_device_class_iterator_t i 11554 ** @returns xcb_generic_iterator_t 11555 ** 11556 *****************************************************************************/ 11557 11558 xcb_generic_iterator_t 11559 xcb_input_device_class_end (xcb_input_device_class_iterator_t i /**< */); 11560 11561 int 11562 xcb_input_xi_device_info_sizeof (const void *_buffer /**< */); 11563 11564 11565 /***************************************************************************** 11566 ** 11567 ** char * xcb_input_xi_device_info_name 11568 ** 11569 ** @param const xcb_input_xi_device_info_t *R 11570 ** @returns char * 11571 ** 11572 *****************************************************************************/ 11573 11574 char * 11575 xcb_input_xi_device_info_name (const xcb_input_xi_device_info_t *R /**< */); 11576 11577 11578 /***************************************************************************** 11579 ** 11580 ** int xcb_input_xi_device_info_name_length 11581 ** 11582 ** @param const xcb_input_xi_device_info_t *R 11583 ** @returns int 11584 ** 11585 *****************************************************************************/ 11586 11587 int 11588 xcb_input_xi_device_info_name_length (const xcb_input_xi_device_info_t *R /**< */); 11589 11590 11591 /***************************************************************************** 11592 ** 11593 ** xcb_generic_iterator_t xcb_input_xi_device_info_name_end 11594 ** 11595 ** @param const xcb_input_xi_device_info_t *R 11596 ** @returns xcb_generic_iterator_t 11597 ** 11598 *****************************************************************************/ 11599 11600 xcb_generic_iterator_t 11601 xcb_input_xi_device_info_name_end (const xcb_input_xi_device_info_t *R /**< */); 11602 11603 11604 /***************************************************************************** 11605 ** 11606 ** int xcb_input_xi_device_info_classes_length 11607 ** 11608 ** @param const xcb_input_xi_device_info_t *R 11609 ** @returns int 11610 ** 11611 *****************************************************************************/ 11612 11613 int 11614 xcb_input_xi_device_info_classes_length (const xcb_input_xi_device_info_t *R /**< */); 11615 11616 11617 /***************************************************************************** 11618 ** 11619 ** xcb_input_device_class_iterator_t xcb_input_xi_device_info_classes_iterator 11620 ** 11621 ** @param const xcb_input_xi_device_info_t *R 11622 ** @returns xcb_input_device_class_iterator_t 11623 ** 11624 *****************************************************************************/ 11625 11626 xcb_input_device_class_iterator_t 11627 xcb_input_xi_device_info_classes_iterator (const xcb_input_xi_device_info_t *R /**< */); 11628 11629 /** 11630 * Get the next element of the iterator 11631 * @param i Pointer to a xcb_input_xi_device_info_iterator_t 11632 * 11633 * Get the next element in the iterator. The member rem is 11634 * decreased by one. The member data points to the next 11635 * element. The member index is increased by sizeof(xcb_input_xi_device_info_t) 11636 */ 11637 11638 /***************************************************************************** 11639 ** 11640 ** void xcb_input_xi_device_info_next 11641 ** 11642 ** @param xcb_input_xi_device_info_iterator_t *i 11643 ** @returns void 11644 ** 11645 *****************************************************************************/ 11646 11647 void 11648 xcb_input_xi_device_info_next (xcb_input_xi_device_info_iterator_t *i /**< */); 11649 11650 /** 11651 * Return the iterator pointing to the last element 11652 * @param i An xcb_input_xi_device_info_iterator_t 11653 * @return The iterator pointing to the last element 11654 * 11655 * Set the current element in the iterator to the last element. 11656 * The member rem is set to 0. The member data points to the 11657 * last element. 11658 */ 11659 11660 /***************************************************************************** 11661 ** 11662 ** xcb_generic_iterator_t xcb_input_xi_device_info_end 11663 ** 11664 ** @param xcb_input_xi_device_info_iterator_t i 11665 ** @returns xcb_generic_iterator_t 11666 ** 11667 *****************************************************************************/ 11668 11669 xcb_generic_iterator_t 11670 xcb_input_xi_device_info_end (xcb_input_xi_device_info_iterator_t i /**< */); 11671 11672 int 11673 xcb_input_xi_query_device_sizeof (const void *_buffer /**< */); 11674 11675 /** 11676 * 11677 * @param c The connection 11678 * @return A cookie 11679 * 11680 * Delivers a request to the X server. 11681 * 11682 */ 11683 11684 /***************************************************************************** 11685 ** 11686 ** xcb_input_xi_query_device_cookie_t xcb_input_xi_query_device 11687 ** 11688 ** @param xcb_connection_t *c 11689 ** @param xcb_input_device_id_t deviceid 11690 ** @returns xcb_input_xi_query_device_cookie_t 11691 ** 11692 *****************************************************************************/ 11693 11694 xcb_input_xi_query_device_cookie_t 11695 xcb_input_xi_query_device (xcb_connection_t *c /**< */, 11696 xcb_input_device_id_t deviceid /**< */); 11697 11698 /** 11699 * 11700 * @param c The connection 11701 * @return A cookie 11702 * 11703 * Delivers a request to the X server. 11704 * 11705 * This form can be used only if the request will cause 11706 * a reply to be generated. Any returned error will be 11707 * placed in the event queue. 11708 */ 11709 11710 /***************************************************************************** 11711 ** 11712 ** xcb_input_xi_query_device_cookie_t xcb_input_xi_query_device_unchecked 11713 ** 11714 ** @param xcb_connection_t *c 11715 ** @param xcb_input_device_id_t deviceid 11716 ** @returns xcb_input_xi_query_device_cookie_t 11717 ** 11718 *****************************************************************************/ 11719 11720 xcb_input_xi_query_device_cookie_t 11721 xcb_input_xi_query_device_unchecked (xcb_connection_t *c /**< */, 11722 xcb_input_device_id_t deviceid /**< */); 11723 11724 11725 /***************************************************************************** 11726 ** 11727 ** int xcb_input_xi_query_device_infos_length 11728 ** 11729 ** @param const xcb_input_xi_query_device_reply_t *R 11730 ** @returns int 11731 ** 11732 *****************************************************************************/ 11733 11734 int 11735 xcb_input_xi_query_device_infos_length (const xcb_input_xi_query_device_reply_t *R /**< */); 11736 11737 11738 /***************************************************************************** 11739 ** 11740 ** xcb_input_xi_device_info_iterator_t xcb_input_xi_query_device_infos_iterator 11741 ** 11742 ** @param const xcb_input_xi_query_device_reply_t *R 11743 ** @returns xcb_input_xi_device_info_iterator_t 11744 ** 11745 *****************************************************************************/ 11746 11747 xcb_input_xi_device_info_iterator_t 11748 xcb_input_xi_query_device_infos_iterator (const xcb_input_xi_query_device_reply_t *R /**< */); 11749 11750 /** 11751 * Return the reply 11752 * @param c The connection 11753 * @param cookie The cookie 11754 * @param e The xcb_generic_error_t supplied 11755 * 11756 * Returns the reply of the request asked by 11757 * 11758 * The parameter @p e supplied to this function must be NULL if 11759 * xcb_input_xi_query_device_unchecked(). is used. 11760 * Otherwise, it stores the error if any. 11761 * 11762 * The returned value must be freed by the caller using free(). 11763 */ 11764 11765 /***************************************************************************** 11766 ** 11767 ** xcb_input_xi_query_device_reply_t * xcb_input_xi_query_device_reply 11768 ** 11769 ** @param xcb_connection_t *c 11770 ** @param xcb_input_xi_query_device_cookie_t cookie 11771 ** @param xcb_generic_error_t **e 11772 ** @returns xcb_input_xi_query_device_reply_t * 11773 ** 11774 *****************************************************************************/ 11775 11776 xcb_input_xi_query_device_reply_t * 11777 xcb_input_xi_query_device_reply (xcb_connection_t *c /**< */, 11778 xcb_input_xi_query_device_cookie_t cookie /**< */, 11779 xcb_generic_error_t **e /**< */); 11780 11781 /** 11782 * 11783 * @param c The connection 11784 * @return A cookie 11785 * 11786 * Delivers a request to the X server. 11787 * 11788 * This form can be used only if the request will not cause 11789 * a reply to be generated. Any returned error will be 11790 * saved for handling by xcb_request_check(). 11791 */ 11792 11793 /***************************************************************************** 11794 ** 11795 ** xcb_void_cookie_t xcb_input_xi_set_focus_checked 11796 ** 11797 ** @param xcb_connection_t *c 11798 ** @param xcb_window_t window 11799 ** @param xcb_timestamp_t time 11800 ** @param xcb_input_device_id_t deviceid 11801 ** @returns xcb_void_cookie_t 11802 ** 11803 *****************************************************************************/ 11804 11805 xcb_void_cookie_t 11806 xcb_input_xi_set_focus_checked (xcb_connection_t *c /**< */, 11807 xcb_window_t window /**< */, 11808 xcb_timestamp_t time /**< */, 11809 xcb_input_device_id_t deviceid /**< */); 11810 11811 /** 11812 * 11813 * @param c The connection 11814 * @return A cookie 11815 * 11816 * Delivers a request to the X server. 11817 * 11818 */ 11819 11820 /***************************************************************************** 11821 ** 11822 ** xcb_void_cookie_t xcb_input_xi_set_focus 11823 ** 11824 ** @param xcb_connection_t *c 11825 ** @param xcb_window_t window 11826 ** @param xcb_timestamp_t time 11827 ** @param xcb_input_device_id_t deviceid 11828 ** @returns xcb_void_cookie_t 11829 ** 11830 *****************************************************************************/ 11831 11832 xcb_void_cookie_t 11833 xcb_input_xi_set_focus (xcb_connection_t *c /**< */, 11834 xcb_window_t window /**< */, 11835 xcb_timestamp_t time /**< */, 11836 xcb_input_device_id_t deviceid /**< */); 11837 11838 /** 11839 * 11840 * @param c The connection 11841 * @return A cookie 11842 * 11843 * Delivers a request to the X server. 11844 * 11845 */ 11846 11847 /***************************************************************************** 11848 ** 11849 ** xcb_input_xi_get_focus_cookie_t xcb_input_xi_get_focus 11850 ** 11851 ** @param xcb_connection_t *c 11852 ** @param xcb_input_device_id_t deviceid 11853 ** @returns xcb_input_xi_get_focus_cookie_t 11854 ** 11855 *****************************************************************************/ 11856 11857 xcb_input_xi_get_focus_cookie_t 11858 xcb_input_xi_get_focus (xcb_connection_t *c /**< */, 11859 xcb_input_device_id_t deviceid /**< */); 11860 11861 /** 11862 * 11863 * @param c The connection 11864 * @return A cookie 11865 * 11866 * Delivers a request to the X server. 11867 * 11868 * This form can be used only if the request will cause 11869 * a reply to be generated. Any returned error will be 11870 * placed in the event queue. 11871 */ 11872 11873 /***************************************************************************** 11874 ** 11875 ** xcb_input_xi_get_focus_cookie_t xcb_input_xi_get_focus_unchecked 11876 ** 11877 ** @param xcb_connection_t *c 11878 ** @param xcb_input_device_id_t deviceid 11879 ** @returns xcb_input_xi_get_focus_cookie_t 11880 ** 11881 *****************************************************************************/ 11882 11883 xcb_input_xi_get_focus_cookie_t 11884 xcb_input_xi_get_focus_unchecked (xcb_connection_t *c /**< */, 11885 xcb_input_device_id_t deviceid /**< */); 11886 11887 /** 11888 * Return the reply 11889 * @param c The connection 11890 * @param cookie The cookie 11891 * @param e The xcb_generic_error_t supplied 11892 * 11893 * Returns the reply of the request asked by 11894 * 11895 * The parameter @p e supplied to this function must be NULL if 11896 * xcb_input_xi_get_focus_unchecked(). is used. 11897 * Otherwise, it stores the error if any. 11898 * 11899 * The returned value must be freed by the caller using free(). 11900 */ 11901 11902 /***************************************************************************** 11903 ** 11904 ** xcb_input_xi_get_focus_reply_t * xcb_input_xi_get_focus_reply 11905 ** 11906 ** @param xcb_connection_t *c 11907 ** @param xcb_input_xi_get_focus_cookie_t cookie 11908 ** @param xcb_generic_error_t **e 11909 ** @returns xcb_input_xi_get_focus_reply_t * 11910 ** 11911 *****************************************************************************/ 11912 11913 xcb_input_xi_get_focus_reply_t * 11914 xcb_input_xi_get_focus_reply (xcb_connection_t *c /**< */, 11915 xcb_input_xi_get_focus_cookie_t cookie /**< */, 11916 xcb_generic_error_t **e /**< */); 11917 11918 int 11919 xcb_input_xi_grab_device_sizeof (const void *_buffer /**< */); 11920 11921 /** 11922 * 11923 * @param c The connection 11924 * @return A cookie 11925 * 11926 * Delivers a request to the X server. 11927 * 11928 */ 11929 11930 /***************************************************************************** 11931 ** 11932 ** xcb_input_xi_grab_device_cookie_t xcb_input_xi_grab_device 11933 ** 11934 ** @param xcb_connection_t *c 11935 ** @param xcb_window_t window 11936 ** @param xcb_timestamp_t time 11937 ** @param xcb_cursor_t cursor 11938 ** @param xcb_input_device_id_t deviceid 11939 ** @param uint8_t mode 11940 ** @param uint8_t paired_device_mode 11941 ** @param uint8_t owner_events 11942 ** @param uint16_t mask_len 11943 ** @param const uint32_t *mask 11944 ** @returns xcb_input_xi_grab_device_cookie_t 11945 ** 11946 *****************************************************************************/ 11947 11948 xcb_input_xi_grab_device_cookie_t 11949 xcb_input_xi_grab_device (xcb_connection_t *c /**< */, 11950 xcb_window_t window /**< */, 11951 xcb_timestamp_t time /**< */, 11952 xcb_cursor_t cursor /**< */, 11953 xcb_input_device_id_t deviceid /**< */, 11954 uint8_t mode /**< */, 11955 uint8_t paired_device_mode /**< */, 11956 uint8_t owner_events /**< */, 11957 uint16_t mask_len /**< */, 11958 const uint32_t *mask /**< */); 11959 11960 /** 11961 * 11962 * @param c The connection 11963 * @return A cookie 11964 * 11965 * Delivers a request to the X server. 11966 * 11967 * This form can be used only if the request will cause 11968 * a reply to be generated. Any returned error will be 11969 * placed in the event queue. 11970 */ 11971 11972 /***************************************************************************** 11973 ** 11974 ** xcb_input_xi_grab_device_cookie_t xcb_input_xi_grab_device_unchecked 11975 ** 11976 ** @param xcb_connection_t *c 11977 ** @param xcb_window_t window 11978 ** @param xcb_timestamp_t time 11979 ** @param xcb_cursor_t cursor 11980 ** @param xcb_input_device_id_t deviceid 11981 ** @param uint8_t mode 11982 ** @param uint8_t paired_device_mode 11983 ** @param uint8_t owner_events 11984 ** @param uint16_t mask_len 11985 ** @param const uint32_t *mask 11986 ** @returns xcb_input_xi_grab_device_cookie_t 11987 ** 11988 *****************************************************************************/ 11989 11990 xcb_input_xi_grab_device_cookie_t 11991 xcb_input_xi_grab_device_unchecked (xcb_connection_t *c /**< */, 11992 xcb_window_t window /**< */, 11993 xcb_timestamp_t time /**< */, 11994 xcb_cursor_t cursor /**< */, 11995 xcb_input_device_id_t deviceid /**< */, 11996 uint8_t mode /**< */, 11997 uint8_t paired_device_mode /**< */, 11998 uint8_t owner_events /**< */, 11999 uint16_t mask_len /**< */, 12000 const uint32_t *mask /**< */); 12001 12002 /** 12003 * Return the reply 12004 * @param c The connection 12005 * @param cookie The cookie 12006 * @param e The xcb_generic_error_t supplied 12007 * 12008 * Returns the reply of the request asked by 12009 * 12010 * The parameter @p e supplied to this function must be NULL if 12011 * xcb_input_xi_grab_device_unchecked(). is used. 12012 * Otherwise, it stores the error if any. 12013 * 12014 * The returned value must be freed by the caller using free(). 12015 */ 12016 12017 /***************************************************************************** 12018 ** 12019 ** xcb_input_xi_grab_device_reply_t * xcb_input_xi_grab_device_reply 12020 ** 12021 ** @param xcb_connection_t *c 12022 ** @param xcb_input_xi_grab_device_cookie_t cookie 12023 ** @param xcb_generic_error_t **e 12024 ** @returns xcb_input_xi_grab_device_reply_t * 12025 ** 12026 *****************************************************************************/ 12027 12028 xcb_input_xi_grab_device_reply_t * 12029 xcb_input_xi_grab_device_reply (xcb_connection_t *c /**< */, 12030 xcb_input_xi_grab_device_cookie_t cookie /**< */, 12031 xcb_generic_error_t **e /**< */); 12032 12033 /** 12034 * 12035 * @param c The connection 12036 * @return A cookie 12037 * 12038 * Delivers a request to the X server. 12039 * 12040 * This form can be used only if the request will not cause 12041 * a reply to be generated. Any returned error will be 12042 * saved for handling by xcb_request_check(). 12043 */ 12044 12045 /***************************************************************************** 12046 ** 12047 ** xcb_void_cookie_t xcb_input_xi_ungrab_device_checked 12048 ** 12049 ** @param xcb_connection_t *c 12050 ** @param xcb_timestamp_t time 12051 ** @param xcb_input_device_id_t deviceid 12052 ** @returns xcb_void_cookie_t 12053 ** 12054 *****************************************************************************/ 12055 12056 xcb_void_cookie_t 12057 xcb_input_xi_ungrab_device_checked (xcb_connection_t *c /**< */, 12058 xcb_timestamp_t time /**< */, 12059 xcb_input_device_id_t deviceid /**< */); 12060 12061 /** 12062 * 12063 * @param c The connection 12064 * @return A cookie 12065 * 12066 * Delivers a request to the X server. 12067 * 12068 */ 12069 12070 /***************************************************************************** 12071 ** 12072 ** xcb_void_cookie_t xcb_input_xi_ungrab_device 12073 ** 12074 ** @param xcb_connection_t *c 12075 ** @param xcb_timestamp_t time 12076 ** @param xcb_input_device_id_t deviceid 12077 ** @returns xcb_void_cookie_t 12078 ** 12079 *****************************************************************************/ 12080 12081 xcb_void_cookie_t 12082 xcb_input_xi_ungrab_device (xcb_connection_t *c /**< */, 12083 xcb_timestamp_t time /**< */, 12084 xcb_input_device_id_t deviceid /**< */); 12085 12086 /** 12087 * 12088 * @param c The connection 12089 * @return A cookie 12090 * 12091 * Delivers a request to the X server. 12092 * 12093 * This form can be used only if the request will not cause 12094 * a reply to be generated. Any returned error will be 12095 * saved for handling by xcb_request_check(). 12096 */ 12097 12098 /***************************************************************************** 12099 ** 12100 ** xcb_void_cookie_t xcb_input_xi_allow_events_checked 12101 ** 12102 ** @param xcb_connection_t *c 12103 ** @param xcb_timestamp_t time 12104 ** @param xcb_input_device_id_t deviceid 12105 ** @param uint8_t event_mode 12106 ** @param uint32_t touchid 12107 ** @param xcb_window_t grab_window 12108 ** @returns xcb_void_cookie_t 12109 ** 12110 *****************************************************************************/ 12111 12112 xcb_void_cookie_t 12113 xcb_input_xi_allow_events_checked (xcb_connection_t *c /**< */, 12114 xcb_timestamp_t time /**< */, 12115 xcb_input_device_id_t deviceid /**< */, 12116 uint8_t event_mode /**< */, 12117 uint32_t touchid /**< */, 12118 xcb_window_t grab_window /**< */); 12119 12120 /** 12121 * 12122 * @param c The connection 12123 * @return A cookie 12124 * 12125 * Delivers a request to the X server. 12126 * 12127 */ 12128 12129 /***************************************************************************** 12130 ** 12131 ** xcb_void_cookie_t xcb_input_xi_allow_events 12132 ** 12133 ** @param xcb_connection_t *c 12134 ** @param xcb_timestamp_t time 12135 ** @param xcb_input_device_id_t deviceid 12136 ** @param uint8_t event_mode 12137 ** @param uint32_t touchid 12138 ** @param xcb_window_t grab_window 12139 ** @returns xcb_void_cookie_t 12140 ** 12141 *****************************************************************************/ 12142 12143 xcb_void_cookie_t 12144 xcb_input_xi_allow_events (xcb_connection_t *c /**< */, 12145 xcb_timestamp_t time /**< */, 12146 xcb_input_device_id_t deviceid /**< */, 12147 uint8_t event_mode /**< */, 12148 uint32_t touchid /**< */, 12149 xcb_window_t grab_window /**< */); 12150 12151 /** 12152 * Get the next element of the iterator 12153 * @param i Pointer to a xcb_input_grab_modifier_info_iterator_t 12154 * 12155 * Get the next element in the iterator. The member rem is 12156 * decreased by one. The member data points to the next 12157 * element. The member index is increased by sizeof(xcb_input_grab_modifier_info_t) 12158 */ 12159 12160 /***************************************************************************** 12161 ** 12162 ** void xcb_input_grab_modifier_info_next 12163 ** 12164 ** @param xcb_input_grab_modifier_info_iterator_t *i 12165 ** @returns void 12166 ** 12167 *****************************************************************************/ 12168 12169 void 12170 xcb_input_grab_modifier_info_next (xcb_input_grab_modifier_info_iterator_t *i /**< */); 12171 12172 /** 12173 * Return the iterator pointing to the last element 12174 * @param i An xcb_input_grab_modifier_info_iterator_t 12175 * @return The iterator pointing to the last element 12176 * 12177 * Set the current element in the iterator to the last element. 12178 * The member rem is set to 0. The member data points to the 12179 * last element. 12180 */ 12181 12182 /***************************************************************************** 12183 ** 12184 ** xcb_generic_iterator_t xcb_input_grab_modifier_info_end 12185 ** 12186 ** @param xcb_input_grab_modifier_info_iterator_t i 12187 ** @returns xcb_generic_iterator_t 12188 ** 12189 *****************************************************************************/ 12190 12191 xcb_generic_iterator_t 12192 xcb_input_grab_modifier_info_end (xcb_input_grab_modifier_info_iterator_t i /**< */); 12193 12194 int 12195 xcb_input_xi_passive_grab_device_sizeof (const void *_buffer /**< */); 12196 12197 /** 12198 * 12199 * @param c The connection 12200 * @return A cookie 12201 * 12202 * Delivers a request to the X server. 12203 * 12204 */ 12205 12206 /***************************************************************************** 12207 ** 12208 ** xcb_input_xi_passive_grab_device_cookie_t xcb_input_xi_passive_grab_device 12209 ** 12210 ** @param xcb_connection_t *c 12211 ** @param xcb_timestamp_t time 12212 ** @param xcb_window_t grab_window 12213 ** @param xcb_cursor_t cursor 12214 ** @param uint32_t detail 12215 ** @param xcb_input_device_id_t deviceid 12216 ** @param uint16_t num_modifiers 12217 ** @param uint16_t mask_len 12218 ** @param uint8_t grab_type 12219 ** @param uint8_t grab_mode 12220 ** @param uint8_t paired_device_mode 12221 ** @param uint8_t owner_events 12222 ** @param const uint32_t *mask 12223 ** @param const uint32_t *modifiers 12224 ** @returns xcb_input_xi_passive_grab_device_cookie_t 12225 ** 12226 *****************************************************************************/ 12227 12228 xcb_input_xi_passive_grab_device_cookie_t 12229 xcb_input_xi_passive_grab_device (xcb_connection_t *c /**< */, 12230 xcb_timestamp_t time /**< */, 12231 xcb_window_t grab_window /**< */, 12232 xcb_cursor_t cursor /**< */, 12233 uint32_t detail /**< */, 12234 xcb_input_device_id_t deviceid /**< */, 12235 uint16_t num_modifiers /**< */, 12236 uint16_t mask_len /**< */, 12237 uint8_t grab_type /**< */, 12238 uint8_t grab_mode /**< */, 12239 uint8_t paired_device_mode /**< */, 12240 uint8_t owner_events /**< */, 12241 const uint32_t *mask /**< */, 12242 const uint32_t *modifiers /**< */); 12243 12244 /** 12245 * 12246 * @param c The connection 12247 * @return A cookie 12248 * 12249 * Delivers a request to the X server. 12250 * 12251 * This form can be used only if the request will cause 12252 * a reply to be generated. Any returned error will be 12253 * placed in the event queue. 12254 */ 12255 12256 /***************************************************************************** 12257 ** 12258 ** xcb_input_xi_passive_grab_device_cookie_t xcb_input_xi_passive_grab_device_unchecked 12259 ** 12260 ** @param xcb_connection_t *c 12261 ** @param xcb_timestamp_t time 12262 ** @param xcb_window_t grab_window 12263 ** @param xcb_cursor_t cursor 12264 ** @param uint32_t detail 12265 ** @param xcb_input_device_id_t deviceid 12266 ** @param uint16_t num_modifiers 12267 ** @param uint16_t mask_len 12268 ** @param uint8_t grab_type 12269 ** @param uint8_t grab_mode 12270 ** @param uint8_t paired_device_mode 12271 ** @param uint8_t owner_events 12272 ** @param const uint32_t *mask 12273 ** @param const uint32_t *modifiers 12274 ** @returns xcb_input_xi_passive_grab_device_cookie_t 12275 ** 12276 *****************************************************************************/ 12277 12278 xcb_input_xi_passive_grab_device_cookie_t 12279 xcb_input_xi_passive_grab_device_unchecked (xcb_connection_t *c /**< */, 12280 xcb_timestamp_t time /**< */, 12281 xcb_window_t grab_window /**< */, 12282 xcb_cursor_t cursor /**< */, 12283 uint32_t detail /**< */, 12284 xcb_input_device_id_t deviceid /**< */, 12285 uint16_t num_modifiers /**< */, 12286 uint16_t mask_len /**< */, 12287 uint8_t grab_type /**< */, 12288 uint8_t grab_mode /**< */, 12289 uint8_t paired_device_mode /**< */, 12290 uint8_t owner_events /**< */, 12291 const uint32_t *mask /**< */, 12292 const uint32_t *modifiers /**< */); 12293 12294 12295 /***************************************************************************** 12296 ** 12297 ** xcb_input_grab_modifier_info_t * xcb_input_xi_passive_grab_device_modifiers 12298 ** 12299 ** @param const xcb_input_xi_passive_grab_device_reply_t *R 12300 ** @returns xcb_input_grab_modifier_info_t * 12301 ** 12302 *****************************************************************************/ 12303 12304 xcb_input_grab_modifier_info_t * 12305 xcb_input_xi_passive_grab_device_modifiers (const xcb_input_xi_passive_grab_device_reply_t *R /**< */); 12306 12307 12308 /***************************************************************************** 12309 ** 12310 ** int xcb_input_xi_passive_grab_device_modifiers_length 12311 ** 12312 ** @param const xcb_input_xi_passive_grab_device_reply_t *R 12313 ** @returns int 12314 ** 12315 *****************************************************************************/ 12316 12317 int 12318 xcb_input_xi_passive_grab_device_modifiers_length (const xcb_input_xi_passive_grab_device_reply_t *R /**< */); 12319 12320 12321 /***************************************************************************** 12322 ** 12323 ** xcb_input_grab_modifier_info_iterator_t xcb_input_xi_passive_grab_device_modifiers_iterator 12324 ** 12325 ** @param const xcb_input_xi_passive_grab_device_reply_t *R 12326 ** @returns xcb_input_grab_modifier_info_iterator_t 12327 ** 12328 *****************************************************************************/ 12329 12330 xcb_input_grab_modifier_info_iterator_t 12331 xcb_input_xi_passive_grab_device_modifiers_iterator (const xcb_input_xi_passive_grab_device_reply_t *R /**< */); 12332 12333 /** 12334 * Return the reply 12335 * @param c The connection 12336 * @param cookie The cookie 12337 * @param e The xcb_generic_error_t supplied 12338 * 12339 * Returns the reply of the request asked by 12340 * 12341 * The parameter @p e supplied to this function must be NULL if 12342 * xcb_input_xi_passive_grab_device_unchecked(). is used. 12343 * Otherwise, it stores the error if any. 12344 * 12345 * The returned value must be freed by the caller using free(). 12346 */ 12347 12348 /***************************************************************************** 12349 ** 12350 ** xcb_input_xi_passive_grab_device_reply_t * xcb_input_xi_passive_grab_device_reply 12351 ** 12352 ** @param xcb_connection_t *c 12353 ** @param xcb_input_xi_passive_grab_device_cookie_t cookie 12354 ** @param xcb_generic_error_t **e 12355 ** @returns xcb_input_xi_passive_grab_device_reply_t * 12356 ** 12357 *****************************************************************************/ 12358 12359 xcb_input_xi_passive_grab_device_reply_t * 12360 xcb_input_xi_passive_grab_device_reply (xcb_connection_t *c /**< */, 12361 xcb_input_xi_passive_grab_device_cookie_t cookie /**< */, 12362 xcb_generic_error_t **e /**< */); 12363 12364 int 12365 xcb_input_xi_passive_ungrab_device_sizeof (const void *_buffer /**< */); 12366 12367 /** 12368 * 12369 * @param c The connection 12370 * @return A cookie 12371 * 12372 * Delivers a request to the X server. 12373 * 12374 * This form can be used only if the request will not cause 12375 * a reply to be generated. Any returned error will be 12376 * saved for handling by xcb_request_check(). 12377 */ 12378 12379 /***************************************************************************** 12380 ** 12381 ** xcb_void_cookie_t xcb_input_xi_passive_ungrab_device_checked 12382 ** 12383 ** @param xcb_connection_t *c 12384 ** @param xcb_window_t grab_window 12385 ** @param uint32_t detail 12386 ** @param xcb_input_device_id_t deviceid 12387 ** @param uint16_t num_modifiers 12388 ** @param uint8_t grab_type 12389 ** @param const uint32_t *modifiers 12390 ** @returns xcb_void_cookie_t 12391 ** 12392 *****************************************************************************/ 12393 12394 xcb_void_cookie_t 12395 xcb_input_xi_passive_ungrab_device_checked (xcb_connection_t *c /**< */, 12396 xcb_window_t grab_window /**< */, 12397 uint32_t detail /**< */, 12398 xcb_input_device_id_t deviceid /**< */, 12399 uint16_t num_modifiers /**< */, 12400 uint8_t grab_type /**< */, 12401 const uint32_t *modifiers /**< */); 12402 12403 /** 12404 * 12405 * @param c The connection 12406 * @return A cookie 12407 * 12408 * Delivers a request to the X server. 12409 * 12410 */ 12411 12412 /***************************************************************************** 12413 ** 12414 ** xcb_void_cookie_t xcb_input_xi_passive_ungrab_device 12415 ** 12416 ** @param xcb_connection_t *c 12417 ** @param xcb_window_t grab_window 12418 ** @param uint32_t detail 12419 ** @param xcb_input_device_id_t deviceid 12420 ** @param uint16_t num_modifiers 12421 ** @param uint8_t grab_type 12422 ** @param const uint32_t *modifiers 12423 ** @returns xcb_void_cookie_t 12424 ** 12425 *****************************************************************************/ 12426 12427 xcb_void_cookie_t 12428 xcb_input_xi_passive_ungrab_device (xcb_connection_t *c /**< */, 12429 xcb_window_t grab_window /**< */, 12430 uint32_t detail /**< */, 12431 xcb_input_device_id_t deviceid /**< */, 12432 uint16_t num_modifiers /**< */, 12433 uint8_t grab_type /**< */, 12434 const uint32_t *modifiers /**< */); 12435 12436 int 12437 xcb_input_xi_list_properties_sizeof (const void *_buffer /**< */); 12438 12439 /** 12440 * 12441 * @param c The connection 12442 * @return A cookie 12443 * 12444 * Delivers a request to the X server. 12445 * 12446 */ 12447 12448 /***************************************************************************** 12449 ** 12450 ** xcb_input_xi_list_properties_cookie_t xcb_input_xi_list_properties 12451 ** 12452 ** @param xcb_connection_t *c 12453 ** @param xcb_input_device_id_t deviceid 12454 ** @returns xcb_input_xi_list_properties_cookie_t 12455 ** 12456 *****************************************************************************/ 12457 12458 xcb_input_xi_list_properties_cookie_t 12459 xcb_input_xi_list_properties (xcb_connection_t *c /**< */, 12460 xcb_input_device_id_t deviceid /**< */); 12461 12462 /** 12463 * 12464 * @param c The connection 12465 * @return A cookie 12466 * 12467 * Delivers a request to the X server. 12468 * 12469 * This form can be used only if the request will cause 12470 * a reply to be generated. Any returned error will be 12471 * placed in the event queue. 12472 */ 12473 12474 /***************************************************************************** 12475 ** 12476 ** xcb_input_xi_list_properties_cookie_t xcb_input_xi_list_properties_unchecked 12477 ** 12478 ** @param xcb_connection_t *c 12479 ** @param xcb_input_device_id_t deviceid 12480 ** @returns xcb_input_xi_list_properties_cookie_t 12481 ** 12482 *****************************************************************************/ 12483 12484 xcb_input_xi_list_properties_cookie_t 12485 xcb_input_xi_list_properties_unchecked (xcb_connection_t *c /**< */, 12486 xcb_input_device_id_t deviceid /**< */); 12487 12488 12489 /***************************************************************************** 12490 ** 12491 ** xcb_atom_t * xcb_input_xi_list_properties_properties 12492 ** 12493 ** @param const xcb_input_xi_list_properties_reply_t *R 12494 ** @returns xcb_atom_t * 12495 ** 12496 *****************************************************************************/ 12497 12498 xcb_atom_t * 12499 xcb_input_xi_list_properties_properties (const xcb_input_xi_list_properties_reply_t *R /**< */); 12500 12501 12502 /***************************************************************************** 12503 ** 12504 ** int xcb_input_xi_list_properties_properties_length 12505 ** 12506 ** @param const xcb_input_xi_list_properties_reply_t *R 12507 ** @returns int 12508 ** 12509 *****************************************************************************/ 12510 12511 int 12512 xcb_input_xi_list_properties_properties_length (const xcb_input_xi_list_properties_reply_t *R /**< */); 12513 12514 12515 /***************************************************************************** 12516 ** 12517 ** xcb_generic_iterator_t xcb_input_xi_list_properties_properties_end 12518 ** 12519 ** @param const xcb_input_xi_list_properties_reply_t *R 12520 ** @returns xcb_generic_iterator_t 12521 ** 12522 *****************************************************************************/ 12523 12524 xcb_generic_iterator_t 12525 xcb_input_xi_list_properties_properties_end (const xcb_input_xi_list_properties_reply_t *R /**< */); 12526 12527 /** 12528 * Return the reply 12529 * @param c The connection 12530 * @param cookie The cookie 12531 * @param e The xcb_generic_error_t supplied 12532 * 12533 * Returns the reply of the request asked by 12534 * 12535 * The parameter @p e supplied to this function must be NULL if 12536 * xcb_input_xi_list_properties_unchecked(). is used. 12537 * Otherwise, it stores the error if any. 12538 * 12539 * The returned value must be freed by the caller using free(). 12540 */ 12541 12542 /***************************************************************************** 12543 ** 12544 ** xcb_input_xi_list_properties_reply_t * xcb_input_xi_list_properties_reply 12545 ** 12546 ** @param xcb_connection_t *c 12547 ** @param xcb_input_xi_list_properties_cookie_t cookie 12548 ** @param xcb_generic_error_t **e 12549 ** @returns xcb_input_xi_list_properties_reply_t * 12550 ** 12551 *****************************************************************************/ 12552 12553 xcb_input_xi_list_properties_reply_t * 12554 xcb_input_xi_list_properties_reply (xcb_connection_t *c /**< */, 12555 xcb_input_xi_list_properties_cookie_t cookie /**< */, 12556 xcb_generic_error_t **e /**< */); 12557 12558 12559 /***************************************************************************** 12560 ** 12561 ** uint8_t * xcb_input_xi_change_property_items_data_8 12562 ** 12563 ** @param const xcb_input_xi_change_property_items_t *S 12564 ** @returns uint8_t * 12565 ** 12566 *****************************************************************************/ 12567 12568 uint8_t * 12569 xcb_input_xi_change_property_items_data_8 (const xcb_input_xi_change_property_items_t *S /**< */); 12570 12571 12572 /***************************************************************************** 12573 ** 12574 ** int xcb_input_xi_change_property_items_data_8_length 12575 ** 12576 ** @param const xcb_input_xi_change_property_items_t *R 12577 ** @returns int 12578 ** 12579 *****************************************************************************/ 12580 12581 int 12582 xcb_input_xi_change_property_items_data_8_length (const xcb_input_xi_change_property_request_t *R /**< */, 12583 const xcb_input_xi_change_property_items_t *S /**< */); 12584 12585 12586 /***************************************************************************** 12587 ** 12588 ** xcb_generic_iterator_t xcb_input_xi_change_property_items_data_8_end 12589 ** 12590 ** @param const xcb_input_xi_change_property_items_t *R 12591 ** @returns xcb_generic_iterator_t 12592 ** 12593 *****************************************************************************/ 12594 12595 xcb_generic_iterator_t 12596 xcb_input_xi_change_property_items_data_8_end (const xcb_input_xi_change_property_request_t *R /**< */, 12597 const xcb_input_xi_change_property_items_t *S /**< */); 12598 12599 12600 /***************************************************************************** 12601 ** 12602 ** uint16_t * xcb_input_xi_change_property_items_data_16 12603 ** 12604 ** @param const xcb_input_xi_change_property_items_t *S 12605 ** @returns uint16_t * 12606 ** 12607 *****************************************************************************/ 12608 12609 uint16_t * 12610 xcb_input_xi_change_property_items_data_16 (const xcb_input_xi_change_property_items_t *S /**< */); 12611 12612 12613 /***************************************************************************** 12614 ** 12615 ** int xcb_input_xi_change_property_items_data_16_length 12616 ** 12617 ** @param const xcb_input_xi_change_property_items_t *R 12618 ** @returns int 12619 ** 12620 *****************************************************************************/ 12621 12622 int 12623 xcb_input_xi_change_property_items_data_16_length (const xcb_input_xi_change_property_request_t *R /**< */, 12624 const xcb_input_xi_change_property_items_t *S /**< */); 12625 12626 12627 /***************************************************************************** 12628 ** 12629 ** xcb_generic_iterator_t xcb_input_xi_change_property_items_data_16_end 12630 ** 12631 ** @param const xcb_input_xi_change_property_items_t *R 12632 ** @returns xcb_generic_iterator_t 12633 ** 12634 *****************************************************************************/ 12635 12636 xcb_generic_iterator_t 12637 xcb_input_xi_change_property_items_data_16_end (const xcb_input_xi_change_property_request_t *R /**< */, 12638 const xcb_input_xi_change_property_items_t *S /**< */); 12639 12640 12641 /***************************************************************************** 12642 ** 12643 ** uint32_t * xcb_input_xi_change_property_items_data_32 12644 ** 12645 ** @param const xcb_input_xi_change_property_items_t *S 12646 ** @returns uint32_t * 12647 ** 12648 *****************************************************************************/ 12649 12650 uint32_t * 12651 xcb_input_xi_change_property_items_data_32 (const xcb_input_xi_change_property_items_t *S /**< */); 12652 12653 12654 /***************************************************************************** 12655 ** 12656 ** int xcb_input_xi_change_property_items_data_32_length 12657 ** 12658 ** @param const xcb_input_xi_change_property_items_t *R 12659 ** @returns int 12660 ** 12661 *****************************************************************************/ 12662 12663 int 12664 xcb_input_xi_change_property_items_data_32_length (const xcb_input_xi_change_property_request_t *R /**< */, 12665 const xcb_input_xi_change_property_items_t *S /**< */); 12666 12667 12668 /***************************************************************************** 12669 ** 12670 ** xcb_generic_iterator_t xcb_input_xi_change_property_items_data_32_end 12671 ** 12672 ** @param const xcb_input_xi_change_property_items_t *R 12673 ** @returns xcb_generic_iterator_t 12674 ** 12675 *****************************************************************************/ 12676 12677 xcb_generic_iterator_t 12678 xcb_input_xi_change_property_items_data_32_end (const xcb_input_xi_change_property_request_t *R /**< */, 12679 const xcb_input_xi_change_property_items_t *S /**< */); 12680 12681 int 12682 xcb_input_xi_change_property_items_serialize (void **_buffer /**< */, 12683 uint32_t num_items /**< */, 12684 uint8_t format /**< */, 12685 const xcb_input_xi_change_property_items_t *_aux /**< */); 12686 12687 int 12688 xcb_input_xi_change_property_items_unpack (const void *_buffer /**< */, 12689 uint32_t num_items /**< */, 12690 uint8_t format /**< */, 12691 xcb_input_xi_change_property_items_t *_aux /**< */); 12692 12693 int 12694 xcb_input_xi_change_property_items_sizeof (const void *_buffer /**< */, 12695 uint32_t num_items /**< */, 12696 uint8_t format /**< */); 12697 12698 /** 12699 * 12700 * @param c The connection 12701 * @return A cookie 12702 * 12703 * Delivers a request to the X server. 12704 * 12705 * This form can be used only if the request will not cause 12706 * a reply to be generated. Any returned error will be 12707 * saved for handling by xcb_request_check(). 12708 */ 12709 12710 /***************************************************************************** 12711 ** 12712 ** xcb_void_cookie_t xcb_input_xi_change_property_checked 12713 ** 12714 ** @param xcb_connection_t *c 12715 ** @param xcb_input_device_id_t deviceid 12716 ** @param uint8_t mode 12717 ** @param uint8_t format 12718 ** @param xcb_atom_t property 12719 ** @param xcb_atom_t type 12720 ** @param uint32_t num_items 12721 ** @param const void *items 12722 ** @returns xcb_void_cookie_t 12723 ** 12724 *****************************************************************************/ 12725 12726 xcb_void_cookie_t 12727 xcb_input_xi_change_property_checked (xcb_connection_t *c /**< */, 12728 xcb_input_device_id_t deviceid /**< */, 12729 uint8_t mode /**< */, 12730 uint8_t format /**< */, 12731 xcb_atom_t property /**< */, 12732 xcb_atom_t type /**< */, 12733 uint32_t num_items /**< */, 12734 const void *items /**< */); 12735 12736 /** 12737 * 12738 * @param c The connection 12739 * @return A cookie 12740 * 12741 * Delivers a request to the X server. 12742 * 12743 */ 12744 12745 /***************************************************************************** 12746 ** 12747 ** xcb_void_cookie_t xcb_input_xi_change_property 12748 ** 12749 ** @param xcb_connection_t *c 12750 ** @param xcb_input_device_id_t deviceid 12751 ** @param uint8_t mode 12752 ** @param uint8_t format 12753 ** @param xcb_atom_t property 12754 ** @param xcb_atom_t type 12755 ** @param uint32_t num_items 12756 ** @param const void *items 12757 ** @returns xcb_void_cookie_t 12758 ** 12759 *****************************************************************************/ 12760 12761 xcb_void_cookie_t 12762 xcb_input_xi_change_property (xcb_connection_t *c /**< */, 12763 xcb_input_device_id_t deviceid /**< */, 12764 uint8_t mode /**< */, 12765 uint8_t format /**< */, 12766 xcb_atom_t property /**< */, 12767 xcb_atom_t type /**< */, 12768 uint32_t num_items /**< */, 12769 const void *items /**< */); 12770 12771 /** 12772 * 12773 * @param c The connection 12774 * @return A cookie 12775 * 12776 * Delivers a request to the X server. 12777 * 12778 * This form can be used only if the request will not cause 12779 * a reply to be generated. Any returned error will be 12780 * saved for handling by xcb_request_check(). 12781 */ 12782 12783 /***************************************************************************** 12784 ** 12785 ** xcb_void_cookie_t xcb_input_xi_change_property_aux_checked 12786 ** 12787 ** @param xcb_connection_t *c 12788 ** @param xcb_input_device_id_t deviceid 12789 ** @param uint8_t mode 12790 ** @param uint8_t format 12791 ** @param xcb_atom_t property 12792 ** @param xcb_atom_t type 12793 ** @param uint32_t num_items 12794 ** @param const xcb_input_xi_change_property_items_t *items 12795 ** @returns xcb_void_cookie_t 12796 ** 12797 *****************************************************************************/ 12798 12799 xcb_void_cookie_t 12800 xcb_input_xi_change_property_aux_checked (xcb_connection_t *c /**< */, 12801 xcb_input_device_id_t deviceid /**< */, 12802 uint8_t mode /**< */, 12803 uint8_t format /**< */, 12804 xcb_atom_t property /**< */, 12805 xcb_atom_t type /**< */, 12806 uint32_t num_items /**< */, 12807 const xcb_input_xi_change_property_items_t *items /**< */); 12808 12809 /** 12810 * 12811 * @param c The connection 12812 * @return A cookie 12813 * 12814 * Delivers a request to the X server. 12815 * 12816 */ 12817 12818 /***************************************************************************** 12819 ** 12820 ** xcb_void_cookie_t xcb_input_xi_change_property_aux 12821 ** 12822 ** @param xcb_connection_t *c 12823 ** @param xcb_input_device_id_t deviceid 12824 ** @param uint8_t mode 12825 ** @param uint8_t format 12826 ** @param xcb_atom_t property 12827 ** @param xcb_atom_t type 12828 ** @param uint32_t num_items 12829 ** @param const xcb_input_xi_change_property_items_t *items 12830 ** @returns xcb_void_cookie_t 12831 ** 12832 *****************************************************************************/ 12833 12834 xcb_void_cookie_t 12835 xcb_input_xi_change_property_aux (xcb_connection_t *c /**< */, 12836 xcb_input_device_id_t deviceid /**< */, 12837 uint8_t mode /**< */, 12838 uint8_t format /**< */, 12839 xcb_atom_t property /**< */, 12840 xcb_atom_t type /**< */, 12841 uint32_t num_items /**< */, 12842 const xcb_input_xi_change_property_items_t *items /**< */); 12843 12844 /** 12845 * 12846 * @param c The connection 12847 * @return A cookie 12848 * 12849 * Delivers a request to the X server. 12850 * 12851 * This form can be used only if the request will not cause 12852 * a reply to be generated. Any returned error will be 12853 * saved for handling by xcb_request_check(). 12854 */ 12855 12856 /***************************************************************************** 12857 ** 12858 ** xcb_void_cookie_t xcb_input_xi_delete_property_checked 12859 ** 12860 ** @param xcb_connection_t *c 12861 ** @param xcb_input_device_id_t deviceid 12862 ** @param xcb_atom_t property 12863 ** @returns xcb_void_cookie_t 12864 ** 12865 *****************************************************************************/ 12866 12867 xcb_void_cookie_t 12868 xcb_input_xi_delete_property_checked (xcb_connection_t *c /**< */, 12869 xcb_input_device_id_t deviceid /**< */, 12870 xcb_atom_t property /**< */); 12871 12872 /** 12873 * 12874 * @param c The connection 12875 * @return A cookie 12876 * 12877 * Delivers a request to the X server. 12878 * 12879 */ 12880 12881 /***************************************************************************** 12882 ** 12883 ** xcb_void_cookie_t xcb_input_xi_delete_property 12884 ** 12885 ** @param xcb_connection_t *c 12886 ** @param xcb_input_device_id_t deviceid 12887 ** @param xcb_atom_t property 12888 ** @returns xcb_void_cookie_t 12889 ** 12890 *****************************************************************************/ 12891 12892 xcb_void_cookie_t 12893 xcb_input_xi_delete_property (xcb_connection_t *c /**< */, 12894 xcb_input_device_id_t deviceid /**< */, 12895 xcb_atom_t property /**< */); 12896 12897 12898 /***************************************************************************** 12899 ** 12900 ** uint8_t * xcb_input_xi_get_property_items_data_8 12901 ** 12902 ** @param const xcb_input_xi_get_property_items_t *S 12903 ** @returns uint8_t * 12904 ** 12905 *****************************************************************************/ 12906 12907 uint8_t * 12908 xcb_input_xi_get_property_items_data_8 (const xcb_input_xi_get_property_items_t *S /**< */); 12909 12910 12911 /***************************************************************************** 12912 ** 12913 ** int xcb_input_xi_get_property_items_data_8_length 12914 ** 12915 ** @param const xcb_input_xi_get_property_items_t *R 12916 ** @returns int 12917 ** 12918 *****************************************************************************/ 12919 12920 int 12921 xcb_input_xi_get_property_items_data_8_length (const xcb_input_xi_get_property_reply_t *R /**< */, 12922 const xcb_input_xi_get_property_items_t *S /**< */); 12923 12924 12925 /***************************************************************************** 12926 ** 12927 ** xcb_generic_iterator_t xcb_input_xi_get_property_items_data_8_end 12928 ** 12929 ** @param const xcb_input_xi_get_property_items_t *R 12930 ** @returns xcb_generic_iterator_t 12931 ** 12932 *****************************************************************************/ 12933 12934 xcb_generic_iterator_t 12935 xcb_input_xi_get_property_items_data_8_end (const xcb_input_xi_get_property_reply_t *R /**< */, 12936 const xcb_input_xi_get_property_items_t *S /**< */); 12937 12938 12939 /***************************************************************************** 12940 ** 12941 ** uint16_t * xcb_input_xi_get_property_items_data_16 12942 ** 12943 ** @param const xcb_input_xi_get_property_items_t *S 12944 ** @returns uint16_t * 12945 ** 12946 *****************************************************************************/ 12947 12948 uint16_t * 12949 xcb_input_xi_get_property_items_data_16 (const xcb_input_xi_get_property_items_t *S /**< */); 12950 12951 12952 /***************************************************************************** 12953 ** 12954 ** int xcb_input_xi_get_property_items_data_16_length 12955 ** 12956 ** @param const xcb_input_xi_get_property_items_t *R 12957 ** @returns int 12958 ** 12959 *****************************************************************************/ 12960 12961 int 12962 xcb_input_xi_get_property_items_data_16_length (const xcb_input_xi_get_property_reply_t *R /**< */, 12963 const xcb_input_xi_get_property_items_t *S /**< */); 12964 12965 12966 /***************************************************************************** 12967 ** 12968 ** xcb_generic_iterator_t xcb_input_xi_get_property_items_data_16_end 12969 ** 12970 ** @param const xcb_input_xi_get_property_items_t *R 12971 ** @returns xcb_generic_iterator_t 12972 ** 12973 *****************************************************************************/ 12974 12975 xcb_generic_iterator_t 12976 xcb_input_xi_get_property_items_data_16_end (const xcb_input_xi_get_property_reply_t *R /**< */, 12977 const xcb_input_xi_get_property_items_t *S /**< */); 12978 12979 12980 /***************************************************************************** 12981 ** 12982 ** uint32_t * xcb_input_xi_get_property_items_data_32 12983 ** 12984 ** @param const xcb_input_xi_get_property_items_t *S 12985 ** @returns uint32_t * 12986 ** 12987 *****************************************************************************/ 12988 12989 uint32_t * 12990 xcb_input_xi_get_property_items_data_32 (const xcb_input_xi_get_property_items_t *S /**< */); 12991 12992 12993 /***************************************************************************** 12994 ** 12995 ** int xcb_input_xi_get_property_items_data_32_length 12996 ** 12997 ** @param const xcb_input_xi_get_property_items_t *R 12998 ** @returns int 12999 ** 13000 *****************************************************************************/ 13001 13002 int 13003 xcb_input_xi_get_property_items_data_32_length (const xcb_input_xi_get_property_reply_t *R /**< */, 13004 const xcb_input_xi_get_property_items_t *S /**< */); 13005 13006 13007 /***************************************************************************** 13008 ** 13009 ** xcb_generic_iterator_t xcb_input_xi_get_property_items_data_32_end 13010 ** 13011 ** @param const xcb_input_xi_get_property_items_t *R 13012 ** @returns xcb_generic_iterator_t 13013 ** 13014 *****************************************************************************/ 13015 13016 xcb_generic_iterator_t 13017 xcb_input_xi_get_property_items_data_32_end (const xcb_input_xi_get_property_reply_t *R /**< */, 13018 const xcb_input_xi_get_property_items_t *S /**< */); 13019 13020 int 13021 xcb_input_xi_get_property_items_serialize (void **_buffer /**< */, 13022 uint32_t num_items /**< */, 13023 uint8_t format /**< */, 13024 const xcb_input_xi_get_property_items_t *_aux /**< */); 13025 13026 int 13027 xcb_input_xi_get_property_items_unpack (const void *_buffer /**< */, 13028 uint32_t num_items /**< */, 13029 uint8_t format /**< */, 13030 xcb_input_xi_get_property_items_t *_aux /**< */); 13031 13032 int 13033 xcb_input_xi_get_property_items_sizeof (const void *_buffer /**< */, 13034 uint32_t num_items /**< */, 13035 uint8_t format /**< */); 13036 13037 /** 13038 * 13039 * @param c The connection 13040 * @return A cookie 13041 * 13042 * Delivers a request to the X server. 13043 * 13044 */ 13045 13046 /***************************************************************************** 13047 ** 13048 ** xcb_input_xi_get_property_cookie_t xcb_input_xi_get_property 13049 ** 13050 ** @param xcb_connection_t *c 13051 ** @param xcb_input_device_id_t deviceid 13052 ** @param uint8_t _delete 13053 ** @param xcb_atom_t property 13054 ** @param xcb_atom_t type 13055 ** @param uint32_t offset 13056 ** @param uint32_t len 13057 ** @returns xcb_input_xi_get_property_cookie_t 13058 ** 13059 *****************************************************************************/ 13060 13061 xcb_input_xi_get_property_cookie_t 13062 xcb_input_xi_get_property (xcb_connection_t *c /**< */, 13063 xcb_input_device_id_t deviceid /**< */, 13064 uint8_t _delete /**< */, 13065 xcb_atom_t property /**< */, 13066 xcb_atom_t type /**< */, 13067 uint32_t offset /**< */, 13068 uint32_t len /**< */); 13069 13070 /** 13071 * 13072 * @param c The connection 13073 * @return A cookie 13074 * 13075 * Delivers a request to the X server. 13076 * 13077 * This form can be used only if the request will cause 13078 * a reply to be generated. Any returned error will be 13079 * placed in the event queue. 13080 */ 13081 13082 /***************************************************************************** 13083 ** 13084 ** xcb_input_xi_get_property_cookie_t xcb_input_xi_get_property_unchecked 13085 ** 13086 ** @param xcb_connection_t *c 13087 ** @param xcb_input_device_id_t deviceid 13088 ** @param uint8_t _delete 13089 ** @param xcb_atom_t property 13090 ** @param xcb_atom_t type 13091 ** @param uint32_t offset 13092 ** @param uint32_t len 13093 ** @returns xcb_input_xi_get_property_cookie_t 13094 ** 13095 *****************************************************************************/ 13096 13097 xcb_input_xi_get_property_cookie_t 13098 xcb_input_xi_get_property_unchecked (xcb_connection_t *c /**< */, 13099 xcb_input_device_id_t deviceid /**< */, 13100 uint8_t _delete /**< */, 13101 xcb_atom_t property /**< */, 13102 xcb_atom_t type /**< */, 13103 uint32_t offset /**< */, 13104 uint32_t len /**< */); 13105 13106 13107 /***************************************************************************** 13108 ** 13109 ** xcb_input_xi_get_property_items_t * xcb_input_xi_get_property_items 13110 ** 13111 ** @param const xcb_input_xi_get_property_reply_t *R 13112 ** @returns xcb_input_xi_get_property_items_t * 13113 ** 13114 *****************************************************************************/ 13115 13116 void * 13117 xcb_input_xi_get_property_items (const xcb_input_xi_get_property_reply_t *R /**< */); 13118 13119 /** 13120 * Return the reply 13121 * @param c The connection 13122 * @param cookie The cookie 13123 * @param e The xcb_generic_error_t supplied 13124 * 13125 * Returns the reply of the request asked by 13126 * 13127 * The parameter @p e supplied to this function must be NULL if 13128 * xcb_input_xi_get_property_unchecked(). is used. 13129 * Otherwise, it stores the error if any. 13130 * 13131 * The returned value must be freed by the caller using free(). 13132 */ 13133 13134 /***************************************************************************** 13135 ** 13136 ** xcb_input_xi_get_property_reply_t * xcb_input_xi_get_property_reply 13137 ** 13138 ** @param xcb_connection_t *c 13139 ** @param xcb_input_xi_get_property_cookie_t cookie 13140 ** @param xcb_generic_error_t **e 13141 ** @returns xcb_input_xi_get_property_reply_t * 13142 ** 13143 *****************************************************************************/ 13144 13145 xcb_input_xi_get_property_reply_t * 13146 xcb_input_xi_get_property_reply (xcb_connection_t *c /**< */, 13147 xcb_input_xi_get_property_cookie_t cookie /**< */, 13148 xcb_generic_error_t **e /**< */); 13149 13150 int 13151 xcb_input_xi_get_selected_events_sizeof (const void *_buffer /**< */); 13152 13153 /** 13154 * 13155 * @param c The connection 13156 * @return A cookie 13157 * 13158 * Delivers a request to the X server. 13159 * 13160 */ 13161 13162 /***************************************************************************** 13163 ** 13164 ** xcb_input_xi_get_selected_events_cookie_t xcb_input_xi_get_selected_events 13165 ** 13166 ** @param xcb_connection_t *c 13167 ** @param xcb_window_t window 13168 ** @returns xcb_input_xi_get_selected_events_cookie_t 13169 ** 13170 *****************************************************************************/ 13171 13172 xcb_input_xi_get_selected_events_cookie_t 13173 xcb_input_xi_get_selected_events (xcb_connection_t *c /**< */, 13174 xcb_window_t window /**< */); 13175 13176 /** 13177 * 13178 * @param c The connection 13179 * @return A cookie 13180 * 13181 * Delivers a request to the X server. 13182 * 13183 * This form can be used only if the request will cause 13184 * a reply to be generated. Any returned error will be 13185 * placed in the event queue. 13186 */ 13187 13188 /***************************************************************************** 13189 ** 13190 ** xcb_input_xi_get_selected_events_cookie_t xcb_input_xi_get_selected_events_unchecked 13191 ** 13192 ** @param xcb_connection_t *c 13193 ** @param xcb_window_t window 13194 ** @returns xcb_input_xi_get_selected_events_cookie_t 13195 ** 13196 *****************************************************************************/ 13197 13198 xcb_input_xi_get_selected_events_cookie_t 13199 xcb_input_xi_get_selected_events_unchecked (xcb_connection_t *c /**< */, 13200 xcb_window_t window /**< */); 13201 13202 13203 /***************************************************************************** 13204 ** 13205 ** int xcb_input_xi_get_selected_events_masks_length 13206 ** 13207 ** @param const xcb_input_xi_get_selected_events_reply_t *R 13208 ** @returns int 13209 ** 13210 *****************************************************************************/ 13211 13212 int 13213 xcb_input_xi_get_selected_events_masks_length (const xcb_input_xi_get_selected_events_reply_t *R /**< */); 13214 13215 13216 /***************************************************************************** 13217 ** 13218 ** xcb_input_event_mask_iterator_t xcb_input_xi_get_selected_events_masks_iterator 13219 ** 13220 ** @param const xcb_input_xi_get_selected_events_reply_t *R 13221 ** @returns xcb_input_event_mask_iterator_t 13222 ** 13223 *****************************************************************************/ 13224 13225 xcb_input_event_mask_iterator_t 13226 xcb_input_xi_get_selected_events_masks_iterator (const xcb_input_xi_get_selected_events_reply_t *R /**< */); 13227 13228 /** 13229 * Return the reply 13230 * @param c The connection 13231 * @param cookie The cookie 13232 * @param e The xcb_generic_error_t supplied 13233 * 13234 * Returns the reply of the request asked by 13235 * 13236 * The parameter @p e supplied to this function must be NULL if 13237 * xcb_input_xi_get_selected_events_unchecked(). is used. 13238 * Otherwise, it stores the error if any. 13239 * 13240 * The returned value must be freed by the caller using free(). 13241 */ 13242 13243 /***************************************************************************** 13244 ** 13245 ** xcb_input_xi_get_selected_events_reply_t * xcb_input_xi_get_selected_events_reply 13246 ** 13247 ** @param xcb_connection_t *c 13248 ** @param xcb_input_xi_get_selected_events_cookie_t cookie 13249 ** @param xcb_generic_error_t **e 13250 ** @returns xcb_input_xi_get_selected_events_reply_t * 13251 ** 13252 *****************************************************************************/ 13253 13254 xcb_input_xi_get_selected_events_reply_t * 13255 xcb_input_xi_get_selected_events_reply (xcb_connection_t *c /**< */, 13256 xcb_input_xi_get_selected_events_cookie_t cookie /**< */, 13257 xcb_generic_error_t **e /**< */); 13258 13259 /** 13260 * Get the next element of the iterator 13261 * @param i Pointer to a xcb_input_barrier_release_pointer_info_iterator_t 13262 * 13263 * Get the next element in the iterator. The member rem is 13264 * decreased by one. The member data points to the next 13265 * element. The member index is increased by sizeof(xcb_input_barrier_release_pointer_info_t) 13266 */ 13267 13268 /***************************************************************************** 13269 ** 13270 ** void xcb_input_barrier_release_pointer_info_next 13271 ** 13272 ** @param xcb_input_barrier_release_pointer_info_iterator_t *i 13273 ** @returns void 13274 ** 13275 *****************************************************************************/ 13276 13277 void 13278 xcb_input_barrier_release_pointer_info_next (xcb_input_barrier_release_pointer_info_iterator_t *i /**< */); 13279 13280 /** 13281 * Return the iterator pointing to the last element 13282 * @param i An xcb_input_barrier_release_pointer_info_iterator_t 13283 * @return The iterator pointing to the last element 13284 * 13285 * Set the current element in the iterator to the last element. 13286 * The member rem is set to 0. The member data points to the 13287 * last element. 13288 */ 13289 13290 /***************************************************************************** 13291 ** 13292 ** xcb_generic_iterator_t xcb_input_barrier_release_pointer_info_end 13293 ** 13294 ** @param xcb_input_barrier_release_pointer_info_iterator_t i 13295 ** @returns xcb_generic_iterator_t 13296 ** 13297 *****************************************************************************/ 13298 13299 xcb_generic_iterator_t 13300 xcb_input_barrier_release_pointer_info_end (xcb_input_barrier_release_pointer_info_iterator_t i /**< */); 13301 13302 int 13303 xcb_input_xi_barrier_release_pointer_sizeof (const void *_buffer /**< */); 13304 13305 /** 13306 * 13307 * @param c The connection 13308 * @return A cookie 13309 * 13310 * Delivers a request to the X server. 13311 * 13312 * This form can be used only if the request will not cause 13313 * a reply to be generated. Any returned error will be 13314 * saved for handling by xcb_request_check(). 13315 */ 13316 13317 /***************************************************************************** 13318 ** 13319 ** xcb_void_cookie_t xcb_input_xi_barrier_release_pointer_checked 13320 ** 13321 ** @param xcb_connection_t *c 13322 ** @param uint32_t num_barriers 13323 ** @param const xcb_input_barrier_release_pointer_info_t *barriers 13324 ** @returns xcb_void_cookie_t 13325 ** 13326 *****************************************************************************/ 13327 13328 xcb_void_cookie_t 13329 xcb_input_xi_barrier_release_pointer_checked (xcb_connection_t *c /**< */, 13330 uint32_t num_barriers /**< */, 13331 const xcb_input_barrier_release_pointer_info_t *barriers /**< */); 13332 13333 /** 13334 * 13335 * @param c The connection 13336 * @return A cookie 13337 * 13338 * Delivers a request to the X server. 13339 * 13340 */ 13341 13342 /***************************************************************************** 13343 ** 13344 ** xcb_void_cookie_t xcb_input_xi_barrier_release_pointer 13345 ** 13346 ** @param xcb_connection_t *c 13347 ** @param uint32_t num_barriers 13348 ** @param const xcb_input_barrier_release_pointer_info_t *barriers 13349 ** @returns xcb_void_cookie_t 13350 ** 13351 *****************************************************************************/ 13352 13353 xcb_void_cookie_t 13354 xcb_input_xi_barrier_release_pointer (xcb_connection_t *c /**< */, 13355 uint32_t num_barriers /**< */, 13356 const xcb_input_barrier_release_pointer_info_t *barriers /**< */); 13357 13358 int 13359 xcb_input_device_changed_sizeof (const void *_buffer /**< */); 13360 13361 int 13362 xcb_input_key_press_sizeof (const void *_buffer /**< */); 13363 13364 int 13365 xcb_input_key_release_sizeof (const void *_buffer /**< */); 13366 13367 int 13368 xcb_input_button_press_sizeof (const void *_buffer /**< */); 13369 13370 int 13371 xcb_input_button_release_sizeof (const void *_buffer /**< */); 13372 13373 int 13374 xcb_input_motion_sizeof (const void *_buffer /**< */); 13375 13376 int 13377 xcb_input_enter_sizeof (const void *_buffer /**< */); 13378 13379 int 13380 xcb_input_leave_sizeof (const void *_buffer /**< */); 13381 13382 int 13383 xcb_input_focus_in_sizeof (const void *_buffer /**< */); 13384 13385 int 13386 xcb_input_focus_out_sizeof (const void *_buffer /**< */); 13387 13388 /** 13389 * Get the next element of the iterator 13390 * @param i Pointer to a xcb_input_hierarchy_info_iterator_t 13391 * 13392 * Get the next element in the iterator. The member rem is 13393 * decreased by one. The member data points to the next 13394 * element. The member index is increased by sizeof(xcb_input_hierarchy_info_t) 13395 */ 13396 13397 /***************************************************************************** 13398 ** 13399 ** void xcb_input_hierarchy_info_next 13400 ** 13401 ** @param xcb_input_hierarchy_info_iterator_t *i 13402 ** @returns void 13403 ** 13404 *****************************************************************************/ 13405 13406 void 13407 xcb_input_hierarchy_info_next (xcb_input_hierarchy_info_iterator_t *i /**< */); 13408 13409 /** 13410 * Return the iterator pointing to the last element 13411 * @param i An xcb_input_hierarchy_info_iterator_t 13412 * @return The iterator pointing to the last element 13413 * 13414 * Set the current element in the iterator to the last element. 13415 * The member rem is set to 0. The member data points to the 13416 * last element. 13417 */ 13418 13419 /***************************************************************************** 13420 ** 13421 ** xcb_generic_iterator_t xcb_input_hierarchy_info_end 13422 ** 13423 ** @param xcb_input_hierarchy_info_iterator_t i 13424 ** @returns xcb_generic_iterator_t 13425 ** 13426 *****************************************************************************/ 13427 13428 xcb_generic_iterator_t 13429 xcb_input_hierarchy_info_end (xcb_input_hierarchy_info_iterator_t i /**< */); 13430 13431 int 13432 xcb_input_hierarchy_sizeof (const void *_buffer /**< */); 13433 13434 int 13435 xcb_input_raw_key_press_sizeof (const void *_buffer /**< */); 13436 13437 int 13438 xcb_input_raw_key_release_sizeof (const void *_buffer /**< */); 13439 13440 int 13441 xcb_input_raw_button_press_sizeof (const void *_buffer /**< */); 13442 13443 int 13444 xcb_input_raw_button_release_sizeof (const void *_buffer /**< */); 13445 13446 int 13447 xcb_input_raw_motion_sizeof (const void *_buffer /**< */); 13448 13449 int 13450 xcb_input_touch_begin_sizeof (const void *_buffer /**< */); 13451 13452 int 13453 xcb_input_touch_update_sizeof (const void *_buffer /**< */); 13454 13455 int 13456 xcb_input_touch_end_sizeof (const void *_buffer /**< */); 13457 13458 int 13459 xcb_input_raw_touch_begin_sizeof (const void *_buffer /**< */); 13460 13461 int 13462 xcb_input_raw_touch_update_sizeof (const void *_buffer /**< */); 13463 13464 int 13465 xcb_input_raw_touch_end_sizeof (const void *_buffer /**< */); 13466 13467 13468 #ifdef __cplusplus 13469 } 13470 #endif 13471 13472 #endif 13473 13474 /** 13475 * @} 13476 */ 13477