1 /* 2 * This file generated automatically from xinput.xml by d_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 module xcb.xinput; 13 14 import xcb.xcb; 15 import xcb.xfixes; 16 17 extern (C): 18 19 enum int XCB_INPUT_MAJOR_VERSION = 2; 20 enum int XCB_INPUT_MINOR_VERSION = 3; 21 22 extern (C) __gshared extern xcb_extension_t xcb_input_id; 23 24 alias xcb_input_event_class_t = uint; 25 26 /** 27 * @brief xcb_input_event_class_iterator_t 28 **/ 29 struct xcb_input_event_class_iterator_t { 30 xcb_input_event_class_t* data; /**< */ 31 int rem; /**< */ 32 int index; /**< */ 33 } 34 35 alias xcb_input_key_code_t = ubyte; 36 37 /** 38 * @brief xcb_input_key_code_iterator_t 39 **/ 40 struct xcb_input_key_code_iterator_t { 41 xcb_input_key_code_t* data; /**< */ 42 int rem; /**< */ 43 int index; /**< */ 44 } 45 46 alias xcb_input_device_id_t = ushort; 47 48 /** 49 * @brief xcb_input_device_id_iterator_t 50 **/ 51 struct xcb_input_device_id_iterator_t { 52 xcb_input_device_id_t* data; /**< */ 53 int rem; /**< */ 54 int index; /**< */ 55 } 56 57 alias xcb_input_fp1616_t = int; 58 59 /** 60 * @brief xcb_input_fp1616_iterator_t 61 **/ 62 struct xcb_input_fp1616_iterator_t { 63 xcb_input_fp1616_t* data; /**< */ 64 int rem; /**< */ 65 int index; /**< */ 66 } 67 68 /** 69 * @brief xcb_input_fp3232_t 70 **/ 71 struct xcb_input_fp3232_t { 72 int integral; /**< */ 73 uint frac; /**< */ 74 } 75 76 /** 77 * @brief xcb_input_fp3232_iterator_t 78 **/ 79 struct xcb_input_fp3232_iterator_t { 80 xcb_input_fp3232_t* data; /**< */ 81 int rem; /**< */ 82 int index; /**< */ 83 } 84 85 /** 86 * @brief xcb_input_get_extension_version_cookie_t 87 **/ 88 struct xcb_input_get_extension_version_cookie_t { 89 uint sequence; /**< */ 90 } 91 92 /** Opcode for xcb_input_get_extension_version. */ 93 enum XCB_INPUT_GET_EXTENSION_VERSION = 1; 94 95 /** 96 * @brief xcb_input_get_extension_version_request_t 97 **/ 98 struct xcb_input_get_extension_version_request_t { 99 ubyte major_opcode; /**< */ 100 ubyte minor_opcode; /**< */ 101 ushort length; /**< */ 102 ushort name_len; /**< */ 103 ubyte[2] pad0; /**< */ 104 } 105 106 /** 107 * @brief xcb_input_get_extension_version_reply_t 108 **/ 109 struct xcb_input_get_extension_version_reply_t { 110 ubyte response_type; /**< */ 111 ubyte pad0; /**< */ 112 ushort sequence; /**< */ 113 uint length; /**< */ 114 ushort server_major; /**< */ 115 ushort server_minor; /**< */ 116 ubyte present; /**< */ 117 ubyte[19] pad1; /**< */ 118 } 119 120 enum xcb_input_device_use_t { 121 XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0, 122 XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1, 123 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2, 124 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3, 125 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4 126 } 127 128 alias XCB_INPUT_DEVICE_USE_IS_X_POINTER = xcb_input_device_use_t.XCB_INPUT_DEVICE_USE_IS_X_POINTER; 129 alias XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = xcb_input_device_use_t.XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD; 130 alias XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = xcb_input_device_use_t.XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE; 131 alias XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = xcb_input_device_use_t.XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD; 132 alias XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = xcb_input_device_use_t.XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER; 133 134 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 } 143 144 alias XCB_INPUT_INPUT_CLASS_KEY = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_KEY; 145 alias XCB_INPUT_INPUT_CLASS_BUTTON = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_BUTTON; 146 alias XCB_INPUT_INPUT_CLASS_VALUATOR = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_VALUATOR; 147 alias XCB_INPUT_INPUT_CLASS_FEEDBACK = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_FEEDBACK; 148 alias XCB_INPUT_INPUT_CLASS_PROXIMITY = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_PROXIMITY; 149 alias XCB_INPUT_INPUT_CLASS_FOCUS = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_FOCUS; 150 alias XCB_INPUT_INPUT_CLASS_OTHER = xcb_input_input_class_t.XCB_INPUT_INPUT_CLASS_OTHER; 151 152 enum xcb_input_valuator_mode_t { 153 XCB_INPUT_VALUATOR_MODE_RELATIVE = 0, 154 XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1 155 } 156 157 alias XCB_INPUT_VALUATOR_MODE_RELATIVE = xcb_input_valuator_mode_t.XCB_INPUT_VALUATOR_MODE_RELATIVE; 158 alias XCB_INPUT_VALUATOR_MODE_ABSOLUTE = xcb_input_valuator_mode_t.XCB_INPUT_VALUATOR_MODE_ABSOLUTE; 159 160 /** 161 * @brief xcb_input_device_info_t 162 **/ 163 struct xcb_input_device_info_t { 164 xcb_atom_t device_type; /**< */ 165 ubyte device_id; /**< */ 166 ubyte num_class_info; /**< */ 167 ubyte device_use; /**< */ 168 ubyte pad0; /**< */ 169 } 170 171 /** 172 * @brief xcb_input_device_info_iterator_t 173 **/ 174 struct xcb_input_device_info_iterator_t { 175 xcb_input_device_info_t* data; /**< */ 176 int rem; /**< */ 177 int index; /**< */ 178 } 179 180 /** 181 * @brief xcb_input_key_info_t 182 **/ 183 struct xcb_input_key_info_t { 184 ubyte class_id; /**< */ 185 ubyte len; /**< */ 186 xcb_input_key_code_t min_keycode; /**< */ 187 xcb_input_key_code_t max_keycode; /**< */ 188 ushort num_keys; /**< */ 189 ubyte[2] pad0; /**< */ 190 } 191 192 /** 193 * @brief xcb_input_key_info_iterator_t 194 **/ 195 struct xcb_input_key_info_iterator_t { 196 xcb_input_key_info_t* data; /**< */ 197 int rem; /**< */ 198 int index; /**< */ 199 } 200 201 /** 202 * @brief xcb_input_button_info_t 203 **/ 204 struct xcb_input_button_info_t { 205 ubyte class_id; /**< */ 206 ubyte len; /**< */ 207 ushort num_buttons; /**< */ 208 } 209 210 /** 211 * @brief xcb_input_button_info_iterator_t 212 **/ 213 struct xcb_input_button_info_iterator_t { 214 xcb_input_button_info_t* data; /**< */ 215 int rem; /**< */ 216 int index; /**< */ 217 } 218 219 /** 220 * @brief xcb_input_axis_info_t 221 **/ 222 struct xcb_input_axis_info_t { 223 uint resolution; /**< */ 224 int minimum; /**< */ 225 int maximum; /**< */ 226 } 227 228 /** 229 * @brief xcb_input_axis_info_iterator_t 230 **/ 231 struct xcb_input_axis_info_iterator_t { 232 xcb_input_axis_info_t* data; /**< */ 233 int rem; /**< */ 234 int index; /**< */ 235 } 236 237 /** 238 * @brief xcb_input_valuator_info_t 239 **/ 240 struct xcb_input_valuator_info_t { 241 ubyte class_id; /**< */ 242 ubyte len; /**< */ 243 ubyte axes_len; /**< */ 244 ubyte mode; /**< */ 245 uint motion_size; /**< */ 246 } 247 248 /** 249 * @brief xcb_input_valuator_info_iterator_t 250 **/ 251 struct xcb_input_valuator_info_iterator_t { 252 xcb_input_valuator_info_t* data; /**< */ 253 int rem; /**< */ 254 int index; /**< */ 255 } 256 257 /** 258 * @brief xcb_input_input_info_t 259 **/ 260 struct xcb_input_input_info_t { 261 ubyte class_id; /**< */ 262 ubyte len; /**< */ 263 } 264 265 /** 266 * @brief xcb_input_input_info_iterator_t 267 **/ 268 struct xcb_input_input_info_iterator_t { 269 xcb_input_input_info_t* data; /**< */ 270 int rem; /**< */ 271 int index; /**< */ 272 } 273 274 /** 275 * @brief xcb_input_device_name_t 276 **/ 277 struct xcb_input_device_name_t { 278 ubyte len; /**< */ 279 } 280 281 /** 282 * @brief xcb_input_device_name_iterator_t 283 **/ 284 struct xcb_input_device_name_iterator_t { 285 xcb_input_device_name_t* data; /**< */ 286 int rem; /**< */ 287 int index; /**< */ 288 } 289 290 /** 291 * @brief xcb_input_list_input_devices_cookie_t 292 **/ 293 struct xcb_input_list_input_devices_cookie_t { 294 uint sequence; /**< */ 295 } 296 297 /** Opcode for xcb_input_list_input_devices. */ 298 enum XCB_INPUT_LIST_INPUT_DEVICES = 2; 299 300 /** 301 * @brief xcb_input_list_input_devices_request_t 302 **/ 303 struct xcb_input_list_input_devices_request_t { 304 ubyte major_opcode; /**< */ 305 ubyte minor_opcode; /**< */ 306 ushort length; /**< */ 307 } 308 309 /** 310 * @brief xcb_input_list_input_devices_reply_t 311 **/ 312 struct xcb_input_list_input_devices_reply_t { 313 ubyte response_type; /**< */ 314 ubyte pad0; /**< */ 315 ushort sequence; /**< */ 316 uint length; /**< */ 317 ubyte devices_len; /**< */ 318 ubyte[23] pad1; /**< */ 319 } 320 321 /** 322 * @brief xcb_input_input_class_info_t 323 **/ 324 struct xcb_input_input_class_info_t { 325 ubyte class_id; /**< */ 326 ubyte event_type_base; /**< */ 327 } 328 329 /** 330 * @brief xcb_input_input_class_info_iterator_t 331 **/ 332 struct xcb_input_input_class_info_iterator_t { 333 xcb_input_input_class_info_t* data; /**< */ 334 int rem; /**< */ 335 int index; /**< */ 336 } 337 338 /** 339 * @brief xcb_input_open_device_cookie_t 340 **/ 341 struct xcb_input_open_device_cookie_t { 342 uint sequence; /**< */ 343 } 344 345 /** Opcode for xcb_input_open_device. */ 346 enum XCB_INPUT_OPEN_DEVICE = 3; 347 348 /** 349 * @brief xcb_input_open_device_request_t 350 **/ 351 struct xcb_input_open_device_request_t { 352 ubyte major_opcode; /**< */ 353 ubyte minor_opcode; /**< */ 354 ushort length; /**< */ 355 ubyte device_id; /**< */ 356 ubyte[3] pad0; /**< */ 357 } 358 359 /** 360 * @brief xcb_input_open_device_reply_t 361 **/ 362 struct xcb_input_open_device_reply_t { 363 ubyte response_type; /**< */ 364 ubyte pad0; /**< */ 365 ushort sequence; /**< */ 366 uint length; /**< */ 367 ubyte num_classes; /**< */ 368 ubyte[23] pad1; /**< */ 369 } 370 371 /** Opcode for xcb_input_close_device. */ 372 enum XCB_INPUT_CLOSE_DEVICE = 4; 373 374 /** 375 * @brief xcb_input_close_device_request_t 376 **/ 377 struct xcb_input_close_device_request_t { 378 ubyte major_opcode; /**< */ 379 ubyte minor_opcode; /**< */ 380 ushort length; /**< */ 381 ubyte device_id; /**< */ 382 ubyte[3] pad0; /**< */ 383 } 384 385 /** 386 * @brief xcb_input_set_device_mode_cookie_t 387 **/ 388 struct xcb_input_set_device_mode_cookie_t { 389 uint sequence; /**< */ 390 } 391 392 /** Opcode for xcb_input_set_device_mode. */ 393 enum XCB_INPUT_SET_DEVICE_MODE = 5; 394 395 /** 396 * @brief xcb_input_set_device_mode_request_t 397 **/ 398 struct xcb_input_set_device_mode_request_t { 399 ubyte major_opcode; /**< */ 400 ubyte minor_opcode; /**< */ 401 ushort length; /**< */ 402 ubyte device_id; /**< */ 403 ubyte mode; /**< */ 404 ubyte[2] pad0; /**< */ 405 } 406 407 /** 408 * @brief xcb_input_set_device_mode_reply_t 409 **/ 410 struct xcb_input_set_device_mode_reply_t { 411 ubyte response_type; /**< */ 412 ubyte pad0; /**< */ 413 ushort sequence; /**< */ 414 uint length; /**< */ 415 ubyte status; /**< */ 416 ubyte[23] pad1; /**< */ 417 } 418 419 /** Opcode for xcb_input_select_extension_event. */ 420 enum XCB_INPUT_SELECT_EXTENSION_EVENT = 6; 421 422 /** 423 * @brief xcb_input_select_extension_event_request_t 424 **/ 425 struct xcb_input_select_extension_event_request_t { 426 ubyte major_opcode; /**< */ 427 ubyte minor_opcode; /**< */ 428 ushort length; /**< */ 429 xcb_window_t window; /**< */ 430 ushort num_classes; /**< */ 431 ubyte[2] pad0; /**< */ 432 } 433 434 /** 435 * @brief xcb_input_get_selected_extension_events_cookie_t 436 **/ 437 struct xcb_input_get_selected_extension_events_cookie_t { 438 uint sequence; /**< */ 439 } 440 441 /** Opcode for xcb_input_get_selected_extension_events. */ 442 enum XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS = 7; 443 444 /** 445 * @brief xcb_input_get_selected_extension_events_request_t 446 **/ 447 struct xcb_input_get_selected_extension_events_request_t { 448 ubyte major_opcode; /**< */ 449 ubyte minor_opcode; /**< */ 450 ushort length; /**< */ 451 xcb_window_t window; /**< */ 452 } 453 454 /** 455 * @brief xcb_input_get_selected_extension_events_reply_t 456 **/ 457 struct xcb_input_get_selected_extension_events_reply_t { 458 ubyte response_type; /**< */ 459 ubyte pad0; /**< */ 460 ushort sequence; /**< */ 461 uint length; /**< */ 462 ushort num_this_classes; /**< */ 463 ushort num_all_classes; /**< */ 464 ubyte[20] pad1; /**< */ 465 } 466 467 enum xcb_input_propagate_mode_t { 468 XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0, 469 XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1 470 } 471 472 alias XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = xcb_input_propagate_mode_t.XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST; 473 alias XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = xcb_input_propagate_mode_t.XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST; 474 475 /** Opcode for xcb_input_change_device_dont_propagate_list. */ 476 enum XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST = 8; 477 478 /** 479 * @brief xcb_input_change_device_dont_propagate_list_request_t 480 **/ 481 struct xcb_input_change_device_dont_propagate_list_request_t { 482 ubyte major_opcode; /**< */ 483 ubyte minor_opcode; /**< */ 484 ushort length; /**< */ 485 xcb_window_t window; /**< */ 486 ushort num_classes; /**< */ 487 ubyte mode; /**< */ 488 ubyte pad0; /**< */ 489 } 490 491 /** 492 * @brief xcb_input_get_device_dont_propagate_list_cookie_t 493 **/ 494 struct xcb_input_get_device_dont_propagate_list_cookie_t { 495 uint sequence; /**< */ 496 } 497 498 /** Opcode for xcb_input_get_device_dont_propagate_list. */ 499 enum XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST = 9; 500 501 /** 502 * @brief xcb_input_get_device_dont_propagate_list_request_t 503 **/ 504 struct xcb_input_get_device_dont_propagate_list_request_t { 505 ubyte major_opcode; /**< */ 506 ubyte minor_opcode; /**< */ 507 ushort length; /**< */ 508 xcb_window_t window; /**< */ 509 } 510 511 /** 512 * @brief xcb_input_get_device_dont_propagate_list_reply_t 513 **/ 514 struct xcb_input_get_device_dont_propagate_list_reply_t { 515 ubyte response_type; /**< */ 516 ubyte pad0; /**< */ 517 ushort sequence; /**< */ 518 uint length; /**< */ 519 ushort num_classes; /**< */ 520 ubyte[22] pad1; /**< */ 521 } 522 523 /** 524 * @brief xcb_input_device_time_coord_t 525 **/ 526 struct xcb_input_device_time_coord_t { 527 xcb_timestamp_t time; /**< */ 528 } 529 530 /** 531 * @brief xcb_input_device_time_coord_iterator_t 532 **/ 533 struct xcb_input_device_time_coord_iterator_t { 534 xcb_input_device_time_coord_t* data; /**< */ 535 int rem; /**< */ 536 int index; /**< */ 537 } 538 539 /** 540 * @brief xcb_input_get_device_motion_events_cookie_t 541 **/ 542 struct xcb_input_get_device_motion_events_cookie_t { 543 uint sequence; /**< */ 544 } 545 546 /** Opcode for xcb_input_get_device_motion_events. */ 547 enum XCB_INPUT_GET_DEVICE_MOTION_EVENTS = 10; 548 549 /** 550 * @brief xcb_input_get_device_motion_events_request_t 551 **/ 552 struct xcb_input_get_device_motion_events_request_t { 553 ubyte major_opcode; /**< */ 554 ubyte minor_opcode; /**< */ 555 ushort length; /**< */ 556 xcb_timestamp_t start; /**< */ 557 xcb_timestamp_t stop; /**< */ 558 ubyte device_id; /**< */ 559 } 560 561 /** 562 * @brief xcb_input_get_device_motion_events_reply_t 563 **/ 564 struct xcb_input_get_device_motion_events_reply_t { 565 ubyte response_type; /**< */ 566 ubyte pad0; /**< */ 567 ushort sequence; /**< */ 568 uint length; /**< */ 569 uint num_events; /**< */ 570 ubyte num_axes; /**< */ 571 ubyte device_mode; /**< */ 572 ubyte[18] pad1; /**< */ 573 } 574 575 /** 576 * @brief xcb_input_change_keyboard_device_cookie_t 577 **/ 578 struct xcb_input_change_keyboard_device_cookie_t { 579 uint sequence; /**< */ 580 } 581 582 /** Opcode for xcb_input_change_keyboard_device. */ 583 enum XCB_INPUT_CHANGE_KEYBOARD_DEVICE = 11; 584 585 /** 586 * @brief xcb_input_change_keyboard_device_request_t 587 **/ 588 struct xcb_input_change_keyboard_device_request_t { 589 ubyte major_opcode; /**< */ 590 ubyte minor_opcode; /**< */ 591 ushort length; /**< */ 592 ubyte device_id; /**< */ 593 ubyte[3] pad0; /**< */ 594 } 595 596 /** 597 * @brief xcb_input_change_keyboard_device_reply_t 598 **/ 599 struct xcb_input_change_keyboard_device_reply_t { 600 ubyte response_type; /**< */ 601 ubyte pad0; /**< */ 602 ushort sequence; /**< */ 603 uint length; /**< */ 604 ubyte status; /**< */ 605 ubyte[23] pad1; /**< */ 606 } 607 608 /** 609 * @brief xcb_input_change_pointer_device_cookie_t 610 **/ 611 struct xcb_input_change_pointer_device_cookie_t { 612 uint sequence; /**< */ 613 } 614 615 /** Opcode for xcb_input_change_pointer_device. */ 616 enum XCB_INPUT_CHANGE_POINTER_DEVICE = 12; 617 618 /** 619 * @brief xcb_input_change_pointer_device_request_t 620 **/ 621 struct xcb_input_change_pointer_device_request_t { 622 ubyte major_opcode; /**< */ 623 ubyte minor_opcode; /**< */ 624 ushort length; /**< */ 625 ubyte x_axis; /**< */ 626 ubyte y_axis; /**< */ 627 ubyte device_id; /**< */ 628 ubyte pad0; /**< */ 629 } 630 631 /** 632 * @brief xcb_input_change_pointer_device_reply_t 633 **/ 634 struct xcb_input_change_pointer_device_reply_t { 635 ubyte response_type; /**< */ 636 ubyte pad0; /**< */ 637 ushort sequence; /**< */ 638 uint length; /**< */ 639 ubyte status; /**< */ 640 ubyte[23] pad1; /**< */ 641 } 642 643 /** 644 * @brief xcb_input_grab_device_cookie_t 645 **/ 646 struct xcb_input_grab_device_cookie_t { 647 uint sequence; /**< */ 648 } 649 650 /** Opcode for xcb_input_grab_device. */ 651 enum XCB_INPUT_GRAB_DEVICE = 13; 652 653 /** 654 * @brief xcb_input_grab_device_request_t 655 **/ 656 struct xcb_input_grab_device_request_t { 657 ubyte major_opcode; /**< */ 658 ubyte minor_opcode; /**< */ 659 ushort length; /**< */ 660 xcb_window_t grab_window; /**< */ 661 xcb_timestamp_t time; /**< */ 662 ushort num_classes; /**< */ 663 ubyte this_device_mode; /**< */ 664 ubyte other_device_mode; /**< */ 665 ubyte owner_events; /**< */ 666 ubyte device_id; /**< */ 667 ubyte[2] pad0; /**< */ 668 } 669 670 /** 671 * @brief xcb_input_grab_device_reply_t 672 **/ 673 struct xcb_input_grab_device_reply_t { 674 ubyte response_type; /**< */ 675 ubyte pad0; /**< */ 676 ushort sequence; /**< */ 677 uint length; /**< */ 678 ubyte status; /**< */ 679 ubyte[23] pad1; /**< */ 680 } 681 682 /** Opcode for xcb_input_ungrab_device. */ 683 enum XCB_INPUT_UNGRAB_DEVICE = 14; 684 685 /** 686 * @brief xcb_input_ungrab_device_request_t 687 **/ 688 struct xcb_input_ungrab_device_request_t { 689 ubyte major_opcode; /**< */ 690 ubyte minor_opcode; /**< */ 691 ushort length; /**< */ 692 xcb_timestamp_t time; /**< */ 693 ubyte device_id; /**< */ 694 } 695 696 /** Opcode for xcb_input_grab_device_key. */ 697 enum XCB_INPUT_GRAB_DEVICE_KEY = 15; 698 699 /** 700 * @brief xcb_input_grab_device_key_request_t 701 **/ 702 struct xcb_input_grab_device_key_request_t { 703 ubyte major_opcode; /**< */ 704 ubyte minor_opcode; /**< */ 705 ushort length; /**< */ 706 xcb_window_t grab_window; /**< */ 707 ushort num_classes; /**< */ 708 ushort modifiers; /**< */ 709 ubyte modifier_device; /**< */ 710 ubyte grabbed_device; /**< */ 711 ubyte key; /**< */ 712 ubyte this_device_mode; /**< */ 713 ubyte other_device_mode; /**< */ 714 ubyte owner_events; /**< */ 715 ubyte[2] pad0; /**< */ 716 } 717 718 /** Opcode for xcb_input_ungrab_device_key. */ 719 enum XCB_INPUT_UNGRAB_DEVICE_KEY = 16; 720 721 /** 722 * @brief xcb_input_ungrab_device_key_request_t 723 **/ 724 struct xcb_input_ungrab_device_key_request_t { 725 ubyte major_opcode; /**< */ 726 ubyte minor_opcode; /**< */ 727 ushort length; /**< */ 728 xcb_window_t grabWindow; /**< */ 729 ushort modifiers; /**< */ 730 ubyte modifier_device; /**< */ 731 ubyte key; /**< */ 732 ubyte grabbed_device; /**< */ 733 } 734 735 /** Opcode for xcb_input_grab_device_button. */ 736 enum XCB_INPUT_GRAB_DEVICE_BUTTON = 17; 737 738 /** 739 * @brief xcb_input_grab_device_button_request_t 740 **/ 741 struct xcb_input_grab_device_button_request_t { 742 ubyte major_opcode; /**< */ 743 ubyte minor_opcode; /**< */ 744 ushort length; /**< */ 745 xcb_window_t grab_window; /**< */ 746 ubyte grabbed_device; /**< */ 747 ubyte modifier_device; /**< */ 748 ushort num_classes; /**< */ 749 ushort modifiers; /**< */ 750 ubyte this_device_mode; /**< */ 751 ubyte other_device_mode; /**< */ 752 ubyte button; /**< */ 753 ubyte owner_events; /**< */ 754 ubyte[2] pad0; /**< */ 755 } 756 757 /** Opcode for xcb_input_ungrab_device_button. */ 758 enum XCB_INPUT_UNGRAB_DEVICE_BUTTON = 18; 759 760 /** 761 * @brief xcb_input_ungrab_device_button_request_t 762 **/ 763 struct xcb_input_ungrab_device_button_request_t { 764 ubyte major_opcode; /**< */ 765 ubyte minor_opcode; /**< */ 766 ushort length; /**< */ 767 xcb_window_t grab_window; /**< */ 768 ushort modifiers; /**< */ 769 ubyte modifier_device; /**< */ 770 ubyte button; /**< */ 771 ubyte grabbed_device; /**< */ 772 } 773 774 enum xcb_input_device_input_mode_t { 775 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE = 0, 776 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE = 1, 777 XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE = 2, 778 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES = 3, 779 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL = 4, 780 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL = 5 781 } 782 783 alias XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE = xcb_input_device_input_mode_t.XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE; 784 alias XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE = xcb_input_device_input_mode_t.XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE; 785 alias XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE = xcb_input_device_input_mode_t.XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE; 786 alias XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES = xcb_input_device_input_mode_t.XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES; 787 alias XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL = xcb_input_device_input_mode_t.XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL; 788 alias XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL = xcb_input_device_input_mode_t.XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL; 789 790 /** Opcode for xcb_input_allow_device_events. */ 791 enum XCB_INPUT_ALLOW_DEVICE_EVENTS = 19; 792 793 /** 794 * @brief xcb_input_allow_device_events_request_t 795 **/ 796 struct xcb_input_allow_device_events_request_t { 797 ubyte major_opcode; /**< */ 798 ubyte minor_opcode; /**< */ 799 ushort length; /**< */ 800 xcb_timestamp_t time; /**< */ 801 ubyte mode; /**< */ 802 ubyte device_id; /**< */ 803 } 804 805 /** 806 * @brief xcb_input_get_device_focus_cookie_t 807 **/ 808 struct xcb_input_get_device_focus_cookie_t { 809 uint sequence; /**< */ 810 } 811 812 /** Opcode for xcb_input_get_device_focus. */ 813 enum XCB_INPUT_GET_DEVICE_FOCUS = 20; 814 815 /** 816 * @brief xcb_input_get_device_focus_request_t 817 **/ 818 struct xcb_input_get_device_focus_request_t { 819 ubyte major_opcode; /**< */ 820 ubyte minor_opcode; /**< */ 821 ushort length; /**< */ 822 ubyte device_id; /**< */ 823 ubyte[3] pad0; /**< */ 824 } 825 826 /** 827 * @brief xcb_input_get_device_focus_reply_t 828 **/ 829 struct xcb_input_get_device_focus_reply_t { 830 ubyte response_type; /**< */ 831 ubyte pad0; /**< */ 832 ushort sequence; /**< */ 833 uint length; /**< */ 834 xcb_window_t focus; /**< */ 835 xcb_timestamp_t time; /**< */ 836 ubyte revert_to; /**< */ 837 ubyte[15] pad1; /**< */ 838 } 839 840 /** Opcode for xcb_input_set_device_focus. */ 841 enum XCB_INPUT_SET_DEVICE_FOCUS = 21; 842 843 /** 844 * @brief xcb_input_set_device_focus_request_t 845 **/ 846 struct xcb_input_set_device_focus_request_t { 847 ubyte major_opcode; /**< */ 848 ubyte minor_opcode; /**< */ 849 ushort length; /**< */ 850 xcb_window_t focus; /**< */ 851 xcb_timestamp_t time; /**< */ 852 ubyte revert_to; /**< */ 853 ubyte device_id; /**< */ 854 } 855 856 enum xcb_input_feedback_class_t { 857 XCB_INPUT_FEEDBACK_CLASS_KEYBOARD = 0, 858 XCB_INPUT_FEEDBACK_CLASS_POINTER = 1, 859 XCB_INPUT_FEEDBACK_CLASS_STRING = 2, 860 XCB_INPUT_FEEDBACK_CLASS_INTEGER = 3, 861 XCB_INPUT_FEEDBACK_CLASS_LED = 4, 862 XCB_INPUT_FEEDBACK_CLASS_BELL = 5 863 } 864 865 alias XCB_INPUT_FEEDBACK_CLASS_KEYBOARD = xcb_input_feedback_class_t.XCB_INPUT_FEEDBACK_CLASS_KEYBOARD; 866 alias XCB_INPUT_FEEDBACK_CLASS_POINTER = xcb_input_feedback_class_t.XCB_INPUT_FEEDBACK_CLASS_POINTER; 867 alias XCB_INPUT_FEEDBACK_CLASS_STRING = xcb_input_feedback_class_t.XCB_INPUT_FEEDBACK_CLASS_STRING; 868 alias XCB_INPUT_FEEDBACK_CLASS_INTEGER = xcb_input_feedback_class_t.XCB_INPUT_FEEDBACK_CLASS_INTEGER; 869 alias XCB_INPUT_FEEDBACK_CLASS_LED = xcb_input_feedback_class_t.XCB_INPUT_FEEDBACK_CLASS_LED; 870 alias XCB_INPUT_FEEDBACK_CLASS_BELL = xcb_input_feedback_class_t.XCB_INPUT_FEEDBACK_CLASS_BELL; 871 872 /** 873 * @brief xcb_input_kbd_feedback_state_t 874 **/ 875 struct xcb_input_kbd_feedback_state_t { 876 ubyte class_id; /**< */ 877 ubyte feedback_id; /**< */ 878 ushort len; /**< */ 879 ushort pitch; /**< */ 880 ushort duration; /**< */ 881 uint led_mask; /**< */ 882 uint led_values; /**< */ 883 ubyte global_auto_repeat; /**< */ 884 ubyte click; /**< */ 885 ubyte percent; /**< */ 886 ubyte pad0; /**< */ 887 ubyte[32] auto_repeats; /**< */ 888 } 889 890 /** 891 * @brief xcb_input_kbd_feedback_state_iterator_t 892 **/ 893 struct xcb_input_kbd_feedback_state_iterator_t { 894 xcb_input_kbd_feedback_state_t* data; /**< */ 895 int rem; /**< */ 896 int index; /**< */ 897 } 898 899 /** 900 * @brief xcb_input_ptr_feedback_state_t 901 **/ 902 struct xcb_input_ptr_feedback_state_t { 903 ubyte class_id; /**< */ 904 ubyte feedback_id; /**< */ 905 ushort len; /**< */ 906 ubyte[2] pad0; /**< */ 907 ushort accel_num; /**< */ 908 ushort accel_denom; /**< */ 909 ushort threshold; /**< */ 910 } 911 912 /** 913 * @brief xcb_input_ptr_feedback_state_iterator_t 914 **/ 915 struct xcb_input_ptr_feedback_state_iterator_t { 916 xcb_input_ptr_feedback_state_t* data; /**< */ 917 int rem; /**< */ 918 int index; /**< */ 919 } 920 921 /** 922 * @brief xcb_input_integer_feedback_state_t 923 **/ 924 struct xcb_input_integer_feedback_state_t { 925 ubyte class_id; /**< */ 926 ubyte feedback_id; /**< */ 927 ushort len; /**< */ 928 uint resolution; /**< */ 929 int min_value; /**< */ 930 int max_value; /**< */ 931 } 932 933 /** 934 * @brief xcb_input_integer_feedback_state_iterator_t 935 **/ 936 struct xcb_input_integer_feedback_state_iterator_t { 937 xcb_input_integer_feedback_state_t* data; /**< */ 938 int rem; /**< */ 939 int index; /**< */ 940 } 941 942 /** 943 * @brief xcb_input_string_feedback_state_t 944 **/ 945 struct xcb_input_string_feedback_state_t { 946 ubyte class_id; /**< */ 947 ubyte feedback_id; /**< */ 948 ushort len; /**< */ 949 ushort max_symbols; /**< */ 950 ushort num_keysyms; /**< */ 951 } 952 953 /** 954 * @brief xcb_input_string_feedback_state_iterator_t 955 **/ 956 struct xcb_input_string_feedback_state_iterator_t { 957 xcb_input_string_feedback_state_t* data; /**< */ 958 int rem; /**< */ 959 int index; /**< */ 960 } 961 962 /** 963 * @brief xcb_input_bell_feedback_state_t 964 **/ 965 struct xcb_input_bell_feedback_state_t { 966 ubyte class_id; /**< */ 967 ubyte feedback_id; /**< */ 968 ushort len; /**< */ 969 ubyte percent; /**< */ 970 ubyte[3] pad0; /**< */ 971 ushort pitch; /**< */ 972 ushort duration; /**< */ 973 } 974 975 /** 976 * @brief xcb_input_bell_feedback_state_iterator_t 977 **/ 978 struct xcb_input_bell_feedback_state_iterator_t { 979 xcb_input_bell_feedback_state_t* data; /**< */ 980 int rem; /**< */ 981 int index; /**< */ 982 } 983 984 /** 985 * @brief xcb_input_led_feedback_state_t 986 **/ 987 struct xcb_input_led_feedback_state_t { 988 ubyte class_id; /**< */ 989 ubyte feedback_id; /**< */ 990 ushort len; /**< */ 991 uint led_mask; /**< */ 992 uint led_values; /**< */ 993 } 994 995 /** 996 * @brief xcb_input_led_feedback_state_iterator_t 997 **/ 998 struct xcb_input_led_feedback_state_iterator_t { 999 xcb_input_led_feedback_state_t* data; /**< */ 1000 int rem; /**< */ 1001 int index; /**< */ 1002 } 1003 1004 /** 1005 * @brief xcb_input_feedback_state_t 1006 **/ 1007 struct xcb_input_feedback_state_t { 1008 ubyte class_id; /**< */ 1009 ubyte feedback_id; /**< */ 1010 ushort len; /**< */ 1011 } 1012 1013 /** 1014 * @brief xcb_input_feedback_state_iterator_t 1015 **/ 1016 struct xcb_input_feedback_state_iterator_t { 1017 xcb_input_feedback_state_t* data; /**< */ 1018 int rem; /**< */ 1019 int index; /**< */ 1020 } 1021 1022 /** 1023 * @brief xcb_input_get_feedback_control_cookie_t 1024 **/ 1025 struct xcb_input_get_feedback_control_cookie_t { 1026 uint sequence; /**< */ 1027 } 1028 1029 /** Opcode for xcb_input_get_feedback_control. */ 1030 enum XCB_INPUT_GET_FEEDBACK_CONTROL = 22; 1031 1032 /** 1033 * @brief xcb_input_get_feedback_control_request_t 1034 **/ 1035 struct xcb_input_get_feedback_control_request_t { 1036 ubyte major_opcode; /**< */ 1037 ubyte minor_opcode; /**< */ 1038 ushort length; /**< */ 1039 ubyte device_id; /**< */ 1040 ubyte[3] pad0; /**< */ 1041 } 1042 1043 /** 1044 * @brief xcb_input_get_feedback_control_reply_t 1045 **/ 1046 struct xcb_input_get_feedback_control_reply_t { 1047 ubyte response_type; /**< */ 1048 ubyte pad0; /**< */ 1049 ushort sequence; /**< */ 1050 uint length; /**< */ 1051 ushort num_feedbacks; /**< */ 1052 ubyte[22] pad1; /**< */ 1053 } 1054 1055 /** 1056 * @brief xcb_input_kbd_feedback_ctl_t 1057 **/ 1058 struct xcb_input_kbd_feedback_ctl_t { 1059 ubyte class_id; /**< */ 1060 ubyte feedback_id; /**< */ 1061 ushort len; /**< */ 1062 xcb_input_key_code_t key; /**< */ 1063 ubyte auto_repeat_mode; /**< */ 1064 byte key_click_percent; /**< */ 1065 byte bell_percent; /**< */ 1066 short bell_pitch; /**< */ 1067 short bell_duration; /**< */ 1068 uint led_mask; /**< */ 1069 uint led_values; /**< */ 1070 } 1071 1072 /** 1073 * @brief xcb_input_kbd_feedback_ctl_iterator_t 1074 **/ 1075 struct xcb_input_kbd_feedback_ctl_iterator_t { 1076 xcb_input_kbd_feedback_ctl_t* data; /**< */ 1077 int rem; /**< */ 1078 int index; /**< */ 1079 } 1080 1081 /** 1082 * @brief xcb_input_ptr_feedback_ctl_t 1083 **/ 1084 struct xcb_input_ptr_feedback_ctl_t { 1085 ubyte class_id; /**< */ 1086 ubyte feedback_id; /**< */ 1087 ushort len; /**< */ 1088 ubyte[2] pad0; /**< */ 1089 short num; /**< */ 1090 short denom; /**< */ 1091 short threshold; /**< */ 1092 } 1093 1094 /** 1095 * @brief xcb_input_ptr_feedback_ctl_iterator_t 1096 **/ 1097 struct xcb_input_ptr_feedback_ctl_iterator_t { 1098 xcb_input_ptr_feedback_ctl_t* data; /**< */ 1099 int rem; /**< */ 1100 int index; /**< */ 1101 } 1102 1103 /** 1104 * @brief xcb_input_integer_feedback_ctl_t 1105 **/ 1106 struct xcb_input_integer_feedback_ctl_t { 1107 ubyte class_id; /**< */ 1108 ubyte feedback_id; /**< */ 1109 ushort len; /**< */ 1110 int int_to_display; /**< */ 1111 } 1112 1113 /** 1114 * @brief xcb_input_integer_feedback_ctl_iterator_t 1115 **/ 1116 struct xcb_input_integer_feedback_ctl_iterator_t { 1117 xcb_input_integer_feedback_ctl_t* data; /**< */ 1118 int rem; /**< */ 1119 int index; /**< */ 1120 } 1121 1122 /** 1123 * @brief xcb_input_string_feedback_ctl_t 1124 **/ 1125 struct xcb_input_string_feedback_ctl_t { 1126 ubyte class_id; /**< */ 1127 ubyte feedback_id; /**< */ 1128 ushort len; /**< */ 1129 ubyte[2] pad0; /**< */ 1130 ushort num_keysyms; /**< */ 1131 } 1132 1133 /** 1134 * @brief xcb_input_string_feedback_ctl_iterator_t 1135 **/ 1136 struct xcb_input_string_feedback_ctl_iterator_t { 1137 xcb_input_string_feedback_ctl_t* data; /**< */ 1138 int rem; /**< */ 1139 int index; /**< */ 1140 } 1141 1142 /** 1143 * @brief xcb_input_bell_feedback_ctl_t 1144 **/ 1145 struct xcb_input_bell_feedback_ctl_t { 1146 ubyte class_id; /**< */ 1147 ubyte feedback_id; /**< */ 1148 ushort len; /**< */ 1149 byte percent; /**< */ 1150 ubyte[3] pad0; /**< */ 1151 short pitch; /**< */ 1152 short duration; /**< */ 1153 } 1154 1155 /** 1156 * @brief xcb_input_bell_feedback_ctl_iterator_t 1157 **/ 1158 struct xcb_input_bell_feedback_ctl_iterator_t { 1159 xcb_input_bell_feedback_ctl_t* data; /**< */ 1160 int rem; /**< */ 1161 int index; /**< */ 1162 } 1163 1164 /** 1165 * @brief xcb_input_led_feedback_ctl_t 1166 **/ 1167 struct xcb_input_led_feedback_ctl_t { 1168 ubyte class_id; /**< */ 1169 ubyte feedback_id; /**< */ 1170 ushort len; /**< */ 1171 uint led_mask; /**< */ 1172 uint led_values; /**< */ 1173 } 1174 1175 /** 1176 * @brief xcb_input_led_feedback_ctl_iterator_t 1177 **/ 1178 struct xcb_input_led_feedback_ctl_iterator_t { 1179 xcb_input_led_feedback_ctl_t* data; /**< */ 1180 int rem; /**< */ 1181 int index; /**< */ 1182 } 1183 1184 /** 1185 * @brief xcb_input_feedback_ctl_t 1186 **/ 1187 struct xcb_input_feedback_ctl_t { 1188 ubyte class_id; /**< */ 1189 ubyte feedback_id; /**< */ 1190 ushort len; /**< */ 1191 } 1192 1193 /** 1194 * @brief xcb_input_feedback_ctl_iterator_t 1195 **/ 1196 struct xcb_input_feedback_ctl_iterator_t { 1197 xcb_input_feedback_ctl_t* data; /**< */ 1198 int rem; /**< */ 1199 int index; /**< */ 1200 } 1201 1202 /** Opcode for xcb_input_change_feedback_control. */ 1203 enum XCB_INPUT_CHANGE_FEEDBACK_CONTROL = 23; 1204 1205 /** 1206 * @brief xcb_input_change_feedback_control_request_t 1207 **/ 1208 struct xcb_input_change_feedback_control_request_t { 1209 ubyte major_opcode; /**< */ 1210 ubyte minor_opcode; /**< */ 1211 ushort length; /**< */ 1212 uint mask; /**< */ 1213 ubyte device_id; /**< */ 1214 ubyte feedback_id; /**< */ 1215 } 1216 1217 /** 1218 * @brief xcb_input_get_device_key_mapping_cookie_t 1219 **/ 1220 struct xcb_input_get_device_key_mapping_cookie_t { 1221 uint sequence; /**< */ 1222 } 1223 1224 /** Opcode for xcb_input_get_device_key_mapping. */ 1225 enum XCB_INPUT_GET_DEVICE_KEY_MAPPING = 24; 1226 1227 /** 1228 * @brief xcb_input_get_device_key_mapping_request_t 1229 **/ 1230 struct xcb_input_get_device_key_mapping_request_t { 1231 ubyte major_opcode; /**< */ 1232 ubyte minor_opcode; /**< */ 1233 ushort length; /**< */ 1234 ubyte device_id; /**< */ 1235 xcb_input_key_code_t first_keycode; /**< */ 1236 ubyte count; /**< */ 1237 } 1238 1239 /** 1240 * @brief xcb_input_get_device_key_mapping_reply_t 1241 **/ 1242 struct xcb_input_get_device_key_mapping_reply_t { 1243 ubyte response_type; /**< */ 1244 ubyte pad0; /**< */ 1245 ushort sequence; /**< */ 1246 uint length; /**< */ 1247 ubyte keysyms_per_keycode; /**< */ 1248 ubyte[23] pad1; /**< */ 1249 } 1250 1251 /** Opcode for xcb_input_change_device_key_mapping. */ 1252 enum XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING = 25; 1253 1254 /** 1255 * @brief xcb_input_change_device_key_mapping_request_t 1256 **/ 1257 struct xcb_input_change_device_key_mapping_request_t { 1258 ubyte major_opcode; /**< */ 1259 ubyte minor_opcode; /**< */ 1260 ushort length; /**< */ 1261 ubyte device_id; /**< */ 1262 xcb_input_key_code_t first_keycode; /**< */ 1263 ubyte keysyms_per_keycode; /**< */ 1264 ubyte keycode_count; /**< */ 1265 } 1266 1267 /** 1268 * @brief xcb_input_get_device_modifier_mapping_cookie_t 1269 **/ 1270 struct xcb_input_get_device_modifier_mapping_cookie_t { 1271 uint sequence; /**< */ 1272 } 1273 1274 /** Opcode for xcb_input_get_device_modifier_mapping. */ 1275 enum XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING = 26; 1276 1277 /** 1278 * @brief xcb_input_get_device_modifier_mapping_request_t 1279 **/ 1280 struct xcb_input_get_device_modifier_mapping_request_t { 1281 ubyte major_opcode; /**< */ 1282 ubyte minor_opcode; /**< */ 1283 ushort length; /**< */ 1284 ubyte device_id; /**< */ 1285 ubyte[3] pad0; /**< */ 1286 } 1287 1288 /** 1289 * @brief xcb_input_get_device_modifier_mapping_reply_t 1290 **/ 1291 struct xcb_input_get_device_modifier_mapping_reply_t { 1292 ubyte response_type; /**< */ 1293 ubyte pad0; /**< */ 1294 ushort sequence; /**< */ 1295 uint length; /**< */ 1296 ubyte keycodes_per_modifier; /**< */ 1297 ubyte[23] pad1; /**< */ 1298 } 1299 1300 /** 1301 * @brief xcb_input_set_device_modifier_mapping_cookie_t 1302 **/ 1303 struct xcb_input_set_device_modifier_mapping_cookie_t { 1304 uint sequence; /**< */ 1305 } 1306 1307 /** Opcode for xcb_input_set_device_modifier_mapping. */ 1308 enum XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING = 27; 1309 1310 /** 1311 * @brief xcb_input_set_device_modifier_mapping_request_t 1312 **/ 1313 struct xcb_input_set_device_modifier_mapping_request_t { 1314 ubyte major_opcode; /**< */ 1315 ubyte minor_opcode; /**< */ 1316 ushort length; /**< */ 1317 ubyte device_id; /**< */ 1318 ubyte keycodes_per_modifier; /**< */ 1319 ubyte pad0; /**< */ 1320 } 1321 1322 /** 1323 * @brief xcb_input_set_device_modifier_mapping_reply_t 1324 **/ 1325 struct xcb_input_set_device_modifier_mapping_reply_t { 1326 ubyte response_type; /**< */ 1327 ubyte pad0; /**< */ 1328 ushort sequence; /**< */ 1329 uint length; /**< */ 1330 ubyte status; /**< */ 1331 ubyte[23] pad1; /**< */ 1332 } 1333 1334 /** 1335 * @brief xcb_input_get_device_button_mapping_cookie_t 1336 **/ 1337 struct xcb_input_get_device_button_mapping_cookie_t { 1338 uint sequence; /**< */ 1339 } 1340 1341 /** Opcode for xcb_input_get_device_button_mapping. */ 1342 enum XCB_INPUT_GET_DEVICE_BUTTON_MAPPING = 28; 1343 1344 /** 1345 * @brief xcb_input_get_device_button_mapping_request_t 1346 **/ 1347 struct xcb_input_get_device_button_mapping_request_t { 1348 ubyte major_opcode; /**< */ 1349 ubyte minor_opcode; /**< */ 1350 ushort length; /**< */ 1351 ubyte device_id; /**< */ 1352 ubyte[3] pad0; /**< */ 1353 } 1354 1355 /** 1356 * @brief xcb_input_get_device_button_mapping_reply_t 1357 **/ 1358 struct xcb_input_get_device_button_mapping_reply_t { 1359 ubyte response_type; /**< */ 1360 ubyte pad0; /**< */ 1361 ushort sequence; /**< */ 1362 uint length; /**< */ 1363 ubyte map_size; /**< */ 1364 ubyte[23] pad1; /**< */ 1365 } 1366 1367 /** 1368 * @brief xcb_input_set_device_button_mapping_cookie_t 1369 **/ 1370 struct xcb_input_set_device_button_mapping_cookie_t { 1371 uint sequence; /**< */ 1372 } 1373 1374 /** Opcode for xcb_input_set_device_button_mapping. */ 1375 enum XCB_INPUT_SET_DEVICE_BUTTON_MAPPING = 29; 1376 1377 /** 1378 * @brief xcb_input_set_device_button_mapping_request_t 1379 **/ 1380 struct xcb_input_set_device_button_mapping_request_t { 1381 ubyte major_opcode; /**< */ 1382 ubyte minor_opcode; /**< */ 1383 ushort length; /**< */ 1384 ubyte device_id; /**< */ 1385 ubyte map_size; /**< */ 1386 ubyte[2] pad0; /**< */ 1387 } 1388 1389 /** 1390 * @brief xcb_input_set_device_button_mapping_reply_t 1391 **/ 1392 struct xcb_input_set_device_button_mapping_reply_t { 1393 ubyte response_type; /**< */ 1394 ubyte pad0; /**< */ 1395 ushort sequence; /**< */ 1396 uint length; /**< */ 1397 ubyte status; /**< */ 1398 ubyte[23] pad1; /**< */ 1399 } 1400 1401 /** 1402 * @brief xcb_input_key_state_t 1403 **/ 1404 struct xcb_input_key_state_t { 1405 ubyte class_id; /**< */ 1406 ubyte len; /**< */ 1407 ubyte num_keys; /**< */ 1408 ubyte pad0; /**< */ 1409 ubyte[32] keys; /**< */ 1410 } 1411 1412 /** 1413 * @brief xcb_input_key_state_iterator_t 1414 **/ 1415 struct xcb_input_key_state_iterator_t { 1416 xcb_input_key_state_t* data; /**< */ 1417 int rem; /**< */ 1418 int index; /**< */ 1419 } 1420 1421 /** 1422 * @brief xcb_input_button_state_t 1423 **/ 1424 struct xcb_input_button_state_t { 1425 ubyte class_id; /**< */ 1426 ubyte len; /**< */ 1427 ubyte num_buttons; /**< */ 1428 ubyte pad0; /**< */ 1429 ubyte[32] buttons; /**< */ 1430 } 1431 1432 /** 1433 * @brief xcb_input_button_state_iterator_t 1434 **/ 1435 struct xcb_input_button_state_iterator_t { 1436 xcb_input_button_state_t* data; /**< */ 1437 int rem; /**< */ 1438 int index; /**< */ 1439 } 1440 1441 /** 1442 * @brief xcb_input_valuator_state_t 1443 **/ 1444 struct xcb_input_valuator_state_t { 1445 ubyte class_id; /**< */ 1446 ubyte len; /**< */ 1447 ubyte num_valuators; /**< */ 1448 ubyte mode; /**< */ 1449 } 1450 1451 /** 1452 * @brief xcb_input_valuator_state_iterator_t 1453 **/ 1454 struct xcb_input_valuator_state_iterator_t { 1455 xcb_input_valuator_state_t* data; /**< */ 1456 int rem; /**< */ 1457 int index; /**< */ 1458 } 1459 1460 /** 1461 * @brief xcb_input_input_state_t 1462 **/ 1463 struct xcb_input_input_state_t { 1464 ubyte class_id; /**< */ 1465 ubyte len; /**< */ 1466 ubyte num_items; /**< */ 1467 ubyte pad0; /**< */ 1468 } 1469 1470 /** 1471 * @brief xcb_input_input_state_iterator_t 1472 **/ 1473 struct xcb_input_input_state_iterator_t { 1474 xcb_input_input_state_t* data; /**< */ 1475 int rem; /**< */ 1476 int index; /**< */ 1477 } 1478 1479 /** 1480 * @brief xcb_input_query_device_state_cookie_t 1481 **/ 1482 struct xcb_input_query_device_state_cookie_t { 1483 uint sequence; /**< */ 1484 } 1485 1486 /** Opcode for xcb_input_query_device_state. */ 1487 enum XCB_INPUT_QUERY_DEVICE_STATE = 30; 1488 1489 /** 1490 * @brief xcb_input_query_device_state_request_t 1491 **/ 1492 struct xcb_input_query_device_state_request_t { 1493 ubyte major_opcode; /**< */ 1494 ubyte minor_opcode; /**< */ 1495 ushort length; /**< */ 1496 ubyte device_id; /**< */ 1497 ubyte[3] pad0; /**< */ 1498 } 1499 1500 /** 1501 * @brief xcb_input_query_device_state_reply_t 1502 **/ 1503 struct xcb_input_query_device_state_reply_t { 1504 ubyte response_type; /**< */ 1505 ubyte pad0; /**< */ 1506 ushort sequence; /**< */ 1507 uint length; /**< */ 1508 ubyte num_classes; /**< */ 1509 ubyte[23] pad1; /**< */ 1510 } 1511 1512 /** Opcode for xcb_input_send_extension_event. */ 1513 enum XCB_INPUT_SEND_EXTENSION_EVENT = 31; 1514 1515 /** 1516 * @brief xcb_input_send_extension_event_request_t 1517 **/ 1518 struct xcb_input_send_extension_event_request_t { 1519 ubyte major_opcode; /**< */ 1520 ubyte minor_opcode; /**< */ 1521 ushort length; /**< */ 1522 xcb_window_t destination; /**< */ 1523 ubyte device_id; /**< */ 1524 ubyte propagate; /**< */ 1525 ushort num_classes; /**< */ 1526 ubyte num_events; /**< */ 1527 ubyte[3] pad0; /**< */ 1528 } 1529 1530 /** Opcode for xcb_input_device_bell. */ 1531 enum XCB_INPUT_DEVICE_BELL = 32; 1532 1533 /** 1534 * @brief xcb_input_device_bell_request_t 1535 **/ 1536 struct xcb_input_device_bell_request_t { 1537 ubyte major_opcode; /**< */ 1538 ubyte minor_opcode; /**< */ 1539 ushort length; /**< */ 1540 ubyte device_id; /**< */ 1541 ubyte feedback_id; /**< */ 1542 ubyte feedback_class; /**< */ 1543 byte percent; /**< */ 1544 } 1545 1546 /** 1547 * @brief xcb_input_set_device_valuators_cookie_t 1548 **/ 1549 struct xcb_input_set_device_valuators_cookie_t { 1550 uint sequence; /**< */ 1551 } 1552 1553 /** Opcode for xcb_input_set_device_valuators. */ 1554 enum XCB_INPUT_SET_DEVICE_VALUATORS = 33; 1555 1556 /** 1557 * @brief xcb_input_set_device_valuators_request_t 1558 **/ 1559 struct xcb_input_set_device_valuators_request_t { 1560 ubyte major_opcode; /**< */ 1561 ubyte minor_opcode; /**< */ 1562 ushort length; /**< */ 1563 ubyte device_id; /**< */ 1564 ubyte first_valuator; /**< */ 1565 ubyte num_valuators; /**< */ 1566 ubyte pad0; /**< */ 1567 } 1568 1569 /** 1570 * @brief xcb_input_set_device_valuators_reply_t 1571 **/ 1572 struct xcb_input_set_device_valuators_reply_t { 1573 ubyte response_type; /**< */ 1574 ubyte pad0; /**< */ 1575 ushort sequence; /**< */ 1576 uint length; /**< */ 1577 ubyte status; /**< */ 1578 ubyte[23] pad1; /**< */ 1579 } 1580 1581 enum xcb_input_device_control_t { 1582 XCB_INPUT_DEVICE_CONTROL_RESOLUTION = 1, 1583 XCB_INPUT_DEVICE_CONTROL_ABS_CALIB = 2, 1584 XCB_INPUT_DEVICE_CONTROL_CORE = 3, 1585 XCB_INPUT_DEVICE_CONTROL_ENABLE = 4, 1586 XCB_INPUT_DEVICE_CONTROL_ABS_AREA = 5 1587 } 1588 1589 alias XCB_INPUT_DEVICE_CONTROL_RESOLUTION = xcb_input_device_control_t.XCB_INPUT_DEVICE_CONTROL_RESOLUTION; 1590 alias XCB_INPUT_DEVICE_CONTROL_ABS_CALIB = xcb_input_device_control_t.XCB_INPUT_DEVICE_CONTROL_ABS_CALIB; 1591 alias XCB_INPUT_DEVICE_CONTROL_CORE = xcb_input_device_control_t.XCB_INPUT_DEVICE_CONTROL_CORE; 1592 alias XCB_INPUT_DEVICE_CONTROL_ENABLE = xcb_input_device_control_t.XCB_INPUT_DEVICE_CONTROL_ENABLE; 1593 alias XCB_INPUT_DEVICE_CONTROL_ABS_AREA = xcb_input_device_control_t.XCB_INPUT_DEVICE_CONTROL_ABS_AREA; 1594 1595 /** 1596 * @brief xcb_input_device_resolution_state_t 1597 **/ 1598 struct xcb_input_device_resolution_state_t { 1599 ushort control_id; /**< */ 1600 ushort len; /**< */ 1601 uint num_valuators; /**< */ 1602 } 1603 1604 /** 1605 * @brief xcb_input_device_resolution_state_iterator_t 1606 **/ 1607 struct xcb_input_device_resolution_state_iterator_t { 1608 xcb_input_device_resolution_state_t* data; /**< */ 1609 int rem; /**< */ 1610 int index; /**< */ 1611 } 1612 1613 /** 1614 * @brief xcb_input_device_abs_calib_state_t 1615 **/ 1616 struct xcb_input_device_abs_calib_state_t { 1617 ushort control_id; /**< */ 1618 ushort len; /**< */ 1619 int min_x; /**< */ 1620 int max_x; /**< */ 1621 int min_y; /**< */ 1622 int max_y; /**< */ 1623 uint flip_x; /**< */ 1624 uint flip_y; /**< */ 1625 uint rotation; /**< */ 1626 uint button_threshold; /**< */ 1627 } 1628 1629 /** 1630 * @brief xcb_input_device_abs_calib_state_iterator_t 1631 **/ 1632 struct xcb_input_device_abs_calib_state_iterator_t { 1633 xcb_input_device_abs_calib_state_t* data; /**< */ 1634 int rem; /**< */ 1635 int index; /**< */ 1636 } 1637 1638 /** 1639 * @brief xcb_input_device_abs_area_state_t 1640 **/ 1641 struct xcb_input_device_abs_area_state_t { 1642 ushort control_id; /**< */ 1643 ushort len; /**< */ 1644 uint offset_x; /**< */ 1645 uint offset_y; /**< */ 1646 uint width; /**< */ 1647 uint height; /**< */ 1648 uint screen; /**< */ 1649 uint following; /**< */ 1650 } 1651 1652 /** 1653 * @brief xcb_input_device_abs_area_state_iterator_t 1654 **/ 1655 struct xcb_input_device_abs_area_state_iterator_t { 1656 xcb_input_device_abs_area_state_t* data; /**< */ 1657 int rem; /**< */ 1658 int index; /**< */ 1659 } 1660 1661 /** 1662 * @brief xcb_input_device_core_state_t 1663 **/ 1664 struct xcb_input_device_core_state_t { 1665 ushort control_id; /**< */ 1666 ushort len; /**< */ 1667 ubyte status; /**< */ 1668 ubyte iscore; /**< */ 1669 ubyte[2] pad0; /**< */ 1670 } 1671 1672 /** 1673 * @brief xcb_input_device_core_state_iterator_t 1674 **/ 1675 struct xcb_input_device_core_state_iterator_t { 1676 xcb_input_device_core_state_t* data; /**< */ 1677 int rem; /**< */ 1678 int index; /**< */ 1679 } 1680 1681 /** 1682 * @brief xcb_input_device_enable_state_t 1683 **/ 1684 struct xcb_input_device_enable_state_t { 1685 ushort control_id; /**< */ 1686 ushort len; /**< */ 1687 ubyte enable; /**< */ 1688 ubyte[3] pad0; /**< */ 1689 } 1690 1691 /** 1692 * @brief xcb_input_device_enable_state_iterator_t 1693 **/ 1694 struct xcb_input_device_enable_state_iterator_t { 1695 xcb_input_device_enable_state_t* data; /**< */ 1696 int rem; /**< */ 1697 int index; /**< */ 1698 } 1699 1700 /** 1701 * @brief xcb_input_device_state_t 1702 **/ 1703 struct xcb_input_device_state_t { 1704 ushort control_id; /**< */ 1705 ushort len; /**< */ 1706 } 1707 1708 /** 1709 * @brief xcb_input_device_state_iterator_t 1710 **/ 1711 struct xcb_input_device_state_iterator_t { 1712 xcb_input_device_state_t* data; /**< */ 1713 int rem; /**< */ 1714 int index; /**< */ 1715 } 1716 1717 /** 1718 * @brief xcb_input_get_device_control_cookie_t 1719 **/ 1720 struct xcb_input_get_device_control_cookie_t { 1721 uint sequence; /**< */ 1722 } 1723 1724 /** Opcode for xcb_input_get_device_control. */ 1725 enum XCB_INPUT_GET_DEVICE_CONTROL = 34; 1726 1727 /** 1728 * @brief xcb_input_get_device_control_request_t 1729 **/ 1730 struct xcb_input_get_device_control_request_t { 1731 ubyte major_opcode; /**< */ 1732 ubyte minor_opcode; /**< */ 1733 ushort length; /**< */ 1734 ushort control_id; /**< */ 1735 ubyte device_id; /**< */ 1736 ubyte pad0; /**< */ 1737 } 1738 1739 /** 1740 * @brief xcb_input_get_device_control_reply_t 1741 **/ 1742 struct xcb_input_get_device_control_reply_t { 1743 ubyte response_type; /**< */ 1744 ubyte pad0; /**< */ 1745 ushort sequence; /**< */ 1746 uint length; /**< */ 1747 ubyte status; /**< */ 1748 ubyte[23] pad1; /**< */ 1749 } 1750 1751 /** 1752 * @brief xcb_input_device_resolution_ctl_t 1753 **/ 1754 struct xcb_input_device_resolution_ctl_t { 1755 ushort control_id; /**< */ 1756 ushort len; /**< */ 1757 ubyte first_valuator; /**< */ 1758 ubyte num_valuators; /**< */ 1759 ubyte[2] pad0; /**< */ 1760 } 1761 1762 /** 1763 * @brief xcb_input_device_resolution_ctl_iterator_t 1764 **/ 1765 struct xcb_input_device_resolution_ctl_iterator_t { 1766 xcb_input_device_resolution_ctl_t* data; /**< */ 1767 int rem; /**< */ 1768 int index; /**< */ 1769 } 1770 1771 /** 1772 * @brief xcb_input_device_abs_calib_ctl_t 1773 **/ 1774 struct xcb_input_device_abs_calib_ctl_t { 1775 ushort control_id; /**< */ 1776 ushort len; /**< */ 1777 int min_x; /**< */ 1778 int max_x; /**< */ 1779 int min_y; /**< */ 1780 int max_y; /**< */ 1781 uint flip_x; /**< */ 1782 uint flip_y; /**< */ 1783 uint rotation; /**< */ 1784 uint button_threshold; /**< */ 1785 } 1786 1787 /** 1788 * @brief xcb_input_device_abs_calib_ctl_iterator_t 1789 **/ 1790 struct xcb_input_device_abs_calib_ctl_iterator_t { 1791 xcb_input_device_abs_calib_ctl_t* data; /**< */ 1792 int rem; /**< */ 1793 int index; /**< */ 1794 } 1795 1796 /** 1797 * @brief xcb_input_device_abs_area_ctrl_t 1798 **/ 1799 struct xcb_input_device_abs_area_ctrl_t { 1800 ushort control_id; /**< */ 1801 ushort len; /**< */ 1802 uint offset_x; /**< */ 1803 uint offset_y; /**< */ 1804 int width; /**< */ 1805 int height; /**< */ 1806 int screen; /**< */ 1807 uint following; /**< */ 1808 } 1809 1810 /** 1811 * @brief xcb_input_device_abs_area_ctrl_iterator_t 1812 **/ 1813 struct xcb_input_device_abs_area_ctrl_iterator_t { 1814 xcb_input_device_abs_area_ctrl_t* data; /**< */ 1815 int rem; /**< */ 1816 int index; /**< */ 1817 } 1818 1819 /** 1820 * @brief xcb_input_device_core_ctrl_t 1821 **/ 1822 struct xcb_input_device_core_ctrl_t { 1823 ushort control_id; /**< */ 1824 ushort len; /**< */ 1825 ubyte status; /**< */ 1826 ubyte[3] pad0; /**< */ 1827 } 1828 1829 /** 1830 * @brief xcb_input_device_core_ctrl_iterator_t 1831 **/ 1832 struct xcb_input_device_core_ctrl_iterator_t { 1833 xcb_input_device_core_ctrl_t* data; /**< */ 1834 int rem; /**< */ 1835 int index; /**< */ 1836 } 1837 1838 /** 1839 * @brief xcb_input_device_enable_ctrl_t 1840 **/ 1841 struct xcb_input_device_enable_ctrl_t { 1842 ushort control_id; /**< */ 1843 ushort len; /**< */ 1844 ubyte enable; /**< */ 1845 ubyte[3] pad0; /**< */ 1846 } 1847 1848 /** 1849 * @brief xcb_input_device_enable_ctrl_iterator_t 1850 **/ 1851 struct xcb_input_device_enable_ctrl_iterator_t { 1852 xcb_input_device_enable_ctrl_t* data; /**< */ 1853 int rem; /**< */ 1854 int index; /**< */ 1855 } 1856 1857 /** 1858 * @brief xcb_input_device_ctl_t 1859 **/ 1860 struct xcb_input_device_ctl_t { 1861 ushort control_id; /**< */ 1862 ushort len; /**< */ 1863 } 1864 1865 /** 1866 * @brief xcb_input_device_ctl_iterator_t 1867 **/ 1868 struct xcb_input_device_ctl_iterator_t { 1869 xcb_input_device_ctl_t* data; /**< */ 1870 int rem; /**< */ 1871 int index; /**< */ 1872 } 1873 1874 /** 1875 * @brief xcb_input_change_device_control_cookie_t 1876 **/ 1877 struct xcb_input_change_device_control_cookie_t { 1878 uint sequence; /**< */ 1879 } 1880 1881 /** Opcode for xcb_input_change_device_control. */ 1882 enum XCB_INPUT_CHANGE_DEVICE_CONTROL = 35; 1883 1884 /** 1885 * @brief xcb_input_change_device_control_request_t 1886 **/ 1887 struct xcb_input_change_device_control_request_t { 1888 ubyte major_opcode; /**< */ 1889 ubyte minor_opcode; /**< */ 1890 ushort length; /**< */ 1891 ushort control_id; /**< */ 1892 ubyte device_id; /**< */ 1893 ubyte pad0; /**< */ 1894 } 1895 1896 /** 1897 * @brief xcb_input_change_device_control_reply_t 1898 **/ 1899 struct xcb_input_change_device_control_reply_t { 1900 ubyte response_type; /**< */ 1901 ubyte pad0; /**< */ 1902 ushort sequence; /**< */ 1903 uint length; /**< */ 1904 ubyte status; /**< */ 1905 ubyte[23] pad1; /**< */ 1906 } 1907 1908 /** 1909 * @brief xcb_input_list_device_properties_cookie_t 1910 **/ 1911 struct xcb_input_list_device_properties_cookie_t { 1912 uint sequence; /**< */ 1913 } 1914 1915 /** Opcode for xcb_input_list_device_properties. */ 1916 enum XCB_INPUT_LIST_DEVICE_PROPERTIES = 36; 1917 1918 /** 1919 * @brief xcb_input_list_device_properties_request_t 1920 **/ 1921 struct xcb_input_list_device_properties_request_t { 1922 ubyte major_opcode; /**< */ 1923 ubyte minor_opcode; /**< */ 1924 ushort length; /**< */ 1925 ubyte device_id; /**< */ 1926 ubyte[3] pad0; /**< */ 1927 } 1928 1929 /** 1930 * @brief xcb_input_list_device_properties_reply_t 1931 **/ 1932 struct xcb_input_list_device_properties_reply_t { 1933 ubyte response_type; /**< */ 1934 ubyte pad0; /**< */ 1935 ushort sequence; /**< */ 1936 uint length; /**< */ 1937 ushort num_atoms; /**< */ 1938 ubyte[22] pad1; /**< */ 1939 } 1940 1941 enum xcb_input_property_format_t { 1942 XCB_INPUT_PROPERTY_FORMAT_8_BITS = 8, 1943 XCB_INPUT_PROPERTY_FORMAT_16_BITS = 16, 1944 XCB_INPUT_PROPERTY_FORMAT_32_BITS = 32 1945 } 1946 1947 alias XCB_INPUT_PROPERTY_FORMAT_8_BITS = xcb_input_property_format_t.XCB_INPUT_PROPERTY_FORMAT_8_BITS; 1948 alias XCB_INPUT_PROPERTY_FORMAT_16_BITS = xcb_input_property_format_t.XCB_INPUT_PROPERTY_FORMAT_16_BITS; 1949 alias XCB_INPUT_PROPERTY_FORMAT_32_BITS = xcb_input_property_format_t.XCB_INPUT_PROPERTY_FORMAT_32_BITS; 1950 1951 /** 1952 * @brief xcb_input_change_device_property_items_t 1953 **/ 1954 struct xcb_input_change_device_property_items_t { 1955 ubyte* data8; /**< */ 1956 ushort* data16; /**< */ 1957 uint* data32; /**< */ 1958 } 1959 1960 /** Opcode for xcb_input_change_device_property. */ 1961 enum XCB_INPUT_CHANGE_DEVICE_PROPERTY = 37; 1962 1963 /** 1964 * @brief xcb_input_change_device_property_request_t 1965 **/ 1966 struct xcb_input_change_device_property_request_t { 1967 ubyte major_opcode; /**< */ 1968 ubyte minor_opcode; /**< */ 1969 ushort length; /**< */ 1970 xcb_atom_t property; /**< */ 1971 xcb_atom_t type; /**< */ 1972 ubyte device_id; /**< */ 1973 ubyte format; /**< */ 1974 ubyte mode; /**< */ 1975 ubyte pad0; /**< */ 1976 uint num_items; /**< */ 1977 } 1978 1979 /** Opcode for xcb_input_delete_device_property. */ 1980 enum XCB_INPUT_DELETE_DEVICE_PROPERTY = 38; 1981 1982 /** 1983 * @brief xcb_input_delete_device_property_request_t 1984 **/ 1985 struct xcb_input_delete_device_property_request_t { 1986 ubyte major_opcode; /**< */ 1987 ubyte minor_opcode; /**< */ 1988 ushort length; /**< */ 1989 xcb_atom_t property; /**< */ 1990 ubyte device_id; /**< */ 1991 ubyte[3] pad0; /**< */ 1992 } 1993 1994 /** 1995 * @brief xcb_input_get_device_property_cookie_t 1996 **/ 1997 struct xcb_input_get_device_property_cookie_t { 1998 uint sequence; /**< */ 1999 } 2000 2001 /** Opcode for xcb_input_get_device_property. */ 2002 enum XCB_INPUT_GET_DEVICE_PROPERTY = 39; 2003 2004 /** 2005 * @brief xcb_input_get_device_property_request_t 2006 **/ 2007 struct xcb_input_get_device_property_request_t { 2008 ubyte major_opcode; /**< */ 2009 ubyte minor_opcode; /**< */ 2010 ushort length; /**< */ 2011 xcb_atom_t property; /**< */ 2012 xcb_atom_t type; /**< */ 2013 uint offset; /**< */ 2014 uint len; /**< */ 2015 ubyte device_id; /**< */ 2016 ubyte delete_; /**< */ 2017 ubyte[2] pad0; /**< */ 2018 } 2019 2020 /** 2021 * @brief xcb_input_get_device_property_items_t 2022 **/ 2023 struct xcb_input_get_device_property_items_t { 2024 ubyte* data8; /**< */ 2025 ushort* data16; /**< */ 2026 uint* data32; /**< */ 2027 } 2028 2029 /** 2030 * @brief xcb_input_get_device_property_reply_t 2031 **/ 2032 struct xcb_input_get_device_property_reply_t { 2033 ubyte response_type; /**< */ 2034 ubyte pad0; /**< */ 2035 ushort sequence; /**< */ 2036 uint length; /**< */ 2037 xcb_atom_t type; /**< */ 2038 uint bytes_after; /**< */ 2039 uint num_items; /**< */ 2040 ubyte format; /**< */ 2041 ubyte device_id; /**< */ 2042 ubyte[10] pad1; /**< */ 2043 } 2044 2045 enum xcb_input_device_t { 2046 XCB_INPUT_DEVICE_ALL = 0, 2047 XCB_INPUT_DEVICE_ALL_MASTER = 1 2048 } 2049 2050 alias XCB_INPUT_DEVICE_ALL = xcb_input_device_t.XCB_INPUT_DEVICE_ALL; 2051 alias XCB_INPUT_DEVICE_ALL_MASTER = xcb_input_device_t.XCB_INPUT_DEVICE_ALL_MASTER; 2052 2053 /** 2054 * @brief xcb_input_group_info_t 2055 **/ 2056 struct xcb_input_group_info_t { 2057 ubyte base; /**< */ 2058 ubyte latched; /**< */ 2059 ubyte locked; /**< */ 2060 ubyte effective; /**< */ 2061 } 2062 2063 /** 2064 * @brief xcb_input_group_info_iterator_t 2065 **/ 2066 struct xcb_input_group_info_iterator_t { 2067 xcb_input_group_info_t* data; /**< */ 2068 int rem; /**< */ 2069 int index; /**< */ 2070 } 2071 2072 /** 2073 * @brief xcb_input_modifier_info_t 2074 **/ 2075 struct xcb_input_modifier_info_t { 2076 uint base; /**< */ 2077 uint latched; /**< */ 2078 uint locked; /**< */ 2079 uint effective; /**< */ 2080 } 2081 2082 /** 2083 * @brief xcb_input_modifier_info_iterator_t 2084 **/ 2085 struct xcb_input_modifier_info_iterator_t { 2086 xcb_input_modifier_info_t* data; /**< */ 2087 int rem; /**< */ 2088 int index; /**< */ 2089 } 2090 2091 /** 2092 * @brief xcb_input_xi_query_pointer_cookie_t 2093 **/ 2094 struct xcb_input_xi_query_pointer_cookie_t { 2095 uint sequence; /**< */ 2096 } 2097 2098 /** Opcode for xcb_input_xi_query_pointer. */ 2099 enum XCB_INPUT_XI_QUERY_POINTER = 40; 2100 2101 /** 2102 * @brief xcb_input_xi_query_pointer_request_t 2103 **/ 2104 struct xcb_input_xi_query_pointer_request_t { 2105 ubyte major_opcode; /**< */ 2106 ubyte minor_opcode; /**< */ 2107 ushort length; /**< */ 2108 xcb_window_t window; /**< */ 2109 xcb_input_device_id_t deviceid; /**< */ 2110 ubyte[2] pad0; /**< */ 2111 } 2112 2113 /** 2114 * @brief xcb_input_xi_query_pointer_reply_t 2115 **/ 2116 struct xcb_input_xi_query_pointer_reply_t { 2117 ubyte response_type; /**< */ 2118 ubyte pad0; /**< */ 2119 ushort sequence; /**< */ 2120 uint length; /**< */ 2121 xcb_window_t root; /**< */ 2122 xcb_window_t child; /**< */ 2123 xcb_input_fp1616_t root_x; /**< */ 2124 xcb_input_fp1616_t root_y; /**< */ 2125 xcb_input_fp1616_t win_x; /**< */ 2126 xcb_input_fp1616_t win_y; /**< */ 2127 ubyte same_screen; /**< */ 2128 ubyte pad1; /**< */ 2129 ushort buttons_len; /**< */ 2130 xcb_input_modifier_info_t mods; /**< */ 2131 xcb_input_group_info_t group; /**< */ 2132 } 2133 2134 /** Opcode for xcb_input_xi_warp_pointer. */ 2135 enum XCB_INPUT_XI_WARP_POINTER = 41; 2136 2137 /** 2138 * @brief xcb_input_xi_warp_pointer_request_t 2139 **/ 2140 struct xcb_input_xi_warp_pointer_request_t { 2141 ubyte major_opcode; /**< */ 2142 ubyte minor_opcode; /**< */ 2143 ushort length; /**< */ 2144 xcb_window_t src_win; /**< */ 2145 xcb_window_t dst_win; /**< */ 2146 xcb_input_fp1616_t src_x; /**< */ 2147 xcb_input_fp1616_t src_y; /**< */ 2148 ushort src_width; /**< */ 2149 ushort src_height; /**< */ 2150 xcb_input_fp1616_t dst_x; /**< */ 2151 xcb_input_fp1616_t dst_y; /**< */ 2152 xcb_input_device_id_t deviceid; /**< */ 2153 ubyte[2] pad0; /**< */ 2154 } 2155 2156 /** Opcode for xcb_input_xi_change_cursor. */ 2157 enum XCB_INPUT_XI_CHANGE_CURSOR = 42; 2158 2159 /** 2160 * @brief xcb_input_xi_change_cursor_request_t 2161 **/ 2162 struct xcb_input_xi_change_cursor_request_t { 2163 ubyte major_opcode; /**< */ 2164 ubyte minor_opcode; /**< */ 2165 ushort length; /**< */ 2166 xcb_window_t window; /**< */ 2167 xcb_cursor_t cursor; /**< */ 2168 xcb_input_device_id_t deviceid; /**< */ 2169 ubyte[2] pad0; /**< */ 2170 } 2171 2172 enum xcb_input_hierarchy_change_type_t { 2173 XCB_INPUT_HIERARCHY_CHANGE_TYPE_ADD_MASTER = 1, 2174 XCB_INPUT_HIERARCHY_CHANGE_TYPE_REMOVE_MASTER = 2, 2175 XCB_INPUT_HIERARCHY_CHANGE_TYPE_ATTACH_SLAVE = 3, 2176 XCB_INPUT_HIERARCHY_CHANGE_TYPE_DETACH_SLAVE = 4 2177 } 2178 2179 alias XCB_INPUT_HIERARCHY_CHANGE_TYPE_ADD_MASTER = xcb_input_hierarchy_change_type_t.XCB_INPUT_HIERARCHY_CHANGE_TYPE_ADD_MASTER; 2180 alias XCB_INPUT_HIERARCHY_CHANGE_TYPE_REMOVE_MASTER = xcb_input_hierarchy_change_type_t.XCB_INPUT_HIERARCHY_CHANGE_TYPE_REMOVE_MASTER; 2181 alias XCB_INPUT_HIERARCHY_CHANGE_TYPE_ATTACH_SLAVE = xcb_input_hierarchy_change_type_t.XCB_INPUT_HIERARCHY_CHANGE_TYPE_ATTACH_SLAVE; 2182 alias XCB_INPUT_HIERARCHY_CHANGE_TYPE_DETACH_SLAVE = xcb_input_hierarchy_change_type_t.XCB_INPUT_HIERARCHY_CHANGE_TYPE_DETACH_SLAVE; 2183 2184 enum xcb_input_change_mode_t { 2185 XCB_INPUT_CHANGE_MODE_ATTACH = 1, 2186 XCB_INPUT_CHANGE_MODE_FLOAT = 2 2187 } 2188 2189 alias XCB_INPUT_CHANGE_MODE_ATTACH = xcb_input_change_mode_t.XCB_INPUT_CHANGE_MODE_ATTACH; 2190 alias XCB_INPUT_CHANGE_MODE_FLOAT = xcb_input_change_mode_t.XCB_INPUT_CHANGE_MODE_FLOAT; 2191 2192 /** 2193 * @brief xcb_input_add_master_t 2194 **/ 2195 struct xcb_input_add_master_t { 2196 ushort type; /**< */ 2197 ushort len; /**< */ 2198 ushort name_len; /**< */ 2199 ubyte send_core; /**< */ 2200 ubyte enable; /**< */ 2201 } 2202 2203 /** 2204 * @brief xcb_input_add_master_iterator_t 2205 **/ 2206 struct xcb_input_add_master_iterator_t { 2207 xcb_input_add_master_t* data; /**< */ 2208 int rem; /**< */ 2209 int index; /**< */ 2210 } 2211 2212 /** 2213 * @brief xcb_input_remove_master_t 2214 **/ 2215 struct xcb_input_remove_master_t { 2216 ushort type; /**< */ 2217 ushort len; /**< */ 2218 xcb_input_device_id_t deviceid; /**< */ 2219 ubyte return_mode; /**< */ 2220 ubyte pad0; /**< */ 2221 xcb_input_device_id_t return_pointer; /**< */ 2222 xcb_input_device_id_t return_keyboard; /**< */ 2223 } 2224 2225 /** 2226 * @brief xcb_input_remove_master_iterator_t 2227 **/ 2228 struct xcb_input_remove_master_iterator_t { 2229 xcb_input_remove_master_t* data; /**< */ 2230 int rem; /**< */ 2231 int index; /**< */ 2232 } 2233 2234 /** 2235 * @brief xcb_input_attach_slave_t 2236 **/ 2237 struct xcb_input_attach_slave_t { 2238 ushort type; /**< */ 2239 ushort len; /**< */ 2240 xcb_input_device_id_t deviceid; /**< */ 2241 xcb_input_device_id_t master; /**< */ 2242 } 2243 2244 /** 2245 * @brief xcb_input_attach_slave_iterator_t 2246 **/ 2247 struct xcb_input_attach_slave_iterator_t { 2248 xcb_input_attach_slave_t* data; /**< */ 2249 int rem; /**< */ 2250 int index; /**< */ 2251 } 2252 2253 /** 2254 * @brief xcb_input_detach_slave_t 2255 **/ 2256 struct xcb_input_detach_slave_t { 2257 ushort type; /**< */ 2258 ushort len; /**< */ 2259 xcb_input_device_id_t deviceid; /**< */ 2260 ubyte[2] pad0; /**< */ 2261 } 2262 2263 /** 2264 * @brief xcb_input_detach_slave_iterator_t 2265 **/ 2266 struct xcb_input_detach_slave_iterator_t { 2267 xcb_input_detach_slave_t* data; /**< */ 2268 int rem; /**< */ 2269 int index; /**< */ 2270 } 2271 2272 /** 2273 * @brief xcb_input_hierarchy_change_t 2274 **/ 2275 struct xcb_input_hierarchy_change_t { 2276 ushort type; /**< */ 2277 ushort len; /**< */ 2278 } 2279 2280 /** 2281 * @brief xcb_input_hierarchy_change_iterator_t 2282 **/ 2283 struct xcb_input_hierarchy_change_iterator_t { 2284 xcb_input_hierarchy_change_t* data; /**< */ 2285 int rem; /**< */ 2286 int index; /**< */ 2287 } 2288 2289 /** Opcode for xcb_input_xi_change_hierarchy. */ 2290 enum XCB_INPUT_XI_CHANGE_HIERARCHY = 43; 2291 2292 /** 2293 * @brief xcb_input_xi_change_hierarchy_request_t 2294 **/ 2295 struct xcb_input_xi_change_hierarchy_request_t { 2296 ubyte major_opcode; /**< */ 2297 ubyte minor_opcode; /**< */ 2298 ushort length; /**< */ 2299 ubyte num_changes; /**< */ 2300 ubyte[3] pad0; /**< */ 2301 } 2302 2303 /** Opcode for xcb_input_xi_set_client_pointer. */ 2304 enum XCB_INPUT_XI_SET_CLIENT_POINTER = 44; 2305 2306 /** 2307 * @brief xcb_input_xi_set_client_pointer_request_t 2308 **/ 2309 struct xcb_input_xi_set_client_pointer_request_t { 2310 ubyte major_opcode; /**< */ 2311 ubyte minor_opcode; /**< */ 2312 ushort length; /**< */ 2313 xcb_window_t window; /**< */ 2314 xcb_input_device_id_t deviceid; /**< */ 2315 ubyte[2] pad0; /**< */ 2316 } 2317 2318 /** 2319 * @brief xcb_input_xi_get_client_pointer_cookie_t 2320 **/ 2321 struct xcb_input_xi_get_client_pointer_cookie_t { 2322 uint sequence; /**< */ 2323 } 2324 2325 /** Opcode for xcb_input_xi_get_client_pointer. */ 2326 enum XCB_INPUT_XI_GET_CLIENT_POINTER = 45; 2327 2328 /** 2329 * @brief xcb_input_xi_get_client_pointer_request_t 2330 **/ 2331 struct xcb_input_xi_get_client_pointer_request_t { 2332 ubyte major_opcode; /**< */ 2333 ubyte minor_opcode; /**< */ 2334 ushort length; /**< */ 2335 xcb_window_t window; /**< */ 2336 } 2337 2338 /** 2339 * @brief xcb_input_xi_get_client_pointer_reply_t 2340 **/ 2341 struct xcb_input_xi_get_client_pointer_reply_t { 2342 ubyte response_type; /**< */ 2343 ubyte pad0; /**< */ 2344 ushort sequence; /**< */ 2345 uint length; /**< */ 2346 ubyte set; /**< */ 2347 ubyte pad1; /**< */ 2348 xcb_input_device_id_t deviceid; /**< */ 2349 ubyte[20] pad2; /**< */ 2350 } 2351 2352 enum xcb_input_xi_event_mask_t { 2353 XCB_INPUT_XI_EVENT_MASK_DEVICE_CHANGED = 2, 2354 XCB_INPUT_XI_EVENT_MASK_KEY_PRESS = 4, 2355 XCB_INPUT_XI_EVENT_MASK_KEY_RELEASE = 8, 2356 XCB_INPUT_XI_EVENT_MASK_BUTTON_PRESS = 16, 2357 XCB_INPUT_XI_EVENT_MASK_BUTTON_RELEASE = 32, 2358 XCB_INPUT_XI_EVENT_MASK_MOTION = 64, 2359 XCB_INPUT_XI_EVENT_MASK_ENTER = 128, 2360 XCB_INPUT_XI_EVENT_MASK_LEAVE = 256, 2361 XCB_INPUT_XI_EVENT_MASK_FOCUS_IN = 512, 2362 XCB_INPUT_XI_EVENT_MASK_FOCUS_OUT = 1024, 2363 XCB_INPUT_XI_EVENT_MASK_HIERARCHY = 2048, 2364 XCB_INPUT_XI_EVENT_MASK_PROPERTY = 4096, 2365 XCB_INPUT_XI_EVENT_MASK_RAW_KEY_PRESS = 8192, 2366 XCB_INPUT_XI_EVENT_MASK_RAW_KEY_RELEASE = 16384, 2367 XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_PRESS = 32768, 2368 XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_RELEASE = 65536, 2369 XCB_INPUT_XI_EVENT_MASK_RAW_MOTION = 131072, 2370 XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN = 262144, 2371 XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE = 524288, 2372 XCB_INPUT_XI_EVENT_MASK_TOUCH_END = 1048576, 2373 XCB_INPUT_XI_EVENT_MASK_TOUCH_OWNERSHIP = 2097152, 2374 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_BEGIN = 4194304, 2375 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_UPDATE = 8388608, 2376 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_END = 16777216, 2377 XCB_INPUT_XI_EVENT_MASK_BARRIER_HIT = 33554432, 2378 XCB_INPUT_XI_EVENT_MASK_BARRIER_LEAVE = 67108864 2379 } 2380 2381 alias XCB_INPUT_XI_EVENT_MASK_DEVICE_CHANGED = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_DEVICE_CHANGED; 2382 alias XCB_INPUT_XI_EVENT_MASK_KEY_PRESS = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_KEY_PRESS; 2383 alias XCB_INPUT_XI_EVENT_MASK_KEY_RELEASE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_KEY_RELEASE; 2384 alias XCB_INPUT_XI_EVENT_MASK_BUTTON_PRESS = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_BUTTON_PRESS; 2385 alias XCB_INPUT_XI_EVENT_MASK_BUTTON_RELEASE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_BUTTON_RELEASE; 2386 alias XCB_INPUT_XI_EVENT_MASK_MOTION = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_MOTION; 2387 alias XCB_INPUT_XI_EVENT_MASK_ENTER = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_ENTER; 2388 alias XCB_INPUT_XI_EVENT_MASK_LEAVE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_LEAVE; 2389 alias XCB_INPUT_XI_EVENT_MASK_FOCUS_IN = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_FOCUS_IN; 2390 alias XCB_INPUT_XI_EVENT_MASK_FOCUS_OUT = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_FOCUS_OUT; 2391 alias XCB_INPUT_XI_EVENT_MASK_HIERARCHY = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_HIERARCHY; 2392 alias XCB_INPUT_XI_EVENT_MASK_PROPERTY = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_PROPERTY; 2393 alias XCB_INPUT_XI_EVENT_MASK_RAW_KEY_PRESS = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_KEY_PRESS; 2394 alias XCB_INPUT_XI_EVENT_MASK_RAW_KEY_RELEASE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_KEY_RELEASE; 2395 alias XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_PRESS = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_PRESS; 2396 alias XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_RELEASE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_RELEASE; 2397 alias XCB_INPUT_XI_EVENT_MASK_RAW_MOTION = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_MOTION; 2398 alias XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN; 2399 alias XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE; 2400 alias XCB_INPUT_XI_EVENT_MASK_TOUCH_END = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_TOUCH_END; 2401 alias XCB_INPUT_XI_EVENT_MASK_TOUCH_OWNERSHIP = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_TOUCH_OWNERSHIP; 2402 alias XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_BEGIN = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_BEGIN; 2403 alias XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_UPDATE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_UPDATE; 2404 alias XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_END = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_END; 2405 alias XCB_INPUT_XI_EVENT_MASK_BARRIER_HIT = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_BARRIER_HIT; 2406 alias XCB_INPUT_XI_EVENT_MASK_BARRIER_LEAVE = xcb_input_xi_event_mask_t.XCB_INPUT_XI_EVENT_MASK_BARRIER_LEAVE; 2407 2408 /** 2409 * @brief xcb_input_event_mask_t 2410 **/ 2411 struct xcb_input_event_mask_t { 2412 xcb_input_device_id_t deviceid; /**< */ 2413 ushort mask_len; /**< */ 2414 } 2415 2416 /** 2417 * @brief xcb_input_event_mask_iterator_t 2418 **/ 2419 struct xcb_input_event_mask_iterator_t { 2420 xcb_input_event_mask_t* data; /**< */ 2421 int rem; /**< */ 2422 int index; /**< */ 2423 } 2424 2425 /** Opcode for xcb_input_xi_select_events. */ 2426 enum XCB_INPUT_XI_SELECT_EVENTS = 46; 2427 2428 /** 2429 * @brief xcb_input_xi_select_events_request_t 2430 **/ 2431 struct xcb_input_xi_select_events_request_t { 2432 ubyte major_opcode; /**< */ 2433 ubyte minor_opcode; /**< */ 2434 ushort length; /**< */ 2435 xcb_window_t window; /**< */ 2436 ushort num_mask; /**< */ 2437 ubyte[2] pad0; /**< */ 2438 } 2439 2440 /** 2441 * @brief xcb_input_xi_query_version_cookie_t 2442 **/ 2443 struct xcb_input_xi_query_version_cookie_t { 2444 uint sequence; /**< */ 2445 } 2446 2447 /** Opcode for xcb_input_xi_query_version. */ 2448 enum XCB_INPUT_XI_QUERY_VERSION = 47; 2449 2450 /** 2451 * @brief xcb_input_xi_query_version_request_t 2452 **/ 2453 struct xcb_input_xi_query_version_request_t { 2454 ubyte major_opcode; /**< */ 2455 ubyte minor_opcode; /**< */ 2456 ushort length; /**< */ 2457 ushort major_version; /**< */ 2458 ushort minor_version; /**< */ 2459 } 2460 2461 /** 2462 * @brief xcb_input_xi_query_version_reply_t 2463 **/ 2464 struct xcb_input_xi_query_version_reply_t { 2465 ubyte response_type; /**< */ 2466 ubyte pad0; /**< */ 2467 ushort sequence; /**< */ 2468 uint length; /**< */ 2469 ushort major_version; /**< */ 2470 ushort minor_version; /**< */ 2471 ubyte[20] pad1; /**< */ 2472 } 2473 2474 enum xcb_input_device_class_type_t { 2475 XCB_INPUT_DEVICE_CLASS_TYPE_KEY = 0, 2476 XCB_INPUT_DEVICE_CLASS_TYPE_BUTTON = 1, 2477 XCB_INPUT_DEVICE_CLASS_TYPE_VALUATOR = 2, 2478 XCB_INPUT_DEVICE_CLASS_TYPE_SCROLL = 3, 2479 XCB_INPUT_DEVICE_CLASS_TYPE_TOUCH = 8 2480 } 2481 2482 alias XCB_INPUT_DEVICE_CLASS_TYPE_KEY = xcb_input_device_class_type_t.XCB_INPUT_DEVICE_CLASS_TYPE_KEY; 2483 alias XCB_INPUT_DEVICE_CLASS_TYPE_BUTTON = xcb_input_device_class_type_t.XCB_INPUT_DEVICE_CLASS_TYPE_BUTTON; 2484 alias XCB_INPUT_DEVICE_CLASS_TYPE_VALUATOR = xcb_input_device_class_type_t.XCB_INPUT_DEVICE_CLASS_TYPE_VALUATOR; 2485 alias XCB_INPUT_DEVICE_CLASS_TYPE_SCROLL = xcb_input_device_class_type_t.XCB_INPUT_DEVICE_CLASS_TYPE_SCROLL; 2486 alias XCB_INPUT_DEVICE_CLASS_TYPE_TOUCH = xcb_input_device_class_type_t.XCB_INPUT_DEVICE_CLASS_TYPE_TOUCH; 2487 2488 enum xcb_input_device_type_t { 2489 XCB_INPUT_DEVICE_TYPE_MASTER_POINTER = 1, 2490 XCB_INPUT_DEVICE_TYPE_MASTER_KEYBOARD = 2, 2491 XCB_INPUT_DEVICE_TYPE_SLAVE_POINTER = 3, 2492 XCB_INPUT_DEVICE_TYPE_SLAVE_KEYBOARD = 4, 2493 XCB_INPUT_DEVICE_TYPE_FLOATING_SLAVE = 5 2494 } 2495 2496 alias XCB_INPUT_DEVICE_TYPE_MASTER_POINTER = xcb_input_device_type_t.XCB_INPUT_DEVICE_TYPE_MASTER_POINTER; 2497 alias XCB_INPUT_DEVICE_TYPE_MASTER_KEYBOARD = xcb_input_device_type_t.XCB_INPUT_DEVICE_TYPE_MASTER_KEYBOARD; 2498 alias XCB_INPUT_DEVICE_TYPE_SLAVE_POINTER = xcb_input_device_type_t.XCB_INPUT_DEVICE_TYPE_SLAVE_POINTER; 2499 alias XCB_INPUT_DEVICE_TYPE_SLAVE_KEYBOARD = xcb_input_device_type_t.XCB_INPUT_DEVICE_TYPE_SLAVE_KEYBOARD; 2500 alias XCB_INPUT_DEVICE_TYPE_FLOATING_SLAVE = xcb_input_device_type_t.XCB_INPUT_DEVICE_TYPE_FLOATING_SLAVE; 2501 2502 enum xcb_input_scroll_flags_t { 2503 XCB_INPUT_SCROLL_FLAGS_NO_EMULATION = 1, 2504 XCB_INPUT_SCROLL_FLAGS_PREFERRED = 2 2505 } 2506 2507 alias XCB_INPUT_SCROLL_FLAGS_NO_EMULATION = xcb_input_scroll_flags_t.XCB_INPUT_SCROLL_FLAGS_NO_EMULATION; 2508 alias XCB_INPUT_SCROLL_FLAGS_PREFERRED = xcb_input_scroll_flags_t.XCB_INPUT_SCROLL_FLAGS_PREFERRED; 2509 2510 enum xcb_input_scroll_type_t { 2511 XCB_INPUT_SCROLL_TYPE_VERTICAL = 1, 2512 XCB_INPUT_SCROLL_TYPE_HORIZONTAL = 2 2513 } 2514 2515 alias XCB_INPUT_SCROLL_TYPE_VERTICAL = xcb_input_scroll_type_t.XCB_INPUT_SCROLL_TYPE_VERTICAL; 2516 alias XCB_INPUT_SCROLL_TYPE_HORIZONTAL = xcb_input_scroll_type_t.XCB_INPUT_SCROLL_TYPE_HORIZONTAL; 2517 2518 enum xcb_input_touch_mode_t { 2519 XCB_INPUT_TOUCH_MODE_DIRECT = 1, 2520 XCB_INPUT_TOUCH_MODE_DEPENDENT = 2 2521 } 2522 2523 alias XCB_INPUT_TOUCH_MODE_DIRECT = xcb_input_touch_mode_t.XCB_INPUT_TOUCH_MODE_DIRECT; 2524 alias XCB_INPUT_TOUCH_MODE_DEPENDENT = xcb_input_touch_mode_t.XCB_INPUT_TOUCH_MODE_DEPENDENT; 2525 2526 /** 2527 * @brief xcb_input_button_class_t 2528 **/ 2529 struct xcb_input_button_class_t { 2530 ushort type; /**< */ 2531 ushort len; /**< */ 2532 xcb_input_device_id_t sourceid; /**< */ 2533 ushort num_buttons; /**< */ 2534 } 2535 2536 /** 2537 * @brief xcb_input_button_class_iterator_t 2538 **/ 2539 struct xcb_input_button_class_iterator_t { 2540 xcb_input_button_class_t* data; /**< */ 2541 int rem; /**< */ 2542 int index; /**< */ 2543 } 2544 2545 /** 2546 * @brief xcb_input_key_class_t 2547 **/ 2548 struct xcb_input_key_class_t { 2549 ushort type; /**< */ 2550 ushort len; /**< */ 2551 xcb_input_device_id_t sourceid; /**< */ 2552 ushort num_keys; /**< */ 2553 } 2554 2555 /** 2556 * @brief xcb_input_key_class_iterator_t 2557 **/ 2558 struct xcb_input_key_class_iterator_t { 2559 xcb_input_key_class_t* data; /**< */ 2560 int rem; /**< */ 2561 int index; /**< */ 2562 } 2563 2564 /** 2565 * @brief xcb_input_scroll_class_t 2566 **/ 2567 struct xcb_input_scroll_class_t { 2568 ushort type; /**< */ 2569 ushort len; /**< */ 2570 xcb_input_device_id_t sourceid; /**< */ 2571 ushort number; /**< */ 2572 ushort scroll_type; /**< */ 2573 ubyte[2] pad0; /**< */ 2574 uint flags; /**< */ 2575 xcb_input_fp3232_t increment; /**< */ 2576 } 2577 2578 /** 2579 * @brief xcb_input_scroll_class_iterator_t 2580 **/ 2581 struct xcb_input_scroll_class_iterator_t { 2582 xcb_input_scroll_class_t* data; /**< */ 2583 int rem; /**< */ 2584 int index; /**< */ 2585 } 2586 2587 /** 2588 * @brief xcb_input_touch_class_t 2589 **/ 2590 struct xcb_input_touch_class_t { 2591 ushort type; /**< */ 2592 ushort len; /**< */ 2593 xcb_input_device_id_t sourceid; /**< */ 2594 ubyte mode; /**< */ 2595 ubyte num_touches; /**< */ 2596 } 2597 2598 /** 2599 * @brief xcb_input_touch_class_iterator_t 2600 **/ 2601 struct xcb_input_touch_class_iterator_t { 2602 xcb_input_touch_class_t* data; /**< */ 2603 int rem; /**< */ 2604 int index; /**< */ 2605 } 2606 2607 /** 2608 * @brief xcb_input_valuator_class_t 2609 **/ 2610 struct xcb_input_valuator_class_t { 2611 ushort type; /**< */ 2612 ushort len; /**< */ 2613 xcb_input_device_id_t sourceid; /**< */ 2614 ushort number; /**< */ 2615 xcb_atom_t label; /**< */ 2616 xcb_input_fp3232_t min; /**< */ 2617 xcb_input_fp3232_t max; /**< */ 2618 xcb_input_fp3232_t value; /**< */ 2619 uint resolution; /**< */ 2620 ubyte mode; /**< */ 2621 ubyte[3] pad0; /**< */ 2622 } 2623 2624 /** 2625 * @brief xcb_input_valuator_class_iterator_t 2626 **/ 2627 struct xcb_input_valuator_class_iterator_t { 2628 xcb_input_valuator_class_t* data; /**< */ 2629 int rem; /**< */ 2630 int index; /**< */ 2631 } 2632 2633 /** 2634 * @brief xcb_input_device_class_t 2635 **/ 2636 struct xcb_input_device_class_t { 2637 ushort type; /**< */ 2638 ushort len; /**< */ 2639 xcb_input_device_id_t sourceid; /**< */ 2640 ubyte[2] pad0; /**< */ 2641 } 2642 2643 /** 2644 * @brief xcb_input_device_class_iterator_t 2645 **/ 2646 struct xcb_input_device_class_iterator_t { 2647 xcb_input_device_class_t* data; /**< */ 2648 int rem; /**< */ 2649 int index; /**< */ 2650 } 2651 2652 /** 2653 * @brief xcb_input_xi_device_info_t 2654 **/ 2655 struct xcb_input_xi_device_info_t { 2656 xcb_input_device_id_t deviceid; /**< */ 2657 ushort type; /**< */ 2658 xcb_input_device_id_t attachment; /**< */ 2659 ushort num_classes; /**< */ 2660 ushort name_len; /**< */ 2661 ubyte enabled; /**< */ 2662 ubyte pad0; /**< */ 2663 } 2664 2665 /** 2666 * @brief xcb_input_xi_device_info_iterator_t 2667 **/ 2668 struct xcb_input_xi_device_info_iterator_t { 2669 xcb_input_xi_device_info_t* data; /**< */ 2670 int rem; /**< */ 2671 int index; /**< */ 2672 } 2673 2674 /** 2675 * @brief xcb_input_xi_query_device_cookie_t 2676 **/ 2677 struct xcb_input_xi_query_device_cookie_t { 2678 uint sequence; /**< */ 2679 } 2680 2681 /** Opcode for xcb_input_xi_query_device. */ 2682 enum XCB_INPUT_XI_QUERY_DEVICE = 48; 2683 2684 /** 2685 * @brief xcb_input_xi_query_device_request_t 2686 **/ 2687 struct xcb_input_xi_query_device_request_t { 2688 ubyte major_opcode; /**< */ 2689 ubyte minor_opcode; /**< */ 2690 ushort length; /**< */ 2691 xcb_input_device_id_t deviceid; /**< */ 2692 ubyte[2] pad0; /**< */ 2693 } 2694 2695 /** 2696 * @brief xcb_input_xi_query_device_reply_t 2697 **/ 2698 struct xcb_input_xi_query_device_reply_t { 2699 ubyte response_type; /**< */ 2700 ubyte pad0; /**< */ 2701 ushort sequence; /**< */ 2702 uint length; /**< */ 2703 ushort num_infos; /**< */ 2704 ubyte[22] pad1; /**< */ 2705 } 2706 2707 /** Opcode for xcb_input_xi_set_focus. */ 2708 enum XCB_INPUT_XI_SET_FOCUS = 49; 2709 2710 /** 2711 * @brief xcb_input_xi_set_focus_request_t 2712 **/ 2713 struct xcb_input_xi_set_focus_request_t { 2714 ubyte major_opcode; /**< */ 2715 ubyte minor_opcode; /**< */ 2716 ushort length; /**< */ 2717 xcb_window_t window; /**< */ 2718 xcb_timestamp_t time; /**< */ 2719 xcb_input_device_id_t deviceid; /**< */ 2720 ubyte[2] pad0; /**< */ 2721 } 2722 2723 /** 2724 * @brief xcb_input_xi_get_focus_cookie_t 2725 **/ 2726 struct xcb_input_xi_get_focus_cookie_t { 2727 uint sequence; /**< */ 2728 } 2729 2730 /** Opcode for xcb_input_xi_get_focus. */ 2731 enum XCB_INPUT_XI_GET_FOCUS = 50; 2732 2733 /** 2734 * @brief xcb_input_xi_get_focus_request_t 2735 **/ 2736 struct xcb_input_xi_get_focus_request_t { 2737 ubyte major_opcode; /**< */ 2738 ubyte minor_opcode; /**< */ 2739 ushort length; /**< */ 2740 xcb_input_device_id_t deviceid; /**< */ 2741 ubyte[2] pad0; /**< */ 2742 } 2743 2744 /** 2745 * @brief xcb_input_xi_get_focus_reply_t 2746 **/ 2747 struct xcb_input_xi_get_focus_reply_t { 2748 ubyte response_type; /**< */ 2749 ubyte pad0; /**< */ 2750 ushort sequence; /**< */ 2751 uint length; /**< */ 2752 xcb_window_t focus; /**< */ 2753 ubyte[20] pad1; /**< */ 2754 } 2755 2756 enum xcb_input_grab_owner_t { 2757 XCB_INPUT_GRAB_OWNER_NO_OWNER = 0, 2758 XCB_INPUT_GRAB_OWNER_OWNER = 1 2759 } 2760 2761 alias XCB_INPUT_GRAB_OWNER_NO_OWNER = xcb_input_grab_owner_t.XCB_INPUT_GRAB_OWNER_NO_OWNER; 2762 alias XCB_INPUT_GRAB_OWNER_OWNER = xcb_input_grab_owner_t.XCB_INPUT_GRAB_OWNER_OWNER; 2763 2764 /** 2765 * @brief xcb_input_xi_grab_device_cookie_t 2766 **/ 2767 struct xcb_input_xi_grab_device_cookie_t { 2768 uint sequence; /**< */ 2769 } 2770 2771 /** Opcode for xcb_input_xi_grab_device. */ 2772 enum XCB_INPUT_XI_GRAB_DEVICE = 51; 2773 2774 /** 2775 * @brief xcb_input_xi_grab_device_request_t 2776 **/ 2777 struct xcb_input_xi_grab_device_request_t { 2778 ubyte major_opcode; /**< */ 2779 ubyte minor_opcode; /**< */ 2780 ushort length; /**< */ 2781 xcb_window_t window; /**< */ 2782 xcb_timestamp_t time; /**< */ 2783 xcb_cursor_t cursor; /**< */ 2784 xcb_input_device_id_t deviceid; /**< */ 2785 ubyte mode; /**< */ 2786 ubyte paired_device_mode; /**< */ 2787 ubyte owner_events; /**< */ 2788 ubyte pad0; /**< */ 2789 ushort mask_len; /**< */ 2790 } 2791 2792 /** 2793 * @brief xcb_input_xi_grab_device_reply_t 2794 **/ 2795 struct xcb_input_xi_grab_device_reply_t { 2796 ubyte response_type; /**< */ 2797 ubyte pad0; /**< */ 2798 ushort sequence; /**< */ 2799 uint length; /**< */ 2800 ubyte status; /**< */ 2801 ubyte[23] pad1; /**< */ 2802 } 2803 2804 /** Opcode for xcb_input_xi_ungrab_device. */ 2805 enum XCB_INPUT_XI_UNGRAB_DEVICE = 52; 2806 2807 /** 2808 * @brief xcb_input_xi_ungrab_device_request_t 2809 **/ 2810 struct xcb_input_xi_ungrab_device_request_t { 2811 ubyte major_opcode; /**< */ 2812 ubyte minor_opcode; /**< */ 2813 ushort length; /**< */ 2814 xcb_timestamp_t time; /**< */ 2815 xcb_input_device_id_t deviceid; /**< */ 2816 ubyte[2] pad0; /**< */ 2817 } 2818 2819 enum xcb_input_event_mode_t { 2820 XCB_INPUT_EVENT_MODE_ASYNC_DEVICE = 0, 2821 XCB_INPUT_EVENT_MODE_SYNC_DEVICE = 1, 2822 XCB_INPUT_EVENT_MODE_REPLAY_DEVICE = 2, 2823 XCB_INPUT_EVENT_MODE_ASYNC_PAIRED_DEVICE = 3, 2824 XCB_INPUT_EVENT_MODE_ASYNC_PAIR = 4, 2825 XCB_INPUT_EVENT_MODE_SYNC_PAIR = 5, 2826 XCB_INPUT_EVENT_MODE_ACCEPT_TOUCH = 6, 2827 XCB_INPUT_EVENT_MODE_REJECT_TOUCH = 7 2828 } 2829 2830 alias XCB_INPUT_EVENT_MODE_ASYNC_DEVICE = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_ASYNC_DEVICE; 2831 alias XCB_INPUT_EVENT_MODE_SYNC_DEVICE = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_SYNC_DEVICE; 2832 alias XCB_INPUT_EVENT_MODE_REPLAY_DEVICE = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_REPLAY_DEVICE; 2833 alias XCB_INPUT_EVENT_MODE_ASYNC_PAIRED_DEVICE = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_ASYNC_PAIRED_DEVICE; 2834 alias XCB_INPUT_EVENT_MODE_ASYNC_PAIR = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_ASYNC_PAIR; 2835 alias XCB_INPUT_EVENT_MODE_SYNC_PAIR = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_SYNC_PAIR; 2836 alias XCB_INPUT_EVENT_MODE_ACCEPT_TOUCH = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_ACCEPT_TOUCH; 2837 alias XCB_INPUT_EVENT_MODE_REJECT_TOUCH = xcb_input_event_mode_t.XCB_INPUT_EVENT_MODE_REJECT_TOUCH; 2838 2839 /** Opcode for xcb_input_xi_allow_events. */ 2840 enum XCB_INPUT_XI_ALLOW_EVENTS = 53; 2841 2842 /** 2843 * @brief xcb_input_xi_allow_events_request_t 2844 **/ 2845 struct xcb_input_xi_allow_events_request_t { 2846 ubyte major_opcode; /**< */ 2847 ubyte minor_opcode; /**< */ 2848 ushort length; /**< */ 2849 xcb_timestamp_t time; /**< */ 2850 xcb_input_device_id_t deviceid; /**< */ 2851 ubyte event_mode; /**< */ 2852 ubyte pad0; /**< */ 2853 uint touchid; /**< */ 2854 xcb_window_t grab_window; /**< */ 2855 } 2856 2857 enum xcb_input_grab_mode_22_t { 2858 XCB_INPUT_GRAB_MODE_22_SYNC = 0, 2859 XCB_INPUT_GRAB_MODE_22_ASYNC = 1, 2860 XCB_INPUT_GRAB_MODE_22_TOUCH = 2 2861 } 2862 2863 alias XCB_INPUT_GRAB_MODE_22_SYNC = xcb_input_grab_mode_22_t.XCB_INPUT_GRAB_MODE_22_SYNC; 2864 alias XCB_INPUT_GRAB_MODE_22_ASYNC = xcb_input_grab_mode_22_t.XCB_INPUT_GRAB_MODE_22_ASYNC; 2865 alias XCB_INPUT_GRAB_MODE_22_TOUCH = xcb_input_grab_mode_22_t.XCB_INPUT_GRAB_MODE_22_TOUCH; 2866 2867 enum xcb_input_grab_type_t { 2868 XCB_INPUT_GRAB_TYPE_BUTTON = 0, 2869 XCB_INPUT_GRAB_TYPE_KEYCODE = 1, 2870 XCB_INPUT_GRAB_TYPE_ENTER = 2, 2871 XCB_INPUT_GRAB_TYPE_FOCUS_IN = 3, 2872 XCB_INPUT_GRAB_TYPE_TOUCH_BEGIN = 4 2873 } 2874 2875 alias XCB_INPUT_GRAB_TYPE_BUTTON = xcb_input_grab_type_t.XCB_INPUT_GRAB_TYPE_BUTTON; 2876 alias XCB_INPUT_GRAB_TYPE_KEYCODE = xcb_input_grab_type_t.XCB_INPUT_GRAB_TYPE_KEYCODE; 2877 alias XCB_INPUT_GRAB_TYPE_ENTER = xcb_input_grab_type_t.XCB_INPUT_GRAB_TYPE_ENTER; 2878 alias XCB_INPUT_GRAB_TYPE_FOCUS_IN = xcb_input_grab_type_t.XCB_INPUT_GRAB_TYPE_FOCUS_IN; 2879 alias XCB_INPUT_GRAB_TYPE_TOUCH_BEGIN = xcb_input_grab_type_t.XCB_INPUT_GRAB_TYPE_TOUCH_BEGIN; 2880 2881 enum xcb_input_modifier_mask_t : uint { 2882 XCB_INPUT_MODIFIER_MASK_ANY = 2147483648 2883 } 2884 2885 alias XCB_INPUT_MODIFIER_MASK_ANY = xcb_input_modifier_mask_t.XCB_INPUT_MODIFIER_MASK_ANY; 2886 2887 /** 2888 * @brief xcb_input_grab_modifier_info_t 2889 **/ 2890 struct xcb_input_grab_modifier_info_t { 2891 uint modifiers; /**< */ 2892 ubyte status; /**< */ 2893 ubyte[3] pad0; /**< */ 2894 } 2895 2896 /** 2897 * @brief xcb_input_grab_modifier_info_iterator_t 2898 **/ 2899 struct xcb_input_grab_modifier_info_iterator_t { 2900 xcb_input_grab_modifier_info_t* data; /**< */ 2901 int rem; /**< */ 2902 int index; /**< */ 2903 } 2904 2905 /** 2906 * @brief xcb_input_xi_passive_grab_device_cookie_t 2907 **/ 2908 struct xcb_input_xi_passive_grab_device_cookie_t { 2909 uint sequence; /**< */ 2910 } 2911 2912 /** Opcode for xcb_input_xi_passive_grab_device. */ 2913 enum XCB_INPUT_XI_PASSIVE_GRAB_DEVICE = 54; 2914 2915 /** 2916 * @brief xcb_input_xi_passive_grab_device_request_t 2917 **/ 2918 struct xcb_input_xi_passive_grab_device_request_t { 2919 ubyte major_opcode; /**< */ 2920 ubyte minor_opcode; /**< */ 2921 ushort length; /**< */ 2922 xcb_timestamp_t time; /**< */ 2923 xcb_window_t grab_window; /**< */ 2924 xcb_cursor_t cursor; /**< */ 2925 uint detail; /**< */ 2926 xcb_input_device_id_t deviceid; /**< */ 2927 ushort num_modifiers; /**< */ 2928 ushort mask_len; /**< */ 2929 ubyte grab_type; /**< */ 2930 ubyte grab_mode; /**< */ 2931 ubyte paired_device_mode; /**< */ 2932 ubyte owner_events; /**< */ 2933 ubyte[2] pad0; /**< */ 2934 } 2935 2936 /** 2937 * @brief xcb_input_xi_passive_grab_device_reply_t 2938 **/ 2939 struct xcb_input_xi_passive_grab_device_reply_t { 2940 ubyte response_type; /**< */ 2941 ubyte pad0; /**< */ 2942 ushort sequence; /**< */ 2943 uint length; /**< */ 2944 ushort num_modifiers; /**< */ 2945 ubyte[22] pad1; /**< */ 2946 } 2947 2948 /** Opcode for xcb_input_xi_passive_ungrab_device. */ 2949 enum XCB_INPUT_XI_PASSIVE_UNGRAB_DEVICE = 55; 2950 2951 /** 2952 * @brief xcb_input_xi_passive_ungrab_device_request_t 2953 **/ 2954 struct xcb_input_xi_passive_ungrab_device_request_t { 2955 ubyte major_opcode; /**< */ 2956 ubyte minor_opcode; /**< */ 2957 ushort length; /**< */ 2958 xcb_window_t grab_window; /**< */ 2959 uint detail; /**< */ 2960 xcb_input_device_id_t deviceid; /**< */ 2961 ushort num_modifiers; /**< */ 2962 ubyte grab_type; /**< */ 2963 ubyte[3] pad0; /**< */ 2964 } 2965 2966 /** 2967 * @brief xcb_input_xi_list_properties_cookie_t 2968 **/ 2969 struct xcb_input_xi_list_properties_cookie_t { 2970 uint sequence; /**< */ 2971 } 2972 2973 /** Opcode for xcb_input_xi_list_properties. */ 2974 enum XCB_INPUT_XI_LIST_PROPERTIES = 56; 2975 2976 /** 2977 * @brief xcb_input_xi_list_properties_request_t 2978 **/ 2979 struct xcb_input_xi_list_properties_request_t { 2980 ubyte major_opcode; /**< */ 2981 ubyte minor_opcode; /**< */ 2982 ushort length; /**< */ 2983 xcb_input_device_id_t deviceid; /**< */ 2984 ubyte[2] pad0; /**< */ 2985 } 2986 2987 /** 2988 * @brief xcb_input_xi_list_properties_reply_t 2989 **/ 2990 struct xcb_input_xi_list_properties_reply_t { 2991 ubyte response_type; /**< */ 2992 ubyte pad0; /**< */ 2993 ushort sequence; /**< */ 2994 uint length; /**< */ 2995 ushort num_properties; /**< */ 2996 ubyte[22] pad1; /**< */ 2997 } 2998 2999 /** 3000 * @brief xcb_input_xi_change_property_items_t 3001 **/ 3002 struct xcb_input_xi_change_property_items_t { 3003 ubyte* data8; /**< */ 3004 ushort* data16; /**< */ 3005 uint* data32; /**< */ 3006 } 3007 3008 /** Opcode for xcb_input_xi_change_property. */ 3009 enum XCB_INPUT_XI_CHANGE_PROPERTY = 57; 3010 3011 /** 3012 * @brief xcb_input_xi_change_property_request_t 3013 **/ 3014 struct xcb_input_xi_change_property_request_t { 3015 ubyte major_opcode; /**< */ 3016 ubyte minor_opcode; /**< */ 3017 ushort length; /**< */ 3018 xcb_input_device_id_t deviceid; /**< */ 3019 ubyte mode; /**< */ 3020 ubyte format; /**< */ 3021 xcb_atom_t property; /**< */ 3022 xcb_atom_t type; /**< */ 3023 uint num_items; /**< */ 3024 } 3025 3026 /** Opcode for xcb_input_xi_delete_property. */ 3027 enum XCB_INPUT_XI_DELETE_PROPERTY = 58; 3028 3029 /** 3030 * @brief xcb_input_xi_delete_property_request_t 3031 **/ 3032 struct xcb_input_xi_delete_property_request_t { 3033 ubyte major_opcode; /**< */ 3034 ubyte minor_opcode; /**< */ 3035 ushort length; /**< */ 3036 xcb_input_device_id_t deviceid; /**< */ 3037 ubyte[2] pad0; /**< */ 3038 xcb_atom_t property; /**< */ 3039 } 3040 3041 /** 3042 * @brief xcb_input_xi_get_property_cookie_t 3043 **/ 3044 struct xcb_input_xi_get_property_cookie_t { 3045 uint sequence; /**< */ 3046 } 3047 3048 /** Opcode for xcb_input_xi_get_property. */ 3049 enum XCB_INPUT_XI_GET_PROPERTY = 59; 3050 3051 /** 3052 * @brief xcb_input_xi_get_property_request_t 3053 **/ 3054 struct xcb_input_xi_get_property_request_t { 3055 ubyte major_opcode; /**< */ 3056 ubyte minor_opcode; /**< */ 3057 ushort length; /**< */ 3058 xcb_input_device_id_t deviceid; /**< */ 3059 ubyte delete_; /**< */ 3060 ubyte pad0; /**< */ 3061 xcb_atom_t property; /**< */ 3062 xcb_atom_t type; /**< */ 3063 uint offset; /**< */ 3064 uint len; /**< */ 3065 } 3066 3067 /** 3068 * @brief xcb_input_xi_get_property_items_t 3069 **/ 3070 struct xcb_input_xi_get_property_items_t { 3071 ubyte* data8; /**< */ 3072 ushort* data16; /**< */ 3073 uint* data32; /**< */ 3074 } 3075 3076 /** 3077 * @brief xcb_input_xi_get_property_reply_t 3078 **/ 3079 struct xcb_input_xi_get_property_reply_t { 3080 ubyte response_type; /**< */ 3081 ubyte pad0; /**< */ 3082 ushort sequence; /**< */ 3083 uint length; /**< */ 3084 xcb_atom_t type; /**< */ 3085 uint bytes_after; /**< */ 3086 uint num_items; /**< */ 3087 ubyte format; /**< */ 3088 ubyte[11] pad1; /**< */ 3089 } 3090 3091 /** 3092 * @brief xcb_input_xi_get_selected_events_cookie_t 3093 **/ 3094 struct xcb_input_xi_get_selected_events_cookie_t { 3095 uint sequence; /**< */ 3096 } 3097 3098 /** Opcode for xcb_input_xi_get_selected_events. */ 3099 enum XCB_INPUT_XI_GET_SELECTED_EVENTS = 60; 3100 3101 /** 3102 * @brief xcb_input_xi_get_selected_events_request_t 3103 **/ 3104 struct xcb_input_xi_get_selected_events_request_t { 3105 ubyte major_opcode; /**< */ 3106 ubyte minor_opcode; /**< */ 3107 ushort length; /**< */ 3108 xcb_window_t window; /**< */ 3109 } 3110 3111 /** 3112 * @brief xcb_input_xi_get_selected_events_reply_t 3113 **/ 3114 struct xcb_input_xi_get_selected_events_reply_t { 3115 ubyte response_type; /**< */ 3116 ubyte pad0; /**< */ 3117 ushort sequence; /**< */ 3118 uint length; /**< */ 3119 ushort num_masks; /**< */ 3120 ubyte[22] pad1; /**< */ 3121 } 3122 3123 /** 3124 * @brief xcb_input_barrier_release_pointer_info_t 3125 **/ 3126 struct xcb_input_barrier_release_pointer_info_t { 3127 xcb_input_device_id_t deviceid; /**< */ 3128 ubyte[2] pad0; /**< */ 3129 xcb_xfixes_barrier_t barrier; /**< */ 3130 uint eventid; /**< */ 3131 } 3132 3133 /** 3134 * @brief xcb_input_barrier_release_pointer_info_iterator_t 3135 **/ 3136 struct xcb_input_barrier_release_pointer_info_iterator_t { 3137 xcb_input_barrier_release_pointer_info_t* data; /**< */ 3138 int rem; /**< */ 3139 int index; /**< */ 3140 } 3141 3142 /** Opcode for xcb_input_xi_barrier_release_pointer. */ 3143 enum XCB_INPUT_XI_BARRIER_RELEASE_POINTER = 61; 3144 3145 /** 3146 * @brief xcb_input_xi_barrier_release_pointer_request_t 3147 **/ 3148 struct xcb_input_xi_barrier_release_pointer_request_t { 3149 ubyte major_opcode; /**< */ 3150 ubyte minor_opcode; /**< */ 3151 ushort length; /**< */ 3152 uint num_barriers; /**< */ 3153 } 3154 3155 /** Opcode for xcb_input_device_valuator. */ 3156 enum XCB_INPUT_DEVICE_VALUATOR = 0; 3157 3158 /** 3159 * @brief xcb_input_device_valuator_event_t 3160 **/ 3161 struct xcb_input_device_valuator_event_t { 3162 ubyte response_type; /**< */ 3163 ubyte device_id; /**< */ 3164 ushort sequence; /**< */ 3165 ushort device_state; /**< */ 3166 ubyte num_valuators; /**< */ 3167 ubyte first_valuator; /**< */ 3168 int[6] valuators; /**< */ 3169 } 3170 3171 /** Opcode for xcb_input_device_key_press. */ 3172 enum XCB_INPUT_DEVICE_KEY_PRESS = 1; 3173 3174 /** 3175 * @brief xcb_input_device_key_press_event_t 3176 **/ 3177 struct xcb_input_device_key_press_event_t { 3178 ubyte response_type; /**< */ 3179 ubyte detail; /**< */ 3180 ushort sequence; /**< */ 3181 xcb_timestamp_t time; /**< */ 3182 xcb_window_t root; /**< */ 3183 xcb_window_t event; /**< */ 3184 xcb_window_t child; /**< */ 3185 short root_x; /**< */ 3186 short root_y; /**< */ 3187 short event_x; /**< */ 3188 short event_y; /**< */ 3189 ushort state; /**< */ 3190 ubyte same_screen; /**< */ 3191 ubyte device_id; /**< */ 3192 } 3193 3194 /** Opcode for xcb_input_device_key_release. */ 3195 enum XCB_INPUT_DEVICE_KEY_RELEASE = 2; 3196 3197 alias xcb_input_device_key_release_event_t = xcb_input_device_key_press_event_t; 3198 3199 /** Opcode for xcb_input_device_button_press. */ 3200 enum XCB_INPUT_DEVICE_BUTTON_PRESS = 3; 3201 3202 alias xcb_input_device_button_press_event_t = xcb_input_device_key_press_event_t; 3203 3204 /** Opcode for xcb_input_device_button_release. */ 3205 enum XCB_INPUT_DEVICE_BUTTON_RELEASE = 4; 3206 3207 alias xcb_input_device_button_release_event_t = xcb_input_device_key_press_event_t; 3208 3209 /** Opcode for xcb_input_device_motion_notify. */ 3210 enum XCB_INPUT_DEVICE_MOTION_NOTIFY = 5; 3211 3212 alias xcb_input_device_motion_notify_event_t = xcb_input_device_key_press_event_t; 3213 3214 /** Opcode for xcb_input_device_focus_in. */ 3215 enum XCB_INPUT_DEVICE_FOCUS_IN = 6; 3216 3217 /** 3218 * @brief xcb_input_device_focus_in_event_t 3219 **/ 3220 struct xcb_input_device_focus_in_event_t { 3221 ubyte response_type; /**< */ 3222 ubyte detail; /**< */ 3223 ushort sequence; /**< */ 3224 xcb_timestamp_t time; /**< */ 3225 xcb_window_t window; /**< */ 3226 ubyte mode; /**< */ 3227 ubyte device_id; /**< */ 3228 ubyte[18] pad0; /**< */ 3229 } 3230 3231 /** Opcode for xcb_input_device_focus_out. */ 3232 enum XCB_INPUT_DEVICE_FOCUS_OUT = 7; 3233 3234 alias xcb_input_device_focus_out_event_t = xcb_input_device_focus_in_event_t; 3235 3236 /** Opcode for xcb_input_proximity_in. */ 3237 enum XCB_INPUT_PROXIMITY_IN = 8; 3238 3239 alias xcb_input_proximity_in_event_t = xcb_input_device_key_press_event_t; 3240 3241 /** Opcode for xcb_input_proximity_out. */ 3242 enum XCB_INPUT_PROXIMITY_OUT = 9; 3243 3244 alias xcb_input_proximity_out_event_t = xcb_input_device_key_press_event_t; 3245 3246 /** Opcode for xcb_input_device_state_notify. */ 3247 enum XCB_INPUT_DEVICE_STATE_NOTIFY = 10; 3248 3249 /** 3250 * @brief xcb_input_device_state_notify_event_t 3251 **/ 3252 struct xcb_input_device_state_notify_event_t { 3253 ubyte response_type; /**< */ 3254 ubyte device_id; /**< */ 3255 ushort sequence; /**< */ 3256 xcb_timestamp_t time; /**< */ 3257 ubyte num_keys; /**< */ 3258 ubyte num_buttons; /**< */ 3259 ubyte num_valuators; /**< */ 3260 ubyte classes_reported; /**< */ 3261 ubyte[4] buttons; /**< */ 3262 ubyte[4] keys; /**< */ 3263 uint[3] valuators; /**< */ 3264 } 3265 3266 /** Opcode for xcb_input_device_mapping_notify. */ 3267 enum XCB_INPUT_DEVICE_MAPPING_NOTIFY = 11; 3268 3269 /** 3270 * @brief xcb_input_device_mapping_notify_event_t 3271 **/ 3272 struct xcb_input_device_mapping_notify_event_t { 3273 ubyte response_type; /**< */ 3274 ubyte device_id; /**< */ 3275 ushort sequence; /**< */ 3276 ubyte request; /**< */ 3277 xcb_input_key_code_t first_keycode; /**< */ 3278 ubyte count; /**< */ 3279 ubyte pad0; /**< */ 3280 xcb_timestamp_t time; /**< */ 3281 ubyte[20] pad1; /**< */ 3282 } 3283 3284 /** Opcode for xcb_input_change_device_notify. */ 3285 enum XCB_INPUT_CHANGE_DEVICE_NOTIFY = 12; 3286 3287 /** 3288 * @brief xcb_input_change_device_notify_event_t 3289 **/ 3290 struct xcb_input_change_device_notify_event_t { 3291 ubyte response_type; /**< */ 3292 ubyte device_id; /**< */ 3293 ushort sequence; /**< */ 3294 xcb_timestamp_t time; /**< */ 3295 ubyte request; /**< */ 3296 ubyte[23] pad0; /**< */ 3297 } 3298 3299 /** Opcode for xcb_input_device_key_state_notify. */ 3300 enum XCB_INPUT_DEVICE_KEY_STATE_NOTIFY = 13; 3301 3302 /** 3303 * @brief xcb_input_device_key_state_notify_event_t 3304 **/ 3305 struct xcb_input_device_key_state_notify_event_t { 3306 ubyte response_type; /**< */ 3307 ubyte device_id; /**< */ 3308 ushort sequence; /**< */ 3309 ubyte[28] keys; /**< */ 3310 } 3311 3312 /** Opcode for xcb_input_device_button_state_notify. */ 3313 enum XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY = 14; 3314 3315 /** 3316 * @brief xcb_input_device_button_state_notify_event_t 3317 **/ 3318 struct xcb_input_device_button_state_notify_event_t { 3319 ubyte response_type; /**< */ 3320 ubyte device_id; /**< */ 3321 ushort sequence; /**< */ 3322 ubyte[28] buttons; /**< */ 3323 } 3324 3325 enum xcb_input_device_change_t { 3326 XCB_INPUT_DEVICE_CHANGE_ADDED = 0, 3327 XCB_INPUT_DEVICE_CHANGE_REMOVED = 1, 3328 XCB_INPUT_DEVICE_CHANGE_ENABLED = 2, 3329 XCB_INPUT_DEVICE_CHANGE_DISABLED = 3, 3330 XCB_INPUT_DEVICE_CHANGE_UNRECOVERABLE = 4, 3331 XCB_INPUT_DEVICE_CHANGE_CONTROL_CHANGED = 5 3332 } 3333 3334 alias XCB_INPUT_DEVICE_CHANGE_ADDED = xcb_input_device_change_t.XCB_INPUT_DEVICE_CHANGE_ADDED; 3335 alias XCB_INPUT_DEVICE_CHANGE_REMOVED = xcb_input_device_change_t.XCB_INPUT_DEVICE_CHANGE_REMOVED; 3336 alias XCB_INPUT_DEVICE_CHANGE_ENABLED = xcb_input_device_change_t.XCB_INPUT_DEVICE_CHANGE_ENABLED; 3337 alias XCB_INPUT_DEVICE_CHANGE_DISABLED = xcb_input_device_change_t.XCB_INPUT_DEVICE_CHANGE_DISABLED; 3338 alias XCB_INPUT_DEVICE_CHANGE_UNRECOVERABLE = xcb_input_device_change_t.XCB_INPUT_DEVICE_CHANGE_UNRECOVERABLE; 3339 alias XCB_INPUT_DEVICE_CHANGE_CONTROL_CHANGED = xcb_input_device_change_t.XCB_INPUT_DEVICE_CHANGE_CONTROL_CHANGED; 3340 3341 /** Opcode for xcb_input_device_presence_notify. */ 3342 enum XCB_INPUT_DEVICE_PRESENCE_NOTIFY = 15; 3343 3344 /** 3345 * @brief xcb_input_device_presence_notify_event_t 3346 **/ 3347 struct xcb_input_device_presence_notify_event_t { 3348 ubyte response_type; /**< */ 3349 ubyte pad0; /**< */ 3350 ushort sequence; /**< */ 3351 xcb_timestamp_t time; /**< */ 3352 ubyte devchange; /**< */ 3353 ubyte device_id; /**< */ 3354 ushort control; /**< */ 3355 ubyte[20] pad1; /**< */ 3356 } 3357 3358 /** Opcode for xcb_input_device_property_notify. */ 3359 enum XCB_INPUT_DEVICE_PROPERTY_NOTIFY = 16; 3360 3361 /** 3362 * @brief xcb_input_device_property_notify_event_t 3363 **/ 3364 struct xcb_input_device_property_notify_event_t { 3365 ubyte response_type; /**< */ 3366 ubyte state; /**< */ 3367 ushort sequence; /**< */ 3368 xcb_timestamp_t time; /**< */ 3369 xcb_atom_t property; /**< */ 3370 ubyte[19] pad0; /**< */ 3371 ubyte device_id; /**< */ 3372 } 3373 3374 enum xcb_input_change_reason_t { 3375 XCB_INPUT_CHANGE_REASON_SLAVE_SWITCH = 1, 3376 XCB_INPUT_CHANGE_REASON_DEVICE_CHANGE = 2 3377 } 3378 3379 alias XCB_INPUT_CHANGE_REASON_SLAVE_SWITCH = xcb_input_change_reason_t.XCB_INPUT_CHANGE_REASON_SLAVE_SWITCH; 3380 alias XCB_INPUT_CHANGE_REASON_DEVICE_CHANGE = xcb_input_change_reason_t.XCB_INPUT_CHANGE_REASON_DEVICE_CHANGE; 3381 3382 /** Opcode for xcb_input_device_changed. */ 3383 enum XCB_INPUT_DEVICE_CHANGED = 1; 3384 3385 /** 3386 * @brief xcb_input_device_changed_event_t 3387 **/ 3388 struct xcb_input_device_changed_event_t { 3389 ubyte response_type; /**< */ 3390 ubyte extension; /**< */ 3391 ushort sequence; /**< */ 3392 uint length; /**< */ 3393 ushort event_type; /**< */ 3394 xcb_input_device_id_t deviceid; /**< */ 3395 xcb_timestamp_t time; /**< */ 3396 ushort num_classes; /**< */ 3397 xcb_input_device_id_t sourceid; /**< */ 3398 ubyte reason; /**< */ 3399 ubyte[11] pad0; /**< */ 3400 uint full_sequence; /**< */ 3401 } 3402 3403 enum xcb_input_key_event_flags_t { 3404 XCB_INPUT_KEY_EVENT_FLAGS_KEY_REPEAT = 65536 3405 } 3406 3407 alias XCB_INPUT_KEY_EVENT_FLAGS_KEY_REPEAT = xcb_input_key_event_flags_t.XCB_INPUT_KEY_EVENT_FLAGS_KEY_REPEAT; 3408 3409 /** Opcode for xcb_input_key_press. */ 3410 enum XCB_INPUT_KEY_PRESS = 2; 3411 3412 /** 3413 * @brief xcb_input_key_press_event_t 3414 **/ 3415 struct xcb_input_key_press_event_t { 3416 ubyte response_type; /**< */ 3417 ubyte extension; /**< */ 3418 ushort sequence; /**< */ 3419 uint length; /**< */ 3420 ushort event_type; /**< */ 3421 xcb_input_device_id_t deviceid; /**< */ 3422 xcb_timestamp_t time; /**< */ 3423 uint detail; /**< */ 3424 xcb_window_t root; /**< */ 3425 xcb_window_t event; /**< */ 3426 xcb_window_t child; /**< */ 3427 uint full_sequence; /**< */ 3428 xcb_input_fp1616_t root_x; /**< */ 3429 xcb_input_fp1616_t root_y; /**< */ 3430 xcb_input_fp1616_t event_x; /**< */ 3431 xcb_input_fp1616_t event_y; /**< */ 3432 ushort buttons_len; /**< */ 3433 ushort valuators_len; /**< */ 3434 xcb_input_device_id_t sourceid; /**< */ 3435 ubyte[2] pad0; /**< */ 3436 uint flags; /**< */ 3437 xcb_input_modifier_info_t mods; /**< */ 3438 xcb_input_group_info_t group; /**< */ 3439 } 3440 3441 /** Opcode for xcb_input_key_release. */ 3442 enum XCB_INPUT_KEY_RELEASE = 3; 3443 3444 alias xcb_input_key_release_event_t = xcb_input_key_press_event_t; 3445 3446 enum xcb_input_pointer_event_flags_t { 3447 XCB_INPUT_POINTER_EVENT_FLAGS_POINTER_EMULATED = 65536 3448 } 3449 3450 alias XCB_INPUT_POINTER_EVENT_FLAGS_POINTER_EMULATED = xcb_input_pointer_event_flags_t.XCB_INPUT_POINTER_EVENT_FLAGS_POINTER_EMULATED; 3451 3452 /** Opcode for xcb_input_button_press. */ 3453 enum XCB_INPUT_BUTTON_PRESS = 4; 3454 3455 /** 3456 * @brief xcb_input_button_press_event_t 3457 **/ 3458 struct xcb_input_button_press_event_t { 3459 ubyte response_type; /**< */ 3460 ubyte extension; /**< */ 3461 ushort sequence; /**< */ 3462 uint length; /**< */ 3463 ushort event_type; /**< */ 3464 xcb_input_device_id_t deviceid; /**< */ 3465 xcb_timestamp_t time; /**< */ 3466 uint detail; /**< */ 3467 xcb_window_t root; /**< */ 3468 xcb_window_t event; /**< */ 3469 xcb_window_t child; /**< */ 3470 uint full_sequence; /**< */ 3471 xcb_input_fp1616_t root_x; /**< */ 3472 xcb_input_fp1616_t root_y; /**< */ 3473 xcb_input_fp1616_t event_x; /**< */ 3474 xcb_input_fp1616_t event_y; /**< */ 3475 ushort buttons_len; /**< */ 3476 ushort valuators_len; /**< */ 3477 xcb_input_device_id_t sourceid; /**< */ 3478 ubyte[2] pad0; /**< */ 3479 uint flags; /**< */ 3480 xcb_input_modifier_info_t mods; /**< */ 3481 xcb_input_group_info_t group; /**< */ 3482 } 3483 3484 /** Opcode for xcb_input_button_release. */ 3485 enum XCB_INPUT_BUTTON_RELEASE = 5; 3486 3487 alias xcb_input_button_release_event_t = xcb_input_button_press_event_t; 3488 3489 /** Opcode for xcb_input_motion. */ 3490 enum XCB_INPUT_MOTION = 6; 3491 3492 alias xcb_input_motion_event_t = xcb_input_button_press_event_t; 3493 3494 enum xcb_input_notify_mode_t { 3495 XCB_INPUT_NOTIFY_MODE_NORMAL = 0, 3496 XCB_INPUT_NOTIFY_MODE_GRAB = 1, 3497 XCB_INPUT_NOTIFY_MODE_UNGRAB = 2, 3498 XCB_INPUT_NOTIFY_MODE_WHILE_GRABBED = 3, 3499 XCB_INPUT_NOTIFY_MODE_PASSIVE_GRAB = 4, 3500 XCB_INPUT_NOTIFY_MODE_PASSIVE_UNGRAB = 5 3501 } 3502 3503 alias XCB_INPUT_NOTIFY_MODE_NORMAL = xcb_input_notify_mode_t.XCB_INPUT_NOTIFY_MODE_NORMAL; 3504 alias XCB_INPUT_NOTIFY_MODE_GRAB = xcb_input_notify_mode_t.XCB_INPUT_NOTIFY_MODE_GRAB; 3505 alias XCB_INPUT_NOTIFY_MODE_UNGRAB = xcb_input_notify_mode_t.XCB_INPUT_NOTIFY_MODE_UNGRAB; 3506 alias XCB_INPUT_NOTIFY_MODE_WHILE_GRABBED = xcb_input_notify_mode_t.XCB_INPUT_NOTIFY_MODE_WHILE_GRABBED; 3507 alias XCB_INPUT_NOTIFY_MODE_PASSIVE_GRAB = xcb_input_notify_mode_t.XCB_INPUT_NOTIFY_MODE_PASSIVE_GRAB; 3508 alias XCB_INPUT_NOTIFY_MODE_PASSIVE_UNGRAB = xcb_input_notify_mode_t.XCB_INPUT_NOTIFY_MODE_PASSIVE_UNGRAB; 3509 3510 enum xcb_input_notify_detail_t { 3511 XCB_INPUT_NOTIFY_DETAIL_ANCESTOR = 0, 3512 XCB_INPUT_NOTIFY_DETAIL_VIRTUAL = 1, 3513 XCB_INPUT_NOTIFY_DETAIL_INFERIOR = 2, 3514 XCB_INPUT_NOTIFY_DETAIL_NONLINEAR = 3, 3515 XCB_INPUT_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, 3516 XCB_INPUT_NOTIFY_DETAIL_POINTER = 5, 3517 XCB_INPUT_NOTIFY_DETAIL_POINTER_ROOT = 6, 3518 XCB_INPUT_NOTIFY_DETAIL_NONE = 7 3519 } 3520 3521 alias XCB_INPUT_NOTIFY_DETAIL_ANCESTOR = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_ANCESTOR; 3522 alias XCB_INPUT_NOTIFY_DETAIL_VIRTUAL = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_VIRTUAL; 3523 alias XCB_INPUT_NOTIFY_DETAIL_INFERIOR = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_INFERIOR; 3524 alias XCB_INPUT_NOTIFY_DETAIL_NONLINEAR = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_NONLINEAR; 3525 alias XCB_INPUT_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_NONLINEAR_VIRTUAL; 3526 alias XCB_INPUT_NOTIFY_DETAIL_POINTER = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_POINTER; 3527 alias XCB_INPUT_NOTIFY_DETAIL_POINTER_ROOT = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_POINTER_ROOT; 3528 alias XCB_INPUT_NOTIFY_DETAIL_NONE = xcb_input_notify_detail_t.XCB_INPUT_NOTIFY_DETAIL_NONE; 3529 3530 /** Opcode for xcb_input_enter. */ 3531 enum XCB_INPUT_ENTER = 7; 3532 3533 /** 3534 * @brief xcb_input_enter_event_t 3535 **/ 3536 struct xcb_input_enter_event_t { 3537 ubyte response_type; /**< */ 3538 ubyte extension; /**< */ 3539 ushort sequence; /**< */ 3540 uint length; /**< */ 3541 ushort event_type; /**< */ 3542 xcb_input_device_id_t deviceid; /**< */ 3543 xcb_timestamp_t time; /**< */ 3544 xcb_input_device_id_t sourceid; /**< */ 3545 ubyte mode; /**< */ 3546 ubyte detail; /**< */ 3547 xcb_window_t root; /**< */ 3548 xcb_window_t event; /**< */ 3549 xcb_window_t child; /**< */ 3550 uint full_sequence; /**< */ 3551 xcb_input_fp1616_t root_x; /**< */ 3552 xcb_input_fp1616_t root_y; /**< */ 3553 xcb_input_fp1616_t event_x; /**< */ 3554 xcb_input_fp1616_t event_y; /**< */ 3555 ubyte same_screen; /**< */ 3556 ubyte focus; /**< */ 3557 ushort buttons_len; /**< */ 3558 xcb_input_modifier_info_t mods; /**< */ 3559 xcb_input_group_info_t group; /**< */ 3560 } 3561 3562 /** Opcode for xcb_input_leave. */ 3563 enum XCB_INPUT_LEAVE = 8; 3564 3565 alias xcb_input_leave_event_t = xcb_input_enter_event_t; 3566 3567 /** Opcode for xcb_input_focus_in. */ 3568 enum XCB_INPUT_FOCUS_IN = 9; 3569 3570 alias xcb_input_focus_in_event_t = xcb_input_enter_event_t; 3571 3572 /** Opcode for xcb_input_focus_out. */ 3573 enum XCB_INPUT_FOCUS_OUT = 10; 3574 3575 alias xcb_input_focus_out_event_t = xcb_input_enter_event_t; 3576 3577 enum xcb_input_hierarchy_mask_t { 3578 XCB_INPUT_HIERARCHY_MASK_MASTER_ADDED = 1, 3579 XCB_INPUT_HIERARCHY_MASK_MASTER_REMOVED = 2, 3580 XCB_INPUT_HIERARCHY_MASK_SLAVE_ADDED = 4, 3581 XCB_INPUT_HIERARCHY_MASK_SLAVE_REMOVED = 8, 3582 XCB_INPUT_HIERARCHY_MASK_SLAVE_ATTACHED = 16, 3583 XCB_INPUT_HIERARCHY_MASK_SLAVE_DETACHED = 32, 3584 XCB_INPUT_HIERARCHY_MASK_DEVICE_ENABLED = 64, 3585 XCB_INPUT_HIERARCHY_MASK_DEVICE_DISABLED = 128 3586 } 3587 3588 alias XCB_INPUT_HIERARCHY_MASK_MASTER_ADDED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_MASTER_ADDED; 3589 alias XCB_INPUT_HIERARCHY_MASK_MASTER_REMOVED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_MASTER_REMOVED; 3590 alias XCB_INPUT_HIERARCHY_MASK_SLAVE_ADDED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_SLAVE_ADDED; 3591 alias XCB_INPUT_HIERARCHY_MASK_SLAVE_REMOVED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_SLAVE_REMOVED; 3592 alias XCB_INPUT_HIERARCHY_MASK_SLAVE_ATTACHED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_SLAVE_ATTACHED; 3593 alias XCB_INPUT_HIERARCHY_MASK_SLAVE_DETACHED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_SLAVE_DETACHED; 3594 alias XCB_INPUT_HIERARCHY_MASK_DEVICE_ENABLED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_DEVICE_ENABLED; 3595 alias XCB_INPUT_HIERARCHY_MASK_DEVICE_DISABLED = xcb_input_hierarchy_mask_t.XCB_INPUT_HIERARCHY_MASK_DEVICE_DISABLED; 3596 3597 /** 3598 * @brief xcb_input_hierarchy_info_t 3599 **/ 3600 struct xcb_input_hierarchy_info_t { 3601 xcb_input_device_id_t deviceid; /**< */ 3602 xcb_input_device_id_t attachment; /**< */ 3603 ubyte type; /**< */ 3604 ubyte enabled; /**< */ 3605 ubyte[2] pad0; /**< */ 3606 uint flags; /**< */ 3607 } 3608 3609 /** 3610 * @brief xcb_input_hierarchy_info_iterator_t 3611 **/ 3612 struct xcb_input_hierarchy_info_iterator_t { 3613 xcb_input_hierarchy_info_t* data; /**< */ 3614 int rem; /**< */ 3615 int index; /**< */ 3616 } 3617 3618 /** Opcode for xcb_input_hierarchy. */ 3619 enum XCB_INPUT_HIERARCHY = 11; 3620 3621 /** 3622 * @brief xcb_input_hierarchy_event_t 3623 **/ 3624 struct xcb_input_hierarchy_event_t { 3625 ubyte response_type; /**< */ 3626 ubyte extension; /**< */ 3627 ushort sequence; /**< */ 3628 uint length; /**< */ 3629 ushort event_type; /**< */ 3630 xcb_input_device_id_t deviceid; /**< */ 3631 xcb_timestamp_t time; /**< */ 3632 uint flags; /**< */ 3633 ushort num_infos; /**< */ 3634 ubyte[10] pad0; /**< */ 3635 uint full_sequence; /**< */ 3636 } 3637 3638 enum xcb_input_property_flag_t { 3639 XCB_INPUT_PROPERTY_FLAG_DELETED = 0, 3640 XCB_INPUT_PROPERTY_FLAG_CREATED = 1, 3641 XCB_INPUT_PROPERTY_FLAG_MODIFIED = 2 3642 } 3643 3644 alias XCB_INPUT_PROPERTY_FLAG_DELETED = xcb_input_property_flag_t.XCB_INPUT_PROPERTY_FLAG_DELETED; 3645 alias XCB_INPUT_PROPERTY_FLAG_CREATED = xcb_input_property_flag_t.XCB_INPUT_PROPERTY_FLAG_CREATED; 3646 alias XCB_INPUT_PROPERTY_FLAG_MODIFIED = xcb_input_property_flag_t.XCB_INPUT_PROPERTY_FLAG_MODIFIED; 3647 3648 /** Opcode for xcb_input_property. */ 3649 enum XCB_INPUT_PROPERTY = 12; 3650 3651 /** 3652 * @brief xcb_input_property_event_t 3653 **/ 3654 struct xcb_input_property_event_t { 3655 ubyte response_type; /**< */ 3656 ubyte extension; /**< */ 3657 ushort sequence; /**< */ 3658 uint length; /**< */ 3659 ushort event_type; /**< */ 3660 xcb_input_device_id_t deviceid; /**< */ 3661 xcb_timestamp_t time; /**< */ 3662 xcb_atom_t property; /**< */ 3663 ubyte what; /**< */ 3664 ubyte[11] pad0; /**< */ 3665 uint full_sequence; /**< */ 3666 } 3667 3668 /** Opcode for xcb_input_raw_key_press. */ 3669 enum XCB_INPUT_RAW_KEY_PRESS = 13; 3670 3671 /** 3672 * @brief xcb_input_raw_key_press_event_t 3673 **/ 3674 struct xcb_input_raw_key_press_event_t { 3675 ubyte response_type; /**< */ 3676 ubyte extension; /**< */ 3677 ushort sequence; /**< */ 3678 uint length; /**< */ 3679 ushort event_type; /**< */ 3680 xcb_input_device_id_t deviceid; /**< */ 3681 xcb_timestamp_t time; /**< */ 3682 uint detail; /**< */ 3683 xcb_input_device_id_t sourceid; /**< */ 3684 ushort valuators_len; /**< */ 3685 uint flags; /**< */ 3686 ubyte[4] pad0; /**< */ 3687 uint full_sequence; /**< */ 3688 } 3689 3690 /** Opcode for xcb_input_raw_key_release. */ 3691 enum XCB_INPUT_RAW_KEY_RELEASE = 14; 3692 3693 alias xcb_input_raw_key_release_event_t = xcb_input_raw_key_press_event_t; 3694 3695 /** Opcode for xcb_input_raw_button_press. */ 3696 enum XCB_INPUT_RAW_BUTTON_PRESS = 15; 3697 3698 /** 3699 * @brief xcb_input_raw_button_press_event_t 3700 **/ 3701 struct xcb_input_raw_button_press_event_t { 3702 ubyte response_type; /**< */ 3703 ubyte extension; /**< */ 3704 ushort sequence; /**< */ 3705 uint length; /**< */ 3706 ushort event_type; /**< */ 3707 xcb_input_device_id_t deviceid; /**< */ 3708 xcb_timestamp_t time; /**< */ 3709 uint detail; /**< */ 3710 xcb_input_device_id_t sourceid; /**< */ 3711 ushort valuators_len; /**< */ 3712 uint flags; /**< */ 3713 ubyte[4] pad0; /**< */ 3714 uint full_sequence; /**< */ 3715 } 3716 3717 /** Opcode for xcb_input_raw_button_release. */ 3718 enum XCB_INPUT_RAW_BUTTON_RELEASE = 16; 3719 3720 alias xcb_input_raw_button_release_event_t = xcb_input_raw_button_press_event_t; 3721 3722 /** Opcode for xcb_input_raw_motion. */ 3723 enum XCB_INPUT_RAW_MOTION = 17; 3724 3725 alias xcb_input_raw_motion_event_t = xcb_input_raw_button_press_event_t; 3726 3727 enum xcb_input_touch_event_flags_t { 3728 XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_PENDING_END = 65536, 3729 XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_EMULATING_POINTER = 131072 3730 } 3731 3732 alias XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_PENDING_END = xcb_input_touch_event_flags_t.XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_PENDING_END; 3733 alias XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_EMULATING_POINTER = xcb_input_touch_event_flags_t.XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_EMULATING_POINTER; 3734 3735 /** Opcode for xcb_input_touch_begin. */ 3736 enum XCB_INPUT_TOUCH_BEGIN = 18; 3737 3738 /** 3739 * @brief xcb_input_touch_begin_event_t 3740 **/ 3741 struct xcb_input_touch_begin_event_t { 3742 ubyte response_type; /**< */ 3743 ubyte extension; /**< */ 3744 ushort sequence; /**< */ 3745 uint length; /**< */ 3746 ushort event_type; /**< */ 3747 xcb_input_device_id_t deviceid; /**< */ 3748 xcb_timestamp_t time; /**< */ 3749 uint detail; /**< */ 3750 xcb_window_t root; /**< */ 3751 xcb_window_t event; /**< */ 3752 xcb_window_t child; /**< */ 3753 uint full_sequence; /**< */ 3754 xcb_input_fp1616_t root_x; /**< */ 3755 xcb_input_fp1616_t root_y; /**< */ 3756 xcb_input_fp1616_t event_x; /**< */ 3757 xcb_input_fp1616_t event_y; /**< */ 3758 ushort buttons_len; /**< */ 3759 ushort valuators_len; /**< */ 3760 xcb_input_device_id_t sourceid; /**< */ 3761 ubyte[2] pad0; /**< */ 3762 uint flags; /**< */ 3763 xcb_input_modifier_info_t mods; /**< */ 3764 xcb_input_group_info_t group; /**< */ 3765 } 3766 3767 /** Opcode for xcb_input_touch_update. */ 3768 enum XCB_INPUT_TOUCH_UPDATE = 19; 3769 3770 alias xcb_input_touch_update_event_t = xcb_input_touch_begin_event_t; 3771 3772 /** Opcode for xcb_input_touch_end. */ 3773 enum XCB_INPUT_TOUCH_END = 20; 3774 3775 alias xcb_input_touch_end_event_t = xcb_input_touch_begin_event_t; 3776 3777 enum xcb_input_touch_ownership_flags_t { 3778 XCB_INPUT_TOUCH_OWNERSHIP_FLAGS_NONE = 0 3779 } 3780 3781 alias XCB_INPUT_TOUCH_OWNERSHIP_FLAGS_NONE = xcb_input_touch_ownership_flags_t.XCB_INPUT_TOUCH_OWNERSHIP_FLAGS_NONE; 3782 3783 /** Opcode for xcb_input_touch_ownership. */ 3784 enum XCB_INPUT_TOUCH_OWNERSHIP = 21; 3785 3786 /** 3787 * @brief xcb_input_touch_ownership_event_t 3788 **/ 3789 struct xcb_input_touch_ownership_event_t { 3790 ubyte response_type; /**< */ 3791 ubyte extension; /**< */ 3792 ushort sequence; /**< */ 3793 uint length; /**< */ 3794 ushort event_type; /**< */ 3795 xcb_input_device_id_t deviceid; /**< */ 3796 xcb_timestamp_t time; /**< */ 3797 uint touchid; /**< */ 3798 xcb_window_t root; /**< */ 3799 xcb_window_t event; /**< */ 3800 xcb_window_t child; /**< */ 3801 uint full_sequence; /**< */ 3802 xcb_input_device_id_t sourceid; /**< */ 3803 ubyte[2] pad0; /**< */ 3804 uint flags; /**< */ 3805 ubyte[8] pad1; /**< */ 3806 } 3807 3808 /** Opcode for xcb_input_raw_touch_begin. */ 3809 enum XCB_INPUT_RAW_TOUCH_BEGIN = 22; 3810 3811 /** 3812 * @brief xcb_input_raw_touch_begin_event_t 3813 **/ 3814 struct xcb_input_raw_touch_begin_event_t { 3815 ubyte response_type; /**< */ 3816 ubyte extension; /**< */ 3817 ushort sequence; /**< */ 3818 uint length; /**< */ 3819 ushort event_type; /**< */ 3820 xcb_input_device_id_t deviceid; /**< */ 3821 xcb_timestamp_t time; /**< */ 3822 uint detail; /**< */ 3823 xcb_input_device_id_t sourceid; /**< */ 3824 ushort valuators_len; /**< */ 3825 uint flags; /**< */ 3826 ubyte[4] pad0; /**< */ 3827 uint full_sequence; /**< */ 3828 } 3829 3830 /** Opcode for xcb_input_raw_touch_update. */ 3831 enum XCB_INPUT_RAW_TOUCH_UPDATE = 23; 3832 3833 alias xcb_input_raw_touch_update_event_t = xcb_input_raw_touch_begin_event_t; 3834 3835 /** Opcode for xcb_input_raw_touch_end. */ 3836 enum XCB_INPUT_RAW_TOUCH_END = 24; 3837 3838 alias xcb_input_raw_touch_end_event_t = xcb_input_raw_touch_begin_event_t; 3839 3840 /** Opcode for xcb_input_barrier_hit. */ 3841 enum XCB_INPUT_BARRIER_HIT = 25; 3842 3843 /** 3844 * @brief xcb_input_barrier_hit_event_t 3845 **/ 3846 struct xcb_input_barrier_hit_event_t { 3847 ubyte response_type; /**< */ 3848 ubyte extension; /**< */ 3849 ushort sequence; /**< */ 3850 uint length; /**< */ 3851 ushort event_type; /**< */ 3852 xcb_input_device_id_t deviceid; /**< */ 3853 xcb_timestamp_t time; /**< */ 3854 uint eventid; /**< */ 3855 xcb_window_t root; /**< */ 3856 xcb_window_t event; /**< */ 3857 xcb_xfixes_barrier_t barrier; /**< */ 3858 uint full_sequence; /**< */ 3859 uint dtime; /**< */ 3860 uint flags; /**< */ 3861 xcb_input_device_id_t sourceid; /**< */ 3862 ubyte[2] pad0; /**< */ 3863 xcb_input_fp1616_t root_x; /**< */ 3864 xcb_input_fp1616_t root_y; /**< */ 3865 xcb_input_fp3232_t dx; /**< */ 3866 xcb_input_fp3232_t dy; /**< */ 3867 } 3868 3869 /** Opcode for xcb_input_barrier_leave. */ 3870 enum XCB_INPUT_BARRIER_LEAVE = 26; 3871 3872 alias xcb_input_barrier_leave_event_t = xcb_input_barrier_hit_event_t; 3873 3874 /** Opcode for xcb_input_device. */ 3875 enum XCB_INPUT_DEVICE = 0; 3876 3877 /** 3878 * @brief xcb_input_device_error_t 3879 **/ 3880 struct xcb_input_device_error_t { 3881 ubyte response_type; /**< */ 3882 ubyte error_code; /**< */ 3883 ushort sequence; /**< */ 3884 } 3885 3886 /** Opcode for xcb_input_event. */ 3887 enum XCB_INPUT_EVENT = 1; 3888 3889 /** 3890 * @brief xcb_input_event_error_t 3891 **/ 3892 struct xcb_input_event_error_t { 3893 ubyte response_type; /**< */ 3894 ubyte error_code; /**< */ 3895 ushort sequence; /**< */ 3896 } 3897 3898 /** Opcode for xcb_input_mode. */ 3899 enum XCB_INPUT_MODE = 2; 3900 3901 /** 3902 * @brief xcb_input_mode_error_t 3903 **/ 3904 struct xcb_input_mode_error_t { 3905 ubyte response_type; /**< */ 3906 ubyte error_code; /**< */ 3907 ushort sequence; /**< */ 3908 } 3909 3910 /** Opcode for xcb_input_device_busy. */ 3911 enum XCB_INPUT_DEVICE_BUSY = 3; 3912 3913 /** 3914 * @brief xcb_input_device_busy_error_t 3915 **/ 3916 struct xcb_input_device_busy_error_t { 3917 ubyte response_type; /**< */ 3918 ubyte error_code; /**< */ 3919 ushort sequence; /**< */ 3920 } 3921 3922 /** Opcode for xcb_input_class. */ 3923 enum XCB_INPUT_CLASS = 4; 3924 3925 /** 3926 * @brief xcb_input_class_error_t 3927 **/ 3928 struct xcb_input_class_error_t { 3929 ubyte response_type; /**< */ 3930 ubyte error_code; /**< */ 3931 ushort sequence; /**< */ 3932 } 3933 3934 /** 3935 * Get the next element of the iterator 3936 * @param i Pointer to a xcb_input_event_class_iterator_t 3937 * 3938 * Get the next element in the iterator. The member rem is 3939 * decreased by one. The member data points to the next 3940 * element. The member index is increased by sizeof(xcb_input_event_class_t) 3941 */ 3942 void xcb_input_event_class_next(xcb_input_event_class_iterator_t* i /**< */ ); 3943 3944 /** 3945 * Return the iterator pointing to the last element 3946 * @param i An xcb_input_event_class_iterator_t 3947 * @return The iterator pointing to the last element 3948 * 3949 * Set the current element in the iterator to the last element. 3950 * The member rem is set to 0. The member data points to the 3951 * last element. 3952 */ 3953 xcb_generic_iterator_t xcb_input_event_class_end(xcb_input_event_class_iterator_t i /**< */ ); 3954 3955 /** 3956 * Get the next element of the iterator 3957 * @param i Pointer to a xcb_input_key_code_iterator_t 3958 * 3959 * Get the next element in the iterator. The member rem is 3960 * decreased by one. The member data points to the next 3961 * element. The member index is increased by sizeof(xcb_input_key_code_t) 3962 */ 3963 void xcb_input_key_code_next(xcb_input_key_code_iterator_t* i /**< */ ); 3964 3965 /** 3966 * Return the iterator pointing to the last element 3967 * @param i An xcb_input_key_code_iterator_t 3968 * @return The iterator pointing to the last element 3969 * 3970 * Set the current element in the iterator to the last element. 3971 * The member rem is set to 0. The member data points to the 3972 * last element. 3973 */ 3974 xcb_generic_iterator_t xcb_input_key_code_end(xcb_input_key_code_iterator_t i /**< */ ); 3975 3976 /** 3977 * Get the next element of the iterator 3978 * @param i Pointer to a xcb_input_device_id_iterator_t 3979 * 3980 * Get the next element in the iterator. The member rem is 3981 * decreased by one. The member data points to the next 3982 * element. The member index is increased by sizeof(xcb_input_device_id_t) 3983 */ 3984 void xcb_input_device_id_next(xcb_input_device_id_iterator_t* i /**< */ ); 3985 3986 /** 3987 * Return the iterator pointing to the last element 3988 * @param i An xcb_input_device_id_iterator_t 3989 * @return The iterator pointing to the last element 3990 * 3991 * Set the current element in the iterator to the last element. 3992 * The member rem is set to 0. The member data points to the 3993 * last element. 3994 */ 3995 xcb_generic_iterator_t xcb_input_device_id_end(xcb_input_device_id_iterator_t i /**< */ ); 3996 3997 /** 3998 * Get the next element of the iterator 3999 * @param i Pointer to a xcb_input_fp1616_iterator_t 4000 * 4001 * Get the next element in the iterator. The member rem is 4002 * decreased by one. The member data points to the next 4003 * element. The member index is increased by sizeof(xcb_input_fp1616_t) 4004 */ 4005 void xcb_input_fp1616_next(xcb_input_fp1616_iterator_t* i /**< */ ); 4006 4007 /** 4008 * Return the iterator pointing to the last element 4009 * @param i An xcb_input_fp1616_iterator_t 4010 * @return The iterator pointing to the last element 4011 * 4012 * Set the current element in the iterator to the last element. 4013 * The member rem is set to 0. The member data points to the 4014 * last element. 4015 */ 4016 xcb_generic_iterator_t xcb_input_fp1616_end(xcb_input_fp1616_iterator_t i /**< */ ); 4017 4018 /** 4019 * Get the next element of the iterator 4020 * @param i Pointer to a xcb_input_fp3232_iterator_t 4021 * 4022 * Get the next element in the iterator. The member rem is 4023 * decreased by one. The member data points to the next 4024 * element. The member index is increased by sizeof(xcb_input_fp3232_t) 4025 */ 4026 void xcb_input_fp3232_next(xcb_input_fp3232_iterator_t* i /**< */ ); 4027 4028 /** 4029 * Return the iterator pointing to the last element 4030 * @param i An xcb_input_fp3232_iterator_t 4031 * @return The iterator pointing to the last element 4032 * 4033 * Set the current element in the iterator to the last element. 4034 * The member rem is set to 0. The member data points to the 4035 * last element. 4036 */ 4037 xcb_generic_iterator_t xcb_input_fp3232_end(xcb_input_fp3232_iterator_t i /**< */ ); 4038 4039 int xcb_input_get_extension_version_sizeof(const void* _buffer /**< */ ); 4040 4041 /** 4042 * 4043 * @param c The connection 4044 * @return A cookie 4045 * 4046 * Delivers a request to the X server. 4047 * 4048 */ 4049 xcb_input_get_extension_version_cookie_t xcb_input_get_extension_version(xcb_connection_t* c /**< */ , ushort name_len /**< */ , 4050 const char* name /**< */ ); 4051 4052 /** 4053 * 4054 * @param c The connection 4055 * @return A cookie 4056 * 4057 * Delivers a request to the X server. 4058 * 4059 * This form can be used only if the request will cause 4060 * a reply to be generated. Any returned error will be 4061 * placed in the event queue. 4062 */ 4063 xcb_input_get_extension_version_cookie_t xcb_input_get_extension_version_unchecked(xcb_connection_t* c /**< */ , 4064 ushort name_len /**< */ , const char* name /**< */ ); 4065 4066 /** 4067 * Return the reply 4068 * @param c The connection 4069 * @param cookie The cookie 4070 * @param e The xcb_generic_error_t supplied 4071 * 4072 * Returns the reply of the request asked by 4073 * 4074 * The parameter @p e supplied to this function must be NULL if 4075 * xcb_input_get_extension_version_unchecked(). is used. 4076 * Otherwise, it stores the error if any. 4077 * 4078 * The returned value must be freed by the caller using free(). 4079 */ 4080 xcb_input_get_extension_version_reply_t* xcb_input_get_extension_version_reply(xcb_connection_t* c /**< */ , 4081 xcb_input_get_extension_version_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4082 4083 /** 4084 * Get the next element of the iterator 4085 * @param i Pointer to a xcb_input_device_info_iterator_t 4086 * 4087 * Get the next element in the iterator. The member rem is 4088 * decreased by one. The member data points to the next 4089 * element. The member index is increased by sizeof(xcb_input_device_info_t) 4090 */ 4091 void xcb_input_device_info_next(xcb_input_device_info_iterator_t* i /**< */ ); 4092 4093 /** 4094 * Return the iterator pointing to the last element 4095 * @param i An xcb_input_device_info_iterator_t 4096 * @return The iterator pointing to the last element 4097 * 4098 * Set the current element in the iterator to the last element. 4099 * The member rem is set to 0. The member data points to the 4100 * last element. 4101 */ 4102 xcb_generic_iterator_t xcb_input_device_info_end(xcb_input_device_info_iterator_t i /**< */ ); 4103 4104 /** 4105 * Get the next element of the iterator 4106 * @param i Pointer to a xcb_input_key_info_iterator_t 4107 * 4108 * Get the next element in the iterator. The member rem is 4109 * decreased by one. The member data points to the next 4110 * element. The member index is increased by sizeof(xcb_input_key_info_t) 4111 */ 4112 void xcb_input_key_info_next(xcb_input_key_info_iterator_t* i /**< */ ); 4113 4114 /** 4115 * Return the iterator pointing to the last element 4116 * @param i An xcb_input_key_info_iterator_t 4117 * @return The iterator pointing to the last element 4118 * 4119 * Set the current element in the iterator to the last element. 4120 * The member rem is set to 0. The member data points to the 4121 * last element. 4122 */ 4123 xcb_generic_iterator_t xcb_input_key_info_end(xcb_input_key_info_iterator_t i /**< */ ); 4124 4125 /** 4126 * Get the next element of the iterator 4127 * @param i Pointer to a xcb_input_button_info_iterator_t 4128 * 4129 * Get the next element in the iterator. The member rem is 4130 * decreased by one. The member data points to the next 4131 * element. The member index is increased by sizeof(xcb_input_button_info_t) 4132 */ 4133 void xcb_input_button_info_next(xcb_input_button_info_iterator_t* i /**< */ ); 4134 4135 /** 4136 * Return the iterator pointing to the last element 4137 * @param i An xcb_input_button_info_iterator_t 4138 * @return The iterator pointing to the last element 4139 * 4140 * Set the current element in the iterator to the last element. 4141 * The member rem is set to 0. The member data points to the 4142 * last element. 4143 */ 4144 xcb_generic_iterator_t xcb_input_button_info_end(xcb_input_button_info_iterator_t i /**< */ ); 4145 4146 /** 4147 * Get the next element of the iterator 4148 * @param i Pointer to a xcb_input_axis_info_iterator_t 4149 * 4150 * Get the next element in the iterator. The member rem is 4151 * decreased by one. The member data points to the next 4152 * element. The member index is increased by sizeof(xcb_input_axis_info_t) 4153 */ 4154 void xcb_input_axis_info_next(xcb_input_axis_info_iterator_t* i /**< */ ); 4155 4156 /** 4157 * Return the iterator pointing to the last element 4158 * @param i An xcb_input_axis_info_iterator_t 4159 * @return The iterator pointing to the last element 4160 * 4161 * Set the current element in the iterator to the last element. 4162 * The member rem is set to 0. The member data points to the 4163 * last element. 4164 */ 4165 xcb_generic_iterator_t xcb_input_axis_info_end(xcb_input_axis_info_iterator_t i /**< */ ); 4166 4167 int xcb_input_valuator_info_sizeof(const void* _buffer /**< */ ); 4168 4169 xcb_input_axis_info_t* xcb_input_valuator_info_axes(const xcb_input_valuator_info_t* R /**< */ ); 4170 4171 int xcb_input_valuator_info_axes_length(const xcb_input_valuator_info_t* R /**< */ ); 4172 4173 xcb_input_axis_info_iterator_t xcb_input_valuator_info_axes_iterator(const xcb_input_valuator_info_t* R /**< */ ); 4174 4175 /** 4176 * Get the next element of the iterator 4177 * @param i Pointer to a xcb_input_valuator_info_iterator_t 4178 * 4179 * Get the next element in the iterator. The member rem is 4180 * decreased by one. The member data points to the next 4181 * element. The member index is increased by sizeof(xcb_input_valuator_info_t) 4182 */ 4183 void xcb_input_valuator_info_next(xcb_input_valuator_info_iterator_t* i /**< */ ); 4184 4185 /** 4186 * Return the iterator pointing to the last element 4187 * @param i An xcb_input_valuator_info_iterator_t 4188 * @return The iterator pointing to the last element 4189 * 4190 * Set the current element in the iterator to the last element. 4191 * The member rem is set to 0. The member data points to the 4192 * last element. 4193 */ 4194 xcb_generic_iterator_t xcb_input_valuator_info_end(xcb_input_valuator_info_iterator_t i /**< */ ); 4195 4196 /** 4197 * Get the next element of the iterator 4198 * @param i Pointer to a xcb_input_input_info_iterator_t 4199 * 4200 * Get the next element in the iterator. The member rem is 4201 * decreased by one. The member data points to the next 4202 * element. The member index is increased by sizeof(xcb_input_input_info_t) 4203 */ 4204 void xcb_input_input_info_next(xcb_input_input_info_iterator_t* i /**< */ ); 4205 4206 /** 4207 * Return the iterator pointing to the last element 4208 * @param i An xcb_input_input_info_iterator_t 4209 * @return The iterator pointing to the last element 4210 * 4211 * Set the current element in the iterator to the last element. 4212 * The member rem is set to 0. The member data points to the 4213 * last element. 4214 */ 4215 xcb_generic_iterator_t xcb_input_input_info_end(xcb_input_input_info_iterator_t i /**< */ ); 4216 4217 int xcb_input_device_name_sizeof(const void* _buffer /**< */ ); 4218 4219 char* xcb_input_device_name_string(const xcb_input_device_name_t* R /**< */ ); 4220 4221 int xcb_input_device_name_string_length(const xcb_input_device_name_t* R /**< */ ); 4222 4223 xcb_generic_iterator_t xcb_input_device_name_string_end(const xcb_input_device_name_t* R /**< */ ); 4224 4225 /** 4226 * Get the next element of the iterator 4227 * @param i Pointer to a xcb_input_device_name_iterator_t 4228 * 4229 * Get the next element in the iterator. The member rem is 4230 * decreased by one. The member data points to the next 4231 * element. The member index is increased by sizeof(xcb_input_device_name_t) 4232 */ 4233 void xcb_input_device_name_next(xcb_input_device_name_iterator_t* i /**< */ ); 4234 4235 /** 4236 * Return the iterator pointing to the last element 4237 * @param i An xcb_input_device_name_iterator_t 4238 * @return The iterator pointing to the last element 4239 * 4240 * Set the current element in the iterator to the last element. 4241 * The member rem is set to 0. The member data points to the 4242 * last element. 4243 */ 4244 xcb_generic_iterator_t xcb_input_device_name_end(xcb_input_device_name_iterator_t i /**< */ ); 4245 4246 int xcb_input_list_input_devices_sizeof(const void* _buffer /**< */ ); 4247 4248 /** 4249 * 4250 * @param c The connection 4251 * @return A cookie 4252 * 4253 * Delivers a request to the X server. 4254 * 4255 */ 4256 xcb_input_list_input_devices_cookie_t xcb_input_list_input_devices(xcb_connection_t* c /**< */ ); 4257 4258 /** 4259 * 4260 * @param c The connection 4261 * @return A cookie 4262 * 4263 * Delivers a request to the X server. 4264 * 4265 * This form can be used only if the request will cause 4266 * a reply to be generated. Any returned error will be 4267 * placed in the event queue. 4268 */ 4269 xcb_input_list_input_devices_cookie_t xcb_input_list_input_devices_unchecked(xcb_connection_t* c /**< */ ); 4270 4271 xcb_input_device_info_t* xcb_input_list_input_devices_devices(const xcb_input_list_input_devices_reply_t* R /**< */ ); 4272 4273 int xcb_input_list_input_devices_devices_length(const xcb_input_list_input_devices_reply_t* R /**< */ ); 4274 4275 xcb_input_device_info_iterator_t xcb_input_list_input_devices_devices_iterator(const xcb_input_list_input_devices_reply_t* R /**< */ ); 4276 4277 /** 4278 * Return the reply 4279 * @param c The connection 4280 * @param cookie The cookie 4281 * @param e The xcb_generic_error_t supplied 4282 * 4283 * Returns the reply of the request asked by 4284 * 4285 * The parameter @p e supplied to this function must be NULL if 4286 * xcb_input_list_input_devices_unchecked(). is used. 4287 * Otherwise, it stores the error if any. 4288 * 4289 * The returned value must be freed by the caller using free(). 4290 */ 4291 xcb_input_list_input_devices_reply_t* xcb_input_list_input_devices_reply(xcb_connection_t* c /**< */ , 4292 xcb_input_list_input_devices_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4293 4294 /** 4295 * Get the next element of the iterator 4296 * @param i Pointer to a xcb_input_input_class_info_iterator_t 4297 * 4298 * Get the next element in the iterator. The member rem is 4299 * decreased by one. The member data points to the next 4300 * element. The member index is increased by sizeof(xcb_input_input_class_info_t) 4301 */ 4302 void xcb_input_input_class_info_next(xcb_input_input_class_info_iterator_t* i /**< */ ); 4303 4304 /** 4305 * Return the iterator pointing to the last element 4306 * @param i An xcb_input_input_class_info_iterator_t 4307 * @return The iterator pointing to the last element 4308 * 4309 * Set the current element in the iterator to the last element. 4310 * The member rem is set to 0. The member data points to the 4311 * last element. 4312 */ 4313 xcb_generic_iterator_t xcb_input_input_class_info_end(xcb_input_input_class_info_iterator_t i /**< */ ); 4314 4315 int xcb_input_open_device_sizeof(const void* _buffer /**< */ ); 4316 4317 /** 4318 * 4319 * @param c The connection 4320 * @return A cookie 4321 * 4322 * Delivers a request to the X server. 4323 * 4324 */ 4325 xcb_input_open_device_cookie_t xcb_input_open_device(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4326 4327 /** 4328 * 4329 * @param c The connection 4330 * @return A cookie 4331 * 4332 * Delivers a request to the X server. 4333 * 4334 * This form can be used only if the request will cause 4335 * a reply to be generated. Any returned error will be 4336 * placed in the event queue. 4337 */ 4338 xcb_input_open_device_cookie_t xcb_input_open_device_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4339 4340 xcb_input_input_class_info_t* xcb_input_open_device_class_info(const xcb_input_open_device_reply_t* R /**< */ ); 4341 4342 int xcb_input_open_device_class_info_length(const xcb_input_open_device_reply_t* R /**< */ ); 4343 4344 xcb_input_input_class_info_iterator_t xcb_input_open_device_class_info_iterator(const xcb_input_open_device_reply_t* R /**< */ ); 4345 4346 /** 4347 * Return the reply 4348 * @param c The connection 4349 * @param cookie The cookie 4350 * @param e The xcb_generic_error_t supplied 4351 * 4352 * Returns the reply of the request asked by 4353 * 4354 * The parameter @p e supplied to this function must be NULL if 4355 * xcb_input_open_device_unchecked(). is used. 4356 * Otherwise, it stores the error if any. 4357 * 4358 * The returned value must be freed by the caller using free(). 4359 */ 4360 xcb_input_open_device_reply_t* xcb_input_open_device_reply(xcb_connection_t* c /**< */ , 4361 xcb_input_open_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4362 4363 /** 4364 * 4365 * @param c The connection 4366 * @return A cookie 4367 * 4368 * Delivers a request to the X server. 4369 * 4370 * This form can be used only if the request will not cause 4371 * a reply to be generated. Any returned error will be 4372 * saved for handling by xcb_request_check(). 4373 */ 4374 xcb_void_cookie_t xcb_input_close_device_checked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4375 4376 /** 4377 * 4378 * @param c The connection 4379 * @return A cookie 4380 * 4381 * Delivers a request to the X server. 4382 * 4383 */ 4384 xcb_void_cookie_t xcb_input_close_device(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4385 4386 /** 4387 * 4388 * @param c The connection 4389 * @return A cookie 4390 * 4391 * Delivers a request to the X server. 4392 * 4393 */ 4394 xcb_input_set_device_mode_cookie_t xcb_input_set_device_mode(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , ubyte mode /**< */ ); 4395 4396 /** 4397 * 4398 * @param c The connection 4399 * @return A cookie 4400 * 4401 * Delivers a request to the X server. 4402 * 4403 * This form can be used only if the request will cause 4404 * a reply to be generated. Any returned error will be 4405 * placed in the event queue. 4406 */ 4407 xcb_input_set_device_mode_cookie_t xcb_input_set_device_mode_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 4408 ubyte mode /**< */ ); 4409 4410 /** 4411 * Return the reply 4412 * @param c The connection 4413 * @param cookie The cookie 4414 * @param e The xcb_generic_error_t supplied 4415 * 4416 * Returns the reply of the request asked by 4417 * 4418 * The parameter @p e supplied to this function must be NULL if 4419 * xcb_input_set_device_mode_unchecked(). is used. 4420 * Otherwise, it stores the error if any. 4421 * 4422 * The returned value must be freed by the caller using free(). 4423 */ 4424 xcb_input_set_device_mode_reply_t* xcb_input_set_device_mode_reply(xcb_connection_t* c /**< */ , 4425 xcb_input_set_device_mode_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4426 4427 int xcb_input_select_extension_event_sizeof(const void* _buffer /**< */ ); 4428 4429 /** 4430 * 4431 * @param c The connection 4432 * @return A cookie 4433 * 4434 * Delivers a request to the X server. 4435 * 4436 * This form can be used only if the request will not cause 4437 * a reply to be generated. Any returned error will be 4438 * saved for handling by xcb_request_check(). 4439 */ 4440 xcb_void_cookie_t xcb_input_select_extension_event_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort num_classes /**< */ , 4441 const xcb_input_event_class_t* classes /**< */ ); 4442 4443 /** 4444 * 4445 * @param c The connection 4446 * @return A cookie 4447 * 4448 * Delivers a request to the X server. 4449 * 4450 */ 4451 xcb_void_cookie_t xcb_input_select_extension_event(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort num_classes /**< */ , 4452 const xcb_input_event_class_t* classes /**< */ ); 4453 4454 int xcb_input_get_selected_extension_events_sizeof(const void* _buffer /**< */ ); 4455 4456 /** 4457 * 4458 * @param c The connection 4459 * @return A cookie 4460 * 4461 * Delivers a request to the X server. 4462 * 4463 */ 4464 xcb_input_get_selected_extension_events_cookie_t xcb_input_get_selected_extension_events(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 4465 4466 /** 4467 * 4468 * @param c The connection 4469 * @return A cookie 4470 * 4471 * Delivers a request to the X server. 4472 * 4473 * This form can be used only if the request will cause 4474 * a reply to be generated. Any returned error will be 4475 * placed in the event queue. 4476 */ 4477 xcb_input_get_selected_extension_events_cookie_t xcb_input_get_selected_extension_events_unchecked(xcb_connection_t* c /**< */ , 4478 xcb_window_t window /**< */ ); 4479 4480 xcb_input_event_class_t* xcb_input_get_selected_extension_events_this_classes(const xcb_input_get_selected_extension_events_reply_t* R /**< */ ); 4481 4482 int xcb_input_get_selected_extension_events_this_classes_length(const xcb_input_get_selected_extension_events_reply_t* R /**< */ ); 4483 4484 xcb_generic_iterator_t xcb_input_get_selected_extension_events_this_classes_end(const xcb_input_get_selected_extension_events_reply_t* R /**< */ ); 4485 4486 xcb_input_event_class_t* xcb_input_get_selected_extension_events_all_classes(const xcb_input_get_selected_extension_events_reply_t* R /**< */ ); 4487 4488 int xcb_input_get_selected_extension_events_all_classes_length(const xcb_input_get_selected_extension_events_reply_t* R /**< */ ); 4489 4490 xcb_generic_iterator_t xcb_input_get_selected_extension_events_all_classes_end(const xcb_input_get_selected_extension_events_reply_t* R /**< */ ); 4491 4492 /** 4493 * Return the reply 4494 * @param c The connection 4495 * @param cookie The cookie 4496 * @param e The xcb_generic_error_t supplied 4497 * 4498 * Returns the reply of the request asked by 4499 * 4500 * The parameter @p e supplied to this function must be NULL if 4501 * xcb_input_get_selected_extension_events_unchecked(). is used. 4502 * Otherwise, it stores the error if any. 4503 * 4504 * The returned value must be freed by the caller using free(). 4505 */ 4506 xcb_input_get_selected_extension_events_reply_t* xcb_input_get_selected_extension_events_reply(xcb_connection_t* c /**< */ , 4507 xcb_input_get_selected_extension_events_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4508 4509 int xcb_input_change_device_dont_propagate_list_sizeof(const void* _buffer /**< */ ); 4510 4511 /** 4512 * 4513 * @param c The connection 4514 * @return A cookie 4515 * 4516 * Delivers a request to the X server. 4517 * 4518 * This form can be used only if the request will not cause 4519 * a reply to be generated. Any returned error will be 4520 * saved for handling by xcb_request_check(). 4521 */ 4522 xcb_void_cookie_t xcb_input_change_device_dont_propagate_list_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 4523 ushort num_classes /**< */ , ubyte mode /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4524 4525 /** 4526 * 4527 * @param c The connection 4528 * @return A cookie 4529 * 4530 * Delivers a request to the X server. 4531 * 4532 */ 4533 xcb_void_cookie_t xcb_input_change_device_dont_propagate_list(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort num_classes /**< */ , 4534 ubyte mode /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4535 4536 int xcb_input_get_device_dont_propagate_list_sizeof(const void* _buffer /**< */ ); 4537 4538 /** 4539 * 4540 * @param c The connection 4541 * @return A cookie 4542 * 4543 * Delivers a request to the X server. 4544 * 4545 */ 4546 xcb_input_get_device_dont_propagate_list_cookie_t xcb_input_get_device_dont_propagate_list(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 4547 4548 /** 4549 * 4550 * @param c The connection 4551 * @return A cookie 4552 * 4553 * Delivers a request to the X server. 4554 * 4555 * This form can be used only if the request will cause 4556 * a reply to be generated. Any returned error will be 4557 * placed in the event queue. 4558 */ 4559 xcb_input_get_device_dont_propagate_list_cookie_t xcb_input_get_device_dont_propagate_list_unchecked(xcb_connection_t* c /**< */ , 4560 xcb_window_t window /**< */ ); 4561 4562 xcb_input_event_class_t* xcb_input_get_device_dont_propagate_list_classes(const xcb_input_get_device_dont_propagate_list_reply_t* R /**< */ ); 4563 4564 int xcb_input_get_device_dont_propagate_list_classes_length(const xcb_input_get_device_dont_propagate_list_reply_t* R /**< */ ); 4565 4566 xcb_generic_iterator_t xcb_input_get_device_dont_propagate_list_classes_end(const xcb_input_get_device_dont_propagate_list_reply_t* R /**< */ ); 4567 4568 /** 4569 * Return the reply 4570 * @param c The connection 4571 * @param cookie The cookie 4572 * @param e The xcb_generic_error_t supplied 4573 * 4574 * Returns the reply of the request asked by 4575 * 4576 * The parameter @p e supplied to this function must be NULL if 4577 * xcb_input_get_device_dont_propagate_list_unchecked(). is used. 4578 * Otherwise, it stores the error if any. 4579 * 4580 * The returned value must be freed by the caller using free(). 4581 */ 4582 xcb_input_get_device_dont_propagate_list_reply_t* xcb_input_get_device_dont_propagate_list_reply(xcb_connection_t* c /**< */ , 4583 xcb_input_get_device_dont_propagate_list_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4584 4585 /** 4586 * Get the next element of the iterator 4587 * @param i Pointer to a xcb_input_device_time_coord_iterator_t 4588 * 4589 * Get the next element in the iterator. The member rem is 4590 * decreased by one. The member data points to the next 4591 * element. The member index is increased by sizeof(xcb_input_device_time_coord_t) 4592 */ 4593 void xcb_input_device_time_coord_next(xcb_input_device_time_coord_iterator_t* i /**< */ ); 4594 4595 /** 4596 * Return the iterator pointing to the last element 4597 * @param i An xcb_input_device_time_coord_iterator_t 4598 * @return The iterator pointing to the last element 4599 * 4600 * Set the current element in the iterator to the last element. 4601 * The member rem is set to 0. The member data points to the 4602 * last element. 4603 */ 4604 xcb_generic_iterator_t xcb_input_device_time_coord_end(xcb_input_device_time_coord_iterator_t i /**< */ ); 4605 4606 /** 4607 * 4608 * @param c The connection 4609 * @return A cookie 4610 * 4611 * Delivers a request to the X server. 4612 * 4613 */ 4614 xcb_input_get_device_motion_events_cookie_t xcb_input_get_device_motion_events(xcb_connection_t* c /**< */ , xcb_timestamp_t start /**< */ , 4615 xcb_timestamp_t stop /**< */ , ubyte device_id /**< */ ); 4616 4617 /** 4618 * 4619 * @param c The connection 4620 * @return A cookie 4621 * 4622 * Delivers a request to the X server. 4623 * 4624 * This form can be used only if the request will cause 4625 * a reply to be generated. Any returned error will be 4626 * placed in the event queue. 4627 */ 4628 xcb_input_get_device_motion_events_cookie_t xcb_input_get_device_motion_events_unchecked(xcb_connection_t* c /**< */ , 4629 xcb_timestamp_t start /**< */ , xcb_timestamp_t stop /**< */ , ubyte device_id /**< */ ); 4630 4631 /** 4632 * Return the reply 4633 * @param c The connection 4634 * @param cookie The cookie 4635 * @param e The xcb_generic_error_t supplied 4636 * 4637 * Returns the reply of the request asked by 4638 * 4639 * The parameter @p e supplied to this function must be NULL if 4640 * xcb_input_get_device_motion_events_unchecked(). is used. 4641 * Otherwise, it stores the error if any. 4642 * 4643 * The returned value must be freed by the caller using free(). 4644 */ 4645 xcb_input_get_device_motion_events_reply_t* xcb_input_get_device_motion_events_reply(xcb_connection_t* c /**< */ , 4646 xcb_input_get_device_motion_events_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4647 4648 /** 4649 * 4650 * @param c The connection 4651 * @return A cookie 4652 * 4653 * Delivers a request to the X server. 4654 * 4655 */ 4656 xcb_input_change_keyboard_device_cookie_t xcb_input_change_keyboard_device(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4657 4658 /** 4659 * 4660 * @param c The connection 4661 * @return A cookie 4662 * 4663 * Delivers a request to the X server. 4664 * 4665 * This form can be used only if the request will cause 4666 * a reply to be generated. Any returned error will be 4667 * placed in the event queue. 4668 */ 4669 xcb_input_change_keyboard_device_cookie_t xcb_input_change_keyboard_device_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4670 4671 /** 4672 * Return the reply 4673 * @param c The connection 4674 * @param cookie The cookie 4675 * @param e The xcb_generic_error_t supplied 4676 * 4677 * Returns the reply of the request asked by 4678 * 4679 * The parameter @p e supplied to this function must be NULL if 4680 * xcb_input_change_keyboard_device_unchecked(). is used. 4681 * Otherwise, it stores the error if any. 4682 * 4683 * The returned value must be freed by the caller using free(). 4684 */ 4685 xcb_input_change_keyboard_device_reply_t* xcb_input_change_keyboard_device_reply(xcb_connection_t* c /**< */ , 4686 xcb_input_change_keyboard_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4687 4688 /** 4689 * 4690 * @param c The connection 4691 * @return A cookie 4692 * 4693 * Delivers a request to the X server. 4694 * 4695 */ 4696 xcb_input_change_pointer_device_cookie_t xcb_input_change_pointer_device(xcb_connection_t* c /**< */ , ubyte x_axis /**< */ , 4697 ubyte y_axis /**< */ , ubyte device_id /**< */ ); 4698 4699 /** 4700 * 4701 * @param c The connection 4702 * @return A cookie 4703 * 4704 * Delivers a request to the X server. 4705 * 4706 * This form can be used only if the request will cause 4707 * a reply to be generated. Any returned error will be 4708 * placed in the event queue. 4709 */ 4710 xcb_input_change_pointer_device_cookie_t xcb_input_change_pointer_device_unchecked(xcb_connection_t* c /**< */ , ubyte x_axis /**< */ , 4711 ubyte y_axis /**< */ , ubyte device_id /**< */ ); 4712 4713 /** 4714 * Return the reply 4715 * @param c The connection 4716 * @param cookie The cookie 4717 * @param e The xcb_generic_error_t supplied 4718 * 4719 * Returns the reply of the request asked by 4720 * 4721 * The parameter @p e supplied to this function must be NULL if 4722 * xcb_input_change_pointer_device_unchecked(). is used. 4723 * Otherwise, it stores the error if any. 4724 * 4725 * The returned value must be freed by the caller using free(). 4726 */ 4727 xcb_input_change_pointer_device_reply_t* xcb_input_change_pointer_device_reply(xcb_connection_t* c /**< */ , 4728 xcb_input_change_pointer_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4729 4730 int xcb_input_grab_device_sizeof(const void* _buffer /**< */ ); 4731 4732 /** 4733 * 4734 * @param c The connection 4735 * @return A cookie 4736 * 4737 * Delivers a request to the X server. 4738 * 4739 */ 4740 xcb_input_grab_device_cookie_t xcb_input_grab_device(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , xcb_timestamp_t time /**< */ , 4741 ushort num_classes /**< */ , ubyte this_device_mode /**< */ , ubyte other_device_mode /**< */ , ubyte owner_events /**< */ , ubyte device_id /**< */ , 4742 const xcb_input_event_class_t* classes /**< */ ); 4743 4744 /** 4745 * 4746 * @param c The connection 4747 * @return A cookie 4748 * 4749 * Delivers a request to the X server. 4750 * 4751 * This form can be used only if the request will cause 4752 * a reply to be generated. Any returned error will be 4753 * placed in the event queue. 4754 */ 4755 xcb_input_grab_device_cookie_t xcb_input_grab_device_unchecked(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , 4756 xcb_timestamp_t time /**< */ , ushort num_classes /**< */ , ubyte this_device_mode /**< */ , ubyte other_device_mode /**< */ , ubyte owner_events /**< */ , 4757 ubyte device_id /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4758 4759 /** 4760 * Return the reply 4761 * @param c The connection 4762 * @param cookie The cookie 4763 * @param e The xcb_generic_error_t supplied 4764 * 4765 * Returns the reply of the request asked by 4766 * 4767 * The parameter @p e supplied to this function must be NULL if 4768 * xcb_input_grab_device_unchecked(). is used. 4769 * Otherwise, it stores the error if any. 4770 * 4771 * The returned value must be freed by the caller using free(). 4772 */ 4773 xcb_input_grab_device_reply_t* xcb_input_grab_device_reply(xcb_connection_t* c /**< */ , 4774 xcb_input_grab_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4775 4776 /** 4777 * 4778 * @param c The connection 4779 * @return A cookie 4780 * 4781 * Delivers a request to the X server. 4782 * 4783 * This form can be used only if the request will not cause 4784 * a reply to be generated. Any returned error will be 4785 * saved for handling by xcb_request_check(). 4786 */ 4787 xcb_void_cookie_t xcb_input_ungrab_device_checked(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , ubyte device_id /**< */ ); 4788 4789 /** 4790 * 4791 * @param c The connection 4792 * @return A cookie 4793 * 4794 * Delivers a request to the X server. 4795 * 4796 */ 4797 xcb_void_cookie_t xcb_input_ungrab_device(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , ubyte device_id /**< */ ); 4798 4799 int xcb_input_grab_device_key_sizeof(const void* _buffer /**< */ ); 4800 4801 /** 4802 * 4803 * @param c The connection 4804 * @return A cookie 4805 * 4806 * Delivers a request to the X server. 4807 * 4808 * This form can be used only if the request will not cause 4809 * a reply to be generated. Any returned error will be 4810 * saved for handling by xcb_request_check(). 4811 */ 4812 xcb_void_cookie_t xcb_input_grab_device_key_checked(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , ushort num_classes /**< */ , 4813 ushort modifiers /**< */ , ubyte modifier_device /**< */ , ubyte grabbed_device /**< */ , ubyte key /**< */ , ubyte this_device_mode /**< */ , 4814 ubyte other_device_mode /**< */ , ubyte owner_events /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4815 4816 /** 4817 * 4818 * @param c The connection 4819 * @return A cookie 4820 * 4821 * Delivers a request to the X server. 4822 * 4823 */ 4824 xcb_void_cookie_t xcb_input_grab_device_key(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , ushort num_classes /**< */ , 4825 ushort modifiers /**< */ , ubyte modifier_device /**< */ , ubyte grabbed_device /**< */ , ubyte key /**< */ , ubyte this_device_mode /**< */ , 4826 ubyte other_device_mode /**< */ , ubyte owner_events /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4827 4828 /** 4829 * 4830 * @param c The connection 4831 * @return A cookie 4832 * 4833 * Delivers a request to the X server. 4834 * 4835 * This form can be used only if the request will not cause 4836 * a reply to be generated. Any returned error will be 4837 * saved for handling by xcb_request_check(). 4838 */ 4839 xcb_void_cookie_t xcb_input_ungrab_device_key_checked(xcb_connection_t* c /**< */ , xcb_window_t grabWindow /**< */ , ushort modifiers /**< */ , 4840 ubyte modifier_device /**< */ , ubyte key /**< */ , ubyte grabbed_device /**< */ ); 4841 4842 /** 4843 * 4844 * @param c The connection 4845 * @return A cookie 4846 * 4847 * Delivers a request to the X server. 4848 * 4849 */ 4850 xcb_void_cookie_t xcb_input_ungrab_device_key(xcb_connection_t* c /**< */ , xcb_window_t grabWindow /**< */ , ushort modifiers /**< */ , 4851 ubyte modifier_device /**< */ , ubyte key /**< */ , ubyte grabbed_device /**< */ ); 4852 4853 int xcb_input_grab_device_button_sizeof(const void* _buffer /**< */ ); 4854 4855 /** 4856 * 4857 * @param c The connection 4858 * @return A cookie 4859 * 4860 * Delivers a request to the X server. 4861 * 4862 * This form can be used only if the request will not cause 4863 * a reply to be generated. Any returned error will be 4864 * saved for handling by xcb_request_check(). 4865 */ 4866 xcb_void_cookie_t xcb_input_grab_device_button_checked(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , ubyte grabbed_device /**< */ , 4867 ubyte modifier_device /**< */ , ushort num_classes /**< */ , ushort modifiers /**< */ , ubyte this_device_mode /**< */ , ubyte other_device_mode /**< */ , 4868 ubyte button /**< */ , ubyte owner_events /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4869 4870 /** 4871 * 4872 * @param c The connection 4873 * @return A cookie 4874 * 4875 * Delivers a request to the X server. 4876 * 4877 */ 4878 xcb_void_cookie_t xcb_input_grab_device_button(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , ubyte grabbed_device /**< */ , 4879 ubyte modifier_device /**< */ , ushort num_classes /**< */ , ushort modifiers /**< */ , ubyte this_device_mode /**< */ , ubyte other_device_mode /**< */ , 4880 ubyte button /**< */ , ubyte owner_events /**< */ , const xcb_input_event_class_t* classes /**< */ ); 4881 4882 /** 4883 * 4884 * @param c The connection 4885 * @return A cookie 4886 * 4887 * Delivers a request to the X server. 4888 * 4889 * This form can be used only if the request will not cause 4890 * a reply to be generated. Any returned error will be 4891 * saved for handling by xcb_request_check(). 4892 */ 4893 xcb_void_cookie_t xcb_input_ungrab_device_button_checked(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , ushort modifiers /**< */ , 4894 ubyte modifier_device /**< */ , ubyte button /**< */ , ubyte grabbed_device /**< */ ); 4895 4896 /** 4897 * 4898 * @param c The connection 4899 * @return A cookie 4900 * 4901 * Delivers a request to the X server. 4902 * 4903 */ 4904 xcb_void_cookie_t xcb_input_ungrab_device_button(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , ushort modifiers /**< */ , 4905 ubyte modifier_device /**< */ , ubyte button /**< */ , ubyte grabbed_device /**< */ ); 4906 4907 /** 4908 * 4909 * @param c The connection 4910 * @return A cookie 4911 * 4912 * Delivers a request to the X server. 4913 * 4914 * This form can be used only if the request will not cause 4915 * a reply to be generated. Any returned error will be 4916 * saved for handling by xcb_request_check(). 4917 */ 4918 xcb_void_cookie_t xcb_input_allow_device_events_checked(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , 4919 ubyte mode /**< */ , ubyte device_id /**< */ ); 4920 4921 /** 4922 * 4923 * @param c The connection 4924 * @return A cookie 4925 * 4926 * Delivers a request to the X server. 4927 * 4928 */ 4929 xcb_void_cookie_t xcb_input_allow_device_events(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , ubyte mode /**< */ , 4930 ubyte device_id /**< */ ); 4931 4932 /** 4933 * 4934 * @param c The connection 4935 * @return A cookie 4936 * 4937 * Delivers a request to the X server. 4938 * 4939 */ 4940 xcb_input_get_device_focus_cookie_t xcb_input_get_device_focus(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4941 4942 /** 4943 * 4944 * @param c The connection 4945 * @return A cookie 4946 * 4947 * Delivers a request to the X server. 4948 * 4949 * This form can be used only if the request will cause 4950 * a reply to be generated. Any returned error will be 4951 * placed in the event queue. 4952 */ 4953 xcb_input_get_device_focus_cookie_t xcb_input_get_device_focus_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 4954 4955 /** 4956 * Return the reply 4957 * @param c The connection 4958 * @param cookie The cookie 4959 * @param e The xcb_generic_error_t supplied 4960 * 4961 * Returns the reply of the request asked by 4962 * 4963 * The parameter @p e supplied to this function must be NULL if 4964 * xcb_input_get_device_focus_unchecked(). is used. 4965 * Otherwise, it stores the error if any. 4966 * 4967 * The returned value must be freed by the caller using free(). 4968 */ 4969 xcb_input_get_device_focus_reply_t* xcb_input_get_device_focus_reply(xcb_connection_t* c /**< */ , 4970 xcb_input_get_device_focus_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 4971 4972 /** 4973 * 4974 * @param c The connection 4975 * @return A cookie 4976 * 4977 * Delivers a request to the X server. 4978 * 4979 * This form can be used only if the request will not cause 4980 * a reply to be generated. Any returned error will be 4981 * saved for handling by xcb_request_check(). 4982 */ 4983 xcb_void_cookie_t xcb_input_set_device_focus_checked(xcb_connection_t* c /**< */ , xcb_window_t focus /**< */ , 4984 xcb_timestamp_t time /**< */ , ubyte revert_to /**< */ , ubyte device_id /**< */ ); 4985 4986 /** 4987 * 4988 * @param c The connection 4989 * @return A cookie 4990 * 4991 * Delivers a request to the X server. 4992 * 4993 */ 4994 xcb_void_cookie_t xcb_input_set_device_focus(xcb_connection_t* c /**< */ , xcb_window_t focus /**< */ , xcb_timestamp_t time /**< */ , 4995 ubyte revert_to /**< */ , ubyte device_id /**< */ ); 4996 4997 /** 4998 * Get the next element of the iterator 4999 * @param i Pointer to a xcb_input_kbd_feedback_state_iterator_t 5000 * 5001 * Get the next element in the iterator. The member rem is 5002 * decreased by one. The member data points to the next 5003 * element. The member index is increased by sizeof(xcb_input_kbd_feedback_state_t) 5004 */ 5005 void xcb_input_kbd_feedback_state_next(xcb_input_kbd_feedback_state_iterator_t* i /**< */ ); 5006 5007 /** 5008 * Return the iterator pointing to the last element 5009 * @param i An xcb_input_kbd_feedback_state_iterator_t 5010 * @return The iterator pointing to the last element 5011 * 5012 * Set the current element in the iterator to the last element. 5013 * The member rem is set to 0. The member data points to the 5014 * last element. 5015 */ 5016 xcb_generic_iterator_t xcb_input_kbd_feedback_state_end(xcb_input_kbd_feedback_state_iterator_t i /**< */ ); 5017 5018 /** 5019 * Get the next element of the iterator 5020 * @param i Pointer to a xcb_input_ptr_feedback_state_iterator_t 5021 * 5022 * Get the next element in the iterator. The member rem is 5023 * decreased by one. The member data points to the next 5024 * element. The member index is increased by sizeof(xcb_input_ptr_feedback_state_t) 5025 */ 5026 void xcb_input_ptr_feedback_state_next(xcb_input_ptr_feedback_state_iterator_t* i /**< */ ); 5027 5028 /** 5029 * Return the iterator pointing to the last element 5030 * @param i An xcb_input_ptr_feedback_state_iterator_t 5031 * @return The iterator pointing to the last element 5032 * 5033 * Set the current element in the iterator to the last element. 5034 * The member rem is set to 0. The member data points to the 5035 * last element. 5036 */ 5037 xcb_generic_iterator_t xcb_input_ptr_feedback_state_end(xcb_input_ptr_feedback_state_iterator_t i /**< */ ); 5038 5039 /** 5040 * Get the next element of the iterator 5041 * @param i Pointer to a xcb_input_integer_feedback_state_iterator_t 5042 * 5043 * Get the next element in the iterator. The member rem is 5044 * decreased by one. The member data points to the next 5045 * element. The member index is increased by sizeof(xcb_input_integer_feedback_state_t) 5046 */ 5047 void xcb_input_integer_feedback_state_next(xcb_input_integer_feedback_state_iterator_t* i /**< */ ); 5048 5049 /** 5050 * Return the iterator pointing to the last element 5051 * @param i An xcb_input_integer_feedback_state_iterator_t 5052 * @return The iterator pointing to the last element 5053 * 5054 * Set the current element in the iterator to the last element. 5055 * The member rem is set to 0. The member data points to the 5056 * last element. 5057 */ 5058 xcb_generic_iterator_t xcb_input_integer_feedback_state_end(xcb_input_integer_feedback_state_iterator_t i /**< */ ); 5059 5060 int xcb_input_string_feedback_state_sizeof(const void* _buffer /**< */ ); 5061 5062 xcb_keysym_t* xcb_input_string_feedback_state_keysyms(const xcb_input_string_feedback_state_t* R /**< */ ); 5063 5064 int xcb_input_string_feedback_state_keysyms_length(const xcb_input_string_feedback_state_t* R /**< */ ); 5065 5066 xcb_generic_iterator_t xcb_input_string_feedback_state_keysyms_end(const xcb_input_string_feedback_state_t* R /**< */ ); 5067 5068 /** 5069 * Get the next element of the iterator 5070 * @param i Pointer to a xcb_input_string_feedback_state_iterator_t 5071 * 5072 * Get the next element in the iterator. The member rem is 5073 * decreased by one. The member data points to the next 5074 * element. The member index is increased by sizeof(xcb_input_string_feedback_state_t) 5075 */ 5076 void xcb_input_string_feedback_state_next(xcb_input_string_feedback_state_iterator_t* i /**< */ ); 5077 5078 /** 5079 * Return the iterator pointing to the last element 5080 * @param i An xcb_input_string_feedback_state_iterator_t 5081 * @return The iterator pointing to the last element 5082 * 5083 * Set the current element in the iterator to the last element. 5084 * The member rem is set to 0. The member data points to the 5085 * last element. 5086 */ 5087 xcb_generic_iterator_t xcb_input_string_feedback_state_end(xcb_input_string_feedback_state_iterator_t i /**< */ ); 5088 5089 /** 5090 * Get the next element of the iterator 5091 * @param i Pointer to a xcb_input_bell_feedback_state_iterator_t 5092 * 5093 * Get the next element in the iterator. The member rem is 5094 * decreased by one. The member data points to the next 5095 * element. The member index is increased by sizeof(xcb_input_bell_feedback_state_t) 5096 */ 5097 void xcb_input_bell_feedback_state_next(xcb_input_bell_feedback_state_iterator_t* i /**< */ ); 5098 5099 /** 5100 * Return the iterator pointing to the last element 5101 * @param i An xcb_input_bell_feedback_state_iterator_t 5102 * @return The iterator pointing to the last element 5103 * 5104 * Set the current element in the iterator to the last element. 5105 * The member rem is set to 0. The member data points to the 5106 * last element. 5107 */ 5108 xcb_generic_iterator_t xcb_input_bell_feedback_state_end(xcb_input_bell_feedback_state_iterator_t i /**< */ ); 5109 5110 /** 5111 * Get the next element of the iterator 5112 * @param i Pointer to a xcb_input_led_feedback_state_iterator_t 5113 * 5114 * Get the next element in the iterator. The member rem is 5115 * decreased by one. The member data points to the next 5116 * element. The member index is increased by sizeof(xcb_input_led_feedback_state_t) 5117 */ 5118 void xcb_input_led_feedback_state_next(xcb_input_led_feedback_state_iterator_t* i /**< */ ); 5119 5120 /** 5121 * Return the iterator pointing to the last element 5122 * @param i An xcb_input_led_feedback_state_iterator_t 5123 * @return The iterator pointing to the last element 5124 * 5125 * Set the current element in the iterator to the last element. 5126 * The member rem is set to 0. The member data points to the 5127 * last element. 5128 */ 5129 xcb_generic_iterator_t xcb_input_led_feedback_state_end(xcb_input_led_feedback_state_iterator_t i /**< */ ); 5130 5131 int xcb_input_feedback_state_sizeof(const void* _buffer /**< */ ); 5132 5133 ubyte* xcb_input_feedback_state_uninterpreted_data(const xcb_input_feedback_state_t* R /**< */ ); 5134 5135 int xcb_input_feedback_state_uninterpreted_data_length(const xcb_input_feedback_state_t* R /**< */ ); 5136 5137 xcb_generic_iterator_t xcb_input_feedback_state_uninterpreted_data_end(const xcb_input_feedback_state_t* R /**< */ ); 5138 5139 /** 5140 * Get the next element of the iterator 5141 * @param i Pointer to a xcb_input_feedback_state_iterator_t 5142 * 5143 * Get the next element in the iterator. The member rem is 5144 * decreased by one. The member data points to the next 5145 * element. The member index is increased by sizeof(xcb_input_feedback_state_t) 5146 */ 5147 void xcb_input_feedback_state_next(xcb_input_feedback_state_iterator_t* i /**< */ ); 5148 5149 /** 5150 * Return the iterator pointing to the last element 5151 * @param i An xcb_input_feedback_state_iterator_t 5152 * @return The iterator pointing to the last element 5153 * 5154 * Set the current element in the iterator to the last element. 5155 * The member rem is set to 0. The member data points to the 5156 * last element. 5157 */ 5158 xcb_generic_iterator_t xcb_input_feedback_state_end(xcb_input_feedback_state_iterator_t i /**< */ ); 5159 5160 int xcb_input_get_feedback_control_sizeof(const void* _buffer /**< */ ); 5161 5162 /** 5163 * 5164 * @param c The connection 5165 * @return A cookie 5166 * 5167 * Delivers a request to the X server. 5168 * 5169 */ 5170 xcb_input_get_feedback_control_cookie_t xcb_input_get_feedback_control(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5171 5172 /** 5173 * 5174 * @param c The connection 5175 * @return A cookie 5176 * 5177 * Delivers a request to the X server. 5178 * 5179 * This form can be used only if the request will cause 5180 * a reply to be generated. Any returned error will be 5181 * placed in the event queue. 5182 */ 5183 xcb_input_get_feedback_control_cookie_t xcb_input_get_feedback_control_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5184 5185 int xcb_input_get_feedback_control_feedbacks_length(const xcb_input_get_feedback_control_reply_t* R /**< */ ); 5186 5187 xcb_input_feedback_state_iterator_t xcb_input_get_feedback_control_feedbacks_iterator(const xcb_input_get_feedback_control_reply_t* R /**< */ ); 5188 5189 /** 5190 * Return the reply 5191 * @param c The connection 5192 * @param cookie The cookie 5193 * @param e The xcb_generic_error_t supplied 5194 * 5195 * Returns the reply of the request asked by 5196 * 5197 * The parameter @p e supplied to this function must be NULL if 5198 * xcb_input_get_feedback_control_unchecked(). is used. 5199 * Otherwise, it stores the error if any. 5200 * 5201 * The returned value must be freed by the caller using free(). 5202 */ 5203 xcb_input_get_feedback_control_reply_t* xcb_input_get_feedback_control_reply(xcb_connection_t* c /**< */ , 5204 xcb_input_get_feedback_control_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5205 5206 /** 5207 * Get the next element of the iterator 5208 * @param i Pointer to a xcb_input_kbd_feedback_ctl_iterator_t 5209 * 5210 * Get the next element in the iterator. The member rem is 5211 * decreased by one. The member data points to the next 5212 * element. The member index is increased by sizeof(xcb_input_kbd_feedback_ctl_t) 5213 */ 5214 void xcb_input_kbd_feedback_ctl_next(xcb_input_kbd_feedback_ctl_iterator_t* i /**< */ ); 5215 5216 /** 5217 * Return the iterator pointing to the last element 5218 * @param i An xcb_input_kbd_feedback_ctl_iterator_t 5219 * @return The iterator pointing to the last element 5220 * 5221 * Set the current element in the iterator to the last element. 5222 * The member rem is set to 0. The member data points to the 5223 * last element. 5224 */ 5225 xcb_generic_iterator_t xcb_input_kbd_feedback_ctl_end(xcb_input_kbd_feedback_ctl_iterator_t i /**< */ ); 5226 5227 /** 5228 * Get the next element of the iterator 5229 * @param i Pointer to a xcb_input_ptr_feedback_ctl_iterator_t 5230 * 5231 * Get the next element in the iterator. The member rem is 5232 * decreased by one. The member data points to the next 5233 * element. The member index is increased by sizeof(xcb_input_ptr_feedback_ctl_t) 5234 */ 5235 void xcb_input_ptr_feedback_ctl_next(xcb_input_ptr_feedback_ctl_iterator_t* i /**< */ ); 5236 5237 /** 5238 * Return the iterator pointing to the last element 5239 * @param i An xcb_input_ptr_feedback_ctl_iterator_t 5240 * @return The iterator pointing to the last element 5241 * 5242 * Set the current element in the iterator to the last element. 5243 * The member rem is set to 0. The member data points to the 5244 * last element. 5245 */ 5246 xcb_generic_iterator_t xcb_input_ptr_feedback_ctl_end(xcb_input_ptr_feedback_ctl_iterator_t i /**< */ ); 5247 5248 /** 5249 * Get the next element of the iterator 5250 * @param i Pointer to a xcb_input_integer_feedback_ctl_iterator_t 5251 * 5252 * Get the next element in the iterator. The member rem is 5253 * decreased by one. The member data points to the next 5254 * element. The member index is increased by sizeof(xcb_input_integer_feedback_ctl_t) 5255 */ 5256 void xcb_input_integer_feedback_ctl_next(xcb_input_integer_feedback_ctl_iterator_t* i /**< */ ); 5257 5258 /** 5259 * Return the iterator pointing to the last element 5260 * @param i An xcb_input_integer_feedback_ctl_iterator_t 5261 * @return The iterator pointing to the last element 5262 * 5263 * Set the current element in the iterator to the last element. 5264 * The member rem is set to 0. The member data points to the 5265 * last element. 5266 */ 5267 xcb_generic_iterator_t xcb_input_integer_feedback_ctl_end(xcb_input_integer_feedback_ctl_iterator_t i /**< */ ); 5268 5269 int xcb_input_string_feedback_ctl_sizeof(const void* _buffer /**< */ ); 5270 5271 xcb_keysym_t* xcb_input_string_feedback_ctl_keysyms(const xcb_input_string_feedback_ctl_t* R /**< */ ); 5272 5273 int xcb_input_string_feedback_ctl_keysyms_length(const xcb_input_string_feedback_ctl_t* R /**< */ ); 5274 5275 xcb_generic_iterator_t xcb_input_string_feedback_ctl_keysyms_end(const xcb_input_string_feedback_ctl_t* R /**< */ ); 5276 5277 /** 5278 * Get the next element of the iterator 5279 * @param i Pointer to a xcb_input_string_feedback_ctl_iterator_t 5280 * 5281 * Get the next element in the iterator. The member rem is 5282 * decreased by one. The member data points to the next 5283 * element. The member index is increased by sizeof(xcb_input_string_feedback_ctl_t) 5284 */ 5285 void xcb_input_string_feedback_ctl_next(xcb_input_string_feedback_ctl_iterator_t* i /**< */ ); 5286 5287 /** 5288 * Return the iterator pointing to the last element 5289 * @param i An xcb_input_string_feedback_ctl_iterator_t 5290 * @return The iterator pointing to the last element 5291 * 5292 * Set the current element in the iterator to the last element. 5293 * The member rem is set to 0. The member data points to the 5294 * last element. 5295 */ 5296 xcb_generic_iterator_t xcb_input_string_feedback_ctl_end(xcb_input_string_feedback_ctl_iterator_t i /**< */ ); 5297 5298 /** 5299 * Get the next element of the iterator 5300 * @param i Pointer to a xcb_input_bell_feedback_ctl_iterator_t 5301 * 5302 * Get the next element in the iterator. The member rem is 5303 * decreased by one. The member data points to the next 5304 * element. The member index is increased by sizeof(xcb_input_bell_feedback_ctl_t) 5305 */ 5306 void xcb_input_bell_feedback_ctl_next(xcb_input_bell_feedback_ctl_iterator_t* i /**< */ ); 5307 5308 /** 5309 * Return the iterator pointing to the last element 5310 * @param i An xcb_input_bell_feedback_ctl_iterator_t 5311 * @return The iterator pointing to the last element 5312 * 5313 * Set the current element in the iterator to the last element. 5314 * The member rem is set to 0. The member data points to the 5315 * last element. 5316 */ 5317 xcb_generic_iterator_t xcb_input_bell_feedback_ctl_end(xcb_input_bell_feedback_ctl_iterator_t i /**< */ ); 5318 5319 /** 5320 * Get the next element of the iterator 5321 * @param i Pointer to a xcb_input_led_feedback_ctl_iterator_t 5322 * 5323 * Get the next element in the iterator. The member rem is 5324 * decreased by one. The member data points to the next 5325 * element. The member index is increased by sizeof(xcb_input_led_feedback_ctl_t) 5326 */ 5327 void xcb_input_led_feedback_ctl_next(xcb_input_led_feedback_ctl_iterator_t* i /**< */ ); 5328 5329 /** 5330 * Return the iterator pointing to the last element 5331 * @param i An xcb_input_led_feedback_ctl_iterator_t 5332 * @return The iterator pointing to the last element 5333 * 5334 * Set the current element in the iterator to the last element. 5335 * The member rem is set to 0. The member data points to the 5336 * last element. 5337 */ 5338 xcb_generic_iterator_t xcb_input_led_feedback_ctl_end(xcb_input_led_feedback_ctl_iterator_t i /**< */ ); 5339 5340 int xcb_input_feedback_ctl_sizeof(const void* _buffer /**< */ ); 5341 5342 ubyte* xcb_input_feedback_ctl_uninterpreted_data(const xcb_input_feedback_ctl_t* R /**< */ ); 5343 5344 int xcb_input_feedback_ctl_uninterpreted_data_length(const xcb_input_feedback_ctl_t* R /**< */ ); 5345 5346 xcb_generic_iterator_t xcb_input_feedback_ctl_uninterpreted_data_end(const xcb_input_feedback_ctl_t* R /**< */ ); 5347 5348 /** 5349 * Get the next element of the iterator 5350 * @param i Pointer to a xcb_input_feedback_ctl_iterator_t 5351 * 5352 * Get the next element in the iterator. The member rem is 5353 * decreased by one. The member data points to the next 5354 * element. The member index is increased by sizeof(xcb_input_feedback_ctl_t) 5355 */ 5356 void xcb_input_feedback_ctl_next(xcb_input_feedback_ctl_iterator_t* i /**< */ ); 5357 5358 /** 5359 * Return the iterator pointing to the last element 5360 * @param i An xcb_input_feedback_ctl_iterator_t 5361 * @return The iterator pointing to the last element 5362 * 5363 * Set the current element in the iterator to the last element. 5364 * The member rem is set to 0. The member data points to the 5365 * last element. 5366 */ 5367 xcb_generic_iterator_t xcb_input_feedback_ctl_end(xcb_input_feedback_ctl_iterator_t i /**< */ ); 5368 5369 int xcb_input_change_feedback_control_sizeof(const void* _buffer /**< */ ); 5370 5371 /** 5372 * 5373 * @param c The connection 5374 * @return A cookie 5375 * 5376 * Delivers a request to the X server. 5377 * 5378 * This form can be used only if the request will not cause 5379 * a reply to be generated. Any returned error will be 5380 * saved for handling by xcb_request_check(). 5381 */ 5382 xcb_void_cookie_t xcb_input_change_feedback_control_checked(xcb_connection_t* c /**< */ , uint mask /**< */ , ubyte device_id /**< */ , 5383 ubyte feedback_id /**< */ , xcb_input_feedback_ctl_t* feedback /**< */ ); 5384 5385 /** 5386 * 5387 * @param c The connection 5388 * @return A cookie 5389 * 5390 * Delivers a request to the X server. 5391 * 5392 */ 5393 xcb_void_cookie_t xcb_input_change_feedback_control(xcb_connection_t* c /**< */ , uint mask /**< */ , ubyte device_id /**< */ , ubyte feedback_id /**< */ , 5394 xcb_input_feedback_ctl_t* feedback /**< */ ); 5395 5396 int xcb_input_get_device_key_mapping_sizeof(const void* _buffer /**< */ ); 5397 5398 /** 5399 * 5400 * @param c The connection 5401 * @return A cookie 5402 * 5403 * Delivers a request to the X server. 5404 * 5405 */ 5406 xcb_input_get_device_key_mapping_cookie_t xcb_input_get_device_key_mapping(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5407 xcb_input_key_code_t first_keycode /**< */ , ubyte count /**< */ ); 5408 5409 /** 5410 * 5411 * @param c The connection 5412 * @return A cookie 5413 * 5414 * Delivers a request to the X server. 5415 * 5416 * This form can be used only if the request will cause 5417 * a reply to be generated. Any returned error will be 5418 * placed in the event queue. 5419 */ 5420 xcb_input_get_device_key_mapping_cookie_t xcb_input_get_device_key_mapping_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5421 xcb_input_key_code_t first_keycode /**< */ , ubyte count /**< */ ); 5422 5423 xcb_keysym_t* xcb_input_get_device_key_mapping_keysyms(const xcb_input_get_device_key_mapping_reply_t* R /**< */ ); 5424 5425 int xcb_input_get_device_key_mapping_keysyms_length(const xcb_input_get_device_key_mapping_reply_t* R /**< */ ); 5426 5427 xcb_generic_iterator_t xcb_input_get_device_key_mapping_keysyms_end(const xcb_input_get_device_key_mapping_reply_t* R /**< */ ); 5428 5429 /** 5430 * Return the reply 5431 * @param c The connection 5432 * @param cookie The cookie 5433 * @param e The xcb_generic_error_t supplied 5434 * 5435 * Returns the reply of the request asked by 5436 * 5437 * The parameter @p e supplied to this function must be NULL if 5438 * xcb_input_get_device_key_mapping_unchecked(). is used. 5439 * Otherwise, it stores the error if any. 5440 * 5441 * The returned value must be freed by the caller using free(). 5442 */ 5443 xcb_input_get_device_key_mapping_reply_t* xcb_input_get_device_key_mapping_reply(xcb_connection_t* c /**< */ , 5444 xcb_input_get_device_key_mapping_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5445 5446 int xcb_input_change_device_key_mapping_sizeof(const void* _buffer /**< */ ); 5447 5448 /** 5449 * 5450 * @param c The connection 5451 * @return A cookie 5452 * 5453 * Delivers a request to the X server. 5454 * 5455 * This form can be used only if the request will not cause 5456 * a reply to be generated. Any returned error will be 5457 * saved for handling by xcb_request_check(). 5458 */ 5459 xcb_void_cookie_t xcb_input_change_device_key_mapping_checked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5460 xcb_input_key_code_t first_keycode /**< */ , ubyte keysyms_per_keycode /**< */ , ubyte keycode_count /**< */ , 5461 const xcb_keysym_t* keysyms /**< */ ); 5462 5463 /** 5464 * 5465 * @param c The connection 5466 * @return A cookie 5467 * 5468 * Delivers a request to the X server. 5469 * 5470 */ 5471 xcb_void_cookie_t xcb_input_change_device_key_mapping(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5472 xcb_input_key_code_t first_keycode /**< */ , ubyte keysyms_per_keycode /**< */ , ubyte keycode_count /**< */ , 5473 const xcb_keysym_t* keysyms /**< */ ); 5474 5475 int xcb_input_get_device_modifier_mapping_sizeof(const void* _buffer /**< */ ); 5476 5477 /** 5478 * 5479 * @param c The connection 5480 * @return A cookie 5481 * 5482 * Delivers a request to the X server. 5483 * 5484 */ 5485 xcb_input_get_device_modifier_mapping_cookie_t xcb_input_get_device_modifier_mapping(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5486 5487 /** 5488 * 5489 * @param c The connection 5490 * @return A cookie 5491 * 5492 * Delivers a request to the X server. 5493 * 5494 * This form can be used only if the request will cause 5495 * a reply to be generated. Any returned error will be 5496 * placed in the event queue. 5497 */ 5498 xcb_input_get_device_modifier_mapping_cookie_t xcb_input_get_device_modifier_mapping_unchecked(xcb_connection_t* c /**< */ , 5499 ubyte device_id /**< */ ); 5500 5501 ubyte* xcb_input_get_device_modifier_mapping_keymaps(const xcb_input_get_device_modifier_mapping_reply_t* R /**< */ ); 5502 5503 int xcb_input_get_device_modifier_mapping_keymaps_length(const xcb_input_get_device_modifier_mapping_reply_t* R /**< */ ); 5504 5505 xcb_generic_iterator_t xcb_input_get_device_modifier_mapping_keymaps_end(const xcb_input_get_device_modifier_mapping_reply_t* R /**< */ ); 5506 5507 /** 5508 * Return the reply 5509 * @param c The connection 5510 * @param cookie The cookie 5511 * @param e The xcb_generic_error_t supplied 5512 * 5513 * Returns the reply of the request asked by 5514 * 5515 * The parameter @p e supplied to this function must be NULL if 5516 * xcb_input_get_device_modifier_mapping_unchecked(). is used. 5517 * Otherwise, it stores the error if any. 5518 * 5519 * The returned value must be freed by the caller using free(). 5520 */ 5521 xcb_input_get_device_modifier_mapping_reply_t* xcb_input_get_device_modifier_mapping_reply(xcb_connection_t* c /**< */ , 5522 xcb_input_get_device_modifier_mapping_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5523 5524 int xcb_input_set_device_modifier_mapping_sizeof(const void* _buffer /**< */ ); 5525 5526 /** 5527 * 5528 * @param c The connection 5529 * @return A cookie 5530 * 5531 * Delivers a request to the X server. 5532 * 5533 */ 5534 xcb_input_set_device_modifier_mapping_cookie_t xcb_input_set_device_modifier_mapping(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5535 ubyte keycodes_per_modifier /**< */ , const ubyte* keymaps /**< */ ); 5536 5537 /** 5538 * 5539 * @param c The connection 5540 * @return A cookie 5541 * 5542 * Delivers a request to the X server. 5543 * 5544 * This form can be used only if the request will cause 5545 * a reply to be generated. Any returned error will be 5546 * placed in the event queue. 5547 */ 5548 xcb_input_set_device_modifier_mapping_cookie_t xcb_input_set_device_modifier_mapping_unchecked(xcb_connection_t* c /**< */ , 5549 ubyte device_id /**< */ , ubyte keycodes_per_modifier /**< */ , const ubyte* keymaps /**< */ ); 5550 5551 /** 5552 * Return the reply 5553 * @param c The connection 5554 * @param cookie The cookie 5555 * @param e The xcb_generic_error_t supplied 5556 * 5557 * Returns the reply of the request asked by 5558 * 5559 * The parameter @p e supplied to this function must be NULL if 5560 * xcb_input_set_device_modifier_mapping_unchecked(). is used. 5561 * Otherwise, it stores the error if any. 5562 * 5563 * The returned value must be freed by the caller using free(). 5564 */ 5565 xcb_input_set_device_modifier_mapping_reply_t* xcb_input_set_device_modifier_mapping_reply(xcb_connection_t* c /**< */ , 5566 xcb_input_set_device_modifier_mapping_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5567 5568 int xcb_input_get_device_button_mapping_sizeof(const void* _buffer /**< */ ); 5569 5570 /** 5571 * 5572 * @param c The connection 5573 * @return A cookie 5574 * 5575 * Delivers a request to the X server. 5576 * 5577 */ 5578 xcb_input_get_device_button_mapping_cookie_t xcb_input_get_device_button_mapping(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5579 5580 /** 5581 * 5582 * @param c The connection 5583 * @return A cookie 5584 * 5585 * Delivers a request to the X server. 5586 * 5587 * This form can be used only if the request will cause 5588 * a reply to be generated. Any returned error will be 5589 * placed in the event queue. 5590 */ 5591 xcb_input_get_device_button_mapping_cookie_t xcb_input_get_device_button_mapping_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5592 5593 ubyte* xcb_input_get_device_button_mapping_map(const xcb_input_get_device_button_mapping_reply_t* R /**< */ ); 5594 5595 int xcb_input_get_device_button_mapping_map_length(const xcb_input_get_device_button_mapping_reply_t* R /**< */ ); 5596 5597 xcb_generic_iterator_t xcb_input_get_device_button_mapping_map_end(const xcb_input_get_device_button_mapping_reply_t* R /**< */ ); 5598 5599 /** 5600 * Return the reply 5601 * @param c The connection 5602 * @param cookie The cookie 5603 * @param e The xcb_generic_error_t supplied 5604 * 5605 * Returns the reply of the request asked by 5606 * 5607 * The parameter @p e supplied to this function must be NULL if 5608 * xcb_input_get_device_button_mapping_unchecked(). is used. 5609 * Otherwise, it stores the error if any. 5610 * 5611 * The returned value must be freed by the caller using free(). 5612 */ 5613 xcb_input_get_device_button_mapping_reply_t* xcb_input_get_device_button_mapping_reply(xcb_connection_t* c /**< */ , 5614 xcb_input_get_device_button_mapping_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5615 5616 int xcb_input_set_device_button_mapping_sizeof(const void* _buffer /**< */ ); 5617 5618 /** 5619 * 5620 * @param c The connection 5621 * @return A cookie 5622 * 5623 * Delivers a request to the X server. 5624 * 5625 */ 5626 xcb_input_set_device_button_mapping_cookie_t xcb_input_set_device_button_mapping(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5627 ubyte map_size /**< */ , const ubyte* map /**< */ ); 5628 5629 /** 5630 * 5631 * @param c The connection 5632 * @return A cookie 5633 * 5634 * Delivers a request to the X server. 5635 * 5636 * This form can be used only if the request will cause 5637 * a reply to be generated. Any returned error will be 5638 * placed in the event queue. 5639 */ 5640 xcb_input_set_device_button_mapping_cookie_t xcb_input_set_device_button_mapping_unchecked(xcb_connection_t* c /**< */ , 5641 ubyte device_id /**< */ , ubyte map_size /**< */ , const ubyte* map /**< */ ); 5642 5643 /** 5644 * Return the reply 5645 * @param c The connection 5646 * @param cookie The cookie 5647 * @param e The xcb_generic_error_t supplied 5648 * 5649 * Returns the reply of the request asked by 5650 * 5651 * The parameter @p e supplied to this function must be NULL if 5652 * xcb_input_set_device_button_mapping_unchecked(). is used. 5653 * Otherwise, it stores the error if any. 5654 * 5655 * The returned value must be freed by the caller using free(). 5656 */ 5657 xcb_input_set_device_button_mapping_reply_t* xcb_input_set_device_button_mapping_reply(xcb_connection_t* c /**< */ , 5658 xcb_input_set_device_button_mapping_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5659 5660 /** 5661 * Get the next element of the iterator 5662 * @param i Pointer to a xcb_input_key_state_iterator_t 5663 * 5664 * Get the next element in the iterator. The member rem is 5665 * decreased by one. The member data points to the next 5666 * element. The member index is increased by sizeof(xcb_input_key_state_t) 5667 */ 5668 void xcb_input_key_state_next(xcb_input_key_state_iterator_t* i /**< */ ); 5669 5670 /** 5671 * Return the iterator pointing to the last element 5672 * @param i An xcb_input_key_state_iterator_t 5673 * @return The iterator pointing to the last element 5674 * 5675 * Set the current element in the iterator to the last element. 5676 * The member rem is set to 0. The member data points to the 5677 * last element. 5678 */ 5679 xcb_generic_iterator_t xcb_input_key_state_end(xcb_input_key_state_iterator_t i /**< */ ); 5680 5681 /** 5682 * Get the next element of the iterator 5683 * @param i Pointer to a xcb_input_button_state_iterator_t 5684 * 5685 * Get the next element in the iterator. The member rem is 5686 * decreased by one. The member data points to the next 5687 * element. The member index is increased by sizeof(xcb_input_button_state_t) 5688 */ 5689 void xcb_input_button_state_next(xcb_input_button_state_iterator_t* i /**< */ ); 5690 5691 /** 5692 * Return the iterator pointing to the last element 5693 * @param i An xcb_input_button_state_iterator_t 5694 * @return The iterator pointing to the last element 5695 * 5696 * Set the current element in the iterator to the last element. 5697 * The member rem is set to 0. The member data points to the 5698 * last element. 5699 */ 5700 xcb_generic_iterator_t xcb_input_button_state_end(xcb_input_button_state_iterator_t i /**< */ ); 5701 5702 int xcb_input_valuator_state_sizeof(const void* _buffer /**< */ ); 5703 5704 uint* xcb_input_valuator_state_valuators(const xcb_input_valuator_state_t* R /**< */ ); 5705 5706 int xcb_input_valuator_state_valuators_length(const xcb_input_valuator_state_t* R /**< */ ); 5707 5708 xcb_generic_iterator_t xcb_input_valuator_state_valuators_end(const xcb_input_valuator_state_t* R /**< */ ); 5709 5710 /** 5711 * Get the next element of the iterator 5712 * @param i Pointer to a xcb_input_valuator_state_iterator_t 5713 * 5714 * Get the next element in the iterator. The member rem is 5715 * decreased by one. The member data points to the next 5716 * element. The member index is increased by sizeof(xcb_input_valuator_state_t) 5717 */ 5718 void xcb_input_valuator_state_next(xcb_input_valuator_state_iterator_t* i /**< */ ); 5719 5720 /** 5721 * Return the iterator pointing to the last element 5722 * @param i An xcb_input_valuator_state_iterator_t 5723 * @return The iterator pointing to the last element 5724 * 5725 * Set the current element in the iterator to the last element. 5726 * The member rem is set to 0. The member data points to the 5727 * last element. 5728 */ 5729 xcb_generic_iterator_t xcb_input_valuator_state_end(xcb_input_valuator_state_iterator_t i /**< */ ); 5730 5731 int xcb_input_input_state_sizeof(const void* _buffer /**< */ ); 5732 5733 ubyte* xcb_input_input_state_uninterpreted_data(const xcb_input_input_state_t* R /**< */ ); 5734 5735 int xcb_input_input_state_uninterpreted_data_length(const xcb_input_input_state_t* R /**< */ ); 5736 5737 xcb_generic_iterator_t xcb_input_input_state_uninterpreted_data_end(const xcb_input_input_state_t* R /**< */ ); 5738 5739 /** 5740 * Get the next element of the iterator 5741 * @param i Pointer to a xcb_input_input_state_iterator_t 5742 * 5743 * Get the next element in the iterator. The member rem is 5744 * decreased by one. The member data points to the next 5745 * element. The member index is increased by sizeof(xcb_input_input_state_t) 5746 */ 5747 void xcb_input_input_state_next(xcb_input_input_state_iterator_t* i /**< */ ); 5748 5749 /** 5750 * Return the iterator pointing to the last element 5751 * @param i An xcb_input_input_state_iterator_t 5752 * @return The iterator pointing to the last element 5753 * 5754 * Set the current element in the iterator to the last element. 5755 * The member rem is set to 0. The member data points to the 5756 * last element. 5757 */ 5758 xcb_generic_iterator_t xcb_input_input_state_end(xcb_input_input_state_iterator_t i /**< */ ); 5759 5760 int xcb_input_query_device_state_sizeof(const void* _buffer /**< */ ); 5761 5762 /** 5763 * 5764 * @param c The connection 5765 * @return A cookie 5766 * 5767 * Delivers a request to the X server. 5768 * 5769 */ 5770 xcb_input_query_device_state_cookie_t xcb_input_query_device_state(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5771 5772 /** 5773 * 5774 * @param c The connection 5775 * @return A cookie 5776 * 5777 * Delivers a request to the X server. 5778 * 5779 * This form can be used only if the request will cause 5780 * a reply to be generated. Any returned error will be 5781 * placed in the event queue. 5782 */ 5783 xcb_input_query_device_state_cookie_t xcb_input_query_device_state_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 5784 5785 int xcb_input_query_device_state_classes_length(const xcb_input_query_device_state_reply_t* R /**< */ ); 5786 5787 xcb_input_input_state_iterator_t xcb_input_query_device_state_classes_iterator(const xcb_input_query_device_state_reply_t* R /**< */ ); 5788 5789 /** 5790 * Return the reply 5791 * @param c The connection 5792 * @param cookie The cookie 5793 * @param e The xcb_generic_error_t supplied 5794 * 5795 * Returns the reply of the request asked by 5796 * 5797 * The parameter @p e supplied to this function must be NULL if 5798 * xcb_input_query_device_state_unchecked(). is used. 5799 * Otherwise, it stores the error if any. 5800 * 5801 * The returned value must be freed by the caller using free(). 5802 */ 5803 xcb_input_query_device_state_reply_t* xcb_input_query_device_state_reply(xcb_connection_t* c /**< */ , 5804 xcb_input_query_device_state_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5805 5806 int xcb_input_send_extension_event_sizeof(const void* _buffer /**< */ ); 5807 5808 /** 5809 * 5810 * @param c The connection 5811 * @return A cookie 5812 * 5813 * Delivers a request to the X server. 5814 * 5815 * This form can be used only if the request will not cause 5816 * a reply to be generated. Any returned error will be 5817 * saved for handling by xcb_request_check(). 5818 */ 5819 xcb_void_cookie_t xcb_input_send_extension_event_checked(xcb_connection_t* c /**< */ , xcb_window_t destination /**< */ , ubyte device_id /**< */ , 5820 ubyte propagate /**< */ , ushort num_classes /**< */ , ubyte num_events /**< */ , const ubyte* events /**< */ , 5821 const xcb_input_event_class_t* classes /**< */ ); 5822 5823 /** 5824 * 5825 * @param c The connection 5826 * @return A cookie 5827 * 5828 * Delivers a request to the X server. 5829 * 5830 */ 5831 xcb_void_cookie_t xcb_input_send_extension_event(xcb_connection_t* c /**< */ , xcb_window_t destination /**< */ , ubyte device_id /**< */ , 5832 ubyte propagate /**< */ , ushort num_classes /**< */ , ubyte num_events /**< */ , const ubyte* events /**< */ , 5833 const xcb_input_event_class_t* classes /**< */ ); 5834 5835 /** 5836 * 5837 * @param c The connection 5838 * @return A cookie 5839 * 5840 * Delivers a request to the X server. 5841 * 5842 * This form can be used only if the request will not cause 5843 * a reply to be generated. Any returned error will be 5844 * saved for handling by xcb_request_check(). 5845 */ 5846 xcb_void_cookie_t xcb_input_device_bell_checked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , ubyte feedback_id /**< */ , 5847 ubyte feedback_class /**< */ , byte percent /**< */ ); 5848 5849 /** 5850 * 5851 * @param c The connection 5852 * @return A cookie 5853 * 5854 * Delivers a request to the X server. 5855 * 5856 */ 5857 xcb_void_cookie_t xcb_input_device_bell(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , ubyte feedback_id /**< */ , 5858 ubyte feedback_class /**< */ , byte percent /**< */ ); 5859 5860 int xcb_input_set_device_valuators_sizeof(const void* _buffer /**< */ ); 5861 5862 /** 5863 * 5864 * @param c The connection 5865 * @return A cookie 5866 * 5867 * Delivers a request to the X server. 5868 * 5869 */ 5870 xcb_input_set_device_valuators_cookie_t xcb_input_set_device_valuators(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5871 ubyte first_valuator /**< */ , ubyte num_valuators /**< */ , const int* valuators /**< */ ); 5872 5873 /** 5874 * 5875 * @param c The connection 5876 * @return A cookie 5877 * 5878 * Delivers a request to the X server. 5879 * 5880 * This form can be used only if the request will cause 5881 * a reply to be generated. Any returned error will be 5882 * placed in the event queue. 5883 */ 5884 xcb_input_set_device_valuators_cookie_t xcb_input_set_device_valuators_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ , 5885 ubyte first_valuator /**< */ , ubyte num_valuators /**< */ , const int* valuators /**< */ ); 5886 5887 /** 5888 * Return the reply 5889 * @param c The connection 5890 * @param cookie The cookie 5891 * @param e The xcb_generic_error_t supplied 5892 * 5893 * Returns the reply of the request asked by 5894 * 5895 * The parameter @p e supplied to this function must be NULL if 5896 * xcb_input_set_device_valuators_unchecked(). is used. 5897 * Otherwise, it stores the error if any. 5898 * 5899 * The returned value must be freed by the caller using free(). 5900 */ 5901 xcb_input_set_device_valuators_reply_t* xcb_input_set_device_valuators_reply(xcb_connection_t* c /**< */ , 5902 xcb_input_set_device_valuators_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 5903 5904 int xcb_input_device_resolution_state_sizeof(const void* _buffer /**< */ ); 5905 5906 uint* xcb_input_device_resolution_state_resolution_values(const xcb_input_device_resolution_state_t* R /**< */ ); 5907 5908 int xcb_input_device_resolution_state_resolution_values_length(const xcb_input_device_resolution_state_t* R /**< */ ); 5909 5910 xcb_generic_iterator_t xcb_input_device_resolution_state_resolution_values_end(const xcb_input_device_resolution_state_t* R /**< */ ); 5911 5912 uint* xcb_input_device_resolution_state_resolution_min(const xcb_input_device_resolution_state_t* R /**< */ ); 5913 5914 int xcb_input_device_resolution_state_resolution_min_length(const xcb_input_device_resolution_state_t* R /**< */ ); 5915 5916 xcb_generic_iterator_t xcb_input_device_resolution_state_resolution_min_end(const xcb_input_device_resolution_state_t* R /**< */ ); 5917 5918 uint* xcb_input_device_resolution_state_resolution_max(const xcb_input_device_resolution_state_t* R /**< */ ); 5919 5920 int xcb_input_device_resolution_state_resolution_max_length(const xcb_input_device_resolution_state_t* R /**< */ ); 5921 5922 xcb_generic_iterator_t xcb_input_device_resolution_state_resolution_max_end(const xcb_input_device_resolution_state_t* R /**< */ ); 5923 5924 /** 5925 * Get the next element of the iterator 5926 * @param i Pointer to a xcb_input_device_resolution_state_iterator_t 5927 * 5928 * Get the next element in the iterator. The member rem is 5929 * decreased by one. The member data points to the next 5930 * element. The member index is increased by sizeof(xcb_input_device_resolution_state_t) 5931 */ 5932 void xcb_input_device_resolution_state_next(xcb_input_device_resolution_state_iterator_t* i /**< */ ); 5933 5934 /** 5935 * Return the iterator pointing to the last element 5936 * @param i An xcb_input_device_resolution_state_iterator_t 5937 * @return The iterator pointing to the last element 5938 * 5939 * Set the current element in the iterator to the last element. 5940 * The member rem is set to 0. The member data points to the 5941 * last element. 5942 */ 5943 xcb_generic_iterator_t xcb_input_device_resolution_state_end(xcb_input_device_resolution_state_iterator_t i /**< */ ); 5944 5945 /** 5946 * Get the next element of the iterator 5947 * @param i Pointer to a xcb_input_device_abs_calib_state_iterator_t 5948 * 5949 * Get the next element in the iterator. The member rem is 5950 * decreased by one. The member data points to the next 5951 * element. The member index is increased by sizeof(xcb_input_device_abs_calib_state_t) 5952 */ 5953 void xcb_input_device_abs_calib_state_next(xcb_input_device_abs_calib_state_iterator_t* i /**< */ ); 5954 5955 /** 5956 * Return the iterator pointing to the last element 5957 * @param i An xcb_input_device_abs_calib_state_iterator_t 5958 * @return The iterator pointing to the last element 5959 * 5960 * Set the current element in the iterator to the last element. 5961 * The member rem is set to 0. The member data points to the 5962 * last element. 5963 */ 5964 xcb_generic_iterator_t xcb_input_device_abs_calib_state_end(xcb_input_device_abs_calib_state_iterator_t i /**< */ ); 5965 5966 /** 5967 * Get the next element of the iterator 5968 * @param i Pointer to a xcb_input_device_abs_area_state_iterator_t 5969 * 5970 * Get the next element in the iterator. The member rem is 5971 * decreased by one. The member data points to the next 5972 * element. The member index is increased by sizeof(xcb_input_device_abs_area_state_t) 5973 */ 5974 void xcb_input_device_abs_area_state_next(xcb_input_device_abs_area_state_iterator_t* i /**< */ ); 5975 5976 /** 5977 * Return the iterator pointing to the last element 5978 * @param i An xcb_input_device_abs_area_state_iterator_t 5979 * @return The iterator pointing to the last element 5980 * 5981 * Set the current element in the iterator to the last element. 5982 * The member rem is set to 0. The member data points to the 5983 * last element. 5984 */ 5985 xcb_generic_iterator_t xcb_input_device_abs_area_state_end(xcb_input_device_abs_area_state_iterator_t i /**< */ ); 5986 5987 /** 5988 * Get the next element of the iterator 5989 * @param i Pointer to a xcb_input_device_core_state_iterator_t 5990 * 5991 * Get the next element in the iterator. The member rem is 5992 * decreased by one. The member data points to the next 5993 * element. The member index is increased by sizeof(xcb_input_device_core_state_t) 5994 */ 5995 void xcb_input_device_core_state_next(xcb_input_device_core_state_iterator_t* i /**< */ ); 5996 5997 /** 5998 * Return the iterator pointing to the last element 5999 * @param i An xcb_input_device_core_state_iterator_t 6000 * @return The iterator pointing to the last element 6001 * 6002 * Set the current element in the iterator to the last element. 6003 * The member rem is set to 0. The member data points to the 6004 * last element. 6005 */ 6006 xcb_generic_iterator_t xcb_input_device_core_state_end(xcb_input_device_core_state_iterator_t i /**< */ ); 6007 6008 /** 6009 * Get the next element of the iterator 6010 * @param i Pointer to a xcb_input_device_enable_state_iterator_t 6011 * 6012 * Get the next element in the iterator. The member rem is 6013 * decreased by one. The member data points to the next 6014 * element. The member index is increased by sizeof(xcb_input_device_enable_state_t) 6015 */ 6016 void xcb_input_device_enable_state_next(xcb_input_device_enable_state_iterator_t* i /**< */ ); 6017 6018 /** 6019 * Return the iterator pointing to the last element 6020 * @param i An xcb_input_device_enable_state_iterator_t 6021 * @return The iterator pointing to the last element 6022 * 6023 * Set the current element in the iterator to the last element. 6024 * The member rem is set to 0. The member data points to the 6025 * last element. 6026 */ 6027 xcb_generic_iterator_t xcb_input_device_enable_state_end(xcb_input_device_enable_state_iterator_t i /**< */ ); 6028 6029 int xcb_input_device_state_sizeof(const void* _buffer /**< */ ); 6030 6031 ubyte* xcb_input_device_state_uninterpreted_data(const xcb_input_device_state_t* R /**< */ ); 6032 6033 int xcb_input_device_state_uninterpreted_data_length(const xcb_input_device_state_t* R /**< */ ); 6034 6035 xcb_generic_iterator_t xcb_input_device_state_uninterpreted_data_end(const xcb_input_device_state_t* R /**< */ ); 6036 6037 /** 6038 * Get the next element of the iterator 6039 * @param i Pointer to a xcb_input_device_state_iterator_t 6040 * 6041 * Get the next element in the iterator. The member rem is 6042 * decreased by one. The member data points to the next 6043 * element. The member index is increased by sizeof(xcb_input_device_state_t) 6044 */ 6045 void xcb_input_device_state_next(xcb_input_device_state_iterator_t* i /**< */ ); 6046 6047 /** 6048 * Return the iterator pointing to the last element 6049 * @param i An xcb_input_device_state_iterator_t 6050 * @return The iterator pointing to the last element 6051 * 6052 * Set the current element in the iterator to the last element. 6053 * The member rem is set to 0. The member data points to the 6054 * last element. 6055 */ 6056 xcb_generic_iterator_t xcb_input_device_state_end(xcb_input_device_state_iterator_t i /**< */ ); 6057 6058 int xcb_input_get_device_control_sizeof(const void* _buffer /**< */ ); 6059 6060 /** 6061 * 6062 * @param c The connection 6063 * @return A cookie 6064 * 6065 * Delivers a request to the X server. 6066 * 6067 */ 6068 xcb_input_get_device_control_cookie_t xcb_input_get_device_control(xcb_connection_t* c /**< */ , ushort control_id /**< */ , 6069 ubyte device_id /**< */ ); 6070 6071 /** 6072 * 6073 * @param c The connection 6074 * @return A cookie 6075 * 6076 * Delivers a request to the X server. 6077 * 6078 * This form can be used only if the request will cause 6079 * a reply to be generated. Any returned error will be 6080 * placed in the event queue. 6081 */ 6082 xcb_input_get_device_control_cookie_t xcb_input_get_device_control_unchecked(xcb_connection_t* c /**< */ , ushort control_id /**< */ , 6083 ubyte device_id /**< */ ); 6084 6085 xcb_input_device_state_t* xcb_input_get_device_control_control(const xcb_input_get_device_control_reply_t* R /**< */ ); 6086 6087 /** 6088 * Return the reply 6089 * @param c The connection 6090 * @param cookie The cookie 6091 * @param e The xcb_generic_error_t supplied 6092 * 6093 * Returns the reply of the request asked by 6094 * 6095 * The parameter @p e supplied to this function must be NULL if 6096 * xcb_input_get_device_control_unchecked(). is used. 6097 * Otherwise, it stores the error if any. 6098 * 6099 * The returned value must be freed by the caller using free(). 6100 */ 6101 xcb_input_get_device_control_reply_t* xcb_input_get_device_control_reply(xcb_connection_t* c /**< */ , 6102 xcb_input_get_device_control_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6103 6104 int xcb_input_device_resolution_ctl_sizeof(const void* _buffer /**< */ ); 6105 6106 uint* xcb_input_device_resolution_ctl_resolution_values(const xcb_input_device_resolution_ctl_t* R /**< */ ); 6107 6108 int xcb_input_device_resolution_ctl_resolution_values_length(const xcb_input_device_resolution_ctl_t* R /**< */ ); 6109 6110 xcb_generic_iterator_t xcb_input_device_resolution_ctl_resolution_values_end(const xcb_input_device_resolution_ctl_t* R /**< */ ); 6111 6112 /** 6113 * Get the next element of the iterator 6114 * @param i Pointer to a xcb_input_device_resolution_ctl_iterator_t 6115 * 6116 * Get the next element in the iterator. The member rem is 6117 * decreased by one. The member data points to the next 6118 * element. The member index is increased by sizeof(xcb_input_device_resolution_ctl_t) 6119 */ 6120 void xcb_input_device_resolution_ctl_next(xcb_input_device_resolution_ctl_iterator_t* i /**< */ ); 6121 6122 /** 6123 * Return the iterator pointing to the last element 6124 * @param i An xcb_input_device_resolution_ctl_iterator_t 6125 * @return The iterator pointing to the last element 6126 * 6127 * Set the current element in the iterator to the last element. 6128 * The member rem is set to 0. The member data points to the 6129 * last element. 6130 */ 6131 xcb_generic_iterator_t xcb_input_device_resolution_ctl_end(xcb_input_device_resolution_ctl_iterator_t i /**< */ ); 6132 6133 /** 6134 * Get the next element of the iterator 6135 * @param i Pointer to a xcb_input_device_abs_calib_ctl_iterator_t 6136 * 6137 * Get the next element in the iterator. The member rem is 6138 * decreased by one. The member data points to the next 6139 * element. The member index is increased by sizeof(xcb_input_device_abs_calib_ctl_t) 6140 */ 6141 void xcb_input_device_abs_calib_ctl_next(xcb_input_device_abs_calib_ctl_iterator_t* i /**< */ ); 6142 6143 /** 6144 * Return the iterator pointing to the last element 6145 * @param i An xcb_input_device_abs_calib_ctl_iterator_t 6146 * @return The iterator pointing to the last element 6147 * 6148 * Set the current element in the iterator to the last element. 6149 * The member rem is set to 0. The member data points to the 6150 * last element. 6151 */ 6152 xcb_generic_iterator_t xcb_input_device_abs_calib_ctl_end(xcb_input_device_abs_calib_ctl_iterator_t i /**< */ ); 6153 6154 /** 6155 * Get the next element of the iterator 6156 * @param i Pointer to a xcb_input_device_abs_area_ctrl_iterator_t 6157 * 6158 * Get the next element in the iterator. The member rem is 6159 * decreased by one. The member data points to the next 6160 * element. The member index is increased by sizeof(xcb_input_device_abs_area_ctrl_t) 6161 */ 6162 void xcb_input_device_abs_area_ctrl_next(xcb_input_device_abs_area_ctrl_iterator_t* i /**< */ ); 6163 6164 /** 6165 * Return the iterator pointing to the last element 6166 * @param i An xcb_input_device_abs_area_ctrl_iterator_t 6167 * @return The iterator pointing to the last element 6168 * 6169 * Set the current element in the iterator to the last element. 6170 * The member rem is set to 0. The member data points to the 6171 * last element. 6172 */ 6173 xcb_generic_iterator_t xcb_input_device_abs_area_ctrl_end(xcb_input_device_abs_area_ctrl_iterator_t i /**< */ ); 6174 6175 /** 6176 * Get the next element of the iterator 6177 * @param i Pointer to a xcb_input_device_core_ctrl_iterator_t 6178 * 6179 * Get the next element in the iterator. The member rem is 6180 * decreased by one. The member data points to the next 6181 * element. The member index is increased by sizeof(xcb_input_device_core_ctrl_t) 6182 */ 6183 void xcb_input_device_core_ctrl_next(xcb_input_device_core_ctrl_iterator_t* i /**< */ ); 6184 6185 /** 6186 * Return the iterator pointing to the last element 6187 * @param i An xcb_input_device_core_ctrl_iterator_t 6188 * @return The iterator pointing to the last element 6189 * 6190 * Set the current element in the iterator to the last element. 6191 * The member rem is set to 0. The member data points to the 6192 * last element. 6193 */ 6194 xcb_generic_iterator_t xcb_input_device_core_ctrl_end(xcb_input_device_core_ctrl_iterator_t i /**< */ ); 6195 6196 /** 6197 * Get the next element of the iterator 6198 * @param i Pointer to a xcb_input_device_enable_ctrl_iterator_t 6199 * 6200 * Get the next element in the iterator. The member rem is 6201 * decreased by one. The member data points to the next 6202 * element. The member index is increased by sizeof(xcb_input_device_enable_ctrl_t) 6203 */ 6204 void xcb_input_device_enable_ctrl_next(xcb_input_device_enable_ctrl_iterator_t* i /**< */ ); 6205 6206 /** 6207 * Return the iterator pointing to the last element 6208 * @param i An xcb_input_device_enable_ctrl_iterator_t 6209 * @return The iterator pointing to the last element 6210 * 6211 * Set the current element in the iterator to the last element. 6212 * The member rem is set to 0. The member data points to the 6213 * last element. 6214 */ 6215 xcb_generic_iterator_t xcb_input_device_enable_ctrl_end(xcb_input_device_enable_ctrl_iterator_t i /**< */ ); 6216 6217 int xcb_input_device_ctl_sizeof(const void* _buffer /**< */ ); 6218 6219 ubyte* xcb_input_device_ctl_uninterpreted_data(const xcb_input_device_ctl_t* R /**< */ ); 6220 6221 int xcb_input_device_ctl_uninterpreted_data_length(const xcb_input_device_ctl_t* R /**< */ ); 6222 6223 xcb_generic_iterator_t xcb_input_device_ctl_uninterpreted_data_end(const xcb_input_device_ctl_t* R /**< */ ); 6224 6225 /** 6226 * Get the next element of the iterator 6227 * @param i Pointer to a xcb_input_device_ctl_iterator_t 6228 * 6229 * Get the next element in the iterator. The member rem is 6230 * decreased by one. The member data points to the next 6231 * element. The member index is increased by sizeof(xcb_input_device_ctl_t) 6232 */ 6233 void xcb_input_device_ctl_next(xcb_input_device_ctl_iterator_t* i /**< */ ); 6234 6235 /** 6236 * Return the iterator pointing to the last element 6237 * @param i An xcb_input_device_ctl_iterator_t 6238 * @return The iterator pointing to the last element 6239 * 6240 * Set the current element in the iterator to the last element. 6241 * The member rem is set to 0. The member data points to the 6242 * last element. 6243 */ 6244 xcb_generic_iterator_t xcb_input_device_ctl_end(xcb_input_device_ctl_iterator_t i /**< */ ); 6245 6246 int xcb_input_change_device_control_sizeof(const void* _buffer /**< */ ); 6247 6248 /** 6249 * 6250 * @param c The connection 6251 * @return A cookie 6252 * 6253 * Delivers a request to the X server. 6254 * 6255 */ 6256 xcb_input_change_device_control_cookie_t xcb_input_change_device_control(xcb_connection_t* c /**< */ , ushort control_id /**< */ , 6257 ubyte device_id /**< */ , xcb_input_device_ctl_t* control /**< */ ); 6258 6259 /** 6260 * 6261 * @param c The connection 6262 * @return A cookie 6263 * 6264 * Delivers a request to the X server. 6265 * 6266 * This form can be used only if the request will cause 6267 * a reply to be generated. Any returned error will be 6268 * placed in the event queue. 6269 */ 6270 xcb_input_change_device_control_cookie_t xcb_input_change_device_control_unchecked(xcb_connection_t* c /**< */ , ushort control_id /**< */ , 6271 ubyte device_id /**< */ , xcb_input_device_ctl_t* control /**< */ ); 6272 6273 /** 6274 * Return the reply 6275 * @param c The connection 6276 * @param cookie The cookie 6277 * @param e The xcb_generic_error_t supplied 6278 * 6279 * Returns the reply of the request asked by 6280 * 6281 * The parameter @p e supplied to this function must be NULL if 6282 * xcb_input_change_device_control_unchecked(). is used. 6283 * Otherwise, it stores the error if any. 6284 * 6285 * The returned value must be freed by the caller using free(). 6286 */ 6287 xcb_input_change_device_control_reply_t* xcb_input_change_device_control_reply(xcb_connection_t* c /**< */ , 6288 xcb_input_change_device_control_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6289 6290 int xcb_input_list_device_properties_sizeof(const void* _buffer /**< */ ); 6291 6292 /** 6293 * 6294 * @param c The connection 6295 * @return A cookie 6296 * 6297 * Delivers a request to the X server. 6298 * 6299 */ 6300 xcb_input_list_device_properties_cookie_t xcb_input_list_device_properties(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 6301 6302 /** 6303 * 6304 * @param c The connection 6305 * @return A cookie 6306 * 6307 * Delivers a request to the X server. 6308 * 6309 * This form can be used only if the request will cause 6310 * a reply to be generated. Any returned error will be 6311 * placed in the event queue. 6312 */ 6313 xcb_input_list_device_properties_cookie_t xcb_input_list_device_properties_unchecked(xcb_connection_t* c /**< */ , ubyte device_id /**< */ ); 6314 6315 xcb_atom_t* xcb_input_list_device_properties_atoms(const xcb_input_list_device_properties_reply_t* R /**< */ ); 6316 6317 int xcb_input_list_device_properties_atoms_length(const xcb_input_list_device_properties_reply_t* R /**< */ ); 6318 6319 xcb_generic_iterator_t xcb_input_list_device_properties_atoms_end(const xcb_input_list_device_properties_reply_t* R /**< */ ); 6320 6321 /** 6322 * Return the reply 6323 * @param c The connection 6324 * @param cookie The cookie 6325 * @param e The xcb_generic_error_t supplied 6326 * 6327 * Returns the reply of the request asked by 6328 * 6329 * The parameter @p e supplied to this function must be NULL if 6330 * xcb_input_list_device_properties_unchecked(). is used. 6331 * Otherwise, it stores the error if any. 6332 * 6333 * The returned value must be freed by the caller using free(). 6334 */ 6335 xcb_input_list_device_properties_reply_t* xcb_input_list_device_properties_reply(xcb_connection_t* c /**< */ , 6336 xcb_input_list_device_properties_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6337 6338 ubyte* xcb_input_change_device_property_items_data_8(const xcb_input_change_device_property_items_t* S /**< */ ); 6339 6340 int xcb_input_change_device_property_items_data_8_length(const xcb_input_change_device_property_request_t* R /**< */ , 6341 const xcb_input_change_device_property_items_t* S /**< */ ); 6342 6343 xcb_generic_iterator_t xcb_input_change_device_property_items_data_8_end( 6344 const xcb_input_change_device_property_request_t* R /**< */ , const xcb_input_change_device_property_items_t* S /**< */ ); 6345 6346 ushort* xcb_input_change_device_property_items_data_16(const xcb_input_change_device_property_items_t* S /**< */ ); 6347 6348 int xcb_input_change_device_property_items_data_16_length(const xcb_input_change_device_property_request_t* R /**< */ , 6349 const xcb_input_change_device_property_items_t* S /**< */ ); 6350 6351 xcb_generic_iterator_t xcb_input_change_device_property_items_data_16_end( 6352 const xcb_input_change_device_property_request_t* R /**< */ , const xcb_input_change_device_property_items_t* S /**< */ ); 6353 6354 uint* xcb_input_change_device_property_items_data_32(const xcb_input_change_device_property_items_t* S /**< */ ); 6355 6356 int xcb_input_change_device_property_items_data_32_length(const xcb_input_change_device_property_request_t* R /**< */ , 6357 const xcb_input_change_device_property_items_t* S /**< */ ); 6358 6359 xcb_generic_iterator_t xcb_input_change_device_property_items_data_32_end( 6360 const xcb_input_change_device_property_request_t* R /**< */ , const xcb_input_change_device_property_items_t* S /**< */ ); 6361 6362 int xcb_input_change_device_property_items_serialize(void** _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 6363 const xcb_input_change_device_property_items_t* _aux /**< */ ); 6364 6365 int xcb_input_change_device_property_items_unpack(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 6366 xcb_input_change_device_property_items_t* _aux /**< */ ); 6367 6368 int xcb_input_change_device_property_items_sizeof(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ ); 6369 6370 /** 6371 * 6372 * @param c The connection 6373 * @return A cookie 6374 * 6375 * Delivers a request to the X server. 6376 * 6377 * This form can be used only if the request will not cause 6378 * a reply to be generated. Any returned error will be 6379 * saved for handling by xcb_request_check(). 6380 */ 6381 xcb_void_cookie_t xcb_input_change_device_property_checked(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , 6382 ubyte device_id /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_items /**< */ , const void* items /**< */ ); 6383 6384 /** 6385 * 6386 * @param c The connection 6387 * @return A cookie 6388 * 6389 * Delivers a request to the X server. 6390 * 6391 */ 6392 xcb_void_cookie_t xcb_input_change_device_property(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , ubyte device_id /**< */ , 6393 ubyte format /**< */ , ubyte mode /**< */ , uint num_items /**< */ , const void* items /**< */ ); 6394 6395 /** 6396 * 6397 * @param c The connection 6398 * @return A cookie 6399 * 6400 * Delivers a request to the X server. 6401 * 6402 * This form can be used only if the request will not cause 6403 * a reply to be generated. Any returned error will be 6404 * saved for handling by xcb_request_check(). 6405 */ 6406 xcb_void_cookie_t xcb_input_change_device_property_aux_checked(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , 6407 ubyte device_id /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_items /**< */ , 6408 const xcb_input_change_device_property_items_t* items /**< */ ); 6409 6410 /** 6411 * 6412 * @param c The connection 6413 * @return A cookie 6414 * 6415 * Delivers a request to the X server. 6416 * 6417 */ 6418 xcb_void_cookie_t xcb_input_change_device_property_aux(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , 6419 ubyte device_id /**< */ , ubyte format /**< */ , ubyte mode /**< */ , uint num_items /**< */ , 6420 const xcb_input_change_device_property_items_t* items /**< */ ); 6421 6422 /** 6423 * 6424 * @param c The connection 6425 * @return A cookie 6426 * 6427 * Delivers a request to the X server. 6428 * 6429 * This form can be used only if the request will not cause 6430 * a reply to be generated. Any returned error will be 6431 * saved for handling by xcb_request_check(). 6432 */ 6433 xcb_void_cookie_t xcb_input_delete_device_property_checked(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , ubyte device_id /**< */ ); 6434 6435 /** 6436 * 6437 * @param c The connection 6438 * @return A cookie 6439 * 6440 * Delivers a request to the X server. 6441 * 6442 */ 6443 xcb_void_cookie_t xcb_input_delete_device_property(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , ubyte device_id /**< */ ); 6444 6445 ubyte* xcb_input_get_device_property_items_data_8(const xcb_input_get_device_property_items_t* S /**< */ ); 6446 6447 int xcb_input_get_device_property_items_data_8_length(const xcb_input_get_device_property_reply_t* R /**< */ , 6448 const xcb_input_get_device_property_items_t* S /**< */ ); 6449 6450 xcb_generic_iterator_t xcb_input_get_device_property_items_data_8_end(const xcb_input_get_device_property_reply_t* R /**< */ , 6451 const xcb_input_get_device_property_items_t* S /**< */ ); 6452 6453 ushort* xcb_input_get_device_property_items_data_16(const xcb_input_get_device_property_items_t* S /**< */ ); 6454 6455 int xcb_input_get_device_property_items_data_16_length(const xcb_input_get_device_property_reply_t* R /**< */ , 6456 const xcb_input_get_device_property_items_t* S /**< */ ); 6457 6458 xcb_generic_iterator_t xcb_input_get_device_property_items_data_16_end(const xcb_input_get_device_property_reply_t* R /**< */ , 6459 const xcb_input_get_device_property_items_t* S /**< */ ); 6460 6461 uint* xcb_input_get_device_property_items_data_32(const xcb_input_get_device_property_items_t* S /**< */ ); 6462 6463 int xcb_input_get_device_property_items_data_32_length(const xcb_input_get_device_property_reply_t* R /**< */ , 6464 const xcb_input_get_device_property_items_t* S /**< */ ); 6465 6466 xcb_generic_iterator_t xcb_input_get_device_property_items_data_32_end(const xcb_input_get_device_property_reply_t* R /**< */ , 6467 const xcb_input_get_device_property_items_t* S /**< */ ); 6468 6469 int xcb_input_get_device_property_items_serialize(void** _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 6470 const xcb_input_get_device_property_items_t* _aux /**< */ ); 6471 6472 int xcb_input_get_device_property_items_unpack(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 6473 xcb_input_get_device_property_items_t* _aux /**< */ ); 6474 6475 int xcb_input_get_device_property_items_sizeof(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ ); 6476 6477 /** 6478 * 6479 * @param c The connection 6480 * @return A cookie 6481 * 6482 * Delivers a request to the X server. 6483 * 6484 */ 6485 xcb_input_get_device_property_cookie_t xcb_input_get_device_property(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , 6486 xcb_atom_t type /**< */ , uint offset /**< */ , uint len /**< */ , ubyte device_id /**< */ , ubyte delete_ /**< */ ); 6487 6488 /** 6489 * 6490 * @param c The connection 6491 * @return A cookie 6492 * 6493 * Delivers a request to the X server. 6494 * 6495 * This form can be used only if the request will cause 6496 * a reply to be generated. Any returned error will be 6497 * placed in the event queue. 6498 */ 6499 xcb_input_get_device_property_cookie_t xcb_input_get_device_property_unchecked(xcb_connection_t* c /**< */ , xcb_atom_t property /**< */ , 6500 xcb_atom_t type /**< */ , uint offset /**< */ , uint len /**< */ , ubyte device_id /**< */ , ubyte delete_ /**< */ ); 6501 6502 void* xcb_input_get_device_property_items(const xcb_input_get_device_property_reply_t* R /**< */ ); 6503 6504 /** 6505 * Return the reply 6506 * @param c The connection 6507 * @param cookie The cookie 6508 * @param e The xcb_generic_error_t supplied 6509 * 6510 * Returns the reply of the request asked by 6511 * 6512 * The parameter @p e supplied to this function must be NULL if 6513 * xcb_input_get_device_property_unchecked(). is used. 6514 * Otherwise, it stores the error if any. 6515 * 6516 * The returned value must be freed by the caller using free(). 6517 */ 6518 xcb_input_get_device_property_reply_t* xcb_input_get_device_property_reply(xcb_connection_t* c /**< */ , 6519 xcb_input_get_device_property_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6520 6521 /** 6522 * Get the next element of the iterator 6523 * @param i Pointer to a xcb_input_group_info_iterator_t 6524 * 6525 * Get the next element in the iterator. The member rem is 6526 * decreased by one. The member data points to the next 6527 * element. The member index is increased by sizeof(xcb_input_group_info_t) 6528 */ 6529 void xcb_input_group_info_next(xcb_input_group_info_iterator_t* i /**< */ ); 6530 6531 /** 6532 * Return the iterator pointing to the last element 6533 * @param i An xcb_input_group_info_iterator_t 6534 * @return The iterator pointing to the last element 6535 * 6536 * Set the current element in the iterator to the last element. 6537 * The member rem is set to 0. The member data points to the 6538 * last element. 6539 */ 6540 xcb_generic_iterator_t xcb_input_group_info_end(xcb_input_group_info_iterator_t i /**< */ ); 6541 6542 /** 6543 * Get the next element of the iterator 6544 * @param i Pointer to a xcb_input_modifier_info_iterator_t 6545 * 6546 * Get the next element in the iterator. The member rem is 6547 * decreased by one. The member data points to the next 6548 * element. The member index is increased by sizeof(xcb_input_modifier_info_t) 6549 */ 6550 void xcb_input_modifier_info_next(xcb_input_modifier_info_iterator_t* i /**< */ ); 6551 6552 /** 6553 * Return the iterator pointing to the last element 6554 * @param i An xcb_input_modifier_info_iterator_t 6555 * @return The iterator pointing to the last element 6556 * 6557 * Set the current element in the iterator to the last element. 6558 * The member rem is set to 0. The member data points to the 6559 * last element. 6560 */ 6561 xcb_generic_iterator_t xcb_input_modifier_info_end(xcb_input_modifier_info_iterator_t i /**< */ ); 6562 6563 int xcb_input_xi_query_pointer_sizeof(const void* _buffer /**< */ ); 6564 6565 /** 6566 * 6567 * @param c The connection 6568 * @return A cookie 6569 * 6570 * Delivers a request to the X server. 6571 * 6572 */ 6573 xcb_input_xi_query_pointer_cookie_t xcb_input_xi_query_pointer(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 6574 xcb_input_device_id_t deviceid /**< */ ); 6575 6576 /** 6577 * 6578 * @param c The connection 6579 * @return A cookie 6580 * 6581 * Delivers a request to the X server. 6582 * 6583 * This form can be used only if the request will cause 6584 * a reply to be generated. Any returned error will be 6585 * placed in the event queue. 6586 */ 6587 xcb_input_xi_query_pointer_cookie_t xcb_input_xi_query_pointer_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 6588 xcb_input_device_id_t deviceid /**< */ ); 6589 6590 uint* xcb_input_xi_query_pointer_buttons(const xcb_input_xi_query_pointer_reply_t* R /**< */ ); 6591 6592 int xcb_input_xi_query_pointer_buttons_length(const xcb_input_xi_query_pointer_reply_t* R /**< */ ); 6593 6594 xcb_generic_iterator_t xcb_input_xi_query_pointer_buttons_end(const xcb_input_xi_query_pointer_reply_t* R /**< */ ); 6595 6596 /** 6597 * Return the reply 6598 * @param c The connection 6599 * @param cookie The cookie 6600 * @param e The xcb_generic_error_t supplied 6601 * 6602 * Returns the reply of the request asked by 6603 * 6604 * The parameter @p e supplied to this function must be NULL if 6605 * xcb_input_xi_query_pointer_unchecked(). is used. 6606 * Otherwise, it stores the error if any. 6607 * 6608 * The returned value must be freed by the caller using free(). 6609 */ 6610 xcb_input_xi_query_pointer_reply_t* xcb_input_xi_query_pointer_reply(xcb_connection_t* c /**< */ , 6611 xcb_input_xi_query_pointer_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6612 6613 /** 6614 * 6615 * @param c The connection 6616 * @return A cookie 6617 * 6618 * Delivers a request to the X server. 6619 * 6620 * This form can be used only if the request will not cause 6621 * a reply to be generated. Any returned error will be 6622 * saved for handling by xcb_request_check(). 6623 */ 6624 xcb_void_cookie_t xcb_input_xi_warp_pointer_checked(xcb_connection_t* c /**< */ , xcb_window_t src_win /**< */ , xcb_window_t dst_win /**< */ , 6625 xcb_input_fp1616_t src_x /**< */ , xcb_input_fp1616_t src_y /**< */ , ushort src_width /**< */ , ushort src_height /**< */ , xcb_input_fp1616_t dst_x /**< */ , 6626 xcb_input_fp1616_t dst_y /**< */ , xcb_input_device_id_t deviceid /**< */ ); 6627 6628 /** 6629 * 6630 * @param c The connection 6631 * @return A cookie 6632 * 6633 * Delivers a request to the X server. 6634 * 6635 */ 6636 xcb_void_cookie_t xcb_input_xi_warp_pointer(xcb_connection_t* c /**< */ , xcb_window_t src_win /**< */ , xcb_window_t dst_win /**< */ , 6637 xcb_input_fp1616_t src_x /**< */ , xcb_input_fp1616_t src_y /**< */ , ushort src_width /**< */ , ushort src_height /**< */ , xcb_input_fp1616_t dst_x /**< */ , 6638 xcb_input_fp1616_t dst_y /**< */ , xcb_input_device_id_t deviceid /**< */ ); 6639 6640 /** 6641 * 6642 * @param c The connection 6643 * @return A cookie 6644 * 6645 * Delivers a request to the X server. 6646 * 6647 * This form can be used only if the request will not cause 6648 * a reply to be generated. Any returned error will be 6649 * saved for handling by xcb_request_check(). 6650 */ 6651 xcb_void_cookie_t xcb_input_xi_change_cursor_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 6652 xcb_cursor_t cursor /**< */ , xcb_input_device_id_t deviceid /**< */ ); 6653 6654 /** 6655 * 6656 * @param c The connection 6657 * @return A cookie 6658 * 6659 * Delivers a request to the X server. 6660 * 6661 */ 6662 xcb_void_cookie_t xcb_input_xi_change_cursor(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_cursor_t cursor /**< */ , 6663 xcb_input_device_id_t deviceid /**< */ ); 6664 6665 int xcb_input_add_master_sizeof(const void* _buffer /**< */ ); 6666 6667 char* xcb_input_add_master_name(const xcb_input_add_master_t* R /**< */ ); 6668 6669 int xcb_input_add_master_name_length(const xcb_input_add_master_t* R /**< */ ); 6670 6671 xcb_generic_iterator_t xcb_input_add_master_name_end(const xcb_input_add_master_t* R /**< */ ); 6672 6673 /** 6674 * Get the next element of the iterator 6675 * @param i Pointer to a xcb_input_add_master_iterator_t 6676 * 6677 * Get the next element in the iterator. The member rem is 6678 * decreased by one. The member data points to the next 6679 * element. The member index is increased by sizeof(xcb_input_add_master_t) 6680 */ 6681 void xcb_input_add_master_next(xcb_input_add_master_iterator_t* i /**< */ ); 6682 6683 /** 6684 * Return the iterator pointing to the last element 6685 * @param i An xcb_input_add_master_iterator_t 6686 * @return The iterator pointing to the last element 6687 * 6688 * Set the current element in the iterator to the last element. 6689 * The member rem is set to 0. The member data points to the 6690 * last element. 6691 */ 6692 xcb_generic_iterator_t xcb_input_add_master_end(xcb_input_add_master_iterator_t i /**< */ ); 6693 6694 /** 6695 * Get the next element of the iterator 6696 * @param i Pointer to a xcb_input_remove_master_iterator_t 6697 * 6698 * Get the next element in the iterator. The member rem is 6699 * decreased by one. The member data points to the next 6700 * element. The member index is increased by sizeof(xcb_input_remove_master_t) 6701 */ 6702 void xcb_input_remove_master_next(xcb_input_remove_master_iterator_t* i /**< */ ); 6703 6704 /** 6705 * Return the iterator pointing to the last element 6706 * @param i An xcb_input_remove_master_iterator_t 6707 * @return The iterator pointing to the last element 6708 * 6709 * Set the current element in the iterator to the last element. 6710 * The member rem is set to 0. The member data points to the 6711 * last element. 6712 */ 6713 xcb_generic_iterator_t xcb_input_remove_master_end(xcb_input_remove_master_iterator_t i /**< */ ); 6714 6715 /** 6716 * Get the next element of the iterator 6717 * @param i Pointer to a xcb_input_attach_slave_iterator_t 6718 * 6719 * Get the next element in the iterator. The member rem is 6720 * decreased by one. The member data points to the next 6721 * element. The member index is increased by sizeof(xcb_input_attach_slave_t) 6722 */ 6723 void xcb_input_attach_slave_next(xcb_input_attach_slave_iterator_t* i /**< */ ); 6724 6725 /** 6726 * Return the iterator pointing to the last element 6727 * @param i An xcb_input_attach_slave_iterator_t 6728 * @return The iterator pointing to the last element 6729 * 6730 * Set the current element in the iterator to the last element. 6731 * The member rem is set to 0. The member data points to the 6732 * last element. 6733 */ 6734 xcb_generic_iterator_t xcb_input_attach_slave_end(xcb_input_attach_slave_iterator_t i /**< */ ); 6735 6736 /** 6737 * Get the next element of the iterator 6738 * @param i Pointer to a xcb_input_detach_slave_iterator_t 6739 * 6740 * Get the next element in the iterator. The member rem is 6741 * decreased by one. The member data points to the next 6742 * element. The member index is increased by sizeof(xcb_input_detach_slave_t) 6743 */ 6744 void xcb_input_detach_slave_next(xcb_input_detach_slave_iterator_t* i /**< */ ); 6745 6746 /** 6747 * Return the iterator pointing to the last element 6748 * @param i An xcb_input_detach_slave_iterator_t 6749 * @return The iterator pointing to the last element 6750 * 6751 * Set the current element in the iterator to the last element. 6752 * The member rem is set to 0. The member data points to the 6753 * last element. 6754 */ 6755 xcb_generic_iterator_t xcb_input_detach_slave_end(xcb_input_detach_slave_iterator_t i /**< */ ); 6756 6757 int xcb_input_hierarchy_change_sizeof(const void* _buffer /**< */ ); 6758 6759 ubyte* xcb_input_hierarchy_change_uninterpreted_data(const xcb_input_hierarchy_change_t* R /**< */ ); 6760 6761 int xcb_input_hierarchy_change_uninterpreted_data_length(const xcb_input_hierarchy_change_t* R /**< */ ); 6762 6763 xcb_generic_iterator_t xcb_input_hierarchy_change_uninterpreted_data_end(const xcb_input_hierarchy_change_t* R /**< */ ); 6764 6765 /** 6766 * Get the next element of the iterator 6767 * @param i Pointer to a xcb_input_hierarchy_change_iterator_t 6768 * 6769 * Get the next element in the iterator. The member rem is 6770 * decreased by one. The member data points to the next 6771 * element. The member index is increased by sizeof(xcb_input_hierarchy_change_t) 6772 */ 6773 void xcb_input_hierarchy_change_next(xcb_input_hierarchy_change_iterator_t* i /**< */ ); 6774 6775 /** 6776 * Return the iterator pointing to the last element 6777 * @param i An xcb_input_hierarchy_change_iterator_t 6778 * @return The iterator pointing to the last element 6779 * 6780 * Set the current element in the iterator to the last element. 6781 * The member rem is set to 0. The member data points to the 6782 * last element. 6783 */ 6784 xcb_generic_iterator_t xcb_input_hierarchy_change_end(xcb_input_hierarchy_change_iterator_t i /**< */ ); 6785 6786 int xcb_input_xi_change_hierarchy_sizeof(const void* _buffer /**< */ ); 6787 6788 /** 6789 * 6790 * @param c The connection 6791 * @return A cookie 6792 * 6793 * Delivers a request to the X server. 6794 * 6795 * This form can be used only if the request will not cause 6796 * a reply to be generated. Any returned error will be 6797 * saved for handling by xcb_request_check(). 6798 */ 6799 xcb_void_cookie_t xcb_input_xi_change_hierarchy_checked(xcb_connection_t* c /**< */ , ubyte num_changes /**< */ , 6800 const xcb_input_hierarchy_change_t* changes /**< */ ); 6801 6802 /** 6803 * 6804 * @param c The connection 6805 * @return A cookie 6806 * 6807 * Delivers a request to the X server. 6808 * 6809 */ 6810 xcb_void_cookie_t xcb_input_xi_change_hierarchy(xcb_connection_t* c /**< */ , ubyte num_changes /**< */ , 6811 const xcb_input_hierarchy_change_t* changes /**< */ ); 6812 6813 /** 6814 * 6815 * @param c The connection 6816 * @return A cookie 6817 * 6818 * Delivers a request to the X server. 6819 * 6820 * This form can be used only if the request will not cause 6821 * a reply to be generated. Any returned error will be 6822 * saved for handling by xcb_request_check(). 6823 */ 6824 xcb_void_cookie_t xcb_input_xi_set_client_pointer_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 6825 xcb_input_device_id_t deviceid /**< */ ); 6826 6827 /** 6828 * 6829 * @param c The connection 6830 * @return A cookie 6831 * 6832 * Delivers a request to the X server. 6833 * 6834 */ 6835 xcb_void_cookie_t xcb_input_xi_set_client_pointer(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_input_device_id_t deviceid /**< */ ); 6836 6837 /** 6838 * 6839 * @param c The connection 6840 * @return A cookie 6841 * 6842 * Delivers a request to the X server. 6843 * 6844 */ 6845 xcb_input_xi_get_client_pointer_cookie_t xcb_input_xi_get_client_pointer(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 6846 6847 /** 6848 * 6849 * @param c The connection 6850 * @return A cookie 6851 * 6852 * Delivers a request to the X server. 6853 * 6854 * This form can be used only if the request will cause 6855 * a reply to be generated. Any returned error will be 6856 * placed in the event queue. 6857 */ 6858 xcb_input_xi_get_client_pointer_cookie_t xcb_input_xi_get_client_pointer_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 6859 6860 /** 6861 * Return the reply 6862 * @param c The connection 6863 * @param cookie The cookie 6864 * @param e The xcb_generic_error_t supplied 6865 * 6866 * Returns the reply of the request asked by 6867 * 6868 * The parameter @p e supplied to this function must be NULL if 6869 * xcb_input_xi_get_client_pointer_unchecked(). is used. 6870 * Otherwise, it stores the error if any. 6871 * 6872 * The returned value must be freed by the caller using free(). 6873 */ 6874 xcb_input_xi_get_client_pointer_reply_t* xcb_input_xi_get_client_pointer_reply(xcb_connection_t* c /**< */ , 6875 xcb_input_xi_get_client_pointer_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6876 6877 int xcb_input_event_mask_sizeof(const void* _buffer /**< */ ); 6878 6879 uint* xcb_input_event_mask_mask(const xcb_input_event_mask_t* R /**< */ ); 6880 6881 int xcb_input_event_mask_mask_length(const xcb_input_event_mask_t* R /**< */ ); 6882 6883 xcb_generic_iterator_t xcb_input_event_mask_mask_end(const xcb_input_event_mask_t* R /**< */ ); 6884 6885 /** 6886 * Get the next element of the iterator 6887 * @param i Pointer to a xcb_input_event_mask_iterator_t 6888 * 6889 * Get the next element in the iterator. The member rem is 6890 * decreased by one. The member data points to the next 6891 * element. The member index is increased by sizeof(xcb_input_event_mask_t) 6892 */ 6893 void xcb_input_event_mask_next(xcb_input_event_mask_iterator_t* i /**< */ ); 6894 6895 /** 6896 * Return the iterator pointing to the last element 6897 * @param i An xcb_input_event_mask_iterator_t 6898 * @return The iterator pointing to the last element 6899 * 6900 * Set the current element in the iterator to the last element. 6901 * The member rem is set to 0. The member data points to the 6902 * last element. 6903 */ 6904 xcb_generic_iterator_t xcb_input_event_mask_end(xcb_input_event_mask_iterator_t i /**< */ ); 6905 6906 int xcb_input_xi_select_events_sizeof(const void* _buffer /**< */ ); 6907 6908 /** 6909 * 6910 * @param c The connection 6911 * @return A cookie 6912 * 6913 * Delivers a request to the X server. 6914 * 6915 * This form can be used only if the request will not cause 6916 * a reply to be generated. Any returned error will be 6917 * saved for handling by xcb_request_check(). 6918 */ 6919 xcb_void_cookie_t xcb_input_xi_select_events_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort num_mask /**< */ , 6920 const xcb_input_event_mask_t* masks /**< */ ); 6921 6922 /** 6923 * 6924 * @param c The connection 6925 * @return A cookie 6926 * 6927 * Delivers a request to the X server. 6928 * 6929 */ 6930 xcb_void_cookie_t xcb_input_xi_select_events(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , ushort num_mask /**< */ , 6931 const xcb_input_event_mask_t* masks /**< */ ); 6932 6933 /** 6934 * 6935 * @param c The connection 6936 * @return A cookie 6937 * 6938 * Delivers a request to the X server. 6939 * 6940 */ 6941 xcb_input_xi_query_version_cookie_t xcb_input_xi_query_version(xcb_connection_t* c /**< */ , ushort major_version /**< */ , 6942 ushort minor_version /**< */ ); 6943 6944 /** 6945 * 6946 * @param c The connection 6947 * @return A cookie 6948 * 6949 * Delivers a request to the X server. 6950 * 6951 * This form can be used only if the request will cause 6952 * a reply to be generated. Any returned error will be 6953 * placed in the event queue. 6954 */ 6955 xcb_input_xi_query_version_cookie_t xcb_input_xi_query_version_unchecked(xcb_connection_t* c /**< */ , 6956 ushort major_version /**< */ , ushort minor_version /**< */ ); 6957 6958 /** 6959 * Return the reply 6960 * @param c The connection 6961 * @param cookie The cookie 6962 * @param e The xcb_generic_error_t supplied 6963 * 6964 * Returns the reply of the request asked by 6965 * 6966 * The parameter @p e supplied to this function must be NULL if 6967 * xcb_input_xi_query_version_unchecked(). is used. 6968 * Otherwise, it stores the error if any. 6969 * 6970 * The returned value must be freed by the caller using free(). 6971 */ 6972 xcb_input_xi_query_version_reply_t* xcb_input_xi_query_version_reply(xcb_connection_t* c /**< */ , 6973 xcb_input_xi_query_version_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 6974 6975 int xcb_input_button_class_sizeof(const void* _buffer /**< */ ); 6976 6977 uint* xcb_input_button_class_state(const xcb_input_button_class_t* R /**< */ ); 6978 6979 int xcb_input_button_class_state_length(const xcb_input_button_class_t* R /**< */ ); 6980 6981 xcb_generic_iterator_t xcb_input_button_class_state_end(const xcb_input_button_class_t* R /**< */ ); 6982 6983 xcb_atom_t* xcb_input_button_class_labels(const xcb_input_button_class_t* R /**< */ ); 6984 6985 int xcb_input_button_class_labels_length(const xcb_input_button_class_t* R /**< */ ); 6986 6987 xcb_generic_iterator_t xcb_input_button_class_labels_end(const xcb_input_button_class_t* R /**< */ ); 6988 6989 /** 6990 * Get the next element of the iterator 6991 * @param i Pointer to a xcb_input_button_class_iterator_t 6992 * 6993 * Get the next element in the iterator. The member rem is 6994 * decreased by one. The member data points to the next 6995 * element. The member index is increased by sizeof(xcb_input_button_class_t) 6996 */ 6997 void xcb_input_button_class_next(xcb_input_button_class_iterator_t* i /**< */ ); 6998 6999 /** 7000 * Return the iterator pointing to the last element 7001 * @param i An xcb_input_button_class_iterator_t 7002 * @return The iterator pointing to the last element 7003 * 7004 * Set the current element in the iterator to the last element. 7005 * The member rem is set to 0. The member data points to the 7006 * last element. 7007 */ 7008 xcb_generic_iterator_t xcb_input_button_class_end(xcb_input_button_class_iterator_t i /**< */ ); 7009 7010 int xcb_input_key_class_sizeof(const void* _buffer /**< */ ); 7011 7012 uint* xcb_input_key_class_keys(const xcb_input_key_class_t* R /**< */ ); 7013 7014 int xcb_input_key_class_keys_length(const xcb_input_key_class_t* R /**< */ ); 7015 7016 xcb_generic_iterator_t xcb_input_key_class_keys_end(const xcb_input_key_class_t* R /**< */ ); 7017 7018 /** 7019 * Get the next element of the iterator 7020 * @param i Pointer to a xcb_input_key_class_iterator_t 7021 * 7022 * Get the next element in the iterator. The member rem is 7023 * decreased by one. The member data points to the next 7024 * element. The member index is increased by sizeof(xcb_input_key_class_t) 7025 */ 7026 void xcb_input_key_class_next(xcb_input_key_class_iterator_t* i /**< */ ); 7027 7028 /** 7029 * Return the iterator pointing to the last element 7030 * @param i An xcb_input_key_class_iterator_t 7031 * @return The iterator pointing to the last element 7032 * 7033 * Set the current element in the iterator to the last element. 7034 * The member rem is set to 0. The member data points to the 7035 * last element. 7036 */ 7037 xcb_generic_iterator_t xcb_input_key_class_end(xcb_input_key_class_iterator_t i /**< */ ); 7038 7039 /** 7040 * Get the next element of the iterator 7041 * @param i Pointer to a xcb_input_scroll_class_iterator_t 7042 * 7043 * Get the next element in the iterator. The member rem is 7044 * decreased by one. The member data points to the next 7045 * element. The member index is increased by sizeof(xcb_input_scroll_class_t) 7046 */ 7047 void xcb_input_scroll_class_next(xcb_input_scroll_class_iterator_t* i /**< */ ); 7048 7049 /** 7050 * Return the iterator pointing to the last element 7051 * @param i An xcb_input_scroll_class_iterator_t 7052 * @return The iterator pointing to the last element 7053 * 7054 * Set the current element in the iterator to the last element. 7055 * The member rem is set to 0. The member data points to the 7056 * last element. 7057 */ 7058 xcb_generic_iterator_t xcb_input_scroll_class_end(xcb_input_scroll_class_iterator_t i /**< */ ); 7059 7060 /** 7061 * Get the next element of the iterator 7062 * @param i Pointer to a xcb_input_touch_class_iterator_t 7063 * 7064 * Get the next element in the iterator. The member rem is 7065 * decreased by one. The member data points to the next 7066 * element. The member index is increased by sizeof(xcb_input_touch_class_t) 7067 */ 7068 void xcb_input_touch_class_next(xcb_input_touch_class_iterator_t* i /**< */ ); 7069 7070 /** 7071 * Return the iterator pointing to the last element 7072 * @param i An xcb_input_touch_class_iterator_t 7073 * @return The iterator pointing to the last element 7074 * 7075 * Set the current element in the iterator to the last element. 7076 * The member rem is set to 0. The member data points to the 7077 * last element. 7078 */ 7079 xcb_generic_iterator_t xcb_input_touch_class_end(xcb_input_touch_class_iterator_t i /**< */ ); 7080 7081 /** 7082 * Get the next element of the iterator 7083 * @param i Pointer to a xcb_input_valuator_class_iterator_t 7084 * 7085 * Get the next element in the iterator. The member rem is 7086 * decreased by one. The member data points to the next 7087 * element. The member index is increased by sizeof(xcb_input_valuator_class_t) 7088 */ 7089 void xcb_input_valuator_class_next(xcb_input_valuator_class_iterator_t* i /**< */ ); 7090 7091 /** 7092 * Return the iterator pointing to the last element 7093 * @param i An xcb_input_valuator_class_iterator_t 7094 * @return The iterator pointing to the last element 7095 * 7096 * Set the current element in the iterator to the last element. 7097 * The member rem is set to 0. The member data points to the 7098 * last element. 7099 */ 7100 xcb_generic_iterator_t xcb_input_valuator_class_end(xcb_input_valuator_class_iterator_t i /**< */ ); 7101 7102 int xcb_input_device_class_sizeof(const void* _buffer /**< */ ); 7103 7104 ubyte* xcb_input_device_class_uninterpreted_data(const xcb_input_device_class_t* R /**< */ ); 7105 7106 int xcb_input_device_class_uninterpreted_data_length(const xcb_input_device_class_t* R /**< */ ); 7107 7108 xcb_generic_iterator_t xcb_input_device_class_uninterpreted_data_end(const xcb_input_device_class_t* R /**< */ ); 7109 7110 /** 7111 * Get the next element of the iterator 7112 * @param i Pointer to a xcb_input_device_class_iterator_t 7113 * 7114 * Get the next element in the iterator. The member rem is 7115 * decreased by one. The member data points to the next 7116 * element. The member index is increased by sizeof(xcb_input_device_class_t) 7117 */ 7118 void xcb_input_device_class_next(xcb_input_device_class_iterator_t* i /**< */ ); 7119 7120 /** 7121 * Return the iterator pointing to the last element 7122 * @param i An xcb_input_device_class_iterator_t 7123 * @return The iterator pointing to the last element 7124 * 7125 * Set the current element in the iterator to the last element. 7126 * The member rem is set to 0. The member data points to the 7127 * last element. 7128 */ 7129 xcb_generic_iterator_t xcb_input_device_class_end(xcb_input_device_class_iterator_t i /**< */ ); 7130 7131 int xcb_input_xi_device_info_sizeof(const void* _buffer /**< */ ); 7132 7133 char* xcb_input_xi_device_info_name(const xcb_input_xi_device_info_t* R /**< */ ); 7134 7135 int xcb_input_xi_device_info_name_length(const xcb_input_xi_device_info_t* R /**< */ ); 7136 7137 xcb_generic_iterator_t xcb_input_xi_device_info_name_end(const xcb_input_xi_device_info_t* R /**< */ ); 7138 7139 int xcb_input_xi_device_info_classes_length(const xcb_input_xi_device_info_t* R /**< */ ); 7140 7141 xcb_input_device_class_iterator_t xcb_input_xi_device_info_classes_iterator(const xcb_input_xi_device_info_t* R /**< */ ); 7142 7143 /** 7144 * Get the next element of the iterator 7145 * @param i Pointer to a xcb_input_xi_device_info_iterator_t 7146 * 7147 * Get the next element in the iterator. The member rem is 7148 * decreased by one. The member data points to the next 7149 * element. The member index is increased by sizeof(xcb_input_xi_device_info_t) 7150 */ 7151 void xcb_input_xi_device_info_next(xcb_input_xi_device_info_iterator_t* i /**< */ ); 7152 7153 /** 7154 * Return the iterator pointing to the last element 7155 * @param i An xcb_input_xi_device_info_iterator_t 7156 * @return The iterator pointing to the last element 7157 * 7158 * Set the current element in the iterator to the last element. 7159 * The member rem is set to 0. The member data points to the 7160 * last element. 7161 */ 7162 xcb_generic_iterator_t xcb_input_xi_device_info_end(xcb_input_xi_device_info_iterator_t i /**< */ ); 7163 7164 int xcb_input_xi_query_device_sizeof(const void* _buffer /**< */ ); 7165 7166 /** 7167 * 7168 * @param c The connection 7169 * @return A cookie 7170 * 7171 * Delivers a request to the X server. 7172 * 7173 */ 7174 xcb_input_xi_query_device_cookie_t xcb_input_xi_query_device(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7175 7176 /** 7177 * 7178 * @param c The connection 7179 * @return A cookie 7180 * 7181 * Delivers a request to the X server. 7182 * 7183 * This form can be used only if the request will cause 7184 * a reply to be generated. Any returned error will be 7185 * placed in the event queue. 7186 */ 7187 xcb_input_xi_query_device_cookie_t xcb_input_xi_query_device_unchecked(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7188 7189 int xcb_input_xi_query_device_infos_length(const xcb_input_xi_query_device_reply_t* R /**< */ ); 7190 7191 xcb_input_xi_device_info_iterator_t xcb_input_xi_query_device_infos_iterator(const xcb_input_xi_query_device_reply_t* R /**< */ ); 7192 7193 /** 7194 * Return the reply 7195 * @param c The connection 7196 * @param cookie The cookie 7197 * @param e The xcb_generic_error_t supplied 7198 * 7199 * Returns the reply of the request asked by 7200 * 7201 * The parameter @p e supplied to this function must be NULL if 7202 * xcb_input_xi_query_device_unchecked(). is used. 7203 * Otherwise, it stores the error if any. 7204 * 7205 * The returned value must be freed by the caller using free(). 7206 */ 7207 xcb_input_xi_query_device_reply_t* xcb_input_xi_query_device_reply(xcb_connection_t* c /**< */ , 7208 xcb_input_xi_query_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 7209 7210 /** 7211 * 7212 * @param c The connection 7213 * @return A cookie 7214 * 7215 * Delivers a request to the X server. 7216 * 7217 * This form can be used only if the request will not cause 7218 * a reply to be generated. Any returned error will be 7219 * saved for handling by xcb_request_check(). 7220 */ 7221 xcb_void_cookie_t xcb_input_xi_set_focus_checked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_timestamp_t time /**< */ , 7222 xcb_input_device_id_t deviceid /**< */ ); 7223 7224 /** 7225 * 7226 * @param c The connection 7227 * @return A cookie 7228 * 7229 * Delivers a request to the X server. 7230 * 7231 */ 7232 xcb_void_cookie_t xcb_input_xi_set_focus(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_timestamp_t time /**< */ , 7233 xcb_input_device_id_t deviceid /**< */ ); 7234 7235 /** 7236 * 7237 * @param c The connection 7238 * @return A cookie 7239 * 7240 * Delivers a request to the X server. 7241 * 7242 */ 7243 xcb_input_xi_get_focus_cookie_t xcb_input_xi_get_focus(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7244 7245 /** 7246 * 7247 * @param c The connection 7248 * @return A cookie 7249 * 7250 * Delivers a request to the X server. 7251 * 7252 * This form can be used only if the request will cause 7253 * a reply to be generated. Any returned error will be 7254 * placed in the event queue. 7255 */ 7256 xcb_input_xi_get_focus_cookie_t xcb_input_xi_get_focus_unchecked(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7257 7258 /** 7259 * Return the reply 7260 * @param c The connection 7261 * @param cookie The cookie 7262 * @param e The xcb_generic_error_t supplied 7263 * 7264 * Returns the reply of the request asked by 7265 * 7266 * The parameter @p e supplied to this function must be NULL if 7267 * xcb_input_xi_get_focus_unchecked(). is used. 7268 * Otherwise, it stores the error if any. 7269 * 7270 * The returned value must be freed by the caller using free(). 7271 */ 7272 xcb_input_xi_get_focus_reply_t* xcb_input_xi_get_focus_reply(xcb_connection_t* c /**< */ , xcb_input_xi_get_focus_cookie_t cookie /**< */ , 7273 xcb_generic_error_t** e /**< */ ); 7274 7275 int xcb_input_xi_grab_device_sizeof(const void* _buffer /**< */ ); 7276 7277 /** 7278 * 7279 * @param c The connection 7280 * @return A cookie 7281 * 7282 * Delivers a request to the X server. 7283 * 7284 */ 7285 xcb_input_xi_grab_device_cookie_t xcb_input_xi_grab_device(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , xcb_timestamp_t time /**< */ , 7286 xcb_cursor_t cursor /**< */ , xcb_input_device_id_t deviceid /**< */ , ubyte mode /**< */ , ubyte paired_device_mode /**< */ , ubyte owner_events /**< */ , 7287 ushort mask_len /**< */ , const uint* mask /**< */ ); 7288 7289 /** 7290 * 7291 * @param c The connection 7292 * @return A cookie 7293 * 7294 * Delivers a request to the X server. 7295 * 7296 * This form can be used only if the request will cause 7297 * a reply to be generated. Any returned error will be 7298 * placed in the event queue. 7299 */ 7300 xcb_input_xi_grab_device_cookie_t xcb_input_xi_grab_device_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ , 7301 xcb_timestamp_t time /**< */ , xcb_cursor_t cursor /**< */ , xcb_input_device_id_t deviceid /**< */ , ubyte mode /**< */ , ubyte paired_device_mode /**< */ , 7302 ubyte owner_events /**< */ , ushort mask_len /**< */ , const uint* mask /**< */ ); 7303 7304 /** 7305 * Return the reply 7306 * @param c The connection 7307 * @param cookie The cookie 7308 * @param e The xcb_generic_error_t supplied 7309 * 7310 * Returns the reply of the request asked by 7311 * 7312 * The parameter @p e supplied to this function must be NULL if 7313 * xcb_input_xi_grab_device_unchecked(). is used. 7314 * Otherwise, it stores the error if any. 7315 * 7316 * The returned value must be freed by the caller using free(). 7317 */ 7318 xcb_input_xi_grab_device_reply_t* xcb_input_xi_grab_device_reply(xcb_connection_t* c /**< */ , 7319 xcb_input_xi_grab_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 7320 7321 /** 7322 * 7323 * @param c The connection 7324 * @return A cookie 7325 * 7326 * Delivers a request to the X server. 7327 * 7328 * This form can be used only if the request will not cause 7329 * a reply to be generated. Any returned error will be 7330 * saved for handling by xcb_request_check(). 7331 */ 7332 xcb_void_cookie_t xcb_input_xi_ungrab_device_checked(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , 7333 xcb_input_device_id_t deviceid /**< */ ); 7334 7335 /** 7336 * 7337 * @param c The connection 7338 * @return A cookie 7339 * 7340 * Delivers a request to the X server. 7341 * 7342 */ 7343 xcb_void_cookie_t xcb_input_xi_ungrab_device(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7344 7345 /** 7346 * 7347 * @param c The connection 7348 * @return A cookie 7349 * 7350 * Delivers a request to the X server. 7351 * 7352 * This form can be used only if the request will not cause 7353 * a reply to be generated. Any returned error will be 7354 * saved for handling by xcb_request_check(). 7355 */ 7356 xcb_void_cookie_t xcb_input_xi_allow_events_checked(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , 7357 xcb_input_device_id_t deviceid /**< */ , ubyte event_mode /**< */ , uint touchid /**< */ , xcb_window_t grab_window /**< */ ); 7358 7359 /** 7360 * 7361 * @param c The connection 7362 * @return A cookie 7363 * 7364 * Delivers a request to the X server. 7365 * 7366 */ 7367 xcb_void_cookie_t xcb_input_xi_allow_events(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , xcb_input_device_id_t deviceid /**< */ , 7368 ubyte event_mode /**< */ , uint touchid /**< */ , xcb_window_t grab_window /**< */ ); 7369 7370 /** 7371 * Get the next element of the iterator 7372 * @param i Pointer to a xcb_input_grab_modifier_info_iterator_t 7373 * 7374 * Get the next element in the iterator. The member rem is 7375 * decreased by one. The member data points to the next 7376 * element. The member index is increased by sizeof(xcb_input_grab_modifier_info_t) 7377 */ 7378 void xcb_input_grab_modifier_info_next(xcb_input_grab_modifier_info_iterator_t* i /**< */ ); 7379 7380 /** 7381 * Return the iterator pointing to the last element 7382 * @param i An xcb_input_grab_modifier_info_iterator_t 7383 * @return The iterator pointing to the last element 7384 * 7385 * Set the current element in the iterator to the last element. 7386 * The member rem is set to 0. The member data points to the 7387 * last element. 7388 */ 7389 xcb_generic_iterator_t xcb_input_grab_modifier_info_end(xcb_input_grab_modifier_info_iterator_t i /**< */ ); 7390 7391 int xcb_input_xi_passive_grab_device_sizeof(const void* _buffer /**< */ ); 7392 7393 /** 7394 * 7395 * @param c The connection 7396 * @return A cookie 7397 * 7398 * Delivers a request to the X server. 7399 * 7400 */ 7401 xcb_input_xi_passive_grab_device_cookie_t xcb_input_xi_passive_grab_device(xcb_connection_t* c /**< */ , xcb_timestamp_t time /**< */ , 7402 xcb_window_t grab_window /**< */ , xcb_cursor_t cursor /**< */ , uint detail /**< */ , xcb_input_device_id_t deviceid /**< */ , ushort num_modifiers /**< */ , 7403 ushort mask_len /**< */ , ubyte grab_type /**< */ , ubyte grab_mode /**< */ , ubyte paired_device_mode /**< */ , ubyte owner_events /**< */ , 7404 const uint* mask /**< */ , const uint* modifiers /**< */ ); 7405 7406 /** 7407 * 7408 * @param c The connection 7409 * @return A cookie 7410 * 7411 * Delivers a request to the X server. 7412 * 7413 * This form can be used only if the request will cause 7414 * a reply to be generated. Any returned error will be 7415 * placed in the event queue. 7416 */ 7417 xcb_input_xi_passive_grab_device_cookie_t xcb_input_xi_passive_grab_device_unchecked(xcb_connection_t* c /**< */ , 7418 xcb_timestamp_t time /**< */ , xcb_window_t grab_window /**< */ , xcb_cursor_t cursor /**< */ , uint detail /**< */ , xcb_input_device_id_t deviceid /**< */ , 7419 ushort num_modifiers /**< */ , ushort mask_len /**< */ , ubyte grab_type /**< */ , ubyte grab_mode /**< */ , ubyte paired_device_mode /**< */ , 7420 ubyte owner_events /**< */ , const uint* mask /**< */ , const uint* modifiers /**< */ ); 7421 7422 xcb_input_grab_modifier_info_t* xcb_input_xi_passive_grab_device_modifiers(const xcb_input_xi_passive_grab_device_reply_t* R /**< */ ); 7423 7424 int xcb_input_xi_passive_grab_device_modifiers_length(const xcb_input_xi_passive_grab_device_reply_t* R /**< */ ); 7425 7426 xcb_input_grab_modifier_info_iterator_t xcb_input_xi_passive_grab_device_modifiers_iterator(const xcb_input_xi_passive_grab_device_reply_t* R /**< */ ); 7427 7428 /** 7429 * Return the reply 7430 * @param c The connection 7431 * @param cookie The cookie 7432 * @param e The xcb_generic_error_t supplied 7433 * 7434 * Returns the reply of the request asked by 7435 * 7436 * The parameter @p e supplied to this function must be NULL if 7437 * xcb_input_xi_passive_grab_device_unchecked(). is used. 7438 * Otherwise, it stores the error if any. 7439 * 7440 * The returned value must be freed by the caller using free(). 7441 */ 7442 xcb_input_xi_passive_grab_device_reply_t* xcb_input_xi_passive_grab_device_reply(xcb_connection_t* c /**< */ , 7443 xcb_input_xi_passive_grab_device_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 7444 7445 int xcb_input_xi_passive_ungrab_device_sizeof(const void* _buffer /**< */ ); 7446 7447 /** 7448 * 7449 * @param c The connection 7450 * @return A cookie 7451 * 7452 * Delivers a request to the X server. 7453 * 7454 * This form can be used only if the request will not cause 7455 * a reply to be generated. Any returned error will be 7456 * saved for handling by xcb_request_check(). 7457 */ 7458 xcb_void_cookie_t xcb_input_xi_passive_ungrab_device_checked(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , uint detail /**< */ , 7459 xcb_input_device_id_t deviceid /**< */ , ushort num_modifiers /**< */ , ubyte grab_type /**< */ , const uint* modifiers /**< */ ); 7460 7461 /** 7462 * 7463 * @param c The connection 7464 * @return A cookie 7465 * 7466 * Delivers a request to the X server. 7467 * 7468 */ 7469 xcb_void_cookie_t xcb_input_xi_passive_ungrab_device(xcb_connection_t* c /**< */ , xcb_window_t grab_window /**< */ , uint detail /**< */ , 7470 xcb_input_device_id_t deviceid /**< */ , ushort num_modifiers /**< */ , ubyte grab_type /**< */ , const uint* modifiers /**< */ ); 7471 7472 int xcb_input_xi_list_properties_sizeof(const void* _buffer /**< */ ); 7473 7474 /** 7475 * 7476 * @param c The connection 7477 * @return A cookie 7478 * 7479 * Delivers a request to the X server. 7480 * 7481 */ 7482 xcb_input_xi_list_properties_cookie_t xcb_input_xi_list_properties(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7483 7484 /** 7485 * 7486 * @param c The connection 7487 * @return A cookie 7488 * 7489 * Delivers a request to the X server. 7490 * 7491 * This form can be used only if the request will cause 7492 * a reply to be generated. Any returned error will be 7493 * placed in the event queue. 7494 */ 7495 xcb_input_xi_list_properties_cookie_t xcb_input_xi_list_properties_unchecked(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ ); 7496 7497 xcb_atom_t* xcb_input_xi_list_properties_properties(const xcb_input_xi_list_properties_reply_t* R /**< */ ); 7498 7499 int xcb_input_xi_list_properties_properties_length(const xcb_input_xi_list_properties_reply_t* R /**< */ ); 7500 7501 xcb_generic_iterator_t xcb_input_xi_list_properties_properties_end(const xcb_input_xi_list_properties_reply_t* R /**< */ ); 7502 7503 /** 7504 * Return the reply 7505 * @param c The connection 7506 * @param cookie The cookie 7507 * @param e The xcb_generic_error_t supplied 7508 * 7509 * Returns the reply of the request asked by 7510 * 7511 * The parameter @p e supplied to this function must be NULL if 7512 * xcb_input_xi_list_properties_unchecked(). is used. 7513 * Otherwise, it stores the error if any. 7514 * 7515 * The returned value must be freed by the caller using free(). 7516 */ 7517 xcb_input_xi_list_properties_reply_t* xcb_input_xi_list_properties_reply(xcb_connection_t* c /**< */ , 7518 xcb_input_xi_list_properties_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 7519 7520 ubyte* xcb_input_xi_change_property_items_data_8(const xcb_input_xi_change_property_items_t* S /**< */ ); 7521 7522 int xcb_input_xi_change_property_items_data_8_length(const xcb_input_xi_change_property_request_t* R /**< */ , 7523 const xcb_input_xi_change_property_items_t* S /**< */ ); 7524 7525 xcb_generic_iterator_t xcb_input_xi_change_property_items_data_8_end(const xcb_input_xi_change_property_request_t* R /**< */ , 7526 const xcb_input_xi_change_property_items_t* S /**< */ ); 7527 7528 ushort* xcb_input_xi_change_property_items_data_16(const xcb_input_xi_change_property_items_t* S /**< */ ); 7529 7530 int xcb_input_xi_change_property_items_data_16_length(const xcb_input_xi_change_property_request_t* R /**< */ , 7531 const xcb_input_xi_change_property_items_t* S /**< */ ); 7532 7533 xcb_generic_iterator_t xcb_input_xi_change_property_items_data_16_end(const xcb_input_xi_change_property_request_t* R /**< */ , 7534 const xcb_input_xi_change_property_items_t* S /**< */ ); 7535 7536 uint* xcb_input_xi_change_property_items_data_32(const xcb_input_xi_change_property_items_t* S /**< */ ); 7537 7538 int xcb_input_xi_change_property_items_data_32_length(const xcb_input_xi_change_property_request_t* R /**< */ , 7539 const xcb_input_xi_change_property_items_t* S /**< */ ); 7540 7541 xcb_generic_iterator_t xcb_input_xi_change_property_items_data_32_end(const xcb_input_xi_change_property_request_t* R /**< */ , 7542 const xcb_input_xi_change_property_items_t* S /**< */ ); 7543 7544 int xcb_input_xi_change_property_items_serialize(void** _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 7545 const xcb_input_xi_change_property_items_t* _aux /**< */ ); 7546 7547 int xcb_input_xi_change_property_items_unpack(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 7548 xcb_input_xi_change_property_items_t* _aux /**< */ ); 7549 7550 int xcb_input_xi_change_property_items_sizeof(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ ); 7551 7552 /** 7553 * 7554 * @param c The connection 7555 * @return A cookie 7556 * 7557 * Delivers a request to the X server. 7558 * 7559 * This form can be used only if the request will not cause 7560 * a reply to be generated. Any returned error will be 7561 * saved for handling by xcb_request_check(). 7562 */ 7563 xcb_void_cookie_t xcb_input_xi_change_property_checked(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , ubyte mode /**< */ , 7564 ubyte format /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint num_items /**< */ , const void* items /**< */ ); 7565 7566 /** 7567 * 7568 * @param c The connection 7569 * @return A cookie 7570 * 7571 * Delivers a request to the X server. 7572 * 7573 */ 7574 xcb_void_cookie_t xcb_input_xi_change_property(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , ubyte mode /**< */ , ubyte format /**< */ , 7575 xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint num_items /**< */ , const void* items /**< */ ); 7576 7577 /** 7578 * 7579 * @param c The connection 7580 * @return A cookie 7581 * 7582 * Delivers a request to the X server. 7583 * 7584 * This form can be used only if the request will not cause 7585 * a reply to be generated. Any returned error will be 7586 * saved for handling by xcb_request_check(). 7587 */ 7588 xcb_void_cookie_t xcb_input_xi_change_property_aux_checked(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , ubyte mode /**< */ , 7589 ubyte format /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint num_items /**< */ , 7590 const xcb_input_xi_change_property_items_t* items /**< */ ); 7591 7592 /** 7593 * 7594 * @param c The connection 7595 * @return A cookie 7596 * 7597 * Delivers a request to the X server. 7598 * 7599 */ 7600 xcb_void_cookie_t xcb_input_xi_change_property_aux(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , ubyte mode /**< */ , 7601 ubyte format /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint num_items /**< */ , 7602 const xcb_input_xi_change_property_items_t* items /**< */ ); 7603 7604 /** 7605 * 7606 * @param c The connection 7607 * @return A cookie 7608 * 7609 * Delivers a request to the X server. 7610 * 7611 * This form can be used only if the request will not cause 7612 * a reply to be generated. Any returned error will be 7613 * saved for handling by xcb_request_check(). 7614 */ 7615 xcb_void_cookie_t xcb_input_xi_delete_property_checked(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , 7616 xcb_atom_t property /**< */ ); 7617 7618 /** 7619 * 7620 * @param c The connection 7621 * @return A cookie 7622 * 7623 * Delivers a request to the X server. 7624 * 7625 */ 7626 xcb_void_cookie_t xcb_input_xi_delete_property(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , xcb_atom_t property /**< */ ); 7627 7628 ubyte* xcb_input_xi_get_property_items_data_8(const xcb_input_xi_get_property_items_t* S /**< */ ); 7629 7630 int xcb_input_xi_get_property_items_data_8_length(const xcb_input_xi_get_property_reply_t* R /**< */ , 7631 const xcb_input_xi_get_property_items_t* S /**< */ ); 7632 7633 xcb_generic_iterator_t xcb_input_xi_get_property_items_data_8_end(const xcb_input_xi_get_property_reply_t* R /**< */ , 7634 const xcb_input_xi_get_property_items_t* S /**< */ ); 7635 7636 ushort* xcb_input_xi_get_property_items_data_16(const xcb_input_xi_get_property_items_t* S /**< */ ); 7637 7638 int xcb_input_xi_get_property_items_data_16_length(const xcb_input_xi_get_property_reply_t* R /**< */ , 7639 const xcb_input_xi_get_property_items_t* S /**< */ ); 7640 7641 xcb_generic_iterator_t xcb_input_xi_get_property_items_data_16_end(const xcb_input_xi_get_property_reply_t* R /**< */ , 7642 const xcb_input_xi_get_property_items_t* S /**< */ ); 7643 7644 uint* xcb_input_xi_get_property_items_data_32(const xcb_input_xi_get_property_items_t* S /**< */ ); 7645 7646 int xcb_input_xi_get_property_items_data_32_length(const xcb_input_xi_get_property_reply_t* R /**< */ , 7647 const xcb_input_xi_get_property_items_t* S /**< */ ); 7648 7649 xcb_generic_iterator_t xcb_input_xi_get_property_items_data_32_end(const xcb_input_xi_get_property_reply_t* R /**< */ , 7650 const xcb_input_xi_get_property_items_t* S /**< */ ); 7651 7652 int xcb_input_xi_get_property_items_serialize(void** _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 7653 const xcb_input_xi_get_property_items_t* _aux /**< */ ); 7654 7655 int xcb_input_xi_get_property_items_unpack(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ , 7656 xcb_input_xi_get_property_items_t* _aux /**< */ ); 7657 7658 int xcb_input_xi_get_property_items_sizeof(const void* _buffer /**< */ , uint num_items /**< */ , ubyte format /**< */ ); 7659 7660 /** 7661 * 7662 * @param c The connection 7663 * @return A cookie 7664 * 7665 * Delivers a request to the X server. 7666 * 7667 */ 7668 xcb_input_xi_get_property_cookie_t xcb_input_xi_get_property(xcb_connection_t* c /**< */ , xcb_input_device_id_t deviceid /**< */ , 7669 ubyte delete_ /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , uint offset /**< */ , uint len /**< */ ); 7670 7671 /** 7672 * 7673 * @param c The connection 7674 * @return A cookie 7675 * 7676 * Delivers a request to the X server. 7677 * 7678 * This form can be used only if the request will cause 7679 * a reply to be generated. Any returned error will be 7680 * placed in the event queue. 7681 */ 7682 xcb_input_xi_get_property_cookie_t xcb_input_xi_get_property_unchecked(xcb_connection_t* c /**< */ , 7683 xcb_input_device_id_t deviceid /**< */ , ubyte delete_ /**< */ , xcb_atom_t property /**< */ , xcb_atom_t type /**< */ , 7684 uint offset /**< */ , uint len /**< */ ); 7685 7686 void* xcb_input_xi_get_property_items(const xcb_input_xi_get_property_reply_t* R /**< */ ); 7687 7688 /** 7689 * Return the reply 7690 * @param c The connection 7691 * @param cookie The cookie 7692 * @param e The xcb_generic_error_t supplied 7693 * 7694 * Returns the reply of the request asked by 7695 * 7696 * The parameter @p e supplied to this function must be NULL if 7697 * xcb_input_xi_get_property_unchecked(). is used. 7698 * Otherwise, it stores the error if any. 7699 * 7700 * The returned value must be freed by the caller using free(). 7701 */ 7702 xcb_input_xi_get_property_reply_t* xcb_input_xi_get_property_reply(xcb_connection_t* c /**< */ , 7703 xcb_input_xi_get_property_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 7704 7705 int xcb_input_xi_get_selected_events_sizeof(const void* _buffer /**< */ ); 7706 7707 /** 7708 * 7709 * @param c The connection 7710 * @return A cookie 7711 * 7712 * Delivers a request to the X server. 7713 * 7714 */ 7715 xcb_input_xi_get_selected_events_cookie_t xcb_input_xi_get_selected_events(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 7716 7717 /** 7718 * 7719 * @param c The connection 7720 * @return A cookie 7721 * 7722 * Delivers a request to the X server. 7723 * 7724 * This form can be used only if the request will cause 7725 * a reply to be generated. Any returned error will be 7726 * placed in the event queue. 7727 */ 7728 xcb_input_xi_get_selected_events_cookie_t xcb_input_xi_get_selected_events_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ ); 7729 7730 int xcb_input_xi_get_selected_events_masks_length(const xcb_input_xi_get_selected_events_reply_t* R /**< */ ); 7731 7732 xcb_input_event_mask_iterator_t xcb_input_xi_get_selected_events_masks_iterator(const xcb_input_xi_get_selected_events_reply_t* R /**< */ ); 7733 7734 /** 7735 * Return the reply 7736 * @param c The connection 7737 * @param cookie The cookie 7738 * @param e The xcb_generic_error_t supplied 7739 * 7740 * Returns the reply of the request asked by 7741 * 7742 * The parameter @p e supplied to this function must be NULL if 7743 * xcb_input_xi_get_selected_events_unchecked(). is used. 7744 * Otherwise, it stores the error if any. 7745 * 7746 * The returned value must be freed by the caller using free(). 7747 */ 7748 xcb_input_xi_get_selected_events_reply_t* xcb_input_xi_get_selected_events_reply(xcb_connection_t* c /**< */ , 7749 xcb_input_xi_get_selected_events_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ ); 7750 7751 /** 7752 * Get the next element of the iterator 7753 * @param i Pointer to a xcb_input_barrier_release_pointer_info_iterator_t 7754 * 7755 * Get the next element in the iterator. The member rem is 7756 * decreased by one. The member data points to the next 7757 * element. The member index is increased by sizeof(xcb_input_barrier_release_pointer_info_t) 7758 */ 7759 void xcb_input_barrier_release_pointer_info_next(xcb_input_barrier_release_pointer_info_iterator_t* i /**< */ ); 7760 7761 /** 7762 * Return the iterator pointing to the last element 7763 * @param i An xcb_input_barrier_release_pointer_info_iterator_t 7764 * @return The iterator pointing to the last element 7765 * 7766 * Set the current element in the iterator to the last element. 7767 * The member rem is set to 0. The member data points to the 7768 * last element. 7769 */ 7770 xcb_generic_iterator_t xcb_input_barrier_release_pointer_info_end(xcb_input_barrier_release_pointer_info_iterator_t i /**< */ ); 7771 7772 int xcb_input_xi_barrier_release_pointer_sizeof(const void* _buffer /**< */ ); 7773 7774 /** 7775 * 7776 * @param c The connection 7777 * @return A cookie 7778 * 7779 * Delivers a request to the X server. 7780 * 7781 * This form can be used only if the request will not cause 7782 * a reply to be generated. Any returned error will be 7783 * saved for handling by xcb_request_check(). 7784 */ 7785 xcb_void_cookie_t xcb_input_xi_barrier_release_pointer_checked(xcb_connection_t* c /**< */ , uint num_barriers /**< */ , 7786 const xcb_input_barrier_release_pointer_info_t* barriers /**< */ ); 7787 7788 /** 7789 * 7790 * @param c The connection 7791 * @return A cookie 7792 * 7793 * Delivers a request to the X server. 7794 * 7795 */ 7796 xcb_void_cookie_t xcb_input_xi_barrier_release_pointer(xcb_connection_t* c /**< */ , uint num_barriers /**< */ , 7797 const xcb_input_barrier_release_pointer_info_t* barriers /**< */ ); 7798 7799 int xcb_input_device_changed_sizeof(const void* _buffer /**< */ ); 7800 7801 int xcb_input_key_press_sizeof(const void* _buffer /**< */ ); 7802 7803 int xcb_input_key_release_sizeof(const void* _buffer /**< */ ); 7804 7805 int xcb_input_button_press_sizeof(const void* _buffer /**< */ ); 7806 7807 int xcb_input_button_release_sizeof(const void* _buffer /**< */ ); 7808 7809 int xcb_input_motion_sizeof(const void* _buffer /**< */ ); 7810 7811 int xcb_input_enter_sizeof(const void* _buffer /**< */ ); 7812 7813 int xcb_input_leave_sizeof(const void* _buffer /**< */ ); 7814 7815 int xcb_input_focus_in_sizeof(const void* _buffer /**< */ ); 7816 7817 int xcb_input_focus_out_sizeof(const void* _buffer /**< */ ); 7818 7819 /** 7820 * Get the next element of the iterator 7821 * @param i Pointer to a xcb_input_hierarchy_info_iterator_t 7822 * 7823 * Get the next element in the iterator. The member rem is 7824 * decreased by one. The member data points to the next 7825 * element. The member index is increased by sizeof(xcb_input_hierarchy_info_t) 7826 */ 7827 void xcb_input_hierarchy_info_next(xcb_input_hierarchy_info_iterator_t* i /**< */ ); 7828 7829 /** 7830 * Return the iterator pointing to the last element 7831 * @param i An xcb_input_hierarchy_info_iterator_t 7832 * @return The iterator pointing to the last element 7833 * 7834 * Set the current element in the iterator to the last element. 7835 * The member rem is set to 0. The member data points to the 7836 * last element. 7837 */ 7838 xcb_generic_iterator_t xcb_input_hierarchy_info_end(xcb_input_hierarchy_info_iterator_t i /**< */ ); 7839 7840 int xcb_input_hierarchy_sizeof(const void* _buffer /**< */ ); 7841 7842 int xcb_input_raw_key_press_sizeof(const void* _buffer /**< */ ); 7843 7844 int xcb_input_raw_key_release_sizeof(const void* _buffer /**< */ ); 7845 7846 int xcb_input_raw_button_press_sizeof(const void* _buffer /**< */ ); 7847 7848 int xcb_input_raw_button_release_sizeof(const void* _buffer /**< */ ); 7849 7850 int xcb_input_raw_motion_sizeof(const void* _buffer /**< */ ); 7851 7852 int xcb_input_touch_begin_sizeof(const void* _buffer /**< */ ); 7853 7854 int xcb_input_touch_update_sizeof(const void* _buffer /**< */ ); 7855 7856 int xcb_input_touch_end_sizeof(const void* _buffer /**< */ ); 7857 7858 int xcb_input_raw_touch_begin_sizeof(const void* _buffer /**< */ ); 7859 7860 int xcb_input_raw_touch_update_sizeof(const void* _buffer /**< */ ); 7861 7862 int xcb_input_raw_touch_end_sizeof(const void* _buffer /**< */ ); 7863 7864 /** 7865 * @} 7866 */