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