00001
00002
00003
00004
00005
00012 #ifndef __XINPUT_H
00013 #define __XINPUT_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #define XCB_INPUT_MAJOR_VERSION 1
00019 #define XCB_INPUT_MINOR_VERSION 4
00020
00021 extern xcb_extension_t xcb_input_id;
00022
00023 typedef uint8_t xcb_input_key_code_t;
00024
00028 typedef struct xcb_input_key_code_iterator_t {
00029 xcb_input_key_code_t *data;
00030 int rem;
00031 int index;
00032 } xcb_input_key_code_iterator_t;
00033
00034 typedef uint32_t xcb_input_event_class_t;
00035
00039 typedef struct xcb_input_event_class_iterator_t {
00040 xcb_input_event_class_t *data;
00041 int rem;
00042 int index;
00043 } xcb_input_event_class_iterator_t;
00044
00045 typedef enum xcb_input_valuator_mode_t {
00046 XCB_INPUT_VALUATOR_MODE_RELATIVE = 0,
00047 XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1
00048 } xcb_input_valuator_mode_t;
00049
00050 typedef enum xcb_input_propagate_mode_t {
00051 XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0,
00052 XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1
00053 } xcb_input_propagate_mode_t;
00054
00058 typedef struct xcb_input_get_extension_version_cookie_t {
00059 unsigned int sequence;
00060 } xcb_input_get_extension_version_cookie_t;
00061
00063 #define XCB_INPUT_GET_EXTENSION_VERSION 1
00064
00068 typedef struct xcb_input_get_extension_version_request_t {
00069 uint8_t major_opcode;
00070 uint8_t minor_opcode;
00071 uint16_t length;
00072 uint16_t name_len;
00073 uint8_t pad0[2];
00074 } xcb_input_get_extension_version_request_t;
00075
00079 typedef struct xcb_input_get_extension_version_reply_t {
00080 uint8_t response_type;
00081 uint8_t pad0;
00082 uint16_t sequence;
00083 uint32_t length;
00084 uint16_t server_major;
00085 uint16_t server_minor;
00086 uint8_t present;
00087 uint8_t pad1[19];
00088 } xcb_input_get_extension_version_reply_t;
00089
00093 typedef struct xcb_input_list_input_devices_cookie_t {
00094 unsigned int sequence;
00095 } xcb_input_list_input_devices_cookie_t;
00096
00098 #define XCB_INPUT_LIST_INPUT_DEVICES 2
00099
00103 typedef struct xcb_input_list_input_devices_request_t {
00104 uint8_t major_opcode;
00105 uint8_t minor_opcode;
00106 uint16_t length;
00107 } xcb_input_list_input_devices_request_t;
00108
00112 typedef struct xcb_input_list_input_devices_reply_t {
00113 uint8_t response_type;
00114 uint8_t pad0;
00115 uint16_t sequence;
00116 uint32_t length;
00117 uint8_t devices_len;
00118 uint8_t pad1[23];
00119 } xcb_input_list_input_devices_reply_t;
00120
00124 typedef struct xcb_input_device_info_t {
00125 xcb_atom_t device_type;
00126 uint8_t device_id;
00127 uint8_t num_class_info;
00128 uint8_t device_use;
00129 uint8_t pad0;
00130 } xcb_input_device_info_t;
00131
00135 typedef struct xcb_input_device_info_iterator_t {
00136 xcb_input_device_info_t *data;
00137 int rem;
00138 int index;
00139 } xcb_input_device_info_iterator_t;
00140
00141 typedef enum xcb_input_device_use_t {
00142 XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0,
00143 XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1,
00144 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2,
00145 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3,
00146 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4
00147 } xcb_input_device_use_t;
00148
00152 typedef struct xcb_input_input_info_t {
00153 uint8_t class_id;
00154 uint8_t len;
00155 } xcb_input_input_info_t;
00156
00160 typedef struct xcb_input_input_info_iterator_t {
00161 xcb_input_input_info_t *data;
00162 int rem;
00163 int index;
00164 } xcb_input_input_info_iterator_t;
00165
00169 typedef struct xcb_input_key_info_t {
00170 uint8_t class_id;
00171 uint8_t len;
00172 xcb_input_key_code_t min_keycode;
00173 xcb_input_key_code_t max_keycode;
00174 uint16_t num_keys;
00175 uint8_t pad0[2];
00176 } xcb_input_key_info_t;
00177
00181 typedef struct xcb_input_key_info_iterator_t {
00182 xcb_input_key_info_t *data;
00183 int rem;
00184 int index;
00185 } xcb_input_key_info_iterator_t;
00186
00190 typedef struct xcb_input_button_info_t {
00191 uint8_t class_id;
00192 uint8_t len;
00193 uint16_t num_buttons;
00194 } xcb_input_button_info_t;
00195
00199 typedef struct xcb_input_button_info_iterator_t {
00200 xcb_input_button_info_t *data;
00201 int rem;
00202 int index;
00203 } xcb_input_button_info_iterator_t;
00204
00208 typedef struct xcb_input_valuator_info_t {
00209 uint8_t class_id;
00210 uint8_t len;
00211 uint8_t axes_len;
00212 uint8_t mode;
00213 uint32_t motion_size;
00214 } xcb_input_valuator_info_t;
00215
00219 typedef struct xcb_input_valuator_info_iterator_t {
00220 xcb_input_valuator_info_t *data;
00221 int rem;
00222 int index;
00223 } xcb_input_valuator_info_iterator_t;
00224
00228 typedef struct xcb_input_axis_info_t {
00229 uint32_t resolution;
00230 uint32_t minimum;
00231 uint32_t maximum;
00232 } xcb_input_axis_info_t;
00233
00237 typedef struct xcb_input_axis_info_iterator_t {
00238 xcb_input_axis_info_t *data;
00239 int rem;
00240 int index;
00241 } xcb_input_axis_info_iterator_t;
00242
00246 typedef struct xcb_input_open_device_cookie_t {
00247 unsigned int sequence;
00248 } xcb_input_open_device_cookie_t;
00249
00251 #define XCB_INPUT_OPEN_DEVICE 3
00252
00256 typedef struct xcb_input_open_device_request_t {
00257 uint8_t major_opcode;
00258 uint8_t minor_opcode;
00259 uint16_t length;
00260 uint8_t device_id;
00261 uint8_t pad0[3];
00262 } xcb_input_open_device_request_t;
00263
00267 typedef struct xcb_input_open_device_reply_t {
00268 uint8_t response_type;
00269 uint8_t pad0;
00270 uint16_t sequence;
00271 uint32_t length;
00272 uint8_t num_classes;
00273 uint8_t pad1[23];
00274 } xcb_input_open_device_reply_t;
00275
00279 typedef struct xcb_input_input_class_info_t {
00280 uint8_t class_id;
00281 uint8_t event_type_base;
00282 } xcb_input_input_class_info_t;
00283
00287 typedef struct xcb_input_input_class_info_iterator_t {
00288 xcb_input_input_class_info_t *data;
00289 int rem;
00290 int index;
00291 } xcb_input_input_class_info_iterator_t;
00292
00293 typedef enum xcb_input_input_class_t {
00294 XCB_INPUT_INPUT_CLASS_KEY = 0,
00295 XCB_INPUT_INPUT_CLASS_BUTTON = 1,
00296 XCB_INPUT_INPUT_CLASS_VALUATOR = 2,
00297 XCB_INPUT_INPUT_CLASS_FEEDBACK = 3,
00298 XCB_INPUT_INPUT_CLASS_PROXIMITY = 4,
00299 XCB_INPUT_INPUT_CLASS_FOCUS = 5,
00300 XCB_INPUT_INPUT_CLASS_OTHER = 6
00301 } xcb_input_input_class_t;
00302
00304 #define XCB_INPUT_CLOSE_DEVICE 4
00305
00309 typedef struct xcb_input_close_device_request_t {
00310 uint8_t major_opcode;
00311 uint8_t minor_opcode;
00312 uint16_t length;
00313 uint8_t device_id;
00314 uint8_t pad0[3];
00315 } xcb_input_close_device_request_t;
00316
00320 typedef struct xcb_input_set_device_mode_cookie_t {
00321 unsigned int sequence;
00322 } xcb_input_set_device_mode_cookie_t;
00323
00325 #define XCB_INPUT_SET_DEVICE_MODE 5
00326
00330 typedef struct xcb_input_set_device_mode_request_t {
00331 uint8_t major_opcode;
00332 uint8_t minor_opcode;
00333 uint16_t length;
00334 uint8_t device_id;
00335 uint8_t mode;
00336 uint8_t pad0[2];
00337 } xcb_input_set_device_mode_request_t;
00338
00342 typedef struct xcb_input_set_device_mode_reply_t {
00343 uint8_t response_type;
00344 uint8_t pad0;
00345 uint16_t sequence;
00346 uint32_t length;
00347 uint8_t status;
00348 uint8_t pad1[23];
00349 } xcb_input_set_device_mode_reply_t;
00350
00352 #define XCB_INPUT_SELECT_EXTENSION_EVENT 6
00353
00357 typedef struct xcb_input_select_extension_event_request_t {
00358 uint8_t major_opcode;
00359 uint8_t minor_opcode;
00360 uint16_t length;
00361 xcb_window_t window;
00362 uint16_t num_classes;
00363 uint8_t pad0[2];
00364 } xcb_input_select_extension_event_request_t;
00365
00369 typedef struct xcb_input_get_selected_extension_events_cookie_t {
00370 unsigned int sequence;
00371 } xcb_input_get_selected_extension_events_cookie_t;
00372
00374 #define XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS 7
00375
00379 typedef struct xcb_input_get_selected_extension_events_request_t {
00380 uint8_t major_opcode;
00381 uint8_t minor_opcode;
00382 uint16_t length;
00383 xcb_window_t window;
00384 } xcb_input_get_selected_extension_events_request_t;
00385
00389 typedef struct xcb_input_get_selected_extension_events_reply_t {
00390 uint8_t response_type;
00391 uint8_t pad0;
00392 uint16_t sequence;
00393 uint32_t length;
00394 uint16_t num_this_classes;
00395 uint16_t num_all_classes;
00396 uint8_t pad1[20];
00397 } xcb_input_get_selected_extension_events_reply_t;
00398
00400 #define XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST 8
00401
00405 typedef struct xcb_input_change_device_dont_propagate_list_request_t {
00406 uint8_t major_opcode;
00407 uint8_t minor_opcode;
00408 uint16_t length;
00409 xcb_window_t window;
00410 uint16_t num_classes;
00411 uint8_t mode;
00412 uint8_t pad0;
00413 } xcb_input_change_device_dont_propagate_list_request_t;
00414
00418 typedef struct xcb_input_get_device_dont_propagate_list_cookie_t {
00419 unsigned int sequence;
00420 } xcb_input_get_device_dont_propagate_list_cookie_t;
00421
00423 #define XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST 9
00424
00428 typedef struct xcb_input_get_device_dont_propagate_list_request_t {
00429 uint8_t major_opcode;
00430 uint8_t minor_opcode;
00431 uint16_t length;
00432 xcb_window_t window;
00433 } xcb_input_get_device_dont_propagate_list_request_t;
00434
00438 typedef struct xcb_input_get_device_dont_propagate_list_reply_t {
00439 uint8_t response_type;
00440 uint8_t pad0;
00441 uint16_t sequence;
00442 uint32_t length;
00443 uint16_t num_classes;
00444 uint8_t pad1[22];
00445 } xcb_input_get_device_dont_propagate_list_reply_t;
00446
00450 typedef struct xcb_input_get_device_motion_events_cookie_t {
00451 unsigned int sequence;
00452 } xcb_input_get_device_motion_events_cookie_t;
00453
00455 #define XCB_INPUT_GET_DEVICE_MOTION_EVENTS 10
00456
00460 typedef struct xcb_input_get_device_motion_events_request_t {
00461 uint8_t major_opcode;
00462 uint8_t minor_opcode;
00463 uint16_t length;
00464 xcb_timestamp_t start;
00465 xcb_timestamp_t stop;
00466 uint8_t device_id;
00467 } xcb_input_get_device_motion_events_request_t;
00468
00472 typedef struct xcb_input_get_device_motion_events_reply_t {
00473 uint8_t response_type;
00474 uint8_t pad0;
00475 uint16_t sequence;
00476 uint32_t length;
00477 uint32_t num_coords;
00478 uint8_t num_axes;
00479 uint8_t device_mode;
00480 uint8_t pad1[18];
00481 } xcb_input_get_device_motion_events_reply_t;
00482
00486 typedef struct xcb_input_device_time_coord_t {
00487 xcb_timestamp_t time;
00488 } xcb_input_device_time_coord_t;
00489
00493 typedef struct xcb_input_device_time_coord_iterator_t {
00494 xcb_input_device_time_coord_t *data;
00495 int rem;
00496 int index;
00497 } xcb_input_device_time_coord_iterator_t;
00498
00502 typedef struct xcb_input_change_keyboard_device_cookie_t {
00503 unsigned int sequence;
00504 } xcb_input_change_keyboard_device_cookie_t;
00505
00507 #define XCB_INPUT_CHANGE_KEYBOARD_DEVICE 11
00508
00512 typedef struct xcb_input_change_keyboard_device_request_t {
00513 uint8_t major_opcode;
00514 uint8_t minor_opcode;
00515 uint16_t length;
00516 uint8_t device_id;
00517 uint8_t pad0[3];
00518 } xcb_input_change_keyboard_device_request_t;
00519
00523 typedef struct xcb_input_change_keyboard_device_reply_t {
00524 uint8_t response_type;
00525 uint8_t pad0;
00526 uint16_t sequence;
00527 uint32_t length;
00528 uint8_t status;
00529 uint8_t pad1[23];
00530 } xcb_input_change_keyboard_device_reply_t;
00531
00535 typedef struct xcb_input_change_pointer_device_cookie_t {
00536 unsigned int sequence;
00537 } xcb_input_change_pointer_device_cookie_t;
00538
00540 #define XCB_INPUT_CHANGE_POINTER_DEVICE 12
00541
00545 typedef struct xcb_input_change_pointer_device_request_t {
00546 uint8_t major_opcode;
00547 uint8_t minor_opcode;
00548 uint16_t length;
00549 uint8_t x_axis;
00550 uint8_t y_axis;
00551 uint8_t device_id;
00552 uint8_t pad0;
00553 } xcb_input_change_pointer_device_request_t;
00554
00558 typedef struct xcb_input_change_pointer_device_reply_t {
00559 uint8_t response_type;
00560 uint8_t pad0;
00561 uint16_t sequence;
00562 uint32_t length;
00563 uint8_t status;
00564 uint8_t pad1[23];
00565 } xcb_input_change_pointer_device_reply_t;
00566
00570 typedef struct xcb_input_grab_device_cookie_t {
00571 unsigned int sequence;
00572 } xcb_input_grab_device_cookie_t;
00573
00575 #define XCB_INPUT_GRAB_DEVICE 13
00576
00580 typedef struct xcb_input_grab_device_request_t {
00581 uint8_t major_opcode;
00582 uint8_t minor_opcode;
00583 uint16_t length;
00584 xcb_window_t grab_window;
00585 xcb_timestamp_t time;
00586 uint16_t num_classes;
00587 uint8_t this_device_mode;
00588 uint8_t other_device_mode;
00589 uint8_t owner_events;
00590 uint8_t device_id;
00591 uint8_t pad0[2];
00592 } xcb_input_grab_device_request_t;
00593
00597 typedef struct xcb_input_grab_device_reply_t {
00598 uint8_t response_type;
00599 uint8_t pad0;
00600 uint16_t sequence;
00601 uint32_t length;
00602 uint8_t status;
00603 uint8_t pad1[23];
00604 } xcb_input_grab_device_reply_t;
00605
00607 #define XCB_INPUT_UNGRAB_DEVICE 14
00608
00612 typedef struct xcb_input_ungrab_device_request_t {
00613 uint8_t major_opcode;
00614 uint8_t minor_opcode;
00615 uint16_t length;
00616 xcb_timestamp_t time;
00617 uint8_t device_id;
00618 } xcb_input_ungrab_device_request_t;
00619
00621 #define XCB_INPUT_GRAB_DEVICE_KEY 15
00622
00626 typedef struct xcb_input_grab_device_key_request_t {
00627 uint8_t major_opcode;
00628 uint8_t minor_opcode;
00629 uint16_t length;
00630 xcb_window_t grab_window;
00631 uint16_t num_classes;
00632 uint16_t modifiers;
00633 uint8_t modifier_device;
00634 uint8_t grabbed_device;
00635 uint8_t key;
00636 uint8_t this_device_mode;
00637 uint8_t other_device_mode;
00638 uint8_t owner_events;
00639 uint8_t pad0[2];
00640 } xcb_input_grab_device_key_request_t;
00641
00643 #define XCB_INPUT_UNGRAB_DEVICE_KEY 16
00644
00648 typedef struct xcb_input_ungrab_device_key_request_t {
00649 uint8_t major_opcode;
00650 uint8_t minor_opcode;
00651 uint16_t length;
00652 xcb_window_t grabWindow;
00653 uint16_t modifiers;
00654 uint8_t modifier_device;
00655 uint8_t key;
00656 uint8_t grabbed_device;
00657 } xcb_input_ungrab_device_key_request_t;
00658
00660 #define XCB_INPUT_GRAB_DEVICE_BUTTON 17
00661
00665 typedef struct xcb_input_grab_device_button_request_t {
00666 uint8_t major_opcode;
00667 uint8_t minor_opcode;
00668 uint16_t length;
00669 xcb_window_t grab_window;
00670 uint8_t grabbed_device;
00671 uint8_t modifier_device;
00672 uint16_t num_classes;
00673 uint16_t modifiers;
00674 uint8_t this_device_mode;
00675 uint8_t other_device_mode;
00676 uint8_t button;
00677 uint8_t owner_events;
00678 uint8_t pad0[2];
00679 } xcb_input_grab_device_button_request_t;
00680
00682 #define XCB_INPUT_UNGRAB_DEVICE_BUTTON 18
00683
00687 typedef struct xcb_input_ungrab_device_button_request_t {
00688 uint8_t major_opcode;
00689 uint8_t minor_opcode;
00690 uint16_t length;
00691 xcb_window_t grab_window;
00692 uint16_t modifiers;
00693 uint8_t modifier_device;
00694 uint8_t button;
00695 uint8_t grabbed_device;
00696 } xcb_input_ungrab_device_button_request_t;
00697
00699 #define XCB_INPUT_ALLOW_DEVICE_EVENTS 19
00700
00704 typedef struct xcb_input_allow_device_events_request_t {
00705 uint8_t major_opcode;
00706 uint8_t minor_opcode;
00707 uint16_t length;
00708 xcb_timestamp_t time;
00709 uint8_t mode;
00710 uint8_t device_id;
00711 } xcb_input_allow_device_events_request_t;
00712
00716 typedef struct xcb_input_get_device_focus_cookie_t {
00717 unsigned int sequence;
00718 } xcb_input_get_device_focus_cookie_t;
00719
00721 #define XCB_INPUT_GET_DEVICE_FOCUS 20
00722
00726 typedef struct xcb_input_get_device_focus_request_t {
00727 uint8_t major_opcode;
00728 uint8_t minor_opcode;
00729 uint16_t length;
00730 uint8_t device_id;
00731 uint8_t pad0[3];
00732 } xcb_input_get_device_focus_request_t;
00733
00737 typedef struct xcb_input_get_device_focus_reply_t {
00738 uint8_t response_type;
00739 uint8_t pad0;
00740 uint16_t sequence;
00741 uint32_t length;
00742 xcb_window_t focus;
00743 xcb_timestamp_t time;
00744 uint8_t revert_to;
00745 uint8_t pad1[15];
00746 } xcb_input_get_device_focus_reply_t;
00747
00749 #define XCB_INPUT_SET_DEVICE_FOCUS 21
00750
00754 typedef struct xcb_input_set_device_focus_request_t {
00755 uint8_t major_opcode;
00756 uint8_t minor_opcode;
00757 uint16_t length;
00758 xcb_window_t focus;
00759 xcb_timestamp_t time;
00760 uint8_t revert_to;
00761 uint8_t device_id;
00762 } xcb_input_set_device_focus_request_t;
00763
00767 typedef struct xcb_input_get_feedback_control_cookie_t {
00768 unsigned int sequence;
00769 } xcb_input_get_feedback_control_cookie_t;
00770
00772 #define XCB_INPUT_GET_FEEDBACK_CONTROL 22
00773
00777 typedef struct xcb_input_get_feedback_control_request_t {
00778 uint8_t major_opcode;
00779 uint8_t minor_opcode;
00780 uint16_t length;
00781 uint8_t device_id;
00782 uint8_t pad0[3];
00783 } xcb_input_get_feedback_control_request_t;
00784
00788 typedef struct xcb_input_get_feedback_control_reply_t {
00789 uint8_t response_type;
00790 uint8_t pad0;
00791 uint16_t sequence;
00792 uint32_t length;
00793 uint16_t num_feedback;
00794 uint8_t pad1[22];
00795 } xcb_input_get_feedback_control_reply_t;
00796
00800 typedef struct xcb_input_feedback_state_t {
00801 uint8_t class_id;
00802 uint8_t id;
00803 uint16_t len;
00804 } xcb_input_feedback_state_t;
00805
00809 typedef struct xcb_input_feedback_state_iterator_t {
00810 xcb_input_feedback_state_t *data;
00811 int rem;
00812 int index;
00813 } xcb_input_feedback_state_iterator_t;
00814
00818 typedef struct xcb_input_kbd_feedback_state_t {
00819 uint8_t class_id;
00820 uint8_t id;
00821 uint16_t len;
00822 uint16_t pitch;
00823 uint16_t duration;
00824 uint32_t led_mask;
00825 uint32_t led_values;
00826 uint8_t global_auto_repeat;
00827 uint8_t click;
00828 uint8_t percent;
00829 uint8_t pad0;
00830 uint8_t auto_repeats[32];
00831 } xcb_input_kbd_feedback_state_t;
00832
00836 typedef struct xcb_input_kbd_feedback_state_iterator_t {
00837 xcb_input_kbd_feedback_state_t *data;
00838 int rem;
00839 int index;
00840 } xcb_input_kbd_feedback_state_iterator_t;
00841
00845 typedef struct xcb_input_ptr_feedback_state_t {
00846 uint8_t class_id;
00847 uint8_t id;
00848 uint16_t len;
00849 uint8_t pad0[2];
00850 uint16_t accel_num;
00851 uint16_t accel_denom;
00852 uint16_t threshold;
00853 } xcb_input_ptr_feedback_state_t;
00854
00858 typedef struct xcb_input_ptr_feedback_state_iterator_t {
00859 xcb_input_ptr_feedback_state_t *data;
00860 int rem;
00861 int index;
00862 } xcb_input_ptr_feedback_state_iterator_t;
00863
00867 typedef struct xcb_input_integer_feedback_state_t {
00868 uint8_t class_id;
00869 uint8_t id;
00870 uint16_t len;
00871 uint32_t resolution;
00872 int32_t min_value;
00873 int32_t max_value;
00874 } xcb_input_integer_feedback_state_t;
00875
00879 typedef struct xcb_input_integer_feedback_state_iterator_t {
00880 xcb_input_integer_feedback_state_t *data;
00881 int rem;
00882 int index;
00883 } xcb_input_integer_feedback_state_iterator_t;
00884
00888 typedef struct xcb_input_string_feedback_state_t {
00889 uint8_t class_id;
00890 uint8_t id;
00891 uint16_t len;
00892 uint16_t max_symbols;
00893 uint16_t num_keysyms;
00894 } xcb_input_string_feedback_state_t;
00895
00899 typedef struct xcb_input_string_feedback_state_iterator_t {
00900 xcb_input_string_feedback_state_t *data;
00901 int rem;
00902 int index;
00903 } xcb_input_string_feedback_state_iterator_t;
00904
00908 typedef struct xcb_input_bell_feedback_state_t {
00909 uint8_t class_id;
00910 uint8_t id;
00911 uint16_t len;
00912 uint8_t percent;
00913 uint8_t pad0[3];
00914 uint16_t pitch;
00915 uint16_t duration;
00916 } xcb_input_bell_feedback_state_t;
00917
00921 typedef struct xcb_input_bell_feedback_state_iterator_t {
00922 xcb_input_bell_feedback_state_t *data;
00923 int rem;
00924 int index;
00925 } xcb_input_bell_feedback_state_iterator_t;
00926
00930 typedef struct xcb_input_led_feedback_state_t {
00931 uint8_t class_id;
00932 uint8_t id;
00933 uint16_t len;
00934 uint32_t led_mask;
00935 uint32_t led_values;
00936 } xcb_input_led_feedback_state_t;
00937
00941 typedef struct xcb_input_led_feedback_state_iterator_t {
00942 xcb_input_led_feedback_state_t *data;
00943 int rem;
00944 int index;
00945 } xcb_input_led_feedback_state_iterator_t;
00946
00950 typedef struct xcb_input_feedback_ctl_t {
00951 uint8_t class_id;
00952 uint8_t id;
00953 uint16_t len;
00954 } xcb_input_feedback_ctl_t;
00955
00959 typedef struct xcb_input_feedback_ctl_iterator_t {
00960 xcb_input_feedback_ctl_t *data;
00961 int rem;
00962 int index;
00963 } xcb_input_feedback_ctl_iterator_t;
00964
00968 typedef struct xcb_input_kbd_feedback_ctl_t {
00969 uint8_t class_id;
00970 uint8_t id;
00971 uint16_t len;
00972 xcb_input_key_code_t key;
00973 uint8_t auto_repeat_mode;
00974 int8_t key_click_percent;
00975 int8_t bell_percent;
00976 int16_t bell_pitch;
00977 int16_t bell_duration;
00978 uint32_t led_mask;
00979 uint32_t led_values;
00980 } xcb_input_kbd_feedback_ctl_t;
00981
00985 typedef struct xcb_input_kbd_feedback_ctl_iterator_t {
00986 xcb_input_kbd_feedback_ctl_t *data;
00987 int rem;
00988 int index;
00989 } xcb_input_kbd_feedback_ctl_iterator_t;
00990
00994 typedef struct xcb_input_ptr_feedback_ctl_t {
00995 uint8_t class_id;
00996 uint8_t id;
00997 uint16_t len;
00998 uint8_t pad0[2];
00999 int16_t num;
01000 int16_t denom;
01001 int16_t threshold;
01002 } xcb_input_ptr_feedback_ctl_t;
01003
01007 typedef struct xcb_input_ptr_feedback_ctl_iterator_t {
01008 xcb_input_ptr_feedback_ctl_t *data;
01009 int rem;
01010 int index;
01011 } xcb_input_ptr_feedback_ctl_iterator_t;
01012
01016 typedef struct xcb_input_integer_feedback_ctl_t {
01017 uint8_t class_id;
01018 uint8_t id;
01019 uint16_t len;
01020 int32_t int_to_display;
01021 } xcb_input_integer_feedback_ctl_t;
01022
01026 typedef struct xcb_input_integer_feedback_ctl_iterator_t {
01027 xcb_input_integer_feedback_ctl_t *data;
01028 int rem;
01029 int index;
01030 } xcb_input_integer_feedback_ctl_iterator_t;
01031
01035 typedef struct xcb_input_string_feedback_ctl_t {
01036 uint8_t class_id;
01037 uint8_t id;
01038 uint16_t len;
01039 uint8_t pad0[2];
01040 uint16_t num_keysyms;
01041 } xcb_input_string_feedback_ctl_t;
01042
01046 typedef struct xcb_input_string_feedback_ctl_iterator_t {
01047 xcb_input_string_feedback_ctl_t *data;
01048 int rem;
01049 int index;
01050 } xcb_input_string_feedback_ctl_iterator_t;
01051
01055 typedef struct xcb_input_bell_feedback_ctl_t {
01056 uint8_t class_id;
01057 uint8_t id;
01058 uint16_t len;
01059 int8_t percent;
01060 uint8_t pad0[3];
01061 int16_t pitch;
01062 int16_t duration;
01063 } xcb_input_bell_feedback_ctl_t;
01064
01068 typedef struct xcb_input_bell_feedback_ctl_iterator_t {
01069 xcb_input_bell_feedback_ctl_t *data;
01070 int rem;
01071 int index;
01072 } xcb_input_bell_feedback_ctl_iterator_t;
01073
01077 typedef struct xcb_input_led_feedback_ctl_t {
01078 uint8_t class_id;
01079 uint8_t id;
01080 uint16_t len;
01081 uint32_t led_mask;
01082 uint32_t led_values;
01083 } xcb_input_led_feedback_ctl_t;
01084
01088 typedef struct xcb_input_led_feedback_ctl_iterator_t {
01089 xcb_input_led_feedback_ctl_t *data;
01090 int rem;
01091 int index;
01092 } xcb_input_led_feedback_ctl_iterator_t;
01093
01097 typedef struct xcb_input_get_device_key_mapping_cookie_t {
01098 unsigned int sequence;
01099 } xcb_input_get_device_key_mapping_cookie_t;
01100
01102 #define XCB_INPUT_GET_DEVICE_KEY_MAPPING 24
01103
01107 typedef struct xcb_input_get_device_key_mapping_request_t {
01108 uint8_t major_opcode;
01109 uint8_t minor_opcode;
01110 uint16_t length;
01111 uint8_t device_id;
01112 xcb_input_key_code_t first_keycode;
01113 uint8_t count;
01114 } xcb_input_get_device_key_mapping_request_t;
01115
01119 typedef struct xcb_input_get_device_key_mapping_reply_t {
01120 uint8_t response_type;
01121 uint8_t pad0;
01122 uint16_t sequence;
01123 uint32_t length;
01124 uint8_t keysyms_per_keycode;
01125 uint8_t pad1[23];
01126 } xcb_input_get_device_key_mapping_reply_t;
01127
01129 #define XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING 25
01130
01134 typedef struct xcb_input_change_device_key_mapping_request_t {
01135 uint8_t major_opcode;
01136 uint8_t minor_opcode;
01137 uint16_t length;
01138 uint8_t device_id;
01139 xcb_input_key_code_t first_keycode;
01140 uint8_t keysyms_per_keycode;
01141 uint8_t keycode_count;
01142 } xcb_input_change_device_key_mapping_request_t;
01143
01147 typedef struct xcb_input_get_device_modifier_mapping_cookie_t {
01148 unsigned int sequence;
01149 } xcb_input_get_device_modifier_mapping_cookie_t;
01150
01152 #define XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING 26
01153
01157 typedef struct xcb_input_get_device_modifier_mapping_request_t {
01158 uint8_t major_opcode;
01159 uint8_t minor_opcode;
01160 uint16_t length;
01161 uint8_t device_id;
01162 uint8_t pad0[3];
01163 } xcb_input_get_device_modifier_mapping_request_t;
01164
01168 typedef struct xcb_input_get_device_modifier_mapping_reply_t {
01169 uint8_t response_type;
01170 uint8_t pad0;
01171 uint16_t sequence;
01172 uint32_t length;
01173 uint8_t keycodes_per_modifier;
01174 uint8_t pad1[23];
01175 } xcb_input_get_device_modifier_mapping_reply_t;
01176
01180 typedef struct xcb_input_set_device_modifier_mapping_cookie_t {
01181 unsigned int sequence;
01182 } xcb_input_set_device_modifier_mapping_cookie_t;
01183
01185 #define XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING 27
01186
01190 typedef struct xcb_input_set_device_modifier_mapping_request_t {
01191 uint8_t major_opcode;
01192 uint8_t minor_opcode;
01193 uint16_t length;
01194 uint8_t device_id;
01195 uint8_t keycodes_per_modifier;
01196 uint8_t pad0;
01197 } xcb_input_set_device_modifier_mapping_request_t;
01198
01202 typedef struct xcb_input_set_device_modifier_mapping_reply_t {
01203 uint8_t response_type;
01204 uint8_t pad0;
01205 uint16_t sequence;
01206 uint32_t length;
01207 uint8_t status;
01208 uint8_t pad1[23];
01209 } xcb_input_set_device_modifier_mapping_reply_t;
01210
01214 typedef struct xcb_input_get_device_button_mapping_cookie_t {
01215 unsigned int sequence;
01216 } xcb_input_get_device_button_mapping_cookie_t;
01217
01219 #define XCB_INPUT_GET_DEVICE_BUTTON_MAPPING 28
01220
01224 typedef struct xcb_input_get_device_button_mapping_request_t {
01225 uint8_t major_opcode;
01226 uint8_t minor_opcode;
01227 uint16_t length;
01228 uint8_t device_id;
01229 uint8_t pad0[3];
01230 } xcb_input_get_device_button_mapping_request_t;
01231
01235 typedef struct xcb_input_get_device_button_mapping_reply_t {
01236 uint8_t response_type;
01237 uint8_t pad0;
01238 uint16_t sequence;
01239 uint32_t length;
01240 uint8_t map_size;
01241 uint8_t pad1[23];
01242 } xcb_input_get_device_button_mapping_reply_t;
01243
01247 typedef struct xcb_input_set_device_button_mapping_cookie_t {
01248 unsigned int sequence;
01249 } xcb_input_set_device_button_mapping_cookie_t;
01250
01252 #define XCB_INPUT_SET_DEVICE_BUTTON_MAPPING 29
01253
01257 typedef struct xcb_input_set_device_button_mapping_request_t {
01258 uint8_t major_opcode;
01259 uint8_t minor_opcode;
01260 uint16_t length;
01261 uint8_t device_id;
01262 uint8_t map_size;
01263 uint8_t pad0[2];
01264 } xcb_input_set_device_button_mapping_request_t;
01265
01269 typedef struct xcb_input_set_device_button_mapping_reply_t {
01270 uint8_t response_type;
01271 uint8_t pad0;
01272 uint16_t sequence;
01273 uint32_t length;
01274 uint8_t status;
01275 uint8_t pad1[23];
01276 } xcb_input_set_device_button_mapping_reply_t;
01277
01281 typedef struct xcb_input_query_device_state_cookie_t {
01282 unsigned int sequence;
01283 } xcb_input_query_device_state_cookie_t;
01284
01286 #define XCB_INPUT_QUERY_DEVICE_STATE 30
01287
01291 typedef struct xcb_input_query_device_state_request_t {
01292 uint8_t major_opcode;
01293 uint8_t minor_opcode;
01294 uint16_t length;
01295 uint8_t device_id;
01296 uint8_t pad0[3];
01297 } xcb_input_query_device_state_request_t;
01298
01302 typedef struct xcb_input_query_device_state_reply_t {
01303 uint8_t response_type;
01304 uint8_t pad0;
01305 uint16_t sequence;
01306 uint32_t length;
01307 uint8_t num_classes;
01308 uint8_t pad1[23];
01309 } xcb_input_query_device_state_reply_t;
01310
01314 typedef struct xcb_input_input_state_t {
01315 uint8_t class_id;
01316 uint8_t len;
01317 uint8_t num_items;
01318 } xcb_input_input_state_t;
01319
01323 typedef struct xcb_input_input_state_iterator_t {
01324 xcb_input_input_state_t *data;
01325 int rem;
01326 int index;
01327 } xcb_input_input_state_iterator_t;
01328
01332 typedef struct xcb_input_key_state_t {
01333 uint8_t class_id;
01334 uint8_t len;
01335 uint8_t num_keys;
01336 uint8_t pad0;
01337 uint8_t keys[32];
01338 } xcb_input_key_state_t;
01339
01343 typedef struct xcb_input_key_state_iterator_t {
01344 xcb_input_key_state_t *data;
01345 int rem;
01346 int index;
01347 } xcb_input_key_state_iterator_t;
01348
01352 typedef struct xcb_input_button_state_t {
01353 uint8_t class_id;
01354 uint8_t len;
01355 uint8_t num_buttons;
01356 uint8_t pad0;
01357 uint8_t buttons[32];
01358 } xcb_input_button_state_t;
01359
01363 typedef struct xcb_input_button_state_iterator_t {
01364 xcb_input_button_state_t *data;
01365 int rem;
01366 int index;
01367 } xcb_input_button_state_iterator_t;
01368
01372 typedef struct xcb_input_valuator_state_t {
01373 uint8_t class_id;
01374 uint8_t len;
01375 uint8_t num_valuators;
01376 uint8_t mode;
01377 } xcb_input_valuator_state_t;
01378
01382 typedef struct xcb_input_valuator_state_iterator_t {
01383 xcb_input_valuator_state_t *data;
01384 int rem;
01385 int index;
01386 } xcb_input_valuator_state_iterator_t;
01387
01389 #define XCB_INPUT_SEND_EXTENSION_EVENT 31
01390
01394 typedef struct xcb_input_send_extension_event_request_t {
01395 uint8_t major_opcode;
01396 uint8_t minor_opcode;
01397 uint16_t length;
01398 xcb_window_t destination;
01399 uint8_t device_id;
01400 uint8_t propagate;
01401 uint16_t num_classes;
01402 uint8_t num_events;
01403 uint8_t pad0[3];
01404 } xcb_input_send_extension_event_request_t;
01405
01407 #define XCB_INPUT_DEVICE_BELL 32
01408
01412 typedef struct xcb_input_device_bell_request_t {
01413 uint8_t major_opcode;
01414 uint8_t minor_opcode;
01415 uint16_t length;
01416 uint8_t device_id;
01417 uint8_t feedback_id;
01418 uint8_t feedback_class;
01419 int8_t percent;
01420 } xcb_input_device_bell_request_t;
01421
01425 typedef struct xcb_input_set_device_valuators_cookie_t {
01426 unsigned int sequence;
01427 } xcb_input_set_device_valuators_cookie_t;
01428
01430 #define XCB_INPUT_SET_DEVICE_VALUATORS 33
01431
01435 typedef struct xcb_input_set_device_valuators_request_t {
01436 uint8_t major_opcode;
01437 uint8_t minor_opcode;
01438 uint16_t length;
01439 uint8_t device_id;
01440 uint8_t first_valuator;
01441 uint8_t num_valuators;
01442 uint8_t pad0;
01443 } xcb_input_set_device_valuators_request_t;
01444
01448 typedef struct xcb_input_set_device_valuators_reply_t {
01449 uint8_t response_type;
01450 uint8_t pad0;
01451 uint16_t sequence;
01452 uint32_t length;
01453 uint8_t status;
01454 uint8_t pad1[23];
01455 } xcb_input_set_device_valuators_reply_t;
01456
01460 typedef struct xcb_input_get_device_control_cookie_t {
01461 unsigned int sequence;
01462 } xcb_input_get_device_control_cookie_t;
01463
01465 #define XCB_INPUT_GET_DEVICE_CONTROL 34
01466
01470 typedef struct xcb_input_get_device_control_request_t {
01471 uint8_t major_opcode;
01472 uint8_t minor_opcode;
01473 uint16_t length;
01474 uint16_t control_id;
01475 uint8_t device_id;
01476 uint8_t pad0;
01477 } xcb_input_get_device_control_request_t;
01478
01482 typedef struct xcb_input_get_device_control_reply_t {
01483 uint8_t response_type;
01484 uint8_t pad0;
01485 uint16_t sequence;
01486 uint32_t length;
01487 uint8_t status;
01488 uint8_t pad1[23];
01489 } xcb_input_get_device_control_reply_t;
01490
01494 typedef struct xcb_input_device_state_t {
01495 uint16_t control_id;
01496 uint16_t len;
01497 } xcb_input_device_state_t;
01498
01502 typedef struct xcb_input_device_state_iterator_t {
01503 xcb_input_device_state_t *data;
01504 int rem;
01505 int index;
01506 } xcb_input_device_state_iterator_t;
01507
01511 typedef struct xcb_input_device_resolution_state_t {
01512 uint16_t control_id;
01513 uint16_t len;
01514 uint32_t num_valuators;
01515 } xcb_input_device_resolution_state_t;
01516
01520 typedef struct xcb_input_device_resolution_state_iterator_t {
01521 xcb_input_device_resolution_state_t *data;
01522 int rem;
01523 int index;
01524 } xcb_input_device_resolution_state_iterator_t;
01525
01529 typedef struct xcb_input_device_abs_calib_state_t {
01530 uint16_t control_id;
01531 uint16_t len;
01532 int32_t min_x;
01533 int32_t max_x;
01534 int32_t min_y;
01535 int32_t max_y;
01536 uint32_t flip_x;
01537 uint32_t flip_y;
01538 uint32_t rotation;
01539 uint32_t button_threshold;
01540 } xcb_input_device_abs_calib_state_t;
01541
01545 typedef struct xcb_input_device_abs_calib_state_iterator_t {
01546 xcb_input_device_abs_calib_state_t *data;
01547 int rem;
01548 int index;
01549 } xcb_input_device_abs_calib_state_iterator_t;
01550
01554 typedef struct xcb_input_device_abs_area_state_t {
01555 uint16_t control_id;
01556 uint16_t len;
01557 uint32_t offset_x;
01558 uint32_t offset_y;
01559 uint32_t width;
01560 uint32_t height;
01561 uint32_t screen;
01562 uint32_t following;
01563 } xcb_input_device_abs_area_state_t;
01564
01568 typedef struct xcb_input_device_abs_area_state_iterator_t {
01569 xcb_input_device_abs_area_state_t *data;
01570 int rem;
01571 int index;
01572 } xcb_input_device_abs_area_state_iterator_t;
01573
01577 typedef struct xcb_input_device_core_state_t {
01578 uint16_t control_id;
01579 uint16_t len;
01580 uint8_t status;
01581 uint8_t iscore;
01582 uint8_t pad0[2];
01583 } xcb_input_device_core_state_t;
01584
01588 typedef struct xcb_input_device_core_state_iterator_t {
01589 xcb_input_device_core_state_t *data;
01590 int rem;
01591 int index;
01592 } xcb_input_device_core_state_iterator_t;
01593
01597 typedef struct xcb_input_device_enable_state_t {
01598 uint16_t control_id;
01599 uint16_t len;
01600 uint8_t enable;
01601 uint8_t pad0[3];
01602 } xcb_input_device_enable_state_t;
01603
01607 typedef struct xcb_input_device_enable_state_iterator_t {
01608 xcb_input_device_enable_state_t *data;
01609 int rem;
01610 int index;
01611 } xcb_input_device_enable_state_iterator_t;
01612
01616 typedef struct xcb_input_device_ctl_t {
01617 uint16_t control_id;
01618 uint16_t len;
01619 } xcb_input_device_ctl_t;
01620
01624 typedef struct xcb_input_device_ctl_iterator_t {
01625 xcb_input_device_ctl_t *data;
01626 int rem;
01627 int index;
01628 } xcb_input_device_ctl_iterator_t;
01629
01633 typedef struct xcb_input_device_resolution_ctl_t {
01634 uint16_t control_id;
01635 uint16_t len;
01636 uint8_t first_valuator;
01637 uint8_t num_valuators;
01638 } xcb_input_device_resolution_ctl_t;
01639
01643 typedef struct xcb_input_device_resolution_ctl_iterator_t {
01644 xcb_input_device_resolution_ctl_t *data;
01645 int rem;
01646 int index;
01647 } xcb_input_device_resolution_ctl_iterator_t;
01648
01652 typedef struct xcb_input_device_abs_calib_ctl_t {
01653 uint16_t control_id;
01654 uint16_t len;
01655 int32_t min_x;
01656 int32_t max_x;
01657 int32_t min_y;
01658 int32_t max_y;
01659 uint32_t flip_x;
01660 uint32_t flip_y;
01661 uint32_t rotation;
01662 uint32_t button_threshold;
01663 } xcb_input_device_abs_calib_ctl_t;
01664
01668 typedef struct xcb_input_device_abs_calib_ctl_iterator_t {
01669 xcb_input_device_abs_calib_ctl_t *data;
01670 int rem;
01671 int index;
01672 } xcb_input_device_abs_calib_ctl_iterator_t;
01673
01677 typedef struct xcb_input_device_abs_area_ctrl_t {
01678 uint16_t control_id;
01679 uint16_t len;
01680 uint32_t offset_x;
01681 uint32_t offset_y;
01682 int32_t width;
01683 int32_t height;
01684 int32_t screen;
01685 uint32_t following;
01686 } xcb_input_device_abs_area_ctrl_t;
01687
01691 typedef struct xcb_input_device_abs_area_ctrl_iterator_t {
01692 xcb_input_device_abs_area_ctrl_t *data;
01693 int rem;
01694 int index;
01695 } xcb_input_device_abs_area_ctrl_iterator_t;
01696
01700 typedef struct xcb_input_device_core_ctrl_t {
01701 uint16_t control_id;
01702 uint16_t len;
01703 uint8_t status;
01704 uint8_t pad0[3];
01705 } xcb_input_device_core_ctrl_t;
01706
01710 typedef struct xcb_input_device_core_ctrl_iterator_t {
01711 xcb_input_device_core_ctrl_t *data;
01712 int rem;
01713 int index;
01714 } xcb_input_device_core_ctrl_iterator_t;
01715
01719 typedef struct xcb_input_device_enable_ctrl_t {
01720 uint16_t control_id;
01721 uint16_t len;
01722 uint8_t enable;
01723 uint8_t pad0[3];
01724 } xcb_input_device_enable_ctrl_t;
01725
01729 typedef struct xcb_input_device_enable_ctrl_iterator_t {
01730 xcb_input_device_enable_ctrl_t *data;
01731 int rem;
01732 int index;
01733 } xcb_input_device_enable_ctrl_iterator_t;
01734
01736 #define XCB_INPUT_DEVICE_VALUATOR 0
01737
01741 typedef struct xcb_input_device_valuator_event_t {
01742 uint8_t response_type;
01743 uint8_t device_id;
01744 uint16_t sequence;
01745 uint16_t device_state;
01746 uint8_t num_valuators;
01747 uint8_t first_valuator;
01748 int32_t valuators[6];
01749 } xcb_input_device_valuator_event_t;
01750
01752 #define XCB_INPUT_DEVICE_KEY_PRESS 1
01753
01757 typedef struct xcb_input_device_key_press_event_t {
01758 uint8_t response_type;
01759 uint8_t detail;
01760 uint16_t sequence;
01761 xcb_timestamp_t time;
01762 xcb_window_t root;
01763 xcb_window_t event;
01764 xcb_window_t child;
01765 int16_t root_x;
01766 int16_t root_y;
01767 int16_t event_x;
01768 int16_t event_y;
01769 uint16_t state;
01770 uint8_t same_screen;
01771 uint8_t device_id;
01772 } xcb_input_device_key_press_event_t;
01773
01775 #define XCB_INPUT_DEVICE_KEY_RELEASE 2
01776
01777 typedef xcb_input_device_key_press_event_t xcb_input_device_key_release_event_t;
01778
01780 #define XCB_INPUT_DEVICE_BUTTON_PRESS 3
01781
01782 typedef xcb_input_device_key_press_event_t xcb_input_device_button_press_event_t;
01783
01785 #define XCB_INPUT_DEVICE_BUTTON_RELEASE 4
01786
01787 typedef xcb_input_device_key_press_event_t xcb_input_device_button_release_event_t;
01788
01790 #define XCB_INPUT_DEVICE_MOTION_NOTIFY 5
01791
01792 typedef xcb_input_device_key_press_event_t xcb_input_device_motion_notify_event_t;
01793
01795 #define XCB_INPUT_PROXIMITY_IN 8
01796
01797 typedef xcb_input_device_key_press_event_t xcb_input_proximity_in_event_t;
01798
01800 #define XCB_INPUT_PROXIMITY_OUT 9
01801
01802 typedef xcb_input_device_key_press_event_t xcb_input_proximity_out_event_t;
01803
01805 #define XCB_INPUT_FOCUS_IN 6
01806
01810 typedef struct xcb_input_focus_in_event_t {
01811 uint8_t response_type;
01812 uint8_t detail;
01813 uint16_t sequence;
01814 xcb_timestamp_t time;
01815 xcb_window_t window;
01816 uint8_t mode;
01817 uint8_t device_id;
01818 uint8_t pad0[18];
01819 } xcb_input_focus_in_event_t;
01820
01822 #define XCB_INPUT_FOCUS_OUT 7
01823
01824 typedef xcb_input_device_key_press_event_t xcb_input_focus_out_event_t;
01825
01827 #define XCB_INPUT_DEVICE_STATE_NOTIFY 10
01828
01832 typedef struct xcb_input_device_state_notify_event_t {
01833 uint8_t response_type;
01834 uint8_t device_id;
01835 uint16_t sequence;
01836 xcb_timestamp_t time;
01837 uint8_t num_keys;
01838 uint8_t num_buttons;
01839 uint8_t num_valuators;
01840 uint8_t classes_reported;
01841 uint8_t buttons[4];
01842 uint8_t keys[4];
01843 uint32_t valuators[3];
01844 } xcb_input_device_state_notify_event_t;
01845
01847 #define XCB_INPUT_DEVICE_MAPPING_NOTIFY 11
01848
01852 typedef struct xcb_input_device_mapping_notify_event_t {
01853 uint8_t response_type;
01854 uint8_t device_id;
01855 uint16_t sequence;
01856 uint8_t request;
01857 xcb_input_key_code_t first_keycode;
01858 uint8_t count;
01859 uint8_t pad0;
01860 xcb_timestamp_t time;
01861 uint8_t pad1[20];
01862 } xcb_input_device_mapping_notify_event_t;
01863
01865 #define XCB_INPUT_CHANGE_DEVICE_NOTIFY 12
01866
01870 typedef struct xcb_input_change_device_notify_event_t {
01871 uint8_t response_type;
01872 uint8_t device_id;
01873 uint16_t sequence;
01874 xcb_timestamp_t time;
01875 uint8_t request;
01876 uint8_t pad0[23];
01877 } xcb_input_change_device_notify_event_t;
01878
01880 #define XCB_INPUT_DEVICE_KEY_STATE_NOTIFY 13
01881
01885 typedef struct xcb_input_device_key_state_notify_event_t {
01886 uint8_t response_type;
01887 uint8_t device_id;
01888 uint16_t sequence;
01889 uint8_t keys[28];
01890 } xcb_input_device_key_state_notify_event_t;
01891
01893 #define XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY 14
01894
01898 typedef struct xcb_input_device_button_state_notify_event_t {
01899 uint8_t response_type;
01900 uint8_t device_id;
01901 uint16_t sequence;
01902 uint8_t buttons[28];
01903 } xcb_input_device_button_state_notify_event_t;
01904
01906 #define XCB_INPUT_DEVICE_PRESENCE_NOTIFY 15
01907
01911 typedef struct xcb_input_device_presence_notify_event_t {
01912 uint8_t response_type;
01913 uint8_t pad0;
01914 uint16_t sequence;
01915 xcb_timestamp_t time;
01916 uint8_t devchange;
01917 uint8_t device_id;
01918 uint16_t control;
01919 uint8_t pad1[20];
01920 } xcb_input_device_presence_notify_event_t;
01921
01931
01932
01933
01934
01935
01936
01937
01938
01939
01940 void
01941 xcb_input_key_code_next (xcb_input_key_code_iterator_t *i );
01942
01953
01954
01955
01956
01957
01958
01959
01960
01961
01962 xcb_generic_iterator_t
01963 xcb_input_key_code_end (xcb_input_key_code_iterator_t i );
01964
01974
01975
01976
01977
01978
01979
01980
01981
01982
01983 void
01984 xcb_input_event_class_next (xcb_input_event_class_iterator_t *i );
01985
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005 xcb_generic_iterator_t
02006 xcb_input_event_class_end (xcb_input_event_class_iterator_t i );
02007
02017
02018
02019
02020
02021
02022
02023
02024
02025
02026
02027
02028 xcb_input_get_extension_version_cookie_t
02029 xcb_input_get_extension_version (xcb_connection_t *c ,
02030 uint16_t name_len ,
02031 const char *name );
02032
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056 xcb_input_get_extension_version_cookie_t
02057 xcb_input_get_extension_version_unchecked (xcb_connection_t *c ,
02058 uint16_t name_len ,
02059 const char *name );
02060
02076
02077
02078
02079
02080
02081
02082
02083
02084
02085
02086
02087 xcb_input_get_extension_version_reply_t *
02088 xcb_input_get_extension_version_reply (xcb_connection_t *c ,
02089 xcb_input_get_extension_version_cookie_t cookie ,
02090 xcb_generic_error_t **e );
02091
02101
02102
02103
02104
02105
02106
02107
02108
02109
02110 xcb_input_list_input_devices_cookie_t
02111 xcb_input_list_input_devices (xcb_connection_t *c );
02112
02125
02126
02127
02128
02129
02130
02131
02132
02133
02134 xcb_input_list_input_devices_cookie_t
02135 xcb_input_list_input_devices_unchecked (xcb_connection_t *c );
02136
02137
02138
02139
02140
02141
02142
02143
02144
02145
02146
02147 xcb_input_device_info_t *
02148 xcb_input_list_input_devices_devices (const xcb_input_list_input_devices_reply_t *R );
02149
02150
02151
02152
02153
02154
02155
02156
02157
02158
02159
02160 int
02161 xcb_input_list_input_devices_devices_length (const xcb_input_list_input_devices_reply_t *R );
02162
02163
02164
02165
02166
02167
02168
02169
02170
02171
02172
02173 xcb_input_device_info_iterator_t
02174 xcb_input_list_input_devices_devices_iterator (const xcb_input_list_input_devices_reply_t *R );
02175
02191
02192
02193
02194
02195
02196
02197
02198
02199
02200
02201
02202 xcb_input_list_input_devices_reply_t *
02203 xcb_input_list_input_devices_reply (xcb_connection_t *c ,
02204 xcb_input_list_input_devices_cookie_t cookie ,
02205 xcb_generic_error_t **e );
02206
02216
02217
02218
02219
02220
02221
02222
02223
02224
02225 void
02226 xcb_input_device_info_next (xcb_input_device_info_iterator_t *i );
02227
02238
02239
02240
02241
02242
02243
02244
02245
02246
02247 xcb_generic_iterator_t
02248 xcb_input_device_info_end (xcb_input_device_info_iterator_t i );
02249
02259
02260
02261
02262
02263
02264
02265
02266
02267
02268 void
02269 xcb_input_input_info_next (xcb_input_input_info_iterator_t *i );
02270
02281
02282
02283
02284
02285
02286
02287
02288
02289
02290 xcb_generic_iterator_t
02291 xcb_input_input_info_end (xcb_input_input_info_iterator_t i );
02292
02302
02303
02304
02305
02306
02307
02308
02309
02310
02311 void
02312 xcb_input_key_info_next (xcb_input_key_info_iterator_t *i );
02313
02324
02325
02326
02327
02328
02329
02330
02331
02332
02333 xcb_generic_iterator_t
02334 xcb_input_key_info_end (xcb_input_key_info_iterator_t i );
02335
02345
02346
02347
02348
02349
02350
02351
02352
02353
02354 void
02355 xcb_input_button_info_next (xcb_input_button_info_iterator_t *i );
02356
02367
02368
02369
02370
02371
02372
02373
02374
02375
02376 xcb_generic_iterator_t
02377 xcb_input_button_info_end (xcb_input_button_info_iterator_t i );
02378
02379
02380
02381
02382
02383
02384
02385
02386
02387
02388
02389 xcb_input_axis_info_t *
02390 xcb_input_valuator_info_axes (const xcb_input_valuator_info_t *R );
02391
02392
02393
02394
02395
02396
02397
02398
02399
02400
02401
02402 int
02403 xcb_input_valuator_info_axes_length (const xcb_input_valuator_info_t *R );
02404
02405
02406
02407
02408
02409
02410
02411
02412
02413
02414
02415 xcb_input_axis_info_iterator_t
02416 xcb_input_valuator_info_axes_iterator (const xcb_input_valuator_info_t *R );
02417
02427
02428
02429
02430
02431
02432
02433
02434
02435
02436 void
02437 xcb_input_valuator_info_next (xcb_input_valuator_info_iterator_t *i );
02438
02449
02450
02451
02452
02453
02454
02455
02456
02457
02458 xcb_generic_iterator_t
02459 xcb_input_valuator_info_end (xcb_input_valuator_info_iterator_t i );
02460
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479 void
02480 xcb_input_axis_info_next (xcb_input_axis_info_iterator_t *i );
02481
02492
02493
02494
02495
02496
02497
02498
02499
02500
02501 xcb_generic_iterator_t
02502 xcb_input_axis_info_end (xcb_input_axis_info_iterator_t i );
02503
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522
02523 xcb_input_open_device_cookie_t
02524 xcb_input_open_device (xcb_connection_t *c ,
02525 uint8_t device_id );
02526
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549 xcb_input_open_device_cookie_t
02550 xcb_input_open_device_unchecked (xcb_connection_t *c ,
02551 uint8_t device_id );
02552
02553
02554
02555
02556
02557
02558
02559
02560
02561
02562
02563 xcb_input_input_class_info_t *
02564 xcb_input_open_device_class_info (const xcb_input_open_device_reply_t *R );
02565
02566
02567
02568
02569
02570
02571
02572
02573
02574
02575
02576 int
02577 xcb_input_open_device_class_info_length (const xcb_input_open_device_reply_t *R );
02578
02579
02580
02581
02582
02583
02584
02585
02586
02587
02588
02589 xcb_input_input_class_info_iterator_t
02590 xcb_input_open_device_class_info_iterator (const xcb_input_open_device_reply_t *R );
02591
02607
02608
02609
02610
02611
02612
02613
02614
02615
02616
02617
02618 xcb_input_open_device_reply_t *
02619 xcb_input_open_device_reply (xcb_connection_t *c ,
02620 xcb_input_open_device_cookie_t cookie ,
02621 xcb_generic_error_t **e );
02622
02632
02633
02634
02635
02636
02637
02638
02639
02640
02641 void
02642 xcb_input_input_class_info_next (xcb_input_input_class_info_iterator_t *i );
02643
02654
02655
02656
02657
02658
02659
02660
02661
02662
02663 xcb_generic_iterator_t
02664 xcb_input_input_class_info_end (xcb_input_input_class_info_iterator_t i );
02665
02678
02679
02680
02681
02682
02683
02684
02685
02686
02687
02688 xcb_void_cookie_t
02689 xcb_input_close_device_checked (xcb_connection_t *c ,
02690 uint8_t device_id );
02691
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710
02711 xcb_void_cookie_t
02712 xcb_input_close_device (xcb_connection_t *c ,
02713 uint8_t device_id );
02714
02724
02725
02726
02727
02728
02729
02730
02731
02732
02733
02734
02735 xcb_input_set_device_mode_cookie_t
02736 xcb_input_set_device_mode (xcb_connection_t *c ,
02737 uint8_t device_id ,
02738 uint8_t mode );
02739
02752
02753
02754
02755
02756
02757
02758
02759
02760
02761
02762
02763 xcb_input_set_device_mode_cookie_t
02764 xcb_input_set_device_mode_unchecked (xcb_connection_t *c ,
02765 uint8_t device_id ,
02766 uint8_t mode );
02767
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792
02793
02794 xcb_input_set_device_mode_reply_t *
02795 xcb_input_set_device_mode_reply (xcb_connection_t *c ,
02796 xcb_input_set_device_mode_cookie_t cookie ,
02797 xcb_generic_error_t **e );
02798
02811
02812
02813
02814
02815
02816
02817
02818
02819
02820
02821
02822
02823 xcb_void_cookie_t
02824 xcb_input_select_extension_event_checked (xcb_connection_t *c ,
02825 xcb_window_t window ,
02826 uint16_t num_classes ,
02827 const xcb_input_event_class_t *classes );
02828
02838
02839
02840
02841
02842
02843
02844
02845
02846
02847
02848
02849
02850 xcb_void_cookie_t
02851 xcb_input_select_extension_event (xcb_connection_t *c ,
02852 xcb_window_t window ,
02853 uint16_t num_classes ,
02854 const xcb_input_event_class_t *classes );
02855
02865
02866
02867
02868
02869
02870
02871
02872
02873
02874
02875 xcb_input_get_selected_extension_events_cookie_t
02876 xcb_input_get_selected_extension_events (xcb_connection_t *c ,
02877 xcb_window_t window );
02878
02891
02892
02893
02894
02895
02896
02897
02898
02899
02900
02901 xcb_input_get_selected_extension_events_cookie_t
02902 xcb_input_get_selected_extension_events_unchecked (xcb_connection_t *c ,
02903 xcb_window_t window );
02904
02905
02906
02907
02908
02909
02910
02911
02912
02913
02914
02915 xcb_input_event_class_t *
02916 xcb_input_get_selected_extension_events_this_classes (const xcb_input_get_selected_extension_events_reply_t *R );
02917
02918
02919
02920
02921
02922
02923
02924
02925
02926
02927
02928 int
02929 xcb_input_get_selected_extension_events_this_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
02930
02931
02932
02933
02934
02935
02936
02937
02938
02939
02940
02941 xcb_input_event_class_iterator_t
02942 xcb_input_get_selected_extension_events_this_classes_iterator (const xcb_input_get_selected_extension_events_reply_t *R );
02943
02944
02945
02946
02947
02948
02949
02950
02951
02952
02953
02954 xcb_input_event_class_t *
02955 xcb_input_get_selected_extension_events_all_classes (const xcb_input_get_selected_extension_events_reply_t *R );
02956
02957
02958
02959
02960
02961
02962
02963
02964
02965
02966
02967 int
02968 xcb_input_get_selected_extension_events_all_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
02969
02970
02971
02972
02973
02974
02975
02976
02977
02978
02979
02980 xcb_input_event_class_iterator_t
02981 xcb_input_get_selected_extension_events_all_classes_iterator (const xcb_input_get_selected_extension_events_reply_t *R );
02982
02998
02999
03000
03001
03002
03003
03004
03005
03006
03007
03008
03009 xcb_input_get_selected_extension_events_reply_t *
03010 xcb_input_get_selected_extension_events_reply (xcb_connection_t *c ,
03011 xcb_input_get_selected_extension_events_cookie_t cookie ,
03012 xcb_generic_error_t **e );
03013
03026
03027
03028
03029
03030
03031
03032
03033
03034
03035
03036
03037
03038
03039 xcb_void_cookie_t
03040 xcb_input_change_device_dont_propagate_list_checked (xcb_connection_t *c ,
03041 xcb_window_t window ,
03042 uint16_t num_classes ,
03043 uint8_t mode ,
03044 const xcb_input_event_class_t *classes );
03045
03055
03056
03057
03058
03059
03060
03061
03062
03063
03064
03065
03066
03067
03068 xcb_void_cookie_t
03069 xcb_input_change_device_dont_propagate_list (xcb_connection_t *c ,
03070 xcb_window_t window ,
03071 uint16_t num_classes ,
03072 uint8_t mode ,
03073 const xcb_input_event_class_t *classes );
03074
03084
03085
03086
03087
03088
03089
03090
03091
03092
03093
03094 xcb_input_get_device_dont_propagate_list_cookie_t
03095 xcb_input_get_device_dont_propagate_list (xcb_connection_t *c ,
03096 xcb_window_t window );
03097
03110
03111
03112
03113
03114
03115
03116
03117
03118
03119
03120 xcb_input_get_device_dont_propagate_list_cookie_t
03121 xcb_input_get_device_dont_propagate_list_unchecked (xcb_connection_t *c ,
03122 xcb_window_t window );
03123
03124
03125
03126
03127
03128
03129
03130
03131
03132
03133
03134 xcb_input_event_class_t *
03135 xcb_input_get_device_dont_propagate_list_classes (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03136
03137
03138
03139
03140
03141
03142
03143
03144
03145
03146
03147 int
03148 xcb_input_get_device_dont_propagate_list_classes_length (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03149
03150
03151
03152
03153
03154
03155
03156
03157
03158
03159
03160 xcb_input_event_class_iterator_t
03161 xcb_input_get_device_dont_propagate_list_classes_iterator (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03162
03178
03179
03180
03181
03182
03183
03184
03185
03186
03187
03188
03189 xcb_input_get_device_dont_propagate_list_reply_t *
03190 xcb_input_get_device_dont_propagate_list_reply (xcb_connection_t *c ,
03191 xcb_input_get_device_dont_propagate_list_cookie_t cookie ,
03192 xcb_generic_error_t **e );
03193
03203
03204
03205
03206
03207
03208
03209
03210
03211
03212
03213
03214
03215 xcb_input_get_device_motion_events_cookie_t
03216 xcb_input_get_device_motion_events (xcb_connection_t *c ,
03217 xcb_timestamp_t start ,
03218 xcb_timestamp_t stop ,
03219 uint8_t device_id );
03220
03233
03234
03235
03236
03237
03238
03239
03240
03241
03242
03243
03244
03245 xcb_input_get_device_motion_events_cookie_t
03246 xcb_input_get_device_motion_events_unchecked (xcb_connection_t *c ,
03247 xcb_timestamp_t start ,
03248 xcb_timestamp_t stop ,
03249 uint8_t device_id );
03250
03266
03267
03268
03269
03270
03271
03272
03273
03274
03275
03276
03277 xcb_input_get_device_motion_events_reply_t *
03278 xcb_input_get_device_motion_events_reply (xcb_connection_t *c ,
03279 xcb_input_get_device_motion_events_cookie_t cookie ,
03280 xcb_generic_error_t **e );
03281
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300 void
03301 xcb_input_device_time_coord_next (xcb_input_device_time_coord_iterator_t *i );
03302
03313
03314
03315
03316
03317
03318
03319
03320
03321
03322 xcb_generic_iterator_t
03323 xcb_input_device_time_coord_end (xcb_input_device_time_coord_iterator_t i );
03324
03334
03335
03336
03337
03338
03339
03340
03341
03342
03343
03344 xcb_input_change_keyboard_device_cookie_t
03345 xcb_input_change_keyboard_device (xcb_connection_t *c ,
03346 uint8_t device_id );
03347
03360
03361
03362
03363
03364
03365
03366
03367
03368
03369
03370 xcb_input_change_keyboard_device_cookie_t
03371 xcb_input_change_keyboard_device_unchecked (xcb_connection_t *c ,
03372 uint8_t device_id );
03373
03389
03390
03391
03392
03393
03394
03395
03396
03397
03398
03399
03400 xcb_input_change_keyboard_device_reply_t *
03401 xcb_input_change_keyboard_device_reply (xcb_connection_t *c ,
03402 xcb_input_change_keyboard_device_cookie_t cookie ,
03403 xcb_generic_error_t **e );
03404
03414
03415
03416
03417
03418
03419
03420
03421
03422
03423
03424
03425
03426 xcb_input_change_pointer_device_cookie_t
03427 xcb_input_change_pointer_device (xcb_connection_t *c ,
03428 uint8_t x_axis ,
03429 uint8_t y_axis ,
03430 uint8_t device_id );
03431
03444
03445
03446
03447
03448
03449
03450
03451
03452
03453
03454
03455
03456 xcb_input_change_pointer_device_cookie_t
03457 xcb_input_change_pointer_device_unchecked (xcb_connection_t *c ,
03458 uint8_t x_axis ,
03459 uint8_t y_axis ,
03460 uint8_t device_id );
03461
03477
03478
03479
03480
03481
03482
03483
03484
03485
03486
03487
03488 xcb_input_change_pointer_device_reply_t *
03489 xcb_input_change_pointer_device_reply (xcb_connection_t *c ,
03490 xcb_input_change_pointer_device_cookie_t cookie ,
03491 xcb_generic_error_t **e );
03492
03502
03503
03504
03505
03506
03507
03508
03509
03510
03511
03512
03513
03514
03515
03516
03517
03518
03519 xcb_input_grab_device_cookie_t
03520 xcb_input_grab_device (xcb_connection_t *c ,
03521 xcb_window_t grab_window ,
03522 xcb_timestamp_t time ,
03523 uint16_t num_classes ,
03524 uint8_t this_device_mode ,
03525 uint8_t other_device_mode ,
03526 uint8_t owner_events ,
03527 uint8_t device_id ,
03528 const xcb_input_event_class_t *classes );
03529
03542
03543
03544
03545
03546
03547
03548
03549
03550
03551
03552
03553
03554
03555
03556
03557
03558
03559 xcb_input_grab_device_cookie_t
03560 xcb_input_grab_device_unchecked (xcb_connection_t *c ,
03561 xcb_window_t grab_window ,
03562 xcb_timestamp_t time ,
03563 uint16_t num_classes ,
03564 uint8_t this_device_mode ,
03565 uint8_t other_device_mode ,
03566 uint8_t owner_events ,
03567 uint8_t device_id ,
03568 const xcb_input_event_class_t *classes );
03569
03585
03586
03587
03588
03589
03590
03591
03592
03593
03594
03595
03596 xcb_input_grab_device_reply_t *
03597 xcb_input_grab_device_reply (xcb_connection_t *c ,
03598 xcb_input_grab_device_cookie_t cookie ,
03599 xcb_generic_error_t **e );
03600
03613
03614
03615
03616
03617
03618
03619
03620
03621
03622
03623
03624 xcb_void_cookie_t
03625 xcb_input_ungrab_device_checked (xcb_connection_t *c ,
03626 xcb_timestamp_t time ,
03627 uint8_t device_id );
03628
03638
03639
03640
03641
03642
03643
03644
03645
03646
03647
03648
03649 xcb_void_cookie_t
03650 xcb_input_ungrab_device (xcb_connection_t *c ,
03651 xcb_timestamp_t time ,
03652 uint8_t device_id );
03653
03666
03667
03668
03669
03670
03671
03672
03673
03674
03675
03676
03677
03678
03679
03680
03681
03682
03683
03684
03685 xcb_void_cookie_t
03686 xcb_input_grab_device_key_checked (xcb_connection_t *c ,
03687 xcb_window_t grab_window ,
03688 uint16_t num_classes ,
03689 uint16_t modifiers ,
03690 uint8_t modifier_device ,
03691 uint8_t grabbed_device ,
03692 uint8_t key ,
03693 uint8_t this_device_mode ,
03694 uint8_t other_device_mode ,
03695 uint8_t owner_events ,
03696 const xcb_input_event_class_t *classes );
03697
03707
03708
03709
03710
03711
03712
03713
03714
03715
03716
03717
03718
03719
03720
03721
03722
03723
03724
03725
03726 xcb_void_cookie_t
03727 xcb_input_grab_device_key (xcb_connection_t *c ,
03728 xcb_window_t grab_window ,
03729 uint16_t num_classes ,
03730 uint16_t modifiers ,
03731 uint8_t modifier_device ,
03732 uint8_t grabbed_device ,
03733 uint8_t key ,
03734 uint8_t this_device_mode ,
03735 uint8_t other_device_mode ,
03736 uint8_t owner_events ,
03737 const xcb_input_event_class_t *classes );
03738
03751
03752
03753
03754
03755
03756
03757
03758
03759
03760
03761
03762
03763
03764
03765 xcb_void_cookie_t
03766 xcb_input_ungrab_device_key_checked (xcb_connection_t *c ,
03767 xcb_window_t grabWindow ,
03768 uint16_t modifiers ,
03769 uint8_t modifier_device ,
03770 uint8_t key ,
03771 uint8_t grabbed_device );
03772
03782
03783
03784
03785
03786
03787
03788
03789
03790
03791
03792
03793
03794
03795
03796 xcb_void_cookie_t
03797 xcb_input_ungrab_device_key (xcb_connection_t *c ,
03798 xcb_window_t grabWindow ,
03799 uint16_t modifiers ,
03800 uint8_t modifier_device ,
03801 uint8_t key ,
03802 uint8_t grabbed_device );
03803
03816
03817
03818
03819
03820
03821
03822
03823
03824
03825
03826
03827
03828
03829
03830
03831
03832
03833
03834
03835 xcb_void_cookie_t
03836 xcb_input_grab_device_button_checked (xcb_connection_t *c ,
03837 xcb_window_t grab_window ,
03838 uint8_t grabbed_device ,
03839 uint8_t modifier_device ,
03840 uint16_t num_classes ,
03841 uint16_t modifiers ,
03842 uint8_t this_device_mode ,
03843 uint8_t other_device_mode ,
03844 uint8_t button ,
03845 uint8_t owner_events ,
03846 const xcb_input_event_class_t *classes );
03847
03857
03858
03859
03860
03861
03862
03863
03864
03865
03866
03867
03868
03869
03870
03871
03872
03873
03874
03875
03876 xcb_void_cookie_t
03877 xcb_input_grab_device_button (xcb_connection_t *c ,
03878 xcb_window_t grab_window ,
03879 uint8_t grabbed_device ,
03880 uint8_t modifier_device ,
03881 uint16_t num_classes ,
03882 uint16_t modifiers ,
03883 uint8_t this_device_mode ,
03884 uint8_t other_device_mode ,
03885 uint8_t button ,
03886 uint8_t owner_events ,
03887 const xcb_input_event_class_t *classes );
03888
03901
03902
03903
03904
03905
03906
03907
03908
03909
03910
03911
03912
03913
03914
03915 xcb_void_cookie_t
03916 xcb_input_ungrab_device_button_checked (xcb_connection_t *c ,
03917 xcb_window_t grab_window ,
03918 uint16_t modifiers ,
03919 uint8_t modifier_device ,
03920 uint8_t button ,
03921 uint8_t grabbed_device );
03922
03932
03933
03934
03935
03936
03937
03938
03939
03940
03941
03942
03943
03944
03945
03946 xcb_void_cookie_t
03947 xcb_input_ungrab_device_button (xcb_connection_t *c ,
03948 xcb_window_t grab_window ,
03949 uint16_t modifiers ,
03950 uint8_t modifier_device ,
03951 uint8_t button ,
03952 uint8_t grabbed_device );
03953
03966
03967
03968
03969
03970
03971
03972
03973
03974
03975
03976
03977
03978 xcb_void_cookie_t
03979 xcb_input_allow_device_events_checked (xcb_connection_t *c ,
03980 xcb_timestamp_t time ,
03981 uint8_t mode ,
03982 uint8_t device_id );
03983
03993
03994
03995
03996
03997
03998
03999
04000
04001
04002
04003
04004
04005 xcb_void_cookie_t
04006 xcb_input_allow_device_events (xcb_connection_t *c ,
04007 xcb_timestamp_t time ,
04008 uint8_t mode ,
04009 uint8_t device_id );
04010
04020
04021
04022
04023
04024
04025
04026
04027
04028
04029
04030 xcb_input_get_device_focus_cookie_t
04031 xcb_input_get_device_focus (xcb_connection_t *c ,
04032 uint8_t device_id );
04033
04046
04047
04048
04049
04050
04051
04052
04053
04054
04055
04056 xcb_input_get_device_focus_cookie_t
04057 xcb_input_get_device_focus_unchecked (xcb_connection_t *c ,
04058 uint8_t device_id );
04059
04075
04076
04077
04078
04079
04080
04081
04082
04083
04084
04085
04086 xcb_input_get_device_focus_reply_t *
04087 xcb_input_get_device_focus_reply (xcb_connection_t *c ,
04088 xcb_input_get_device_focus_cookie_t cookie ,
04089 xcb_generic_error_t **e );
04090
04103
04104
04105
04106
04107
04108
04109
04110
04111
04112
04113
04114
04115
04116 xcb_void_cookie_t
04117 xcb_input_set_device_focus_checked (xcb_connection_t *c ,
04118 xcb_window_t focus ,
04119 xcb_timestamp_t time ,
04120 uint8_t revert_to ,
04121 uint8_t device_id );
04122
04132
04133
04134
04135
04136
04137
04138
04139
04140
04141
04142
04143
04144
04145 xcb_void_cookie_t
04146 xcb_input_set_device_focus (xcb_connection_t *c ,
04147 xcb_window_t focus ,
04148 xcb_timestamp_t time ,
04149 uint8_t revert_to ,
04150 uint8_t device_id );
04151
04161
04162
04163
04164
04165
04166
04167
04168
04169
04170
04171 xcb_input_get_feedback_control_cookie_t
04172 xcb_input_get_feedback_control (xcb_connection_t *c ,
04173 uint8_t device_id );
04174
04187
04188
04189
04190
04191
04192
04193
04194
04195
04196
04197 xcb_input_get_feedback_control_cookie_t
04198 xcb_input_get_feedback_control_unchecked (xcb_connection_t *c ,
04199 uint8_t device_id );
04200
04216
04217
04218
04219
04220
04221
04222
04223
04224
04225
04226
04227 xcb_input_get_feedback_control_reply_t *
04228 xcb_input_get_feedback_control_reply (xcb_connection_t *c ,
04229 xcb_input_get_feedback_control_cookie_t cookie ,
04230 xcb_generic_error_t **e );
04231
04241
04242
04243
04244
04245
04246
04247
04248
04249
04250 void
04251 xcb_input_feedback_state_next (xcb_input_feedback_state_iterator_t *i );
04252
04263
04264
04265
04266
04267
04268
04269
04270
04271
04272 xcb_generic_iterator_t
04273 xcb_input_feedback_state_end (xcb_input_feedback_state_iterator_t i );
04274
04284
04285
04286
04287
04288
04289
04290
04291
04292
04293 void
04294 xcb_input_kbd_feedback_state_next (xcb_input_kbd_feedback_state_iterator_t *i );
04295
04306
04307
04308
04309
04310
04311
04312
04313
04314
04315 xcb_generic_iterator_t
04316 xcb_input_kbd_feedback_state_end (xcb_input_kbd_feedback_state_iterator_t i );
04317
04327
04328
04329
04330
04331
04332
04333
04334
04335
04336 void
04337 xcb_input_ptr_feedback_state_next (xcb_input_ptr_feedback_state_iterator_t *i );
04338
04349
04350
04351
04352
04353
04354
04355
04356
04357
04358 xcb_generic_iterator_t
04359 xcb_input_ptr_feedback_state_end (xcb_input_ptr_feedback_state_iterator_t i );
04360
04370
04371
04372
04373
04374
04375
04376
04377
04378
04379 void
04380 xcb_input_integer_feedback_state_next (xcb_input_integer_feedback_state_iterator_t *i );
04381
04392
04393
04394
04395
04396
04397
04398
04399
04400
04401 xcb_generic_iterator_t
04402 xcb_input_integer_feedback_state_end (xcb_input_integer_feedback_state_iterator_t i );
04403
04404
04405
04406
04407
04408
04409
04410
04411
04412
04413
04414 xcb_keysym_t *
04415 xcb_input_string_feedback_state_keysyms (const xcb_input_string_feedback_state_t *R );
04416
04417
04418
04419
04420
04421
04422
04423
04424
04425
04426
04427 int
04428 xcb_input_string_feedback_state_keysyms_length (const xcb_input_string_feedback_state_t *R );
04429
04430
04431
04432
04433
04434
04435
04436
04437
04438
04439
04440 xcb_keysym_iterator_t
04441 xcb_input_string_feedback_state_keysyms_iterator (const xcb_input_string_feedback_state_t *R );
04442
04452
04453
04454
04455
04456
04457
04458
04459
04460
04461 void
04462 xcb_input_string_feedback_state_next (xcb_input_string_feedback_state_iterator_t *i );
04463
04474
04475
04476
04477
04478
04479
04480
04481
04482
04483 xcb_generic_iterator_t
04484 xcb_input_string_feedback_state_end (xcb_input_string_feedback_state_iterator_t i );
04485
04495
04496
04497
04498
04499
04500
04501
04502
04503
04504 void
04505 xcb_input_bell_feedback_state_next (xcb_input_bell_feedback_state_iterator_t *i );
04506
04517
04518
04519
04520
04521
04522
04523
04524
04525
04526 xcb_generic_iterator_t
04527 xcb_input_bell_feedback_state_end (xcb_input_bell_feedback_state_iterator_t i );
04528
04538
04539
04540
04541
04542
04543
04544
04545
04546
04547 void
04548 xcb_input_led_feedback_state_next (xcb_input_led_feedback_state_iterator_t *i );
04549
04560
04561
04562
04563
04564
04565
04566
04567
04568
04569 xcb_generic_iterator_t
04570 xcb_input_led_feedback_state_end (xcb_input_led_feedback_state_iterator_t i );
04571
04581
04582
04583
04584
04585
04586
04587
04588
04589
04590 void
04591 xcb_input_feedback_ctl_next (xcb_input_feedback_ctl_iterator_t *i );
04592
04603
04604
04605
04606
04607
04608
04609
04610
04611
04612 xcb_generic_iterator_t
04613 xcb_input_feedback_ctl_end (xcb_input_feedback_ctl_iterator_t i );
04614
04624
04625
04626
04627
04628
04629
04630
04631
04632
04633 void
04634 xcb_input_kbd_feedback_ctl_next (xcb_input_kbd_feedback_ctl_iterator_t *i );
04635
04646
04647
04648
04649
04650
04651
04652
04653
04654
04655 xcb_generic_iterator_t
04656 xcb_input_kbd_feedback_ctl_end (xcb_input_kbd_feedback_ctl_iterator_t i );
04657
04667
04668
04669
04670
04671
04672
04673
04674
04675
04676 void
04677 xcb_input_ptr_feedback_ctl_next (xcb_input_ptr_feedback_ctl_iterator_t *i );
04678
04689
04690
04691
04692
04693
04694
04695
04696
04697
04698 xcb_generic_iterator_t
04699 xcb_input_ptr_feedback_ctl_end (xcb_input_ptr_feedback_ctl_iterator_t i );
04700
04710
04711
04712
04713
04714
04715
04716
04717
04718
04719 void
04720 xcb_input_integer_feedback_ctl_next (xcb_input_integer_feedback_ctl_iterator_t *i );
04721
04732
04733
04734
04735
04736
04737
04738
04739
04740
04741 xcb_generic_iterator_t
04742 xcb_input_integer_feedback_ctl_end (xcb_input_integer_feedback_ctl_iterator_t i );
04743
04744
04745
04746
04747
04748
04749
04750
04751
04752
04753
04754 xcb_keysym_t *
04755 xcb_input_string_feedback_ctl_keysyms (const xcb_input_string_feedback_ctl_t *R );
04756
04757
04758
04759
04760
04761
04762
04763
04764
04765
04766
04767 int
04768 xcb_input_string_feedback_ctl_keysyms_length (const xcb_input_string_feedback_ctl_t *R );
04769
04770
04771
04772
04773
04774
04775
04776
04777
04778
04779
04780 xcb_keysym_iterator_t
04781 xcb_input_string_feedback_ctl_keysyms_iterator (const xcb_input_string_feedback_ctl_t *R );
04782
04792
04793
04794
04795
04796
04797
04798
04799
04800
04801 void
04802 xcb_input_string_feedback_ctl_next (xcb_input_string_feedback_ctl_iterator_t *i );
04803
04814
04815
04816
04817
04818
04819
04820
04821
04822
04823 xcb_generic_iterator_t
04824 xcb_input_string_feedback_ctl_end (xcb_input_string_feedback_ctl_iterator_t i );
04825
04835
04836
04837
04838
04839
04840
04841
04842
04843
04844 void
04845 xcb_input_bell_feedback_ctl_next (xcb_input_bell_feedback_ctl_iterator_t *i );
04846
04857
04858
04859
04860
04861
04862
04863
04864
04865
04866 xcb_generic_iterator_t
04867 xcb_input_bell_feedback_ctl_end (xcb_input_bell_feedback_ctl_iterator_t i );
04868
04878
04879
04880
04881
04882
04883
04884
04885
04886
04887 void
04888 xcb_input_led_feedback_ctl_next (xcb_input_led_feedback_ctl_iterator_t *i );
04889
04900
04901
04902
04903
04904
04905
04906
04907
04908
04909 xcb_generic_iterator_t
04910 xcb_input_led_feedback_ctl_end (xcb_input_led_feedback_ctl_iterator_t i );
04911
04921
04922
04923
04924
04925
04926
04927
04928
04929
04930
04931
04932
04933 xcb_input_get_device_key_mapping_cookie_t
04934 xcb_input_get_device_key_mapping (xcb_connection_t *c ,
04935 uint8_t device_id ,
04936 xcb_input_key_code_t first_keycode ,
04937 uint8_t count );
04938
04951
04952
04953
04954
04955
04956
04957
04958
04959
04960
04961
04962
04963 xcb_input_get_device_key_mapping_cookie_t
04964 xcb_input_get_device_key_mapping_unchecked (xcb_connection_t *c ,
04965 uint8_t device_id ,
04966 xcb_input_key_code_t first_keycode ,
04967 uint8_t count );
04968
04969
04970
04971
04972
04973
04974
04975
04976
04977
04978
04979 xcb_keysym_t *
04980 xcb_input_get_device_key_mapping_keysyms (const xcb_input_get_device_key_mapping_reply_t *R );
04981
04982
04983
04984
04985
04986
04987
04988
04989
04990
04991
04992 int
04993 xcb_input_get_device_key_mapping_keysyms_length (const xcb_input_get_device_key_mapping_reply_t *R );
04994
04995
04996
04997
04998
04999
05000
05001
05002
05003
05004
05005 xcb_keysym_iterator_t
05006 xcb_input_get_device_key_mapping_keysyms_iterator (const xcb_input_get_device_key_mapping_reply_t *R );
05007
05023
05024
05025
05026
05027
05028
05029
05030
05031
05032
05033
05034 xcb_input_get_device_key_mapping_reply_t *
05035 xcb_input_get_device_key_mapping_reply (xcb_connection_t *c ,
05036 xcb_input_get_device_key_mapping_cookie_t cookie ,
05037 xcb_generic_error_t **e );
05038
05051
05052
05053
05054
05055
05056
05057
05058
05059
05060
05061
05062
05063
05064
05065 xcb_void_cookie_t
05066 xcb_input_change_device_key_mapping_checked (xcb_connection_t *c ,
05067 uint8_t device_id ,
05068 xcb_input_key_code_t first_keycode ,
05069 uint8_t keysyms_per_keycode ,
05070 uint8_t keycode_count ,
05071 const xcb_keysym_t *keysyms );
05072
05082
05083
05084
05085
05086
05087
05088
05089
05090
05091
05092
05093
05094
05095
05096 xcb_void_cookie_t
05097 xcb_input_change_device_key_mapping (xcb_connection_t *c ,
05098 uint8_t device_id ,
05099 xcb_input_key_code_t first_keycode ,
05100 uint8_t keysyms_per_keycode ,
05101 uint8_t keycode_count ,
05102 const xcb_keysym_t *keysyms );
05103
05113
05114
05115
05116
05117
05118
05119
05120
05121
05122
05123 xcb_input_get_device_modifier_mapping_cookie_t
05124 xcb_input_get_device_modifier_mapping (xcb_connection_t *c ,
05125 uint8_t device_id );
05126
05139
05140
05141
05142
05143
05144
05145
05146
05147
05148
05149 xcb_input_get_device_modifier_mapping_cookie_t
05150 xcb_input_get_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05151 uint8_t device_id );
05152
05153
05154
05155
05156
05157
05158
05159
05160
05161
05162
05163 uint8_t *
05164 xcb_input_get_device_modifier_mapping_keymaps (const xcb_input_get_device_modifier_mapping_reply_t *R );
05165
05166
05167
05168
05169
05170
05171
05172
05173
05174
05175
05176 int
05177 xcb_input_get_device_modifier_mapping_keymaps_length (const xcb_input_get_device_modifier_mapping_reply_t *R );
05178
05179
05180
05181
05182
05183
05184
05185
05186
05187
05188
05189 xcb_generic_iterator_t
05190 xcb_input_get_device_modifier_mapping_keymaps_end (const xcb_input_get_device_modifier_mapping_reply_t *R );
05191
05207
05208
05209
05210
05211
05212
05213
05214
05215
05216
05217
05218 xcb_input_get_device_modifier_mapping_reply_t *
05219 xcb_input_get_device_modifier_mapping_reply (xcb_connection_t *c ,
05220 xcb_input_get_device_modifier_mapping_cookie_t cookie ,
05221 xcb_generic_error_t **e );
05222
05232
05233
05234
05235
05236
05237
05238
05239
05240
05241
05242
05243
05244 xcb_input_set_device_modifier_mapping_cookie_t
05245 xcb_input_set_device_modifier_mapping (xcb_connection_t *c ,
05246 uint8_t device_id ,
05247 uint8_t keycodes_per_modifier ,
05248 const uint8_t *keymaps );
05249
05262
05263
05264
05265
05266
05267
05268
05269
05270
05271
05272
05273
05274 xcb_input_set_device_modifier_mapping_cookie_t
05275 xcb_input_set_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05276 uint8_t device_id ,
05277 uint8_t keycodes_per_modifier ,
05278 const uint8_t *keymaps );
05279
05295
05296
05297
05298
05299
05300
05301
05302
05303
05304
05305
05306 xcb_input_set_device_modifier_mapping_reply_t *
05307 xcb_input_set_device_modifier_mapping_reply (xcb_connection_t *c ,
05308 xcb_input_set_device_modifier_mapping_cookie_t cookie ,
05309 xcb_generic_error_t **e );
05310
05320
05321
05322
05323
05324
05325
05326
05327
05328
05329
05330 xcb_input_get_device_button_mapping_cookie_t
05331 xcb_input_get_device_button_mapping (xcb_connection_t *c ,
05332 uint8_t device_id );
05333
05346
05347
05348
05349
05350
05351
05352
05353
05354
05355
05356 xcb_input_get_device_button_mapping_cookie_t
05357 xcb_input_get_device_button_mapping_unchecked (xcb_connection_t *c ,
05358 uint8_t device_id );
05359
05360
05361
05362
05363
05364
05365
05366
05367
05368
05369
05370 uint8_t *
05371 xcb_input_get_device_button_mapping_map (const xcb_input_get_device_button_mapping_reply_t *R );
05372
05373
05374
05375
05376
05377
05378
05379
05380
05381
05382
05383 int
05384 xcb_input_get_device_button_mapping_map_length (const xcb_input_get_device_button_mapping_reply_t *R );
05385
05386
05387
05388
05389
05390
05391
05392
05393
05394
05395
05396 xcb_generic_iterator_t
05397 xcb_input_get_device_button_mapping_map_end (const xcb_input_get_device_button_mapping_reply_t *R );
05398
05414
05415
05416
05417
05418
05419
05420
05421
05422
05423
05424
05425 xcb_input_get_device_button_mapping_reply_t *
05426 xcb_input_get_device_button_mapping_reply (xcb_connection_t *c ,
05427 xcb_input_get_device_button_mapping_cookie_t cookie ,
05428 xcb_generic_error_t **e );
05429
05439
05440
05441
05442
05443
05444
05445
05446
05447
05448
05449
05450
05451 xcb_input_set_device_button_mapping_cookie_t
05452 xcb_input_set_device_button_mapping (xcb_connection_t *c ,
05453 uint8_t device_id ,
05454 uint8_t map_size ,
05455 const uint8_t *map );
05456
05469
05470
05471
05472
05473
05474
05475
05476
05477
05478
05479
05480
05481 xcb_input_set_device_button_mapping_cookie_t
05482 xcb_input_set_device_button_mapping_unchecked (xcb_connection_t *c ,
05483 uint8_t device_id ,
05484 uint8_t map_size ,
05485 const uint8_t *map );
05486
05502
05503
05504
05505
05506
05507
05508
05509
05510
05511
05512
05513 xcb_input_set_device_button_mapping_reply_t *
05514 xcb_input_set_device_button_mapping_reply (xcb_connection_t *c ,
05515 xcb_input_set_device_button_mapping_cookie_t cookie ,
05516 xcb_generic_error_t **e );
05517
05527
05528
05529
05530
05531
05532
05533
05534
05535
05536
05537 xcb_input_query_device_state_cookie_t
05538 xcb_input_query_device_state (xcb_connection_t *c ,
05539 uint8_t device_id );
05540
05553
05554
05555
05556
05557
05558
05559
05560
05561
05562
05563 xcb_input_query_device_state_cookie_t
05564 xcb_input_query_device_state_unchecked (xcb_connection_t *c ,
05565 uint8_t device_id );
05566
05582
05583
05584
05585
05586
05587
05588
05589
05590
05591
05592
05593 xcb_input_query_device_state_reply_t *
05594 xcb_input_query_device_state_reply (xcb_connection_t *c ,
05595 xcb_input_query_device_state_cookie_t cookie ,
05596 xcb_generic_error_t **e );
05597
05607
05608
05609
05610
05611
05612
05613
05614
05615
05616 void
05617 xcb_input_input_state_next (xcb_input_input_state_iterator_t *i );
05618
05629
05630
05631
05632
05633
05634
05635
05636
05637
05638 xcb_generic_iterator_t
05639 xcb_input_input_state_end (xcb_input_input_state_iterator_t i );
05640
05650
05651
05652
05653
05654
05655
05656
05657
05658
05659 void
05660 xcb_input_key_state_next (xcb_input_key_state_iterator_t *i );
05661
05672
05673
05674
05675
05676
05677
05678
05679
05680
05681 xcb_generic_iterator_t
05682 xcb_input_key_state_end (xcb_input_key_state_iterator_t i );
05683
05693
05694
05695
05696
05697
05698
05699
05700
05701
05702 void
05703 xcb_input_button_state_next (xcb_input_button_state_iterator_t *i );
05704
05715
05716
05717
05718
05719
05720
05721
05722
05723
05724 xcb_generic_iterator_t
05725 xcb_input_button_state_end (xcb_input_button_state_iterator_t i );
05726
05727
05728
05729
05730
05731
05732
05733
05734
05735
05736
05737 uint32_t *
05738 xcb_input_valuator_state_valuators (const xcb_input_valuator_state_t *R );
05739
05740
05741
05742
05743
05744
05745
05746
05747
05748
05749
05750 int
05751 xcb_input_valuator_state_valuators_length (const xcb_input_valuator_state_t *R );
05752
05753
05754
05755
05756
05757
05758
05759
05760
05761
05762
05763 xcb_generic_iterator_t
05764 xcb_input_valuator_state_valuators_end (const xcb_input_valuator_state_t *R );
05765
05775
05776
05777
05778
05779
05780
05781
05782
05783
05784 void
05785 xcb_input_valuator_state_next (xcb_input_valuator_state_iterator_t *i );
05786
05797
05798
05799
05800
05801
05802
05803
05804
05805
05806 xcb_generic_iterator_t
05807 xcb_input_valuator_state_end (xcb_input_valuator_state_iterator_t i );
05808
05821
05822
05823
05824
05825
05826
05827
05828
05829
05830
05831
05832
05833
05834
05835
05836
05837 xcb_void_cookie_t
05838 xcb_input_send_extension_event_checked (xcb_connection_t *c ,
05839 xcb_window_t destination ,
05840 uint8_t device_id ,
05841 uint8_t propagate ,
05842 uint16_t num_classes ,
05843 uint8_t num_events ,
05844 const char *events ,
05845 const xcb_input_event_class_t *classes );
05846
05856
05857
05858
05859
05860
05861
05862
05863
05864
05865
05866
05867
05868
05869
05870
05871
05872 xcb_void_cookie_t
05873 xcb_input_send_extension_event (xcb_connection_t *c ,
05874 xcb_window_t destination ,
05875 uint8_t device_id ,
05876 uint8_t propagate ,
05877 uint16_t num_classes ,
05878 uint8_t num_events ,
05879 const char *events ,
05880 const xcb_input_event_class_t *classes );
05881
05894
05895
05896
05897
05898
05899
05900
05901
05902
05903
05904
05905
05906
05907 xcb_void_cookie_t
05908 xcb_input_device_bell_checked (xcb_connection_t *c ,
05909 uint8_t device_id ,
05910 uint8_t feedback_id ,
05911 uint8_t feedback_class ,
05912 int8_t percent );
05913
05923
05924
05925
05926
05927
05928
05929
05930
05931
05932
05933
05934
05935
05936 xcb_void_cookie_t
05937 xcb_input_device_bell (xcb_connection_t *c ,
05938 uint8_t device_id ,
05939 uint8_t feedback_id ,
05940 uint8_t feedback_class ,
05941 int8_t percent );
05942
05952
05953
05954
05955
05956
05957
05958
05959
05960
05961
05962
05963
05964
05965 xcb_input_set_device_valuators_cookie_t
05966 xcb_input_set_device_valuators (xcb_connection_t *c ,
05967 uint8_t device_id ,
05968 uint8_t first_valuator ,
05969 uint8_t num_valuators ,
05970 const int32_t *valuators );
05971
05984
05985
05986
05987
05988
05989
05990
05991
05992
05993
05994
05995
05996
05997 xcb_input_set_device_valuators_cookie_t
05998 xcb_input_set_device_valuators_unchecked (xcb_connection_t *c ,
05999 uint8_t device_id ,
06000 uint8_t first_valuator ,
06001 uint8_t num_valuators ,
06002 const int32_t *valuators );
06003
06019
06020
06021
06022
06023
06024
06025
06026
06027
06028
06029
06030 xcb_input_set_device_valuators_reply_t *
06031 xcb_input_set_device_valuators_reply (xcb_connection_t *c ,
06032 xcb_input_set_device_valuators_cookie_t cookie ,
06033 xcb_generic_error_t **e );
06034
06044
06045
06046
06047
06048
06049
06050
06051
06052
06053
06054
06055 xcb_input_get_device_control_cookie_t
06056 xcb_input_get_device_control (xcb_connection_t *c ,
06057 uint16_t control_id ,
06058 uint8_t device_id );
06059
06072
06073
06074
06075
06076
06077
06078
06079
06080
06081
06082
06083 xcb_input_get_device_control_cookie_t
06084 xcb_input_get_device_control_unchecked (xcb_connection_t *c ,
06085 uint16_t control_id ,
06086 uint8_t device_id );
06087
06103
06104
06105
06106
06107
06108
06109
06110
06111
06112
06113
06114 xcb_input_get_device_control_reply_t *
06115 xcb_input_get_device_control_reply (xcb_connection_t *c ,
06116 xcb_input_get_device_control_cookie_t cookie ,
06117 xcb_generic_error_t **e );
06118
06128
06129
06130
06131
06132
06133
06134
06135
06136
06137 void
06138 xcb_input_device_state_next (xcb_input_device_state_iterator_t *i );
06139
06150
06151
06152
06153
06154
06155
06156
06157
06158
06159 xcb_generic_iterator_t
06160 xcb_input_device_state_end (xcb_input_device_state_iterator_t i );
06161
06162
06163
06164
06165
06166
06167
06168
06169
06170
06171
06172 uint32_t *
06173 xcb_input_device_resolution_state_resolution_values (const xcb_input_device_resolution_state_t *R );
06174
06175
06176
06177
06178
06179
06180
06181
06182
06183
06184
06185 int
06186 xcb_input_device_resolution_state_resolution_values_length (const xcb_input_device_resolution_state_t *R );
06187
06188
06189
06190
06191
06192
06193
06194
06195
06196
06197
06198 xcb_generic_iterator_t
06199 xcb_input_device_resolution_state_resolution_values_end (const xcb_input_device_resolution_state_t *R );
06200
06201
06202
06203
06204
06205
06206
06207
06208
06209
06210
06211 uint32_t *
06212 xcb_input_device_resolution_state_resolution_min (const xcb_input_device_resolution_state_t *R );
06213
06214
06215
06216
06217
06218
06219
06220
06221
06222
06223
06224 int
06225 xcb_input_device_resolution_state_resolution_min_length (const xcb_input_device_resolution_state_t *R );
06226
06227
06228
06229
06230
06231
06232
06233
06234
06235
06236
06237 xcb_generic_iterator_t
06238 xcb_input_device_resolution_state_resolution_min_end (const xcb_input_device_resolution_state_t *R );
06239
06240
06241
06242
06243
06244
06245
06246
06247
06248
06249
06250 uint32_t *
06251 xcb_input_device_resolution_state_resolution_max (const xcb_input_device_resolution_state_t *R );
06252
06253
06254
06255
06256
06257
06258
06259
06260
06261
06262
06263 int
06264 xcb_input_device_resolution_state_resolution_max_length (const xcb_input_device_resolution_state_t *R );
06265
06266
06267
06268
06269
06270
06271
06272
06273
06274
06275
06276 xcb_generic_iterator_t
06277 xcb_input_device_resolution_state_resolution_max_end (const xcb_input_device_resolution_state_t *R );
06278
06288
06289
06290
06291
06292
06293
06294
06295
06296
06297 void
06298 xcb_input_device_resolution_state_next (xcb_input_device_resolution_state_iterator_t *i );
06299
06310
06311
06312
06313
06314
06315
06316
06317
06318
06319 xcb_generic_iterator_t
06320 xcb_input_device_resolution_state_end (xcb_input_device_resolution_state_iterator_t i );
06321
06331
06332
06333
06334
06335
06336
06337
06338
06339
06340 void
06341 xcb_input_device_abs_calib_state_next (xcb_input_device_abs_calib_state_iterator_t *i );
06342
06353
06354
06355
06356
06357
06358
06359
06360
06361
06362 xcb_generic_iterator_t
06363 xcb_input_device_abs_calib_state_end (xcb_input_device_abs_calib_state_iterator_t i );
06364
06374
06375
06376
06377
06378
06379
06380
06381
06382
06383 void
06384 xcb_input_device_abs_area_state_next (xcb_input_device_abs_area_state_iterator_t *i );
06385
06396
06397
06398
06399
06400
06401
06402
06403
06404
06405 xcb_generic_iterator_t
06406 xcb_input_device_abs_area_state_end (xcb_input_device_abs_area_state_iterator_t i );
06407
06417
06418
06419
06420
06421
06422
06423
06424
06425
06426 void
06427 xcb_input_device_core_state_next (xcb_input_device_core_state_iterator_t *i );
06428
06439
06440
06441
06442
06443
06444
06445
06446
06447
06448 xcb_generic_iterator_t
06449 xcb_input_device_core_state_end (xcb_input_device_core_state_iterator_t i );
06450
06460
06461
06462
06463
06464
06465
06466
06467
06468
06469 void
06470 xcb_input_device_enable_state_next (xcb_input_device_enable_state_iterator_t *i );
06471
06482
06483
06484
06485
06486
06487
06488
06489
06490
06491 xcb_generic_iterator_t
06492 xcb_input_device_enable_state_end (xcb_input_device_enable_state_iterator_t i );
06493
06503
06504
06505
06506
06507
06508
06509
06510
06511
06512 void
06513 xcb_input_device_ctl_next (xcb_input_device_ctl_iterator_t *i );
06514
06525
06526
06527
06528
06529
06530
06531
06532
06533
06534 xcb_generic_iterator_t
06535 xcb_input_device_ctl_end (xcb_input_device_ctl_iterator_t i );
06536
06537
06538
06539
06540
06541
06542
06543
06544
06545
06546
06547 uint32_t *
06548 xcb_input_device_resolution_ctl_resolution_values (const xcb_input_device_resolution_ctl_t *R );
06549
06550
06551
06552
06553
06554
06555
06556
06557
06558
06559
06560 int
06561 xcb_input_device_resolution_ctl_resolution_values_length (const xcb_input_device_resolution_ctl_t *R );
06562
06563
06564
06565
06566
06567
06568
06569
06570
06571
06572
06573 xcb_generic_iterator_t
06574 xcb_input_device_resolution_ctl_resolution_values_end (const xcb_input_device_resolution_ctl_t *R );
06575
06585
06586
06587
06588
06589
06590
06591
06592
06593
06594 void
06595 xcb_input_device_resolution_ctl_next (xcb_input_device_resolution_ctl_iterator_t *i );
06596
06607
06608
06609
06610
06611
06612
06613
06614
06615
06616 xcb_generic_iterator_t
06617 xcb_input_device_resolution_ctl_end (xcb_input_device_resolution_ctl_iterator_t i );
06618
06628
06629
06630
06631
06632
06633
06634
06635
06636
06637 void
06638 xcb_input_device_abs_calib_ctl_next (xcb_input_device_abs_calib_ctl_iterator_t *i );
06639
06650
06651
06652
06653
06654
06655
06656
06657
06658
06659 xcb_generic_iterator_t
06660 xcb_input_device_abs_calib_ctl_end (xcb_input_device_abs_calib_ctl_iterator_t i );
06661
06671
06672
06673
06674
06675
06676
06677
06678
06679
06680 void
06681 xcb_input_device_abs_area_ctrl_next (xcb_input_device_abs_area_ctrl_iterator_t *i );
06682
06693
06694
06695
06696
06697
06698
06699
06700
06701
06702 xcb_generic_iterator_t
06703 xcb_input_device_abs_area_ctrl_end (xcb_input_device_abs_area_ctrl_iterator_t i );
06704
06714
06715
06716
06717
06718
06719
06720
06721
06722
06723 void
06724 xcb_input_device_core_ctrl_next (xcb_input_device_core_ctrl_iterator_t *i );
06725
06736
06737
06738
06739
06740
06741
06742
06743
06744
06745 xcb_generic_iterator_t
06746 xcb_input_device_core_ctrl_end (xcb_input_device_core_ctrl_iterator_t i );
06747
06757
06758
06759
06760
06761
06762
06763
06764
06765
06766 void
06767 xcb_input_device_enable_ctrl_next (xcb_input_device_enable_ctrl_iterator_t *i );
06768
06779
06780
06781
06782
06783
06784
06785
06786
06787
06788 xcb_generic_iterator_t
06789 xcb_input_device_enable_ctrl_end (xcb_input_device_enable_ctrl_iterator_t i );
06790
06791
06792 #endif
06793