00001
00002
00003
00004
00005
00012 #ifndef __XINPUT_H
00013 #define __XINPUT_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 #define XCB_INPUT_MAJOR_VERSION 1
00023 #define XCB_INPUT_MINOR_VERSION 4
00024
00025 extern xcb_extension_t xcb_input_id;
00026
00027 typedef uint8_t xcb_input_key_code_t;
00028
00032 typedef struct xcb_input_key_code_iterator_t {
00033 xcb_input_key_code_t *data;
00034 int rem;
00035 int index;
00036 } xcb_input_key_code_iterator_t;
00037
00038 typedef uint32_t xcb_input_event_class_t;
00039
00043 typedef struct xcb_input_event_class_iterator_t {
00044 xcb_input_event_class_t *data;
00045 int rem;
00046 int index;
00047 } xcb_input_event_class_iterator_t;
00048
00049 typedef enum xcb_input_valuator_mode_t {
00050 XCB_INPUT_VALUATOR_MODE_RELATIVE = 0,
00051 XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1
00052 } xcb_input_valuator_mode_t;
00053
00054 typedef enum xcb_input_propagate_mode_t {
00055 XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0,
00056 XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1
00057 } xcb_input_propagate_mode_t;
00058
00062 typedef struct xcb_input_get_extension_version_cookie_t {
00063 unsigned int sequence;
00064 } xcb_input_get_extension_version_cookie_t;
00065
00067 #define XCB_INPUT_GET_EXTENSION_VERSION 1
00068
00072 typedef struct xcb_input_get_extension_version_request_t {
00073 uint8_t major_opcode;
00074 uint8_t minor_opcode;
00075 uint16_t length;
00076 uint16_t name_len;
00077 uint8_t pad0[2];
00078 } xcb_input_get_extension_version_request_t;
00079
00083 typedef struct xcb_input_get_extension_version_reply_t {
00084 uint8_t response_type;
00085 uint8_t pad0;
00086 uint16_t sequence;
00087 uint32_t length;
00088 uint16_t server_major;
00089 uint16_t server_minor;
00090 uint8_t present;
00091 uint8_t pad1[19];
00092 } xcb_input_get_extension_version_reply_t;
00093
00097 typedef struct xcb_input_list_input_devices_cookie_t {
00098 unsigned int sequence;
00099 } xcb_input_list_input_devices_cookie_t;
00100
00102 #define XCB_INPUT_LIST_INPUT_DEVICES 2
00103
00107 typedef struct xcb_input_list_input_devices_request_t {
00108 uint8_t major_opcode;
00109 uint8_t minor_opcode;
00110 uint16_t length;
00111 } xcb_input_list_input_devices_request_t;
00112
00116 typedef struct xcb_input_list_input_devices_reply_t {
00117 uint8_t response_type;
00118 uint8_t pad0;
00119 uint16_t sequence;
00120 uint32_t length;
00121 uint8_t devices_len;
00122 uint8_t pad1[23];
00123 } xcb_input_list_input_devices_reply_t;
00124
00128 typedef struct xcb_input_device_info_t {
00129 xcb_atom_t device_type;
00130 uint8_t device_id;
00131 uint8_t num_class_info;
00132 uint8_t device_use;
00133 uint8_t pad0;
00134 } xcb_input_device_info_t;
00135
00139 typedef struct xcb_input_device_info_iterator_t {
00140 xcb_input_device_info_t *data;
00141 int rem;
00142 int index;
00143 } xcb_input_device_info_iterator_t;
00144
00145 typedef enum xcb_input_device_use_t {
00146 XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0,
00147 XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1,
00148 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2,
00149 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3,
00150 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4
00151 } xcb_input_device_use_t;
00152
00156 typedef struct xcb_input_input_info_t {
00157 uint8_t class_id;
00158 uint8_t len;
00159 } xcb_input_input_info_t;
00160
00164 typedef struct xcb_input_input_info_iterator_t {
00165 xcb_input_input_info_t *data;
00166 int rem;
00167 int index;
00168 } xcb_input_input_info_iterator_t;
00169
00173 typedef struct xcb_input_key_info_t {
00174 uint8_t class_id;
00175 uint8_t len;
00176 xcb_input_key_code_t min_keycode;
00177 xcb_input_key_code_t max_keycode;
00178 uint16_t num_keys;
00179 uint8_t pad0[2];
00180 } xcb_input_key_info_t;
00181
00185 typedef struct xcb_input_key_info_iterator_t {
00186 xcb_input_key_info_t *data;
00187 int rem;
00188 int index;
00189 } xcb_input_key_info_iterator_t;
00190
00194 typedef struct xcb_input_button_info_t {
00195 uint8_t class_id;
00196 uint8_t len;
00197 uint16_t num_buttons;
00198 } xcb_input_button_info_t;
00199
00203 typedef struct xcb_input_button_info_iterator_t {
00204 xcb_input_button_info_t *data;
00205 int rem;
00206 int index;
00207 } xcb_input_button_info_iterator_t;
00208
00212 typedef struct xcb_input_valuator_info_t {
00213 uint8_t class_id;
00214 uint8_t len;
00215 uint8_t axes_len;
00216 uint8_t mode;
00217 uint32_t motion_size;
00218 } xcb_input_valuator_info_t;
00219
00223 typedef struct xcb_input_valuator_info_iterator_t {
00224 xcb_input_valuator_info_t *data;
00225 int rem;
00226 int index;
00227 } xcb_input_valuator_info_iterator_t;
00228
00232 typedef struct xcb_input_axis_info_t {
00233 uint32_t resolution;
00234 uint32_t minimum;
00235 uint32_t maximum;
00236 } xcb_input_axis_info_t;
00237
00241 typedef struct xcb_input_axis_info_iterator_t {
00242 xcb_input_axis_info_t *data;
00243 int rem;
00244 int index;
00245 } xcb_input_axis_info_iterator_t;
00246
00250 typedef struct xcb_input_open_device_cookie_t {
00251 unsigned int sequence;
00252 } xcb_input_open_device_cookie_t;
00253
00255 #define XCB_INPUT_OPEN_DEVICE 3
00256
00260 typedef struct xcb_input_open_device_request_t {
00261 uint8_t major_opcode;
00262 uint8_t minor_opcode;
00263 uint16_t length;
00264 uint8_t device_id;
00265 uint8_t pad0[3];
00266 } xcb_input_open_device_request_t;
00267
00271 typedef struct xcb_input_open_device_reply_t {
00272 uint8_t response_type;
00273 uint8_t pad0;
00274 uint16_t sequence;
00275 uint32_t length;
00276 uint8_t num_classes;
00277 uint8_t pad1[23];
00278 } xcb_input_open_device_reply_t;
00279
00283 typedef struct xcb_input_input_class_info_t {
00284 uint8_t class_id;
00285 uint8_t event_type_base;
00286 } xcb_input_input_class_info_t;
00287
00291 typedef struct xcb_input_input_class_info_iterator_t {
00292 xcb_input_input_class_info_t *data;
00293 int rem;
00294 int index;
00295 } xcb_input_input_class_info_iterator_t;
00296
00297 typedef enum xcb_input_input_class_t {
00298 XCB_INPUT_INPUT_CLASS_KEY = 0,
00299 XCB_INPUT_INPUT_CLASS_BUTTON = 1,
00300 XCB_INPUT_INPUT_CLASS_VALUATOR = 2,
00301 XCB_INPUT_INPUT_CLASS_FEEDBACK = 3,
00302 XCB_INPUT_INPUT_CLASS_PROXIMITY = 4,
00303 XCB_INPUT_INPUT_CLASS_FOCUS = 5,
00304 XCB_INPUT_INPUT_CLASS_OTHER = 6
00305 } xcb_input_input_class_t;
00306
00308 #define XCB_INPUT_CLOSE_DEVICE 4
00309
00313 typedef struct xcb_input_close_device_request_t {
00314 uint8_t major_opcode;
00315 uint8_t minor_opcode;
00316 uint16_t length;
00317 uint8_t device_id;
00318 uint8_t pad0[3];
00319 } xcb_input_close_device_request_t;
00320
00324 typedef struct xcb_input_set_device_mode_cookie_t {
00325 unsigned int sequence;
00326 } xcb_input_set_device_mode_cookie_t;
00327
00329 #define XCB_INPUT_SET_DEVICE_MODE 5
00330
00334 typedef struct xcb_input_set_device_mode_request_t {
00335 uint8_t major_opcode;
00336 uint8_t minor_opcode;
00337 uint16_t length;
00338 uint8_t device_id;
00339 uint8_t mode;
00340 uint8_t pad0[2];
00341 } xcb_input_set_device_mode_request_t;
00342
00346 typedef struct xcb_input_set_device_mode_reply_t {
00347 uint8_t response_type;
00348 uint8_t pad0;
00349 uint16_t sequence;
00350 uint32_t length;
00351 uint8_t status;
00352 uint8_t pad1[23];
00353 } xcb_input_set_device_mode_reply_t;
00354
00356 #define XCB_INPUT_SELECT_EXTENSION_EVENT 6
00357
00361 typedef struct xcb_input_select_extension_event_request_t {
00362 uint8_t major_opcode;
00363 uint8_t minor_opcode;
00364 uint16_t length;
00365 xcb_window_t window;
00366 uint16_t num_classes;
00367 uint8_t pad0[2];
00368 } xcb_input_select_extension_event_request_t;
00369
00373 typedef struct xcb_input_get_selected_extension_events_cookie_t {
00374 unsigned int sequence;
00375 } xcb_input_get_selected_extension_events_cookie_t;
00376
00378 #define XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS 7
00379
00383 typedef struct xcb_input_get_selected_extension_events_request_t {
00384 uint8_t major_opcode;
00385 uint8_t minor_opcode;
00386 uint16_t length;
00387 xcb_window_t window;
00388 } xcb_input_get_selected_extension_events_request_t;
00389
00393 typedef struct xcb_input_get_selected_extension_events_reply_t {
00394 uint8_t response_type;
00395 uint8_t pad0;
00396 uint16_t sequence;
00397 uint32_t length;
00398 uint16_t num_this_classes;
00399 uint16_t num_all_classes;
00400 uint8_t pad1[20];
00401 } xcb_input_get_selected_extension_events_reply_t;
00402
00404 #define XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST 8
00405
00409 typedef struct xcb_input_change_device_dont_propagate_list_request_t {
00410 uint8_t major_opcode;
00411 uint8_t minor_opcode;
00412 uint16_t length;
00413 xcb_window_t window;
00414 uint16_t num_classes;
00415 uint8_t mode;
00416 uint8_t pad0;
00417 } xcb_input_change_device_dont_propagate_list_request_t;
00418
00422 typedef struct xcb_input_get_device_dont_propagate_list_cookie_t {
00423 unsigned int sequence;
00424 } xcb_input_get_device_dont_propagate_list_cookie_t;
00425
00427 #define XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST 9
00428
00432 typedef struct xcb_input_get_device_dont_propagate_list_request_t {
00433 uint8_t major_opcode;
00434 uint8_t minor_opcode;
00435 uint16_t length;
00436 xcb_window_t window;
00437 } xcb_input_get_device_dont_propagate_list_request_t;
00438
00442 typedef struct xcb_input_get_device_dont_propagate_list_reply_t {
00443 uint8_t response_type;
00444 uint8_t pad0;
00445 uint16_t sequence;
00446 uint32_t length;
00447 uint16_t num_classes;
00448 uint8_t pad1[22];
00449 } xcb_input_get_device_dont_propagate_list_reply_t;
00450
00454 typedef struct xcb_input_get_device_motion_events_cookie_t {
00455 unsigned int sequence;
00456 } xcb_input_get_device_motion_events_cookie_t;
00457
00459 #define XCB_INPUT_GET_DEVICE_MOTION_EVENTS 10
00460
00464 typedef struct xcb_input_get_device_motion_events_request_t {
00465 uint8_t major_opcode;
00466 uint8_t minor_opcode;
00467 uint16_t length;
00468 xcb_timestamp_t start;
00469 xcb_timestamp_t stop;
00470 uint8_t device_id;
00471 } xcb_input_get_device_motion_events_request_t;
00472
00476 typedef struct xcb_input_get_device_motion_events_reply_t {
00477 uint8_t response_type;
00478 uint8_t pad0;
00479 uint16_t sequence;
00480 uint32_t length;
00481 uint32_t num_coords;
00482 uint8_t num_axes;
00483 uint8_t device_mode;
00484 uint8_t pad1[18];
00485 } xcb_input_get_device_motion_events_reply_t;
00486
00490 typedef struct xcb_input_device_time_coord_t {
00491 xcb_timestamp_t time;
00492 } xcb_input_device_time_coord_t;
00493
00497 typedef struct xcb_input_device_time_coord_iterator_t {
00498 xcb_input_device_time_coord_t *data;
00499 int rem;
00500 int index;
00501 } xcb_input_device_time_coord_iterator_t;
00502
00506 typedef struct xcb_input_change_keyboard_device_cookie_t {
00507 unsigned int sequence;
00508 } xcb_input_change_keyboard_device_cookie_t;
00509
00511 #define XCB_INPUT_CHANGE_KEYBOARD_DEVICE 11
00512
00516 typedef struct xcb_input_change_keyboard_device_request_t {
00517 uint8_t major_opcode;
00518 uint8_t minor_opcode;
00519 uint16_t length;
00520 uint8_t device_id;
00521 uint8_t pad0[3];
00522 } xcb_input_change_keyboard_device_request_t;
00523
00527 typedef struct xcb_input_change_keyboard_device_reply_t {
00528 uint8_t response_type;
00529 uint8_t pad0;
00530 uint16_t sequence;
00531 uint32_t length;
00532 uint8_t status;
00533 uint8_t pad1[23];
00534 } xcb_input_change_keyboard_device_reply_t;
00535
00539 typedef struct xcb_input_change_pointer_device_cookie_t {
00540 unsigned int sequence;
00541 } xcb_input_change_pointer_device_cookie_t;
00542
00544 #define XCB_INPUT_CHANGE_POINTER_DEVICE 12
00545
00549 typedef struct xcb_input_change_pointer_device_request_t {
00550 uint8_t major_opcode;
00551 uint8_t minor_opcode;
00552 uint16_t length;
00553 uint8_t x_axis;
00554 uint8_t y_axis;
00555 uint8_t device_id;
00556 uint8_t pad0;
00557 } xcb_input_change_pointer_device_request_t;
00558
00562 typedef struct xcb_input_change_pointer_device_reply_t {
00563 uint8_t response_type;
00564 uint8_t pad0;
00565 uint16_t sequence;
00566 uint32_t length;
00567 uint8_t status;
00568 uint8_t pad1[23];
00569 } xcb_input_change_pointer_device_reply_t;
00570
00574 typedef struct xcb_input_grab_device_cookie_t {
00575 unsigned int sequence;
00576 } xcb_input_grab_device_cookie_t;
00577
00579 #define XCB_INPUT_GRAB_DEVICE 13
00580
00584 typedef struct xcb_input_grab_device_request_t {
00585 uint8_t major_opcode;
00586 uint8_t minor_opcode;
00587 uint16_t length;
00588 xcb_window_t grab_window;
00589 xcb_timestamp_t time;
00590 uint16_t num_classes;
00591 uint8_t this_device_mode;
00592 uint8_t other_device_mode;
00593 uint8_t owner_events;
00594 uint8_t device_id;
00595 uint8_t pad0[2];
00596 } xcb_input_grab_device_request_t;
00597
00601 typedef struct xcb_input_grab_device_reply_t {
00602 uint8_t response_type;
00603 uint8_t pad0;
00604 uint16_t sequence;
00605 uint32_t length;
00606 uint8_t status;
00607 uint8_t pad1[23];
00608 } xcb_input_grab_device_reply_t;
00609
00611 #define XCB_INPUT_UNGRAB_DEVICE 14
00612
00616 typedef struct xcb_input_ungrab_device_request_t {
00617 uint8_t major_opcode;
00618 uint8_t minor_opcode;
00619 uint16_t length;
00620 xcb_timestamp_t time;
00621 uint8_t device_id;
00622 } xcb_input_ungrab_device_request_t;
00623
00625 #define XCB_INPUT_GRAB_DEVICE_KEY 15
00626
00630 typedef struct xcb_input_grab_device_key_request_t {
00631 uint8_t major_opcode;
00632 uint8_t minor_opcode;
00633 uint16_t length;
00634 xcb_window_t grab_window;
00635 uint16_t num_classes;
00636 uint16_t modifiers;
00637 uint8_t modifier_device;
00638 uint8_t grabbed_device;
00639 uint8_t key;
00640 uint8_t this_device_mode;
00641 uint8_t other_device_mode;
00642 uint8_t owner_events;
00643 uint8_t pad0[2];
00644 } xcb_input_grab_device_key_request_t;
00645
00647 #define XCB_INPUT_UNGRAB_DEVICE_KEY 16
00648
00652 typedef struct xcb_input_ungrab_device_key_request_t {
00653 uint8_t major_opcode;
00654 uint8_t minor_opcode;
00655 uint16_t length;
00656 xcb_window_t grabWindow;
00657 uint16_t modifiers;
00658 uint8_t modifier_device;
00659 uint8_t key;
00660 uint8_t grabbed_device;
00661 } xcb_input_ungrab_device_key_request_t;
00662
00664 #define XCB_INPUT_GRAB_DEVICE_BUTTON 17
00665
00669 typedef struct xcb_input_grab_device_button_request_t {
00670 uint8_t major_opcode;
00671 uint8_t minor_opcode;
00672 uint16_t length;
00673 xcb_window_t grab_window;
00674 uint8_t grabbed_device;
00675 uint8_t modifier_device;
00676 uint16_t num_classes;
00677 uint16_t modifiers;
00678 uint8_t this_device_mode;
00679 uint8_t other_device_mode;
00680 uint8_t button;
00681 uint8_t owner_events;
00682 uint8_t pad0[2];
00683 } xcb_input_grab_device_button_request_t;
00684
00686 #define XCB_INPUT_UNGRAB_DEVICE_BUTTON 18
00687
00691 typedef struct xcb_input_ungrab_device_button_request_t {
00692 uint8_t major_opcode;
00693 uint8_t minor_opcode;
00694 uint16_t length;
00695 xcb_window_t grab_window;
00696 uint16_t modifiers;
00697 uint8_t modifier_device;
00698 uint8_t button;
00699 uint8_t grabbed_device;
00700 } xcb_input_ungrab_device_button_request_t;
00701
00703 #define XCB_INPUT_ALLOW_DEVICE_EVENTS 19
00704
00708 typedef struct xcb_input_allow_device_events_request_t {
00709 uint8_t major_opcode;
00710 uint8_t minor_opcode;
00711 uint16_t length;
00712 xcb_timestamp_t time;
00713 uint8_t mode;
00714 uint8_t device_id;
00715 } xcb_input_allow_device_events_request_t;
00716
00720 typedef struct xcb_input_get_device_focus_cookie_t {
00721 unsigned int sequence;
00722 } xcb_input_get_device_focus_cookie_t;
00723
00725 #define XCB_INPUT_GET_DEVICE_FOCUS 20
00726
00730 typedef struct xcb_input_get_device_focus_request_t {
00731 uint8_t major_opcode;
00732 uint8_t minor_opcode;
00733 uint16_t length;
00734 uint8_t device_id;
00735 uint8_t pad0[3];
00736 } xcb_input_get_device_focus_request_t;
00737
00741 typedef struct xcb_input_get_device_focus_reply_t {
00742 uint8_t response_type;
00743 uint8_t pad0;
00744 uint16_t sequence;
00745 uint32_t length;
00746 xcb_window_t focus;
00747 xcb_timestamp_t time;
00748 uint8_t revert_to;
00749 uint8_t pad1[15];
00750 } xcb_input_get_device_focus_reply_t;
00751
00753 #define XCB_INPUT_SET_DEVICE_FOCUS 21
00754
00758 typedef struct xcb_input_set_device_focus_request_t {
00759 uint8_t major_opcode;
00760 uint8_t minor_opcode;
00761 uint16_t length;
00762 xcb_window_t focus;
00763 xcb_timestamp_t time;
00764 uint8_t revert_to;
00765 uint8_t device_id;
00766 } xcb_input_set_device_focus_request_t;
00767
00771 typedef struct xcb_input_get_feedback_control_cookie_t {
00772 unsigned int sequence;
00773 } xcb_input_get_feedback_control_cookie_t;
00774
00776 #define XCB_INPUT_GET_FEEDBACK_CONTROL 22
00777
00781 typedef struct xcb_input_get_feedback_control_request_t {
00782 uint8_t major_opcode;
00783 uint8_t minor_opcode;
00784 uint16_t length;
00785 uint8_t device_id;
00786 uint8_t pad0[3];
00787 } xcb_input_get_feedback_control_request_t;
00788
00792 typedef struct xcb_input_get_feedback_control_reply_t {
00793 uint8_t response_type;
00794 uint8_t pad0;
00795 uint16_t sequence;
00796 uint32_t length;
00797 uint16_t num_feedback;
00798 uint8_t pad1[22];
00799 } xcb_input_get_feedback_control_reply_t;
00800
00804 typedef struct xcb_input_feedback_state_t {
00805 uint8_t class_id;
00806 uint8_t id;
00807 uint16_t len;
00808 } xcb_input_feedback_state_t;
00809
00813 typedef struct xcb_input_feedback_state_iterator_t {
00814 xcb_input_feedback_state_t *data;
00815 int rem;
00816 int index;
00817 } xcb_input_feedback_state_iterator_t;
00818
00822 typedef struct xcb_input_kbd_feedback_state_t {
00823 uint8_t class_id;
00824 uint8_t id;
00825 uint16_t len;
00826 uint16_t pitch;
00827 uint16_t duration;
00828 uint32_t led_mask;
00829 uint32_t led_values;
00830 uint8_t global_auto_repeat;
00831 uint8_t click;
00832 uint8_t percent;
00833 uint8_t pad0;
00834 uint8_t auto_repeats[32];
00835 } xcb_input_kbd_feedback_state_t;
00836
00840 typedef struct xcb_input_kbd_feedback_state_iterator_t {
00841 xcb_input_kbd_feedback_state_t *data;
00842 int rem;
00843 int index;
00844 } xcb_input_kbd_feedback_state_iterator_t;
00845
00849 typedef struct xcb_input_ptr_feedback_state_t {
00850 uint8_t class_id;
00851 uint8_t id;
00852 uint16_t len;
00853 uint8_t pad0[2];
00854 uint16_t accel_num;
00855 uint16_t accel_denom;
00856 uint16_t threshold;
00857 } xcb_input_ptr_feedback_state_t;
00858
00862 typedef struct xcb_input_ptr_feedback_state_iterator_t {
00863 xcb_input_ptr_feedback_state_t *data;
00864 int rem;
00865 int index;
00866 } xcb_input_ptr_feedback_state_iterator_t;
00867
00871 typedef struct xcb_input_integer_feedback_state_t {
00872 uint8_t class_id;
00873 uint8_t id;
00874 uint16_t len;
00875 uint32_t resolution;
00876 int32_t min_value;
00877 int32_t max_value;
00878 } xcb_input_integer_feedback_state_t;
00879
00883 typedef struct xcb_input_integer_feedback_state_iterator_t {
00884 xcb_input_integer_feedback_state_t *data;
00885 int rem;
00886 int index;
00887 } xcb_input_integer_feedback_state_iterator_t;
00888
00892 typedef struct xcb_input_string_feedback_state_t {
00893 uint8_t class_id;
00894 uint8_t id;
00895 uint16_t len;
00896 uint16_t max_symbols;
00897 uint16_t num_keysyms;
00898 } xcb_input_string_feedback_state_t;
00899
00903 typedef struct xcb_input_string_feedback_state_iterator_t {
00904 xcb_input_string_feedback_state_t *data;
00905 int rem;
00906 int index;
00907 } xcb_input_string_feedback_state_iterator_t;
00908
00912 typedef struct xcb_input_bell_feedback_state_t {
00913 uint8_t class_id;
00914 uint8_t id;
00915 uint16_t len;
00916 uint8_t percent;
00917 uint8_t pad0[3];
00918 uint16_t pitch;
00919 uint16_t duration;
00920 } xcb_input_bell_feedback_state_t;
00921
00925 typedef struct xcb_input_bell_feedback_state_iterator_t {
00926 xcb_input_bell_feedback_state_t *data;
00927 int rem;
00928 int index;
00929 } xcb_input_bell_feedback_state_iterator_t;
00930
00934 typedef struct xcb_input_led_feedback_state_t {
00935 uint8_t class_id;
00936 uint8_t id;
00937 uint16_t len;
00938 uint32_t led_mask;
00939 uint32_t led_values;
00940 } xcb_input_led_feedback_state_t;
00941
00945 typedef struct xcb_input_led_feedback_state_iterator_t {
00946 xcb_input_led_feedback_state_t *data;
00947 int rem;
00948 int index;
00949 } xcb_input_led_feedback_state_iterator_t;
00950
00954 typedef struct xcb_input_feedback_ctl_t {
00955 uint8_t class_id;
00956 uint8_t id;
00957 uint16_t len;
00958 } xcb_input_feedback_ctl_t;
00959
00963 typedef struct xcb_input_feedback_ctl_iterator_t {
00964 xcb_input_feedback_ctl_t *data;
00965 int rem;
00966 int index;
00967 } xcb_input_feedback_ctl_iterator_t;
00968
00972 typedef struct xcb_input_kbd_feedback_ctl_t {
00973 uint8_t class_id;
00974 uint8_t id;
00975 uint16_t len;
00976 xcb_input_key_code_t key;
00977 uint8_t auto_repeat_mode;
00978 int8_t key_click_percent;
00979 int8_t bell_percent;
00980 int16_t bell_pitch;
00981 int16_t bell_duration;
00982 uint32_t led_mask;
00983 uint32_t led_values;
00984 } xcb_input_kbd_feedback_ctl_t;
00985
00989 typedef struct xcb_input_kbd_feedback_ctl_iterator_t {
00990 xcb_input_kbd_feedback_ctl_t *data;
00991 int rem;
00992 int index;
00993 } xcb_input_kbd_feedback_ctl_iterator_t;
00994
00998 typedef struct xcb_input_ptr_feedback_ctl_t {
00999 uint8_t class_id;
01000 uint8_t id;
01001 uint16_t len;
01002 uint8_t pad0[2];
01003 int16_t num;
01004 int16_t denom;
01005 int16_t threshold;
01006 } xcb_input_ptr_feedback_ctl_t;
01007
01011 typedef struct xcb_input_ptr_feedback_ctl_iterator_t {
01012 xcb_input_ptr_feedback_ctl_t *data;
01013 int rem;
01014 int index;
01015 } xcb_input_ptr_feedback_ctl_iterator_t;
01016
01020 typedef struct xcb_input_integer_feedback_ctl_t {
01021 uint8_t class_id;
01022 uint8_t id;
01023 uint16_t len;
01024 int32_t int_to_display;
01025 } xcb_input_integer_feedback_ctl_t;
01026
01030 typedef struct xcb_input_integer_feedback_ctl_iterator_t {
01031 xcb_input_integer_feedback_ctl_t *data;
01032 int rem;
01033 int index;
01034 } xcb_input_integer_feedback_ctl_iterator_t;
01035
01039 typedef struct xcb_input_string_feedback_ctl_t {
01040 uint8_t class_id;
01041 uint8_t id;
01042 uint16_t len;
01043 uint8_t pad0[2];
01044 uint16_t num_keysyms;
01045 } xcb_input_string_feedback_ctl_t;
01046
01050 typedef struct xcb_input_string_feedback_ctl_iterator_t {
01051 xcb_input_string_feedback_ctl_t *data;
01052 int rem;
01053 int index;
01054 } xcb_input_string_feedback_ctl_iterator_t;
01055
01059 typedef struct xcb_input_bell_feedback_ctl_t {
01060 uint8_t class_id;
01061 uint8_t id;
01062 uint16_t len;
01063 int8_t percent;
01064 uint8_t pad0[3];
01065 int16_t pitch;
01066 int16_t duration;
01067 } xcb_input_bell_feedback_ctl_t;
01068
01072 typedef struct xcb_input_bell_feedback_ctl_iterator_t {
01073 xcb_input_bell_feedback_ctl_t *data;
01074 int rem;
01075 int index;
01076 } xcb_input_bell_feedback_ctl_iterator_t;
01077
01081 typedef struct xcb_input_led_feedback_ctl_t {
01082 uint8_t class_id;
01083 uint8_t id;
01084 uint16_t len;
01085 uint32_t led_mask;
01086 uint32_t led_values;
01087 } xcb_input_led_feedback_ctl_t;
01088
01092 typedef struct xcb_input_led_feedback_ctl_iterator_t {
01093 xcb_input_led_feedback_ctl_t *data;
01094 int rem;
01095 int index;
01096 } xcb_input_led_feedback_ctl_iterator_t;
01097
01101 typedef struct xcb_input_get_device_key_mapping_cookie_t {
01102 unsigned int sequence;
01103 } xcb_input_get_device_key_mapping_cookie_t;
01104
01106 #define XCB_INPUT_GET_DEVICE_KEY_MAPPING 24
01107
01111 typedef struct xcb_input_get_device_key_mapping_request_t {
01112 uint8_t major_opcode;
01113 uint8_t minor_opcode;
01114 uint16_t length;
01115 uint8_t device_id;
01116 xcb_input_key_code_t first_keycode;
01117 uint8_t count;
01118 } xcb_input_get_device_key_mapping_request_t;
01119
01123 typedef struct xcb_input_get_device_key_mapping_reply_t {
01124 uint8_t response_type;
01125 uint8_t pad0;
01126 uint16_t sequence;
01127 uint32_t length;
01128 uint8_t keysyms_per_keycode;
01129 uint8_t pad1[23];
01130 } xcb_input_get_device_key_mapping_reply_t;
01131
01133 #define XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING 25
01134
01138 typedef struct xcb_input_change_device_key_mapping_request_t {
01139 uint8_t major_opcode;
01140 uint8_t minor_opcode;
01141 uint16_t length;
01142 uint8_t device_id;
01143 xcb_input_key_code_t first_keycode;
01144 uint8_t keysyms_per_keycode;
01145 uint8_t keycode_count;
01146 } xcb_input_change_device_key_mapping_request_t;
01147
01151 typedef struct xcb_input_get_device_modifier_mapping_cookie_t {
01152 unsigned int sequence;
01153 } xcb_input_get_device_modifier_mapping_cookie_t;
01154
01156 #define XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING 26
01157
01161 typedef struct xcb_input_get_device_modifier_mapping_request_t {
01162 uint8_t major_opcode;
01163 uint8_t minor_opcode;
01164 uint16_t length;
01165 uint8_t device_id;
01166 uint8_t pad0[3];
01167 } xcb_input_get_device_modifier_mapping_request_t;
01168
01172 typedef struct xcb_input_get_device_modifier_mapping_reply_t {
01173 uint8_t response_type;
01174 uint8_t pad0;
01175 uint16_t sequence;
01176 uint32_t length;
01177 uint8_t keycodes_per_modifier;
01178 uint8_t pad1[23];
01179 } xcb_input_get_device_modifier_mapping_reply_t;
01180
01184 typedef struct xcb_input_set_device_modifier_mapping_cookie_t {
01185 unsigned int sequence;
01186 } xcb_input_set_device_modifier_mapping_cookie_t;
01187
01189 #define XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING 27
01190
01194 typedef struct xcb_input_set_device_modifier_mapping_request_t {
01195 uint8_t major_opcode;
01196 uint8_t minor_opcode;
01197 uint16_t length;
01198 uint8_t device_id;
01199 uint8_t keycodes_per_modifier;
01200 uint8_t pad0;
01201 } xcb_input_set_device_modifier_mapping_request_t;
01202
01206 typedef struct xcb_input_set_device_modifier_mapping_reply_t {
01207 uint8_t response_type;
01208 uint8_t pad0;
01209 uint16_t sequence;
01210 uint32_t length;
01211 uint8_t status;
01212 uint8_t pad1[23];
01213 } xcb_input_set_device_modifier_mapping_reply_t;
01214
01218 typedef struct xcb_input_get_device_button_mapping_cookie_t {
01219 unsigned int sequence;
01220 } xcb_input_get_device_button_mapping_cookie_t;
01221
01223 #define XCB_INPUT_GET_DEVICE_BUTTON_MAPPING 28
01224
01228 typedef struct xcb_input_get_device_button_mapping_request_t {
01229 uint8_t major_opcode;
01230 uint8_t minor_opcode;
01231 uint16_t length;
01232 uint8_t device_id;
01233 uint8_t pad0[3];
01234 } xcb_input_get_device_button_mapping_request_t;
01235
01239 typedef struct xcb_input_get_device_button_mapping_reply_t {
01240 uint8_t response_type;
01241 uint8_t pad0;
01242 uint16_t sequence;
01243 uint32_t length;
01244 uint8_t map_size;
01245 uint8_t pad1[23];
01246 } xcb_input_get_device_button_mapping_reply_t;
01247
01251 typedef struct xcb_input_set_device_button_mapping_cookie_t {
01252 unsigned int sequence;
01253 } xcb_input_set_device_button_mapping_cookie_t;
01254
01256 #define XCB_INPUT_SET_DEVICE_BUTTON_MAPPING 29
01257
01261 typedef struct xcb_input_set_device_button_mapping_request_t {
01262 uint8_t major_opcode;
01263 uint8_t minor_opcode;
01264 uint16_t length;
01265 uint8_t device_id;
01266 uint8_t map_size;
01267 uint8_t pad0[2];
01268 } xcb_input_set_device_button_mapping_request_t;
01269
01273 typedef struct xcb_input_set_device_button_mapping_reply_t {
01274 uint8_t response_type;
01275 uint8_t pad0;
01276 uint16_t sequence;
01277 uint32_t length;
01278 uint8_t status;
01279 uint8_t pad1[23];
01280 } xcb_input_set_device_button_mapping_reply_t;
01281
01285 typedef struct xcb_input_query_device_state_cookie_t {
01286 unsigned int sequence;
01287 } xcb_input_query_device_state_cookie_t;
01288
01290 #define XCB_INPUT_QUERY_DEVICE_STATE 30
01291
01295 typedef struct xcb_input_query_device_state_request_t {
01296 uint8_t major_opcode;
01297 uint8_t minor_opcode;
01298 uint16_t length;
01299 uint8_t device_id;
01300 uint8_t pad0[3];
01301 } xcb_input_query_device_state_request_t;
01302
01306 typedef struct xcb_input_query_device_state_reply_t {
01307 uint8_t response_type;
01308 uint8_t pad0;
01309 uint16_t sequence;
01310 uint32_t length;
01311 uint8_t num_classes;
01312 uint8_t pad1[23];
01313 } xcb_input_query_device_state_reply_t;
01314
01318 typedef struct xcb_input_input_state_t {
01319 uint8_t class_id;
01320 uint8_t len;
01321 uint8_t num_items;
01322 } xcb_input_input_state_t;
01323
01327 typedef struct xcb_input_input_state_iterator_t {
01328 xcb_input_input_state_t *data;
01329 int rem;
01330 int index;
01331 } xcb_input_input_state_iterator_t;
01332
01336 typedef struct xcb_input_key_state_t {
01337 uint8_t class_id;
01338 uint8_t len;
01339 uint8_t num_keys;
01340 uint8_t pad0;
01341 uint8_t keys[32];
01342 } xcb_input_key_state_t;
01343
01347 typedef struct xcb_input_key_state_iterator_t {
01348 xcb_input_key_state_t *data;
01349 int rem;
01350 int index;
01351 } xcb_input_key_state_iterator_t;
01352
01356 typedef struct xcb_input_button_state_t {
01357 uint8_t class_id;
01358 uint8_t len;
01359 uint8_t num_buttons;
01360 uint8_t pad0;
01361 uint8_t buttons[32];
01362 } xcb_input_button_state_t;
01363
01367 typedef struct xcb_input_button_state_iterator_t {
01368 xcb_input_button_state_t *data;
01369 int rem;
01370 int index;
01371 } xcb_input_button_state_iterator_t;
01372
01376 typedef struct xcb_input_valuator_state_t {
01377 uint8_t class_id;
01378 uint8_t len;
01379 uint8_t num_valuators;
01380 uint8_t mode;
01381 } xcb_input_valuator_state_t;
01382
01386 typedef struct xcb_input_valuator_state_iterator_t {
01387 xcb_input_valuator_state_t *data;
01388 int rem;
01389 int index;
01390 } xcb_input_valuator_state_iterator_t;
01391
01393 #define XCB_INPUT_SEND_EXTENSION_EVENT 31
01394
01398 typedef struct xcb_input_send_extension_event_request_t {
01399 uint8_t major_opcode;
01400 uint8_t minor_opcode;
01401 uint16_t length;
01402 xcb_window_t destination;
01403 uint8_t device_id;
01404 uint8_t propagate;
01405 uint16_t num_classes;
01406 uint8_t num_events;
01407 uint8_t pad0[3];
01408 } xcb_input_send_extension_event_request_t;
01409
01411 #define XCB_INPUT_DEVICE_BELL 32
01412
01416 typedef struct xcb_input_device_bell_request_t {
01417 uint8_t major_opcode;
01418 uint8_t minor_opcode;
01419 uint16_t length;
01420 uint8_t device_id;
01421 uint8_t feedback_id;
01422 uint8_t feedback_class;
01423 int8_t percent;
01424 } xcb_input_device_bell_request_t;
01425
01429 typedef struct xcb_input_set_device_valuators_cookie_t {
01430 unsigned int sequence;
01431 } xcb_input_set_device_valuators_cookie_t;
01432
01434 #define XCB_INPUT_SET_DEVICE_VALUATORS 33
01435
01439 typedef struct xcb_input_set_device_valuators_request_t {
01440 uint8_t major_opcode;
01441 uint8_t minor_opcode;
01442 uint16_t length;
01443 uint8_t device_id;
01444 uint8_t first_valuator;
01445 uint8_t num_valuators;
01446 uint8_t pad0;
01447 } xcb_input_set_device_valuators_request_t;
01448
01452 typedef struct xcb_input_set_device_valuators_reply_t {
01453 uint8_t response_type;
01454 uint8_t pad0;
01455 uint16_t sequence;
01456 uint32_t length;
01457 uint8_t status;
01458 uint8_t pad1[23];
01459 } xcb_input_set_device_valuators_reply_t;
01460
01464 typedef struct xcb_input_get_device_control_cookie_t {
01465 unsigned int sequence;
01466 } xcb_input_get_device_control_cookie_t;
01467
01469 #define XCB_INPUT_GET_DEVICE_CONTROL 34
01470
01474 typedef struct xcb_input_get_device_control_request_t {
01475 uint8_t major_opcode;
01476 uint8_t minor_opcode;
01477 uint16_t length;
01478 uint16_t control_id;
01479 uint8_t device_id;
01480 uint8_t pad0;
01481 } xcb_input_get_device_control_request_t;
01482
01486 typedef struct xcb_input_get_device_control_reply_t {
01487 uint8_t response_type;
01488 uint8_t pad0;
01489 uint16_t sequence;
01490 uint32_t length;
01491 uint8_t status;
01492 uint8_t pad1[23];
01493 } xcb_input_get_device_control_reply_t;
01494
01498 typedef struct xcb_input_device_state_t {
01499 uint16_t control_id;
01500 uint16_t len;
01501 } xcb_input_device_state_t;
01502
01506 typedef struct xcb_input_device_state_iterator_t {
01507 xcb_input_device_state_t *data;
01508 int rem;
01509 int index;
01510 } xcb_input_device_state_iterator_t;
01511
01515 typedef struct xcb_input_device_resolution_state_t {
01516 uint16_t control_id;
01517 uint16_t len;
01518 uint32_t num_valuators;
01519 } xcb_input_device_resolution_state_t;
01520
01524 typedef struct xcb_input_device_resolution_state_iterator_t {
01525 xcb_input_device_resolution_state_t *data;
01526 int rem;
01527 int index;
01528 } xcb_input_device_resolution_state_iterator_t;
01529
01533 typedef struct xcb_input_device_abs_calib_state_t {
01534 uint16_t control_id;
01535 uint16_t len;
01536 int32_t min_x;
01537 int32_t max_x;
01538 int32_t min_y;
01539 int32_t max_y;
01540 uint32_t flip_x;
01541 uint32_t flip_y;
01542 uint32_t rotation;
01543 uint32_t button_threshold;
01544 } xcb_input_device_abs_calib_state_t;
01545
01549 typedef struct xcb_input_device_abs_calib_state_iterator_t {
01550 xcb_input_device_abs_calib_state_t *data;
01551 int rem;
01552 int index;
01553 } xcb_input_device_abs_calib_state_iterator_t;
01554
01558 typedef struct xcb_input_device_abs_area_state_t {
01559 uint16_t control_id;
01560 uint16_t len;
01561 uint32_t offset_x;
01562 uint32_t offset_y;
01563 uint32_t width;
01564 uint32_t height;
01565 uint32_t screen;
01566 uint32_t following;
01567 } xcb_input_device_abs_area_state_t;
01568
01572 typedef struct xcb_input_device_abs_area_state_iterator_t {
01573 xcb_input_device_abs_area_state_t *data;
01574 int rem;
01575 int index;
01576 } xcb_input_device_abs_area_state_iterator_t;
01577
01581 typedef struct xcb_input_device_core_state_t {
01582 uint16_t control_id;
01583 uint16_t len;
01584 uint8_t status;
01585 uint8_t iscore;
01586 uint8_t pad0[2];
01587 } xcb_input_device_core_state_t;
01588
01592 typedef struct xcb_input_device_core_state_iterator_t {
01593 xcb_input_device_core_state_t *data;
01594 int rem;
01595 int index;
01596 } xcb_input_device_core_state_iterator_t;
01597
01601 typedef struct xcb_input_device_enable_state_t {
01602 uint16_t control_id;
01603 uint16_t len;
01604 uint8_t enable;
01605 uint8_t pad0[3];
01606 } xcb_input_device_enable_state_t;
01607
01611 typedef struct xcb_input_device_enable_state_iterator_t {
01612 xcb_input_device_enable_state_t *data;
01613 int rem;
01614 int index;
01615 } xcb_input_device_enable_state_iterator_t;
01616
01620 typedef struct xcb_input_device_ctl_t {
01621 uint16_t control_id;
01622 uint16_t len;
01623 } xcb_input_device_ctl_t;
01624
01628 typedef struct xcb_input_device_ctl_iterator_t {
01629 xcb_input_device_ctl_t *data;
01630 int rem;
01631 int index;
01632 } xcb_input_device_ctl_iterator_t;
01633
01637 typedef struct xcb_input_device_resolution_ctl_t {
01638 uint16_t control_id;
01639 uint16_t len;
01640 uint8_t first_valuator;
01641 uint8_t num_valuators;
01642 } xcb_input_device_resolution_ctl_t;
01643
01647 typedef struct xcb_input_device_resolution_ctl_iterator_t {
01648 xcb_input_device_resolution_ctl_t *data;
01649 int rem;
01650 int index;
01651 } xcb_input_device_resolution_ctl_iterator_t;
01652
01656 typedef struct xcb_input_device_abs_calib_ctl_t {
01657 uint16_t control_id;
01658 uint16_t len;
01659 int32_t min_x;
01660 int32_t max_x;
01661 int32_t min_y;
01662 int32_t max_y;
01663 uint32_t flip_x;
01664 uint32_t flip_y;
01665 uint32_t rotation;
01666 uint32_t button_threshold;
01667 } xcb_input_device_abs_calib_ctl_t;
01668
01672 typedef struct xcb_input_device_abs_calib_ctl_iterator_t {
01673 xcb_input_device_abs_calib_ctl_t *data;
01674 int rem;
01675 int index;
01676 } xcb_input_device_abs_calib_ctl_iterator_t;
01677
01681 typedef struct xcb_input_device_abs_area_ctrl_t {
01682 uint16_t control_id;
01683 uint16_t len;
01684 uint32_t offset_x;
01685 uint32_t offset_y;
01686 int32_t width;
01687 int32_t height;
01688 int32_t screen;
01689 uint32_t following;
01690 } xcb_input_device_abs_area_ctrl_t;
01691
01695 typedef struct xcb_input_device_abs_area_ctrl_iterator_t {
01696 xcb_input_device_abs_area_ctrl_t *data;
01697 int rem;
01698 int index;
01699 } xcb_input_device_abs_area_ctrl_iterator_t;
01700
01704 typedef struct xcb_input_device_core_ctrl_t {
01705 uint16_t control_id;
01706 uint16_t len;
01707 uint8_t status;
01708 uint8_t pad0[3];
01709 } xcb_input_device_core_ctrl_t;
01710
01714 typedef struct xcb_input_device_core_ctrl_iterator_t {
01715 xcb_input_device_core_ctrl_t *data;
01716 int rem;
01717 int index;
01718 } xcb_input_device_core_ctrl_iterator_t;
01719
01723 typedef struct xcb_input_device_enable_ctrl_t {
01724 uint16_t control_id;
01725 uint16_t len;
01726 uint8_t enable;
01727 uint8_t pad0[3];
01728 } xcb_input_device_enable_ctrl_t;
01729
01733 typedef struct xcb_input_device_enable_ctrl_iterator_t {
01734 xcb_input_device_enable_ctrl_t *data;
01735 int rem;
01736 int index;
01737 } xcb_input_device_enable_ctrl_iterator_t;
01738
01740 #define XCB_INPUT_DEVICE_VALUATOR 0
01741
01745 typedef struct xcb_input_device_valuator_event_t {
01746 uint8_t response_type;
01747 uint8_t device_id;
01748 uint16_t sequence;
01749 uint16_t device_state;
01750 uint8_t num_valuators;
01751 uint8_t first_valuator;
01752 int32_t valuators[6];
01753 } xcb_input_device_valuator_event_t;
01754
01756 #define XCB_INPUT_DEVICE_KEY_PRESS 1
01757
01761 typedef struct xcb_input_device_key_press_event_t {
01762 uint8_t response_type;
01763 uint8_t detail;
01764 uint16_t sequence;
01765 xcb_timestamp_t time;
01766 xcb_window_t root;
01767 xcb_window_t event;
01768 xcb_window_t child;
01769 int16_t root_x;
01770 int16_t root_y;
01771 int16_t event_x;
01772 int16_t event_y;
01773 uint16_t state;
01774 uint8_t same_screen;
01775 uint8_t device_id;
01776 } xcb_input_device_key_press_event_t;
01777
01779 #define XCB_INPUT_DEVICE_KEY_RELEASE 2
01780
01781 typedef xcb_input_device_key_press_event_t xcb_input_device_key_release_event_t;
01782
01784 #define XCB_INPUT_DEVICE_BUTTON_PRESS 3
01785
01786 typedef xcb_input_device_key_press_event_t xcb_input_device_button_press_event_t;
01787
01789 #define XCB_INPUT_DEVICE_BUTTON_RELEASE 4
01790
01791 typedef xcb_input_device_key_press_event_t xcb_input_device_button_release_event_t;
01792
01794 #define XCB_INPUT_DEVICE_MOTION_NOTIFY 5
01795
01796 typedef xcb_input_device_key_press_event_t xcb_input_device_motion_notify_event_t;
01797
01799 #define XCB_INPUT_PROXIMITY_IN 8
01800
01801 typedef xcb_input_device_key_press_event_t xcb_input_proximity_in_event_t;
01802
01804 #define XCB_INPUT_PROXIMITY_OUT 9
01805
01806 typedef xcb_input_device_key_press_event_t xcb_input_proximity_out_event_t;
01807
01809 #define XCB_INPUT_FOCUS_IN 6
01810
01814 typedef struct xcb_input_focus_in_event_t {
01815 uint8_t response_type;
01816 uint8_t detail;
01817 uint16_t sequence;
01818 xcb_timestamp_t time;
01819 xcb_window_t window;
01820 uint8_t mode;
01821 uint8_t device_id;
01822 uint8_t pad0[18];
01823 } xcb_input_focus_in_event_t;
01824
01826 #define XCB_INPUT_FOCUS_OUT 7
01827
01828 typedef xcb_input_device_key_press_event_t xcb_input_focus_out_event_t;
01829
01831 #define XCB_INPUT_DEVICE_STATE_NOTIFY 10
01832
01836 typedef struct xcb_input_device_state_notify_event_t {
01837 uint8_t response_type;
01838 uint8_t device_id;
01839 uint16_t sequence;
01840 xcb_timestamp_t time;
01841 uint8_t num_keys;
01842 uint8_t num_buttons;
01843 uint8_t num_valuators;
01844 uint8_t classes_reported;
01845 uint8_t buttons[4];
01846 uint8_t keys[4];
01847 uint32_t valuators[3];
01848 } xcb_input_device_state_notify_event_t;
01849
01851 #define XCB_INPUT_DEVICE_MAPPING_NOTIFY 11
01852
01856 typedef struct xcb_input_device_mapping_notify_event_t {
01857 uint8_t response_type;
01858 uint8_t device_id;
01859 uint16_t sequence;
01860 uint8_t request;
01861 xcb_input_key_code_t first_keycode;
01862 uint8_t count;
01863 uint8_t pad0;
01864 xcb_timestamp_t time;
01865 uint8_t pad1[20];
01866 } xcb_input_device_mapping_notify_event_t;
01867
01869 #define XCB_INPUT_CHANGE_DEVICE_NOTIFY 12
01870
01874 typedef struct xcb_input_change_device_notify_event_t {
01875 uint8_t response_type;
01876 uint8_t device_id;
01877 uint16_t sequence;
01878 xcb_timestamp_t time;
01879 uint8_t request;
01880 uint8_t pad0[23];
01881 } xcb_input_change_device_notify_event_t;
01882
01884 #define XCB_INPUT_DEVICE_KEY_STATE_NOTIFY 13
01885
01889 typedef struct xcb_input_device_key_state_notify_event_t {
01890 uint8_t response_type;
01891 uint8_t device_id;
01892 uint16_t sequence;
01893 uint8_t keys[28];
01894 } xcb_input_device_key_state_notify_event_t;
01895
01897 #define XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY 14
01898
01902 typedef struct xcb_input_device_button_state_notify_event_t {
01903 uint8_t response_type;
01904 uint8_t device_id;
01905 uint16_t sequence;
01906 uint8_t buttons[28];
01907 } xcb_input_device_button_state_notify_event_t;
01908
01910 #define XCB_INPUT_DEVICE_PRESENCE_NOTIFY 15
01911
01915 typedef struct xcb_input_device_presence_notify_event_t {
01916 uint8_t response_type;
01917 uint8_t pad0;
01918 uint16_t sequence;
01919 xcb_timestamp_t time;
01920 uint8_t devchange;
01921 uint8_t device_id;
01922 uint16_t control;
01923 uint8_t pad1[20];
01924 } xcb_input_device_presence_notify_event_t;
01925
01935
01936
01937
01938
01939
01940
01941
01942
01943
01944 void
01945 xcb_input_key_code_next (xcb_input_key_code_iterator_t *i );
01946
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966 xcb_generic_iterator_t
01967 xcb_input_key_code_end (xcb_input_key_code_iterator_t i );
01968
01978
01979
01980
01981
01982
01983
01984
01985
01986
01987 void
01988 xcb_input_event_class_next (xcb_input_event_class_iterator_t *i );
01989
02000
02001
02002
02003
02004
02005
02006
02007
02008
02009 xcb_generic_iterator_t
02010 xcb_input_event_class_end (xcb_input_event_class_iterator_t i );
02011
02021
02022
02023
02024
02025
02026
02027
02028
02029
02030
02031
02032 xcb_input_get_extension_version_cookie_t
02033 xcb_input_get_extension_version (xcb_connection_t *c ,
02034 uint16_t name_len ,
02035 const char *name );
02036
02049
02050
02051
02052
02053
02054
02055
02056
02057
02058
02059
02060 xcb_input_get_extension_version_cookie_t
02061 xcb_input_get_extension_version_unchecked (xcb_connection_t *c ,
02062 uint16_t name_len ,
02063 const char *name );
02064
02080
02081
02082
02083
02084
02085
02086
02087
02088
02089
02090
02091 xcb_input_get_extension_version_reply_t *
02092 xcb_input_get_extension_version_reply (xcb_connection_t *c ,
02093 xcb_input_get_extension_version_cookie_t cookie ,
02094 xcb_generic_error_t **e );
02095
02105
02106
02107
02108
02109
02110
02111
02112
02113
02114 xcb_input_list_input_devices_cookie_t
02115 xcb_input_list_input_devices (xcb_connection_t *c );
02116
02129
02130
02131
02132
02133
02134
02135
02136
02137
02138 xcb_input_list_input_devices_cookie_t
02139 xcb_input_list_input_devices_unchecked (xcb_connection_t *c );
02140
02141
02142
02143
02144
02145
02146
02147
02148
02149
02150
02151 xcb_input_device_info_t *
02152 xcb_input_list_input_devices_devices (const xcb_input_list_input_devices_reply_t *R );
02153
02154
02155
02156
02157
02158
02159
02160
02161
02162
02163
02164 int
02165 xcb_input_list_input_devices_devices_length (const xcb_input_list_input_devices_reply_t *R );
02166
02167
02168
02169
02170
02171
02172
02173
02174
02175
02176
02177 xcb_input_device_info_iterator_t
02178 xcb_input_list_input_devices_devices_iterator (const xcb_input_list_input_devices_reply_t *R );
02179
02195
02196
02197
02198
02199
02200
02201
02202
02203
02204
02205
02206 xcb_input_list_input_devices_reply_t *
02207 xcb_input_list_input_devices_reply (xcb_connection_t *c ,
02208 xcb_input_list_input_devices_cookie_t cookie ,
02209 xcb_generic_error_t **e );
02210
02220
02221
02222
02223
02224
02225
02226
02227
02228
02229 void
02230 xcb_input_device_info_next (xcb_input_device_info_iterator_t *i );
02231
02242
02243
02244
02245
02246
02247
02248
02249
02250
02251 xcb_generic_iterator_t
02252 xcb_input_device_info_end (xcb_input_device_info_iterator_t i );
02253
02263
02264
02265
02266
02267
02268
02269
02270
02271
02272 void
02273 xcb_input_input_info_next (xcb_input_input_info_iterator_t *i );
02274
02285
02286
02287
02288
02289
02290
02291
02292
02293
02294 xcb_generic_iterator_t
02295 xcb_input_input_info_end (xcb_input_input_info_iterator_t i );
02296
02306
02307
02308
02309
02310
02311
02312
02313
02314
02315 void
02316 xcb_input_key_info_next (xcb_input_key_info_iterator_t *i );
02317
02328
02329
02330
02331
02332
02333
02334
02335
02336
02337 xcb_generic_iterator_t
02338 xcb_input_key_info_end (xcb_input_key_info_iterator_t i );
02339
02349
02350
02351
02352
02353
02354
02355
02356
02357
02358 void
02359 xcb_input_button_info_next (xcb_input_button_info_iterator_t *i );
02360
02371
02372
02373
02374
02375
02376
02377
02378
02379
02380 xcb_generic_iterator_t
02381 xcb_input_button_info_end (xcb_input_button_info_iterator_t i );
02382
02383
02384
02385
02386
02387
02388
02389
02390
02391
02392
02393 xcb_input_axis_info_t *
02394 xcb_input_valuator_info_axes (const xcb_input_valuator_info_t *R );
02395
02396
02397
02398
02399
02400
02401
02402
02403
02404
02405
02406 int
02407 xcb_input_valuator_info_axes_length (const xcb_input_valuator_info_t *R );
02408
02409
02410
02411
02412
02413
02414
02415
02416
02417
02418
02419 xcb_input_axis_info_iterator_t
02420 xcb_input_valuator_info_axes_iterator (const xcb_input_valuator_info_t *R );
02421
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440 void
02441 xcb_input_valuator_info_next (xcb_input_valuator_info_iterator_t *i );
02442
02453
02454
02455
02456
02457
02458
02459
02460
02461
02462 xcb_generic_iterator_t
02463 xcb_input_valuator_info_end (xcb_input_valuator_info_iterator_t i );
02464
02474
02475
02476
02477
02478
02479
02480
02481
02482
02483 void
02484 xcb_input_axis_info_next (xcb_input_axis_info_iterator_t *i );
02485
02496
02497
02498
02499
02500
02501
02502
02503
02504
02505 xcb_generic_iterator_t
02506 xcb_input_axis_info_end (xcb_input_axis_info_iterator_t i );
02507
02517
02518
02519
02520
02521
02522
02523
02524
02525
02526
02527 xcb_input_open_device_cookie_t
02528 xcb_input_open_device (xcb_connection_t *c ,
02529 uint8_t device_id );
02530
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552
02553 xcb_input_open_device_cookie_t
02554 xcb_input_open_device_unchecked (xcb_connection_t *c ,
02555 uint8_t device_id );
02556
02557
02558
02559
02560
02561
02562
02563
02564
02565
02566
02567 xcb_input_input_class_info_t *
02568 xcb_input_open_device_class_info (const xcb_input_open_device_reply_t *R );
02569
02570
02571
02572
02573
02574
02575
02576
02577
02578
02579
02580 int
02581 xcb_input_open_device_class_info_length (const xcb_input_open_device_reply_t *R );
02582
02583
02584
02585
02586
02587
02588
02589
02590
02591
02592
02593 xcb_input_input_class_info_iterator_t
02594 xcb_input_open_device_class_info_iterator (const xcb_input_open_device_reply_t *R );
02595
02611
02612
02613
02614
02615
02616
02617
02618
02619
02620
02621
02622 xcb_input_open_device_reply_t *
02623 xcb_input_open_device_reply (xcb_connection_t *c ,
02624 xcb_input_open_device_cookie_t cookie ,
02625 xcb_generic_error_t **e );
02626
02636
02637
02638
02639
02640
02641
02642
02643
02644
02645 void
02646 xcb_input_input_class_info_next (xcb_input_input_class_info_iterator_t *i );
02647
02658
02659
02660
02661
02662
02663
02664
02665
02666
02667 xcb_generic_iterator_t
02668 xcb_input_input_class_info_end (xcb_input_input_class_info_iterator_t i );
02669
02682
02683
02684
02685
02686
02687
02688
02689
02690
02691
02692 xcb_void_cookie_t
02693 xcb_input_close_device_checked (xcb_connection_t *c ,
02694 uint8_t device_id );
02695
02705
02706
02707
02708
02709
02710
02711
02712
02713
02714
02715 xcb_void_cookie_t
02716 xcb_input_close_device (xcb_connection_t *c ,
02717 uint8_t device_id );
02718
02728
02729
02730
02731
02732
02733
02734
02735
02736
02737
02738
02739 xcb_input_set_device_mode_cookie_t
02740 xcb_input_set_device_mode (xcb_connection_t *c ,
02741 uint8_t device_id ,
02742 uint8_t mode );
02743
02756
02757
02758
02759
02760
02761
02762
02763
02764
02765
02766
02767 xcb_input_set_device_mode_cookie_t
02768 xcb_input_set_device_mode_unchecked (xcb_connection_t *c ,
02769 uint8_t device_id ,
02770 uint8_t mode );
02771
02787
02788
02789
02790
02791
02792
02793
02794
02795
02796
02797
02798 xcb_input_set_device_mode_reply_t *
02799 xcb_input_set_device_mode_reply (xcb_connection_t *c ,
02800 xcb_input_set_device_mode_cookie_t cookie ,
02801 xcb_generic_error_t **e );
02802
02815
02816
02817
02818
02819
02820
02821
02822
02823
02824
02825
02826
02827 xcb_void_cookie_t
02828 xcb_input_select_extension_event_checked (xcb_connection_t *c ,
02829 xcb_window_t window ,
02830 uint16_t num_classes ,
02831 const xcb_input_event_class_t *classes );
02832
02842
02843
02844
02845
02846
02847
02848
02849
02850
02851
02852
02853
02854 xcb_void_cookie_t
02855 xcb_input_select_extension_event (xcb_connection_t *c ,
02856 xcb_window_t window ,
02857 uint16_t num_classes ,
02858 const xcb_input_event_class_t *classes );
02859
02869
02870
02871
02872
02873
02874
02875
02876
02877
02878
02879 xcb_input_get_selected_extension_events_cookie_t
02880 xcb_input_get_selected_extension_events (xcb_connection_t *c ,
02881 xcb_window_t window );
02882
02895
02896
02897
02898
02899
02900
02901
02902
02903
02904
02905 xcb_input_get_selected_extension_events_cookie_t
02906 xcb_input_get_selected_extension_events_unchecked (xcb_connection_t *c ,
02907 xcb_window_t window );
02908
02909
02910
02911
02912
02913
02914
02915
02916
02917
02918
02919 xcb_input_event_class_t *
02920 xcb_input_get_selected_extension_events_this_classes (const xcb_input_get_selected_extension_events_reply_t *R );
02921
02922
02923
02924
02925
02926
02927
02928
02929
02930
02931
02932 int
02933 xcb_input_get_selected_extension_events_this_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
02934
02935
02936
02937
02938
02939
02940
02941
02942
02943
02944
02945 xcb_input_event_class_iterator_t
02946 xcb_input_get_selected_extension_events_this_classes_iterator (const xcb_input_get_selected_extension_events_reply_t *R );
02947
02948
02949
02950
02951
02952
02953
02954
02955
02956
02957
02958 xcb_input_event_class_t *
02959 xcb_input_get_selected_extension_events_all_classes (const xcb_input_get_selected_extension_events_reply_t *R );
02960
02961
02962
02963
02964
02965
02966
02967
02968
02969
02970
02971 int
02972 xcb_input_get_selected_extension_events_all_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
02973
02974
02975
02976
02977
02978
02979
02980
02981
02982
02983
02984 xcb_input_event_class_iterator_t
02985 xcb_input_get_selected_extension_events_all_classes_iterator (const xcb_input_get_selected_extension_events_reply_t *R );
02986
03002
03003
03004
03005
03006
03007
03008
03009
03010
03011
03012
03013 xcb_input_get_selected_extension_events_reply_t *
03014 xcb_input_get_selected_extension_events_reply (xcb_connection_t *c ,
03015 xcb_input_get_selected_extension_events_cookie_t cookie ,
03016 xcb_generic_error_t **e );
03017
03030
03031
03032
03033
03034
03035
03036
03037
03038
03039
03040
03041
03042
03043 xcb_void_cookie_t
03044 xcb_input_change_device_dont_propagate_list_checked (xcb_connection_t *c ,
03045 xcb_window_t window ,
03046 uint16_t num_classes ,
03047 uint8_t mode ,
03048 const xcb_input_event_class_t *classes );
03049
03059
03060
03061
03062
03063
03064
03065
03066
03067
03068
03069
03070
03071
03072 xcb_void_cookie_t
03073 xcb_input_change_device_dont_propagate_list (xcb_connection_t *c ,
03074 xcb_window_t window ,
03075 uint16_t num_classes ,
03076 uint8_t mode ,
03077 const xcb_input_event_class_t *classes );
03078
03088
03089
03090
03091
03092
03093
03094
03095
03096
03097
03098 xcb_input_get_device_dont_propagate_list_cookie_t
03099 xcb_input_get_device_dont_propagate_list (xcb_connection_t *c ,
03100 xcb_window_t window );
03101
03114
03115
03116
03117
03118
03119
03120
03121
03122
03123
03124 xcb_input_get_device_dont_propagate_list_cookie_t
03125 xcb_input_get_device_dont_propagate_list_unchecked (xcb_connection_t *c ,
03126 xcb_window_t window );
03127
03128
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138 xcb_input_event_class_t *
03139 xcb_input_get_device_dont_propagate_list_classes (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03140
03141
03142
03143
03144
03145
03146
03147
03148
03149
03150
03151 int
03152 xcb_input_get_device_dont_propagate_list_classes_length (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03153
03154
03155
03156
03157
03158
03159
03160
03161
03162
03163
03164 xcb_input_event_class_iterator_t
03165 xcb_input_get_device_dont_propagate_list_classes_iterator (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03166
03182
03183
03184
03185
03186
03187
03188
03189
03190
03191
03192
03193 xcb_input_get_device_dont_propagate_list_reply_t *
03194 xcb_input_get_device_dont_propagate_list_reply (xcb_connection_t *c ,
03195 xcb_input_get_device_dont_propagate_list_cookie_t cookie ,
03196 xcb_generic_error_t **e );
03197
03207
03208
03209
03210
03211
03212
03213
03214
03215
03216
03217
03218
03219 xcb_input_get_device_motion_events_cookie_t
03220 xcb_input_get_device_motion_events (xcb_connection_t *c ,
03221 xcb_timestamp_t start ,
03222 xcb_timestamp_t stop ,
03223 uint8_t device_id );
03224
03237
03238
03239
03240
03241
03242
03243
03244
03245
03246
03247
03248
03249 xcb_input_get_device_motion_events_cookie_t
03250 xcb_input_get_device_motion_events_unchecked (xcb_connection_t *c ,
03251 xcb_timestamp_t start ,
03252 xcb_timestamp_t stop ,
03253 uint8_t device_id );
03254
03270
03271
03272
03273
03274
03275
03276
03277
03278
03279
03280
03281 xcb_input_get_device_motion_events_reply_t *
03282 xcb_input_get_device_motion_events_reply (xcb_connection_t *c ,
03283 xcb_input_get_device_motion_events_cookie_t cookie ,
03284 xcb_generic_error_t **e );
03285
03295
03296
03297
03298
03299
03300
03301
03302
03303
03304 void
03305 xcb_input_device_time_coord_next (xcb_input_device_time_coord_iterator_t *i );
03306
03317
03318
03319
03320
03321
03322
03323
03324
03325
03326 xcb_generic_iterator_t
03327 xcb_input_device_time_coord_end (xcb_input_device_time_coord_iterator_t i );
03328
03338
03339
03340
03341
03342
03343
03344
03345
03346
03347
03348 xcb_input_change_keyboard_device_cookie_t
03349 xcb_input_change_keyboard_device (xcb_connection_t *c ,
03350 uint8_t device_id );
03351
03364
03365
03366
03367
03368
03369
03370
03371
03372
03373
03374 xcb_input_change_keyboard_device_cookie_t
03375 xcb_input_change_keyboard_device_unchecked (xcb_connection_t *c ,
03376 uint8_t device_id );
03377
03393
03394
03395
03396
03397
03398
03399
03400
03401
03402
03403
03404 xcb_input_change_keyboard_device_reply_t *
03405 xcb_input_change_keyboard_device_reply (xcb_connection_t *c ,
03406 xcb_input_change_keyboard_device_cookie_t cookie ,
03407 xcb_generic_error_t **e );
03408
03418
03419
03420
03421
03422
03423
03424
03425
03426
03427
03428
03429
03430 xcb_input_change_pointer_device_cookie_t
03431 xcb_input_change_pointer_device (xcb_connection_t *c ,
03432 uint8_t x_axis ,
03433 uint8_t y_axis ,
03434 uint8_t device_id );
03435
03448
03449
03450
03451
03452
03453
03454
03455
03456
03457
03458
03459
03460 xcb_input_change_pointer_device_cookie_t
03461 xcb_input_change_pointer_device_unchecked (xcb_connection_t *c ,
03462 uint8_t x_axis ,
03463 uint8_t y_axis ,
03464 uint8_t device_id );
03465
03481
03482
03483
03484
03485
03486
03487
03488
03489
03490
03491
03492 xcb_input_change_pointer_device_reply_t *
03493 xcb_input_change_pointer_device_reply (xcb_connection_t *c ,
03494 xcb_input_change_pointer_device_cookie_t cookie ,
03495 xcb_generic_error_t **e );
03496
03506
03507
03508
03509
03510
03511
03512
03513
03514
03515
03516
03517
03518
03519
03520
03521
03522
03523 xcb_input_grab_device_cookie_t
03524 xcb_input_grab_device (xcb_connection_t *c ,
03525 xcb_window_t grab_window ,
03526 xcb_timestamp_t time ,
03527 uint16_t num_classes ,
03528 uint8_t this_device_mode ,
03529 uint8_t other_device_mode ,
03530 uint8_t owner_events ,
03531 uint8_t device_id ,
03532 const xcb_input_event_class_t *classes );
03533
03546
03547
03548
03549
03550
03551
03552
03553
03554
03555
03556
03557
03558
03559
03560
03561
03562
03563 xcb_input_grab_device_cookie_t
03564 xcb_input_grab_device_unchecked (xcb_connection_t *c ,
03565 xcb_window_t grab_window ,
03566 xcb_timestamp_t time ,
03567 uint16_t num_classes ,
03568 uint8_t this_device_mode ,
03569 uint8_t other_device_mode ,
03570 uint8_t owner_events ,
03571 uint8_t device_id ,
03572 const xcb_input_event_class_t *classes );
03573
03589
03590
03591
03592
03593
03594
03595
03596
03597
03598
03599
03600 xcb_input_grab_device_reply_t *
03601 xcb_input_grab_device_reply (xcb_connection_t *c ,
03602 xcb_input_grab_device_cookie_t cookie ,
03603 xcb_generic_error_t **e );
03604
03617
03618
03619
03620
03621
03622
03623
03624
03625
03626
03627
03628 xcb_void_cookie_t
03629 xcb_input_ungrab_device_checked (xcb_connection_t *c ,
03630 xcb_timestamp_t time ,
03631 uint8_t device_id );
03632
03642
03643
03644
03645
03646
03647
03648
03649
03650
03651
03652
03653 xcb_void_cookie_t
03654 xcb_input_ungrab_device (xcb_connection_t *c ,
03655 xcb_timestamp_t time ,
03656 uint8_t device_id );
03657
03670
03671
03672
03673
03674
03675
03676
03677
03678
03679
03680
03681
03682
03683
03684
03685
03686
03687
03688
03689 xcb_void_cookie_t
03690 xcb_input_grab_device_key_checked (xcb_connection_t *c ,
03691 xcb_window_t grab_window ,
03692 uint16_t num_classes ,
03693 uint16_t modifiers ,
03694 uint8_t modifier_device ,
03695 uint8_t grabbed_device ,
03696 uint8_t key ,
03697 uint8_t this_device_mode ,
03698 uint8_t other_device_mode ,
03699 uint8_t owner_events ,
03700 const xcb_input_event_class_t *classes );
03701
03711
03712
03713
03714
03715
03716
03717
03718
03719
03720
03721
03722
03723
03724
03725
03726
03727
03728
03729
03730 xcb_void_cookie_t
03731 xcb_input_grab_device_key (xcb_connection_t *c ,
03732 xcb_window_t grab_window ,
03733 uint16_t num_classes ,
03734 uint16_t modifiers ,
03735 uint8_t modifier_device ,
03736 uint8_t grabbed_device ,
03737 uint8_t key ,
03738 uint8_t this_device_mode ,
03739 uint8_t other_device_mode ,
03740 uint8_t owner_events ,
03741 const xcb_input_event_class_t *classes );
03742
03755
03756
03757
03758
03759
03760
03761
03762
03763
03764
03765
03766
03767
03768
03769 xcb_void_cookie_t
03770 xcb_input_ungrab_device_key_checked (xcb_connection_t *c ,
03771 xcb_window_t grabWindow ,
03772 uint16_t modifiers ,
03773 uint8_t modifier_device ,
03774 uint8_t key ,
03775 uint8_t grabbed_device );
03776
03786
03787
03788
03789
03790
03791
03792
03793
03794
03795
03796
03797
03798
03799
03800 xcb_void_cookie_t
03801 xcb_input_ungrab_device_key (xcb_connection_t *c ,
03802 xcb_window_t grabWindow ,
03803 uint16_t modifiers ,
03804 uint8_t modifier_device ,
03805 uint8_t key ,
03806 uint8_t grabbed_device );
03807
03820
03821
03822
03823
03824
03825
03826
03827
03828
03829
03830
03831
03832
03833
03834
03835
03836
03837
03838
03839 xcb_void_cookie_t
03840 xcb_input_grab_device_button_checked (xcb_connection_t *c ,
03841 xcb_window_t grab_window ,
03842 uint8_t grabbed_device ,
03843 uint8_t modifier_device ,
03844 uint16_t num_classes ,
03845 uint16_t modifiers ,
03846 uint8_t this_device_mode ,
03847 uint8_t other_device_mode ,
03848 uint8_t button ,
03849 uint8_t owner_events ,
03850 const xcb_input_event_class_t *classes );
03851
03861
03862
03863
03864
03865
03866
03867
03868
03869
03870
03871
03872
03873
03874
03875
03876
03877
03878
03879
03880 xcb_void_cookie_t
03881 xcb_input_grab_device_button (xcb_connection_t *c ,
03882 xcb_window_t grab_window ,
03883 uint8_t grabbed_device ,
03884 uint8_t modifier_device ,
03885 uint16_t num_classes ,
03886 uint16_t modifiers ,
03887 uint8_t this_device_mode ,
03888 uint8_t other_device_mode ,
03889 uint8_t button ,
03890 uint8_t owner_events ,
03891 const xcb_input_event_class_t *classes );
03892
03905
03906
03907
03908
03909
03910
03911
03912
03913
03914
03915
03916
03917
03918
03919 xcb_void_cookie_t
03920 xcb_input_ungrab_device_button_checked (xcb_connection_t *c ,
03921 xcb_window_t grab_window ,
03922 uint16_t modifiers ,
03923 uint8_t modifier_device ,
03924 uint8_t button ,
03925 uint8_t grabbed_device );
03926
03936
03937
03938
03939
03940
03941
03942
03943
03944
03945
03946
03947
03948
03949
03950 xcb_void_cookie_t
03951 xcb_input_ungrab_device_button (xcb_connection_t *c ,
03952 xcb_window_t grab_window ,
03953 uint16_t modifiers ,
03954 uint8_t modifier_device ,
03955 uint8_t button ,
03956 uint8_t grabbed_device );
03957
03970
03971
03972
03973
03974
03975
03976
03977
03978
03979
03980
03981
03982 xcb_void_cookie_t
03983 xcb_input_allow_device_events_checked (xcb_connection_t *c ,
03984 xcb_timestamp_t time ,
03985 uint8_t mode ,
03986 uint8_t device_id );
03987
03997
03998
03999
04000
04001
04002
04003
04004
04005
04006
04007
04008
04009 xcb_void_cookie_t
04010 xcb_input_allow_device_events (xcb_connection_t *c ,
04011 xcb_timestamp_t time ,
04012 uint8_t mode ,
04013 uint8_t device_id );
04014
04024
04025
04026
04027
04028
04029
04030
04031
04032
04033
04034 xcb_input_get_device_focus_cookie_t
04035 xcb_input_get_device_focus (xcb_connection_t *c ,
04036 uint8_t device_id );
04037
04050
04051
04052
04053
04054
04055
04056
04057
04058
04059
04060 xcb_input_get_device_focus_cookie_t
04061 xcb_input_get_device_focus_unchecked (xcb_connection_t *c ,
04062 uint8_t device_id );
04063
04079
04080
04081
04082
04083
04084
04085
04086
04087
04088
04089
04090 xcb_input_get_device_focus_reply_t *
04091 xcb_input_get_device_focus_reply (xcb_connection_t *c ,
04092 xcb_input_get_device_focus_cookie_t cookie ,
04093 xcb_generic_error_t **e );
04094
04107
04108
04109
04110
04111
04112
04113
04114
04115
04116
04117
04118
04119
04120 xcb_void_cookie_t
04121 xcb_input_set_device_focus_checked (xcb_connection_t *c ,
04122 xcb_window_t focus ,
04123 xcb_timestamp_t time ,
04124 uint8_t revert_to ,
04125 uint8_t device_id );
04126
04136
04137
04138
04139
04140
04141
04142
04143
04144
04145
04146
04147
04148
04149 xcb_void_cookie_t
04150 xcb_input_set_device_focus (xcb_connection_t *c ,
04151 xcb_window_t focus ,
04152 xcb_timestamp_t time ,
04153 uint8_t revert_to ,
04154 uint8_t device_id );
04155
04165
04166
04167
04168
04169
04170
04171
04172
04173
04174
04175 xcb_input_get_feedback_control_cookie_t
04176 xcb_input_get_feedback_control (xcb_connection_t *c ,
04177 uint8_t device_id );
04178
04191
04192
04193
04194
04195
04196
04197
04198
04199
04200
04201 xcb_input_get_feedback_control_cookie_t
04202 xcb_input_get_feedback_control_unchecked (xcb_connection_t *c ,
04203 uint8_t device_id );
04204
04220
04221
04222
04223
04224
04225
04226
04227
04228
04229
04230
04231 xcb_input_get_feedback_control_reply_t *
04232 xcb_input_get_feedback_control_reply (xcb_connection_t *c ,
04233 xcb_input_get_feedback_control_cookie_t cookie ,
04234 xcb_generic_error_t **e );
04235
04245
04246
04247
04248
04249
04250
04251
04252
04253
04254 void
04255 xcb_input_feedback_state_next (xcb_input_feedback_state_iterator_t *i );
04256
04267
04268
04269
04270
04271
04272
04273
04274
04275
04276 xcb_generic_iterator_t
04277 xcb_input_feedback_state_end (xcb_input_feedback_state_iterator_t i );
04278
04288
04289
04290
04291
04292
04293
04294
04295
04296
04297 void
04298 xcb_input_kbd_feedback_state_next (xcb_input_kbd_feedback_state_iterator_t *i );
04299
04310
04311
04312
04313
04314
04315
04316
04317
04318
04319 xcb_generic_iterator_t
04320 xcb_input_kbd_feedback_state_end (xcb_input_kbd_feedback_state_iterator_t i );
04321
04331
04332
04333
04334
04335
04336
04337
04338
04339
04340 void
04341 xcb_input_ptr_feedback_state_next (xcb_input_ptr_feedback_state_iterator_t *i );
04342
04353
04354
04355
04356
04357
04358
04359
04360
04361
04362 xcb_generic_iterator_t
04363 xcb_input_ptr_feedback_state_end (xcb_input_ptr_feedback_state_iterator_t i );
04364
04374
04375
04376
04377
04378
04379
04380
04381
04382
04383 void
04384 xcb_input_integer_feedback_state_next (xcb_input_integer_feedback_state_iterator_t *i );
04385
04396
04397
04398
04399
04400
04401
04402
04403
04404
04405 xcb_generic_iterator_t
04406 xcb_input_integer_feedback_state_end (xcb_input_integer_feedback_state_iterator_t i );
04407
04408
04409
04410
04411
04412
04413
04414
04415
04416
04417
04418 xcb_keysym_t *
04419 xcb_input_string_feedback_state_keysyms (const xcb_input_string_feedback_state_t *R );
04420
04421
04422
04423
04424
04425
04426
04427
04428
04429
04430
04431 int
04432 xcb_input_string_feedback_state_keysyms_length (const xcb_input_string_feedback_state_t *R );
04433
04434
04435
04436
04437
04438
04439
04440
04441
04442
04443
04444 xcb_keysym_iterator_t
04445 xcb_input_string_feedback_state_keysyms_iterator (const xcb_input_string_feedback_state_t *R );
04446
04456
04457
04458
04459
04460
04461
04462
04463
04464
04465 void
04466 xcb_input_string_feedback_state_next (xcb_input_string_feedback_state_iterator_t *i );
04467
04478
04479
04480
04481
04482
04483
04484
04485
04486
04487 xcb_generic_iterator_t
04488 xcb_input_string_feedback_state_end (xcb_input_string_feedback_state_iterator_t i );
04489
04499
04500
04501
04502
04503
04504
04505
04506
04507
04508 void
04509 xcb_input_bell_feedback_state_next (xcb_input_bell_feedback_state_iterator_t *i );
04510
04521
04522
04523
04524
04525
04526
04527
04528
04529
04530 xcb_generic_iterator_t
04531 xcb_input_bell_feedback_state_end (xcb_input_bell_feedback_state_iterator_t i );
04532
04542
04543
04544
04545
04546
04547
04548
04549
04550
04551 void
04552 xcb_input_led_feedback_state_next (xcb_input_led_feedback_state_iterator_t *i );
04553
04564
04565
04566
04567
04568
04569
04570
04571
04572
04573 xcb_generic_iterator_t
04574 xcb_input_led_feedback_state_end (xcb_input_led_feedback_state_iterator_t i );
04575
04585
04586
04587
04588
04589
04590
04591
04592
04593
04594 void
04595 xcb_input_feedback_ctl_next (xcb_input_feedback_ctl_iterator_t *i );
04596
04607
04608
04609
04610
04611
04612
04613
04614
04615
04616 xcb_generic_iterator_t
04617 xcb_input_feedback_ctl_end (xcb_input_feedback_ctl_iterator_t i );
04618
04628
04629
04630
04631
04632
04633
04634
04635
04636
04637 void
04638 xcb_input_kbd_feedback_ctl_next (xcb_input_kbd_feedback_ctl_iterator_t *i );
04639
04650
04651
04652
04653
04654
04655
04656
04657
04658
04659 xcb_generic_iterator_t
04660 xcb_input_kbd_feedback_ctl_end (xcb_input_kbd_feedback_ctl_iterator_t i );
04661
04671
04672
04673
04674
04675
04676
04677
04678
04679
04680 void
04681 xcb_input_ptr_feedback_ctl_next (xcb_input_ptr_feedback_ctl_iterator_t *i );
04682
04693
04694
04695
04696
04697
04698
04699
04700
04701
04702 xcb_generic_iterator_t
04703 xcb_input_ptr_feedback_ctl_end (xcb_input_ptr_feedback_ctl_iterator_t i );
04704
04714
04715
04716
04717
04718
04719
04720
04721
04722
04723 void
04724 xcb_input_integer_feedback_ctl_next (xcb_input_integer_feedback_ctl_iterator_t *i );
04725
04736
04737
04738
04739
04740
04741
04742
04743
04744
04745 xcb_generic_iterator_t
04746 xcb_input_integer_feedback_ctl_end (xcb_input_integer_feedback_ctl_iterator_t i );
04747
04748
04749
04750
04751
04752
04753
04754
04755
04756
04757
04758 xcb_keysym_t *
04759 xcb_input_string_feedback_ctl_keysyms (const xcb_input_string_feedback_ctl_t *R );
04760
04761
04762
04763
04764
04765
04766
04767
04768
04769
04770
04771 int
04772 xcb_input_string_feedback_ctl_keysyms_length (const xcb_input_string_feedback_ctl_t *R );
04773
04774
04775
04776
04777
04778
04779
04780
04781
04782
04783
04784 xcb_keysym_iterator_t
04785 xcb_input_string_feedback_ctl_keysyms_iterator (const xcb_input_string_feedback_ctl_t *R );
04786
04796
04797
04798
04799
04800
04801
04802
04803
04804
04805 void
04806 xcb_input_string_feedback_ctl_next (xcb_input_string_feedback_ctl_iterator_t *i );
04807
04818
04819
04820
04821
04822
04823
04824
04825
04826
04827 xcb_generic_iterator_t
04828 xcb_input_string_feedback_ctl_end (xcb_input_string_feedback_ctl_iterator_t i );
04829
04839
04840
04841
04842
04843
04844
04845
04846
04847
04848 void
04849 xcb_input_bell_feedback_ctl_next (xcb_input_bell_feedback_ctl_iterator_t *i );
04850
04861
04862
04863
04864
04865
04866
04867
04868
04869
04870 xcb_generic_iterator_t
04871 xcb_input_bell_feedback_ctl_end (xcb_input_bell_feedback_ctl_iterator_t i );
04872
04882
04883
04884
04885
04886
04887
04888
04889
04890
04891 void
04892 xcb_input_led_feedback_ctl_next (xcb_input_led_feedback_ctl_iterator_t *i );
04893
04904
04905
04906
04907
04908
04909
04910
04911
04912
04913 xcb_generic_iterator_t
04914 xcb_input_led_feedback_ctl_end (xcb_input_led_feedback_ctl_iterator_t i );
04915
04925
04926
04927
04928
04929
04930
04931
04932
04933
04934
04935
04936
04937 xcb_input_get_device_key_mapping_cookie_t
04938 xcb_input_get_device_key_mapping (xcb_connection_t *c ,
04939 uint8_t device_id ,
04940 xcb_input_key_code_t first_keycode ,
04941 uint8_t count );
04942
04955
04956
04957
04958
04959
04960
04961
04962
04963
04964
04965
04966
04967 xcb_input_get_device_key_mapping_cookie_t
04968 xcb_input_get_device_key_mapping_unchecked (xcb_connection_t *c ,
04969 uint8_t device_id ,
04970 xcb_input_key_code_t first_keycode ,
04971 uint8_t count );
04972
04973
04974
04975
04976
04977
04978
04979
04980
04981
04982
04983 xcb_keysym_t *
04984 xcb_input_get_device_key_mapping_keysyms (const xcb_input_get_device_key_mapping_reply_t *R );
04985
04986
04987
04988
04989
04990
04991
04992
04993
04994
04995
04996 int
04997 xcb_input_get_device_key_mapping_keysyms_length (const xcb_input_get_device_key_mapping_reply_t *R );
04998
04999
05000
05001
05002
05003
05004
05005
05006
05007
05008
05009 xcb_keysym_iterator_t
05010 xcb_input_get_device_key_mapping_keysyms_iterator (const xcb_input_get_device_key_mapping_reply_t *R );
05011
05027
05028
05029
05030
05031
05032
05033
05034
05035
05036
05037
05038 xcb_input_get_device_key_mapping_reply_t *
05039 xcb_input_get_device_key_mapping_reply (xcb_connection_t *c ,
05040 xcb_input_get_device_key_mapping_cookie_t cookie ,
05041 xcb_generic_error_t **e );
05042
05055
05056
05057
05058
05059
05060
05061
05062
05063
05064
05065
05066
05067
05068
05069 xcb_void_cookie_t
05070 xcb_input_change_device_key_mapping_checked (xcb_connection_t *c ,
05071 uint8_t device_id ,
05072 xcb_input_key_code_t first_keycode ,
05073 uint8_t keysyms_per_keycode ,
05074 uint8_t keycode_count ,
05075 const xcb_keysym_t *keysyms );
05076
05086
05087
05088
05089
05090
05091
05092
05093
05094
05095
05096
05097
05098
05099
05100 xcb_void_cookie_t
05101 xcb_input_change_device_key_mapping (xcb_connection_t *c ,
05102 uint8_t device_id ,
05103 xcb_input_key_code_t first_keycode ,
05104 uint8_t keysyms_per_keycode ,
05105 uint8_t keycode_count ,
05106 const xcb_keysym_t *keysyms );
05107
05117
05118
05119
05120
05121
05122
05123
05124
05125
05126
05127 xcb_input_get_device_modifier_mapping_cookie_t
05128 xcb_input_get_device_modifier_mapping (xcb_connection_t *c ,
05129 uint8_t device_id );
05130
05143
05144
05145
05146
05147
05148
05149
05150
05151
05152
05153 xcb_input_get_device_modifier_mapping_cookie_t
05154 xcb_input_get_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05155 uint8_t device_id );
05156
05157
05158
05159
05160
05161
05162
05163
05164
05165
05166
05167 uint8_t *
05168 xcb_input_get_device_modifier_mapping_keymaps (const xcb_input_get_device_modifier_mapping_reply_t *R );
05169
05170
05171
05172
05173
05174
05175
05176
05177
05178
05179
05180 int
05181 xcb_input_get_device_modifier_mapping_keymaps_length (const xcb_input_get_device_modifier_mapping_reply_t *R );
05182
05183
05184
05185
05186
05187
05188
05189
05190
05191
05192
05193 xcb_generic_iterator_t
05194 xcb_input_get_device_modifier_mapping_keymaps_end (const xcb_input_get_device_modifier_mapping_reply_t *R );
05195
05211
05212
05213
05214
05215
05216
05217
05218
05219
05220
05221
05222 xcb_input_get_device_modifier_mapping_reply_t *
05223 xcb_input_get_device_modifier_mapping_reply (xcb_connection_t *c ,
05224 xcb_input_get_device_modifier_mapping_cookie_t cookie ,
05225 xcb_generic_error_t **e );
05226
05236
05237
05238
05239
05240
05241
05242
05243
05244
05245
05246
05247
05248 xcb_input_set_device_modifier_mapping_cookie_t
05249 xcb_input_set_device_modifier_mapping (xcb_connection_t *c ,
05250 uint8_t device_id ,
05251 uint8_t keycodes_per_modifier ,
05252 const uint8_t *keymaps );
05253
05266
05267
05268
05269
05270
05271
05272
05273
05274
05275
05276
05277
05278 xcb_input_set_device_modifier_mapping_cookie_t
05279 xcb_input_set_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05280 uint8_t device_id ,
05281 uint8_t keycodes_per_modifier ,
05282 const uint8_t *keymaps );
05283
05299
05300
05301
05302
05303
05304
05305
05306
05307
05308
05309
05310 xcb_input_set_device_modifier_mapping_reply_t *
05311 xcb_input_set_device_modifier_mapping_reply (xcb_connection_t *c ,
05312 xcb_input_set_device_modifier_mapping_cookie_t cookie ,
05313 xcb_generic_error_t **e );
05314
05324
05325
05326
05327
05328
05329
05330
05331
05332
05333
05334 xcb_input_get_device_button_mapping_cookie_t
05335 xcb_input_get_device_button_mapping (xcb_connection_t *c ,
05336 uint8_t device_id );
05337
05350
05351
05352
05353
05354
05355
05356
05357
05358
05359
05360 xcb_input_get_device_button_mapping_cookie_t
05361 xcb_input_get_device_button_mapping_unchecked (xcb_connection_t *c ,
05362 uint8_t device_id );
05363
05364
05365
05366
05367
05368
05369
05370
05371
05372
05373
05374 uint8_t *
05375 xcb_input_get_device_button_mapping_map (const xcb_input_get_device_button_mapping_reply_t *R );
05376
05377
05378
05379
05380
05381
05382
05383
05384
05385
05386
05387 int
05388 xcb_input_get_device_button_mapping_map_length (const xcb_input_get_device_button_mapping_reply_t *R );
05389
05390
05391
05392
05393
05394
05395
05396
05397
05398
05399
05400 xcb_generic_iterator_t
05401 xcb_input_get_device_button_mapping_map_end (const xcb_input_get_device_button_mapping_reply_t *R );
05402
05418
05419
05420
05421
05422
05423
05424
05425
05426
05427
05428
05429 xcb_input_get_device_button_mapping_reply_t *
05430 xcb_input_get_device_button_mapping_reply (xcb_connection_t *c ,
05431 xcb_input_get_device_button_mapping_cookie_t cookie ,
05432 xcb_generic_error_t **e );
05433
05443
05444
05445
05446
05447
05448
05449
05450
05451
05452
05453
05454
05455 xcb_input_set_device_button_mapping_cookie_t
05456 xcb_input_set_device_button_mapping (xcb_connection_t *c ,
05457 uint8_t device_id ,
05458 uint8_t map_size ,
05459 const uint8_t *map );
05460
05473
05474
05475
05476
05477
05478
05479
05480
05481
05482
05483
05484
05485 xcb_input_set_device_button_mapping_cookie_t
05486 xcb_input_set_device_button_mapping_unchecked (xcb_connection_t *c ,
05487 uint8_t device_id ,
05488 uint8_t map_size ,
05489 const uint8_t *map );
05490
05506
05507
05508
05509
05510
05511
05512
05513
05514
05515
05516
05517 xcb_input_set_device_button_mapping_reply_t *
05518 xcb_input_set_device_button_mapping_reply (xcb_connection_t *c ,
05519 xcb_input_set_device_button_mapping_cookie_t cookie ,
05520 xcb_generic_error_t **e );
05521
05531
05532
05533
05534
05535
05536
05537
05538
05539
05540
05541 xcb_input_query_device_state_cookie_t
05542 xcb_input_query_device_state (xcb_connection_t *c ,
05543 uint8_t device_id );
05544
05557
05558
05559
05560
05561
05562
05563
05564
05565
05566
05567 xcb_input_query_device_state_cookie_t
05568 xcb_input_query_device_state_unchecked (xcb_connection_t *c ,
05569 uint8_t device_id );
05570
05586
05587
05588
05589
05590
05591
05592
05593
05594
05595
05596
05597 xcb_input_query_device_state_reply_t *
05598 xcb_input_query_device_state_reply (xcb_connection_t *c ,
05599 xcb_input_query_device_state_cookie_t cookie ,
05600 xcb_generic_error_t **e );
05601
05611
05612
05613
05614
05615
05616
05617
05618
05619
05620 void
05621 xcb_input_input_state_next (xcb_input_input_state_iterator_t *i );
05622
05633
05634
05635
05636
05637
05638
05639
05640
05641
05642 xcb_generic_iterator_t
05643 xcb_input_input_state_end (xcb_input_input_state_iterator_t i );
05644
05654
05655
05656
05657
05658
05659
05660
05661
05662
05663 void
05664 xcb_input_key_state_next (xcb_input_key_state_iterator_t *i );
05665
05676
05677
05678
05679
05680
05681
05682
05683
05684
05685 xcb_generic_iterator_t
05686 xcb_input_key_state_end (xcb_input_key_state_iterator_t i );
05687
05697
05698
05699
05700
05701
05702
05703
05704
05705
05706 void
05707 xcb_input_button_state_next (xcb_input_button_state_iterator_t *i );
05708
05719
05720
05721
05722
05723
05724
05725
05726
05727
05728 xcb_generic_iterator_t
05729 xcb_input_button_state_end (xcb_input_button_state_iterator_t i );
05730
05731
05732
05733
05734
05735
05736
05737
05738
05739
05740
05741 uint32_t *
05742 xcb_input_valuator_state_valuators (const xcb_input_valuator_state_t *R );
05743
05744
05745
05746
05747
05748
05749
05750
05751
05752
05753
05754 int
05755 xcb_input_valuator_state_valuators_length (const xcb_input_valuator_state_t *R );
05756
05757
05758
05759
05760
05761
05762
05763
05764
05765
05766
05767 xcb_generic_iterator_t
05768 xcb_input_valuator_state_valuators_end (const xcb_input_valuator_state_t *R );
05769
05779
05780
05781
05782
05783
05784
05785
05786
05787
05788 void
05789 xcb_input_valuator_state_next (xcb_input_valuator_state_iterator_t *i );
05790
05801
05802
05803
05804
05805
05806
05807
05808
05809
05810 xcb_generic_iterator_t
05811 xcb_input_valuator_state_end (xcb_input_valuator_state_iterator_t i );
05812
05825
05826
05827
05828
05829
05830
05831
05832
05833
05834
05835
05836
05837
05838
05839
05840
05841 xcb_void_cookie_t
05842 xcb_input_send_extension_event_checked (xcb_connection_t *c ,
05843 xcb_window_t destination ,
05844 uint8_t device_id ,
05845 uint8_t propagate ,
05846 uint16_t num_classes ,
05847 uint8_t num_events ,
05848 const char *events ,
05849 const xcb_input_event_class_t *classes );
05850
05860
05861
05862
05863
05864
05865
05866
05867
05868
05869
05870
05871
05872
05873
05874
05875
05876 xcb_void_cookie_t
05877 xcb_input_send_extension_event (xcb_connection_t *c ,
05878 xcb_window_t destination ,
05879 uint8_t device_id ,
05880 uint8_t propagate ,
05881 uint16_t num_classes ,
05882 uint8_t num_events ,
05883 const char *events ,
05884 const xcb_input_event_class_t *classes );
05885
05898
05899
05900
05901
05902
05903
05904
05905
05906
05907
05908
05909
05910
05911 xcb_void_cookie_t
05912 xcb_input_device_bell_checked (xcb_connection_t *c ,
05913 uint8_t device_id ,
05914 uint8_t feedback_id ,
05915 uint8_t feedback_class ,
05916 int8_t percent );
05917
05927
05928
05929
05930
05931
05932
05933
05934
05935
05936
05937
05938
05939
05940 xcb_void_cookie_t
05941 xcb_input_device_bell (xcb_connection_t *c ,
05942 uint8_t device_id ,
05943 uint8_t feedback_id ,
05944 uint8_t feedback_class ,
05945 int8_t percent );
05946
05956
05957
05958
05959
05960
05961
05962
05963
05964
05965
05966
05967
05968
05969 xcb_input_set_device_valuators_cookie_t
05970 xcb_input_set_device_valuators (xcb_connection_t *c ,
05971 uint8_t device_id ,
05972 uint8_t first_valuator ,
05973 uint8_t num_valuators ,
05974 const int32_t *valuators );
05975
05988
05989
05990
05991
05992
05993
05994
05995
05996
05997
05998
05999
06000
06001 xcb_input_set_device_valuators_cookie_t
06002 xcb_input_set_device_valuators_unchecked (xcb_connection_t *c ,
06003 uint8_t device_id ,
06004 uint8_t first_valuator ,
06005 uint8_t num_valuators ,
06006 const int32_t *valuators );
06007
06023
06024
06025
06026
06027
06028
06029
06030
06031
06032
06033
06034 xcb_input_set_device_valuators_reply_t *
06035 xcb_input_set_device_valuators_reply (xcb_connection_t *c ,
06036 xcb_input_set_device_valuators_cookie_t cookie ,
06037 xcb_generic_error_t **e );
06038
06048
06049
06050
06051
06052
06053
06054
06055
06056
06057
06058
06059 xcb_input_get_device_control_cookie_t
06060 xcb_input_get_device_control (xcb_connection_t *c ,
06061 uint16_t control_id ,
06062 uint8_t device_id );
06063
06076
06077
06078
06079
06080
06081
06082
06083
06084
06085
06086
06087 xcb_input_get_device_control_cookie_t
06088 xcb_input_get_device_control_unchecked (xcb_connection_t *c ,
06089 uint16_t control_id ,
06090 uint8_t device_id );
06091
06107
06108
06109
06110
06111
06112
06113
06114
06115
06116
06117
06118 xcb_input_get_device_control_reply_t *
06119 xcb_input_get_device_control_reply (xcb_connection_t *c ,
06120 xcb_input_get_device_control_cookie_t cookie ,
06121 xcb_generic_error_t **e );
06122
06132
06133
06134
06135
06136
06137
06138
06139
06140
06141 void
06142 xcb_input_device_state_next (xcb_input_device_state_iterator_t *i );
06143
06154
06155
06156
06157
06158
06159
06160
06161
06162
06163 xcb_generic_iterator_t
06164 xcb_input_device_state_end (xcb_input_device_state_iterator_t i );
06165
06166
06167
06168
06169
06170
06171
06172
06173
06174
06175
06176 uint32_t *
06177 xcb_input_device_resolution_state_resolution_values (const xcb_input_device_resolution_state_t *R );
06178
06179
06180
06181
06182
06183
06184
06185
06186
06187
06188
06189 int
06190 xcb_input_device_resolution_state_resolution_values_length (const xcb_input_device_resolution_state_t *R );
06191
06192
06193
06194
06195
06196
06197
06198
06199
06200
06201
06202 xcb_generic_iterator_t
06203 xcb_input_device_resolution_state_resolution_values_end (const xcb_input_device_resolution_state_t *R );
06204
06205
06206
06207
06208
06209
06210
06211
06212
06213
06214
06215 uint32_t *
06216 xcb_input_device_resolution_state_resolution_min (const xcb_input_device_resolution_state_t *R );
06217
06218
06219
06220
06221
06222
06223
06224
06225
06226
06227
06228 int
06229 xcb_input_device_resolution_state_resolution_min_length (const xcb_input_device_resolution_state_t *R );
06230
06231
06232
06233
06234
06235
06236
06237
06238
06239
06240
06241 xcb_generic_iterator_t
06242 xcb_input_device_resolution_state_resolution_min_end (const xcb_input_device_resolution_state_t *R );
06243
06244
06245
06246
06247
06248
06249
06250
06251
06252
06253
06254 uint32_t *
06255 xcb_input_device_resolution_state_resolution_max (const xcb_input_device_resolution_state_t *R );
06256
06257
06258
06259
06260
06261
06262
06263
06264
06265
06266
06267 int
06268 xcb_input_device_resolution_state_resolution_max_length (const xcb_input_device_resolution_state_t *R );
06269
06270
06271
06272
06273
06274
06275
06276
06277
06278
06279
06280 xcb_generic_iterator_t
06281 xcb_input_device_resolution_state_resolution_max_end (const xcb_input_device_resolution_state_t *R );
06282
06292
06293
06294
06295
06296
06297
06298
06299
06300
06301 void
06302 xcb_input_device_resolution_state_next (xcb_input_device_resolution_state_iterator_t *i );
06303
06314
06315
06316
06317
06318
06319
06320
06321
06322
06323 xcb_generic_iterator_t
06324 xcb_input_device_resolution_state_end (xcb_input_device_resolution_state_iterator_t i );
06325
06335
06336
06337
06338
06339
06340
06341
06342
06343
06344 void
06345 xcb_input_device_abs_calib_state_next (xcb_input_device_abs_calib_state_iterator_t *i );
06346
06357
06358
06359
06360
06361
06362
06363
06364
06365
06366 xcb_generic_iterator_t
06367 xcb_input_device_abs_calib_state_end (xcb_input_device_abs_calib_state_iterator_t i );
06368
06378
06379
06380
06381
06382
06383
06384
06385
06386
06387 void
06388 xcb_input_device_abs_area_state_next (xcb_input_device_abs_area_state_iterator_t *i );
06389
06400
06401
06402
06403
06404
06405
06406
06407
06408
06409 xcb_generic_iterator_t
06410 xcb_input_device_abs_area_state_end (xcb_input_device_abs_area_state_iterator_t i );
06411
06421
06422
06423
06424
06425
06426
06427
06428
06429
06430 void
06431 xcb_input_device_core_state_next (xcb_input_device_core_state_iterator_t *i );
06432
06443
06444
06445
06446
06447
06448
06449
06450
06451
06452 xcb_generic_iterator_t
06453 xcb_input_device_core_state_end (xcb_input_device_core_state_iterator_t i );
06454
06464
06465
06466
06467
06468
06469
06470
06471
06472
06473 void
06474 xcb_input_device_enable_state_next (xcb_input_device_enable_state_iterator_t *i );
06475
06486
06487
06488
06489
06490
06491
06492
06493
06494
06495 xcb_generic_iterator_t
06496 xcb_input_device_enable_state_end (xcb_input_device_enable_state_iterator_t i );
06497
06507
06508
06509
06510
06511
06512
06513
06514
06515
06516 void
06517 xcb_input_device_ctl_next (xcb_input_device_ctl_iterator_t *i );
06518
06529
06530
06531
06532
06533
06534
06535
06536
06537
06538 xcb_generic_iterator_t
06539 xcb_input_device_ctl_end (xcb_input_device_ctl_iterator_t i );
06540
06541
06542
06543
06544
06545
06546
06547
06548
06549
06550
06551 uint32_t *
06552 xcb_input_device_resolution_ctl_resolution_values (const xcb_input_device_resolution_ctl_t *R );
06553
06554
06555
06556
06557
06558
06559
06560
06561
06562
06563
06564 int
06565 xcb_input_device_resolution_ctl_resolution_values_length (const xcb_input_device_resolution_ctl_t *R );
06566
06567
06568
06569
06570
06571
06572
06573
06574
06575
06576
06577 xcb_generic_iterator_t
06578 xcb_input_device_resolution_ctl_resolution_values_end (const xcb_input_device_resolution_ctl_t *R );
06579
06589
06590
06591
06592
06593
06594
06595
06596
06597
06598 void
06599 xcb_input_device_resolution_ctl_next (xcb_input_device_resolution_ctl_iterator_t *i );
06600
06611
06612
06613
06614
06615
06616
06617
06618
06619
06620 xcb_generic_iterator_t
06621 xcb_input_device_resolution_ctl_end (xcb_input_device_resolution_ctl_iterator_t i );
06622
06632
06633
06634
06635
06636
06637
06638
06639
06640
06641 void
06642 xcb_input_device_abs_calib_ctl_next (xcb_input_device_abs_calib_ctl_iterator_t *i );
06643
06654
06655
06656
06657
06658
06659
06660
06661
06662
06663 xcb_generic_iterator_t
06664 xcb_input_device_abs_calib_ctl_end (xcb_input_device_abs_calib_ctl_iterator_t i );
06665
06675
06676
06677
06678
06679
06680
06681
06682
06683
06684 void
06685 xcb_input_device_abs_area_ctrl_next (xcb_input_device_abs_area_ctrl_iterator_t *i );
06686
06697
06698
06699
06700
06701
06702
06703
06704
06705
06706 xcb_generic_iterator_t
06707 xcb_input_device_abs_area_ctrl_end (xcb_input_device_abs_area_ctrl_iterator_t i );
06708
06718
06719
06720
06721
06722
06723
06724
06725
06726
06727 void
06728 xcb_input_device_core_ctrl_next (xcb_input_device_core_ctrl_iterator_t *i );
06729
06740
06741
06742
06743
06744
06745
06746
06747
06748
06749 xcb_generic_iterator_t
06750 xcb_input_device_core_ctrl_end (xcb_input_device_core_ctrl_iterator_t i );
06751
06761
06762
06763
06764
06765
06766
06767
06768
06769
06770 void
06771 xcb_input_device_enable_ctrl_next (xcb_input_device_enable_ctrl_iterator_t *i );
06772
06783
06784
06785
06786
06787
06788
06789
06790
06791
06792 xcb_generic_iterator_t
06793 xcb_input_device_enable_ctrl_end (xcb_input_device_enable_ctrl_iterator_t i );
06794
06795
06796 #ifdef __cplusplus
06797 }
06798 #endif
06799
06800 #endif
06801