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_device_info_t {
00098 xcb_atom_t device_type;
00099 uint8_t device_id;
00100 uint8_t num_class_info;
00101 uint8_t device_use;
00102 uint8_t pad0;
00103 } xcb_input_device_info_t;
00104
00108 typedef struct xcb_input_device_info_iterator_t {
00109 xcb_input_device_info_t *data;
00110 int rem;
00111 int index;
00112 } xcb_input_device_info_iterator_t;
00113
00117 typedef struct xcb_input_list_input_devices_cookie_t {
00118 unsigned int sequence;
00119 } xcb_input_list_input_devices_cookie_t;
00120
00122 #define XCB_INPUT_LIST_INPUT_DEVICES 2
00123
00127 typedef struct xcb_input_list_input_devices_request_t {
00128 uint8_t major_opcode;
00129 uint8_t minor_opcode;
00130 uint16_t length;
00131 } xcb_input_list_input_devices_request_t;
00132
00136 typedef struct xcb_input_list_input_devices_reply_t {
00137 uint8_t response_type;
00138 uint8_t pad0;
00139 uint16_t sequence;
00140 uint32_t length;
00141 uint8_t devices_len;
00142 uint8_t pad1[23];
00143 } xcb_input_list_input_devices_reply_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_axis_info_t {
00213 uint32_t resolution;
00214 int32_t minimum;
00215 int32_t maximum;
00216 } xcb_input_axis_info_t;
00217
00221 typedef struct xcb_input_axis_info_iterator_t {
00222 xcb_input_axis_info_t *data;
00223 int rem;
00224 int index;
00225 } xcb_input_axis_info_iterator_t;
00226
00230 typedef struct xcb_input_valuator_info_t {
00231 uint8_t class_id;
00232 uint8_t len;
00233 uint8_t axes_len;
00234 uint8_t mode;
00235 uint32_t motion_size;
00236 } xcb_input_valuator_info_t;
00237
00241 typedef struct xcb_input_valuator_info_iterator_t {
00242 xcb_input_valuator_info_t *data;
00243 int rem;
00244 int index;
00245 } xcb_input_valuator_info_iterator_t;
00246
00250 typedef struct xcb_input_input_class_info_t {
00251 uint8_t class_id;
00252 uint8_t event_type_base;
00253 } xcb_input_input_class_info_t;
00254
00258 typedef struct xcb_input_input_class_info_iterator_t {
00259 xcb_input_input_class_info_t *data;
00260 int rem;
00261 int index;
00262 } xcb_input_input_class_info_iterator_t;
00263
00267 typedef struct xcb_input_open_device_cookie_t {
00268 unsigned int sequence;
00269 } xcb_input_open_device_cookie_t;
00270
00272 #define XCB_INPUT_OPEN_DEVICE 3
00273
00277 typedef struct xcb_input_open_device_request_t {
00278 uint8_t major_opcode;
00279 uint8_t minor_opcode;
00280 uint16_t length;
00281 uint8_t device_id;
00282 uint8_t pad0[3];
00283 } xcb_input_open_device_request_t;
00284
00288 typedef struct xcb_input_open_device_reply_t {
00289 uint8_t response_type;
00290 uint8_t pad0;
00291 uint16_t sequence;
00292 uint32_t length;
00293 uint8_t num_classes;
00294 uint8_t pad1[23];
00295 } xcb_input_open_device_reply_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
01927 #define XCB_INPUT_DEVICE 0
01928
01932 typedef struct xcb_input_device_error_t {
01933 uint8_t response_type;
01934 uint8_t error_code;
01935 uint16_t sequence;
01936 } xcb_input_device_error_t;
01937
01939 #define XCB_INPUT_EVENT 1
01940
01944 typedef struct xcb_input_event_error_t {
01945 uint8_t response_type;
01946 uint8_t error_code;
01947 uint16_t sequence;
01948 } xcb_input_event_error_t;
01949
01951 #define XCB_INPUT_MODE 2
01952
01956 typedef struct xcb_input_mode_error_t {
01957 uint8_t response_type;
01958 uint8_t error_code;
01959 uint16_t sequence;
01960 } xcb_input_mode_error_t;
01961
01963 #define XCB_INPUT_DEVICE_BUSY 3
01964
01968 typedef struct xcb_input_device_busy_error_t {
01969 uint8_t response_type;
01970 uint8_t error_code;
01971 uint16_t sequence;
01972 } xcb_input_device_busy_error_t;
01973
01975 #define XCB_INPUT_CLASS 4
01976
01980 typedef struct xcb_input_class_error_t {
01981 uint8_t response_type;
01982 uint8_t error_code;
01983 uint16_t sequence;
01984 } xcb_input_class_error_t;
01985
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004 void
02005 xcb_input_key_code_next (xcb_input_key_code_iterator_t *i );
02006
02017
02018
02019
02020
02021
02022
02023
02024
02025
02026 xcb_generic_iterator_t
02027 xcb_input_key_code_end (xcb_input_key_code_iterator_t i );
02028
02038
02039
02040
02041
02042
02043
02044
02045
02046
02047 void
02048 xcb_input_event_class_next (xcb_input_event_class_iterator_t *i );
02049
02060
02061
02062
02063
02064
02065
02066
02067
02068
02069 xcb_generic_iterator_t
02070 xcb_input_event_class_end (xcb_input_event_class_iterator_t i );
02071
02081
02082
02083
02084
02085
02086
02087
02088
02089
02090
02091
02092 xcb_input_get_extension_version_cookie_t
02093 xcb_input_get_extension_version (xcb_connection_t *c ,
02094 uint16_t name_len ,
02095 const char *name );
02096
02109
02110
02111
02112
02113
02114
02115
02116
02117
02118
02119
02120 xcb_input_get_extension_version_cookie_t
02121 xcb_input_get_extension_version_unchecked (xcb_connection_t *c ,
02122 uint16_t name_len ,
02123 const char *name );
02124
02140
02141
02142
02143
02144
02145
02146
02147
02148
02149
02150
02151 xcb_input_get_extension_version_reply_t *
02152 xcb_input_get_extension_version_reply (xcb_connection_t *c ,
02153 xcb_input_get_extension_version_cookie_t cookie ,
02154 xcb_generic_error_t **e );
02155
02165
02166
02167
02168
02169
02170
02171
02172
02173
02174 void
02175 xcb_input_device_info_next (xcb_input_device_info_iterator_t *i );
02176
02187
02188
02189
02190
02191
02192
02193
02194
02195
02196 xcb_generic_iterator_t
02197 xcb_input_device_info_end (xcb_input_device_info_iterator_t i );
02198
02208
02209
02210
02211
02212
02213
02214
02215
02216
02217 xcb_input_list_input_devices_cookie_t
02218 xcb_input_list_input_devices (xcb_connection_t *c );
02219
02232
02233
02234
02235
02236
02237
02238
02239
02240
02241 xcb_input_list_input_devices_cookie_t
02242 xcb_input_list_input_devices_unchecked (xcb_connection_t *c );
02243
02244
02245
02246
02247
02248
02249
02250
02251
02252
02253
02254 xcb_input_device_info_t *
02255 xcb_input_list_input_devices_devices (const xcb_input_list_input_devices_reply_t *R );
02256
02257
02258
02259
02260
02261
02262
02263
02264
02265
02266
02267 int
02268 xcb_input_list_input_devices_devices_length (const xcb_input_list_input_devices_reply_t *R );
02269
02270
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280 xcb_input_device_info_iterator_t
02281 xcb_input_list_input_devices_devices_iterator (const xcb_input_list_input_devices_reply_t *R );
02282
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308
02309 xcb_input_list_input_devices_reply_t *
02310 xcb_input_list_input_devices_reply (xcb_connection_t *c ,
02311 xcb_input_list_input_devices_cookie_t cookie ,
02312 xcb_generic_error_t **e );
02313
02323
02324
02325
02326
02327
02328
02329
02330
02331
02332 void
02333 xcb_input_input_info_next (xcb_input_input_info_iterator_t *i );
02334
02345
02346
02347
02348
02349
02350
02351
02352
02353
02354 xcb_generic_iterator_t
02355 xcb_input_input_info_end (xcb_input_input_info_iterator_t i );
02356
02366
02367
02368
02369
02370
02371
02372
02373
02374
02375 void
02376 xcb_input_key_info_next (xcb_input_key_info_iterator_t *i );
02377
02388
02389
02390
02391
02392
02393
02394
02395
02396
02397 xcb_generic_iterator_t
02398 xcb_input_key_info_end (xcb_input_key_info_iterator_t i );
02399
02409
02410
02411
02412
02413
02414
02415
02416
02417
02418 void
02419 xcb_input_button_info_next (xcb_input_button_info_iterator_t *i );
02420
02431
02432
02433
02434
02435
02436
02437
02438
02439
02440 xcb_generic_iterator_t
02441 xcb_input_button_info_end (xcb_input_button_info_iterator_t i );
02442
02452
02453
02454
02455
02456
02457
02458
02459
02460
02461 void
02462 xcb_input_axis_info_next (xcb_input_axis_info_iterator_t *i );
02463
02474
02475
02476
02477
02478
02479
02480
02481
02482
02483 xcb_generic_iterator_t
02484 xcb_input_axis_info_end (xcb_input_axis_info_iterator_t i );
02485
02486
02487
02488
02489
02490
02491
02492
02493
02494
02495
02496 xcb_input_axis_info_t *
02497 xcb_input_valuator_info_axes (const xcb_input_valuator_info_t *R );
02498
02499
02500
02501
02502
02503
02504
02505
02506
02507
02508
02509 int
02510 xcb_input_valuator_info_axes_length (const xcb_input_valuator_info_t *R );
02511
02512
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522 xcb_input_axis_info_iterator_t
02523 xcb_input_valuator_info_axes_iterator (const xcb_input_valuator_info_t *R );
02524
02534
02535
02536
02537
02538
02539
02540
02541
02542
02543 void
02544 xcb_input_valuator_info_next (xcb_input_valuator_info_iterator_t *i );
02545
02556
02557
02558
02559
02560
02561
02562
02563
02564
02565 xcb_generic_iterator_t
02566 xcb_input_valuator_info_end (xcb_input_valuator_info_iterator_t i );
02567
02577
02578
02579
02580
02581
02582
02583
02584
02585
02586 void
02587 xcb_input_input_class_info_next (xcb_input_input_class_info_iterator_t *i );
02588
02599
02600
02601
02602
02603
02604
02605
02606
02607
02608 xcb_generic_iterator_t
02609 xcb_input_input_class_info_end (xcb_input_input_class_info_iterator_t i );
02610
02620
02621
02622
02623
02624
02625
02626
02627
02628
02629
02630 xcb_input_open_device_cookie_t
02631 xcb_input_open_device (xcb_connection_t *c ,
02632 uint8_t device_id );
02633
02646
02647
02648
02649
02650
02651
02652
02653
02654
02655
02656 xcb_input_open_device_cookie_t
02657 xcb_input_open_device_unchecked (xcb_connection_t *c ,
02658 uint8_t device_id );
02659
02660
02661
02662
02663
02664
02665
02666
02667
02668
02669
02670 xcb_input_input_class_info_t *
02671 xcb_input_open_device_class_info (const xcb_input_open_device_reply_t *R );
02672
02673
02674
02675
02676
02677
02678
02679
02680
02681
02682
02683 int
02684 xcb_input_open_device_class_info_length (const xcb_input_open_device_reply_t *R );
02685
02686
02687
02688
02689
02690
02691
02692
02693
02694
02695
02696 xcb_input_input_class_info_iterator_t
02697 xcb_input_open_device_class_info_iterator (const xcb_input_open_device_reply_t *R );
02698
02714
02715
02716
02717
02718
02719
02720
02721
02722
02723
02724
02725 xcb_input_open_device_reply_t *
02726 xcb_input_open_device_reply (xcb_connection_t *c ,
02727 xcb_input_open_device_cookie_t cookie ,
02728 xcb_generic_error_t **e );
02729
02742
02743
02744
02745
02746
02747
02748
02749
02750
02751
02752 xcb_void_cookie_t
02753 xcb_input_close_device_checked (xcb_connection_t *c ,
02754 uint8_t device_id );
02755
02765
02766
02767
02768
02769
02770
02771
02772
02773
02774
02775 xcb_void_cookie_t
02776 xcb_input_close_device (xcb_connection_t *c ,
02777 uint8_t device_id );
02778
02788
02789
02790
02791
02792
02793
02794
02795
02796
02797
02798
02799 xcb_input_set_device_mode_cookie_t
02800 xcb_input_set_device_mode (xcb_connection_t *c ,
02801 uint8_t device_id ,
02802 uint8_t mode );
02803
02816
02817
02818
02819
02820
02821
02822
02823
02824
02825
02826
02827 xcb_input_set_device_mode_cookie_t
02828 xcb_input_set_device_mode_unchecked (xcb_connection_t *c ,
02829 uint8_t device_id ,
02830 uint8_t mode );
02831
02847
02848
02849
02850
02851
02852
02853
02854
02855
02856
02857
02858 xcb_input_set_device_mode_reply_t *
02859 xcb_input_set_device_mode_reply (xcb_connection_t *c ,
02860 xcb_input_set_device_mode_cookie_t cookie ,
02861 xcb_generic_error_t **e );
02862
02875
02876
02877
02878
02879
02880
02881
02882
02883
02884
02885
02886
02887 xcb_void_cookie_t
02888 xcb_input_select_extension_event_checked (xcb_connection_t *c ,
02889 xcb_window_t window ,
02890 uint16_t num_classes ,
02891 const xcb_input_event_class_t *classes );
02892
02902
02903
02904
02905
02906
02907
02908
02909
02910
02911
02912
02913
02914 xcb_void_cookie_t
02915 xcb_input_select_extension_event (xcb_connection_t *c ,
02916 xcb_window_t window ,
02917 uint16_t num_classes ,
02918 const xcb_input_event_class_t *classes );
02919
02929
02930
02931
02932
02933
02934
02935
02936
02937
02938
02939 xcb_input_get_selected_extension_events_cookie_t
02940 xcb_input_get_selected_extension_events (xcb_connection_t *c ,
02941 xcb_window_t window );
02942
02955
02956
02957
02958
02959
02960
02961
02962
02963
02964
02965 xcb_input_get_selected_extension_events_cookie_t
02966 xcb_input_get_selected_extension_events_unchecked (xcb_connection_t *c ,
02967 xcb_window_t window );
02968
02969
02970
02971
02972
02973
02974
02975
02976
02977
02978
02979 xcb_input_event_class_t *
02980 xcb_input_get_selected_extension_events_this_classes (const xcb_input_get_selected_extension_events_reply_t *R );
02981
02982
02983
02984
02985
02986
02987
02988
02989
02990
02991
02992 int
02993 xcb_input_get_selected_extension_events_this_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
02994
02995
02996
02997
02998
02999
03000
03001
03002
03003
03004
03005 xcb_generic_iterator_t
03006 xcb_input_get_selected_extension_events_this_classes_end (const xcb_input_get_selected_extension_events_reply_t *R );
03007
03008
03009
03010
03011
03012
03013
03014
03015
03016
03017
03018 xcb_input_event_class_t *
03019 xcb_input_get_selected_extension_events_all_classes (const xcb_input_get_selected_extension_events_reply_t *R );
03020
03021
03022
03023
03024
03025
03026
03027
03028
03029
03030
03031 int
03032 xcb_input_get_selected_extension_events_all_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
03033
03034
03035
03036
03037
03038
03039
03040
03041
03042
03043
03044 xcb_generic_iterator_t
03045 xcb_input_get_selected_extension_events_all_classes_end (const xcb_input_get_selected_extension_events_reply_t *R );
03046
03062
03063
03064
03065
03066
03067
03068
03069
03070
03071
03072
03073 xcb_input_get_selected_extension_events_reply_t *
03074 xcb_input_get_selected_extension_events_reply (xcb_connection_t *c ,
03075 xcb_input_get_selected_extension_events_cookie_t cookie ,
03076 xcb_generic_error_t **e );
03077
03090
03091
03092
03093
03094
03095
03096
03097
03098
03099
03100
03101
03102
03103 xcb_void_cookie_t
03104 xcb_input_change_device_dont_propagate_list_checked (xcb_connection_t *c ,
03105 xcb_window_t window ,
03106 uint16_t num_classes ,
03107 uint8_t mode ,
03108 const xcb_input_event_class_t *classes );
03109
03119
03120
03121
03122
03123
03124
03125
03126
03127
03128
03129
03130
03131
03132 xcb_void_cookie_t
03133 xcb_input_change_device_dont_propagate_list (xcb_connection_t *c ,
03134 xcb_window_t window ,
03135 uint16_t num_classes ,
03136 uint8_t mode ,
03137 const xcb_input_event_class_t *classes );
03138
03148
03149
03150
03151
03152
03153
03154
03155
03156
03157
03158 xcb_input_get_device_dont_propagate_list_cookie_t
03159 xcb_input_get_device_dont_propagate_list (xcb_connection_t *c ,
03160 xcb_window_t window );
03161
03174
03175
03176
03177
03178
03179
03180
03181
03182
03183
03184 xcb_input_get_device_dont_propagate_list_cookie_t
03185 xcb_input_get_device_dont_propagate_list_unchecked (xcb_connection_t *c ,
03186 xcb_window_t window );
03187
03188
03189
03190
03191
03192
03193
03194
03195
03196
03197
03198 xcb_input_event_class_t *
03199 xcb_input_get_device_dont_propagate_list_classes (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03200
03201
03202
03203
03204
03205
03206
03207
03208
03209
03210
03211 int
03212 xcb_input_get_device_dont_propagate_list_classes_length (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03213
03214
03215
03216
03217
03218
03219
03220
03221
03222
03223
03224 xcb_generic_iterator_t
03225 xcb_input_get_device_dont_propagate_list_classes_end (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03226
03242
03243
03244
03245
03246
03247
03248
03249
03250
03251
03252
03253 xcb_input_get_device_dont_propagate_list_reply_t *
03254 xcb_input_get_device_dont_propagate_list_reply (xcb_connection_t *c ,
03255 xcb_input_get_device_dont_propagate_list_cookie_t cookie ,
03256 xcb_generic_error_t **e );
03257
03267
03268
03269
03270
03271
03272
03273
03274
03275
03276
03277
03278
03279 xcb_input_get_device_motion_events_cookie_t
03280 xcb_input_get_device_motion_events (xcb_connection_t *c ,
03281 xcb_timestamp_t start ,
03282 xcb_timestamp_t stop ,
03283 uint8_t device_id );
03284
03297
03298
03299
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309 xcb_input_get_device_motion_events_cookie_t
03310 xcb_input_get_device_motion_events_unchecked (xcb_connection_t *c ,
03311 xcb_timestamp_t start ,
03312 xcb_timestamp_t stop ,
03313 uint8_t device_id );
03314
03330
03331
03332
03333
03334
03335
03336
03337
03338
03339
03340
03341 xcb_input_get_device_motion_events_reply_t *
03342 xcb_input_get_device_motion_events_reply (xcb_connection_t *c ,
03343 xcb_input_get_device_motion_events_cookie_t cookie ,
03344 xcb_generic_error_t **e );
03345
03355
03356
03357
03358
03359
03360
03361
03362
03363
03364 void
03365 xcb_input_device_time_coord_next (xcb_input_device_time_coord_iterator_t *i );
03366
03377
03378
03379
03380
03381
03382
03383
03384
03385
03386 xcb_generic_iterator_t
03387 xcb_input_device_time_coord_end (xcb_input_device_time_coord_iterator_t i );
03388
03398
03399
03400
03401
03402
03403
03404
03405
03406
03407
03408 xcb_input_change_keyboard_device_cookie_t
03409 xcb_input_change_keyboard_device (xcb_connection_t *c ,
03410 uint8_t device_id );
03411
03424
03425
03426
03427
03428
03429
03430
03431
03432
03433
03434 xcb_input_change_keyboard_device_cookie_t
03435 xcb_input_change_keyboard_device_unchecked (xcb_connection_t *c ,
03436 uint8_t device_id );
03437
03453
03454
03455
03456
03457
03458
03459
03460
03461
03462
03463
03464 xcb_input_change_keyboard_device_reply_t *
03465 xcb_input_change_keyboard_device_reply (xcb_connection_t *c ,
03466 xcb_input_change_keyboard_device_cookie_t cookie ,
03467 xcb_generic_error_t **e );
03468
03478
03479
03480
03481
03482
03483
03484
03485
03486
03487
03488
03489
03490 xcb_input_change_pointer_device_cookie_t
03491 xcb_input_change_pointer_device (xcb_connection_t *c ,
03492 uint8_t x_axis ,
03493 uint8_t y_axis ,
03494 uint8_t device_id );
03495
03508
03509
03510
03511
03512
03513
03514
03515
03516
03517
03518
03519
03520 xcb_input_change_pointer_device_cookie_t
03521 xcb_input_change_pointer_device_unchecked (xcb_connection_t *c ,
03522 uint8_t x_axis ,
03523 uint8_t y_axis ,
03524 uint8_t device_id );
03525
03541
03542
03543
03544
03545
03546
03547
03548
03549
03550
03551
03552 xcb_input_change_pointer_device_reply_t *
03553 xcb_input_change_pointer_device_reply (xcb_connection_t *c ,
03554 xcb_input_change_pointer_device_cookie_t cookie ,
03555 xcb_generic_error_t **e );
03556
03566
03567
03568
03569
03570
03571
03572
03573
03574
03575
03576
03577
03578
03579
03580
03581
03582
03583 xcb_input_grab_device_cookie_t
03584 xcb_input_grab_device (xcb_connection_t *c ,
03585 xcb_window_t grab_window ,
03586 xcb_timestamp_t time ,
03587 uint16_t num_classes ,
03588 uint8_t this_device_mode ,
03589 uint8_t other_device_mode ,
03590 uint8_t owner_events ,
03591 uint8_t device_id ,
03592 const xcb_input_event_class_t *classes );
03593
03606
03607
03608
03609
03610
03611
03612
03613
03614
03615
03616
03617
03618
03619
03620
03621
03622
03623 xcb_input_grab_device_cookie_t
03624 xcb_input_grab_device_unchecked (xcb_connection_t *c ,
03625 xcb_window_t grab_window ,
03626 xcb_timestamp_t time ,
03627 uint16_t num_classes ,
03628 uint8_t this_device_mode ,
03629 uint8_t other_device_mode ,
03630 uint8_t owner_events ,
03631 uint8_t device_id ,
03632 const xcb_input_event_class_t *classes );
03633
03649
03650
03651
03652
03653
03654
03655
03656
03657
03658
03659
03660 xcb_input_grab_device_reply_t *
03661 xcb_input_grab_device_reply (xcb_connection_t *c ,
03662 xcb_input_grab_device_cookie_t cookie ,
03663 xcb_generic_error_t **e );
03664
03677
03678
03679
03680
03681
03682
03683
03684
03685
03686
03687
03688 xcb_void_cookie_t
03689 xcb_input_ungrab_device_checked (xcb_connection_t *c ,
03690 xcb_timestamp_t time ,
03691 uint8_t device_id );
03692
03702
03703
03704
03705
03706
03707
03708
03709
03710
03711
03712
03713 xcb_void_cookie_t
03714 xcb_input_ungrab_device (xcb_connection_t *c ,
03715 xcb_timestamp_t time ,
03716 uint8_t device_id );
03717
03730
03731
03732
03733
03734
03735
03736
03737
03738
03739
03740
03741
03742
03743
03744
03745
03746
03747
03748
03749 xcb_void_cookie_t
03750 xcb_input_grab_device_key_checked (xcb_connection_t *c ,
03751 xcb_window_t grab_window ,
03752 uint16_t num_classes ,
03753 uint16_t modifiers ,
03754 uint8_t modifier_device ,
03755 uint8_t grabbed_device ,
03756 uint8_t key ,
03757 uint8_t this_device_mode ,
03758 uint8_t other_device_mode ,
03759 uint8_t owner_events ,
03760 const xcb_input_event_class_t *classes );
03761
03771
03772
03773
03774
03775
03776
03777
03778
03779
03780
03781
03782
03783
03784
03785
03786
03787
03788
03789
03790 xcb_void_cookie_t
03791 xcb_input_grab_device_key (xcb_connection_t *c ,
03792 xcb_window_t grab_window ,
03793 uint16_t num_classes ,
03794 uint16_t modifiers ,
03795 uint8_t modifier_device ,
03796 uint8_t grabbed_device ,
03797 uint8_t key ,
03798 uint8_t this_device_mode ,
03799 uint8_t other_device_mode ,
03800 uint8_t owner_events ,
03801 const xcb_input_event_class_t *classes );
03802
03815
03816
03817
03818
03819
03820
03821
03822
03823
03824
03825
03826
03827
03828
03829 xcb_void_cookie_t
03830 xcb_input_ungrab_device_key_checked (xcb_connection_t *c ,
03831 xcb_window_t grabWindow ,
03832 uint16_t modifiers ,
03833 uint8_t modifier_device ,
03834 uint8_t key ,
03835 uint8_t grabbed_device );
03836
03846
03847
03848
03849
03850
03851
03852
03853
03854
03855
03856
03857
03858
03859
03860 xcb_void_cookie_t
03861 xcb_input_ungrab_device_key (xcb_connection_t *c ,
03862 xcb_window_t grabWindow ,
03863 uint16_t modifiers ,
03864 uint8_t modifier_device ,
03865 uint8_t key ,
03866 uint8_t grabbed_device );
03867
03880
03881
03882
03883
03884
03885
03886
03887
03888
03889
03890
03891
03892
03893
03894
03895
03896
03897
03898
03899 xcb_void_cookie_t
03900 xcb_input_grab_device_button_checked (xcb_connection_t *c ,
03901 xcb_window_t grab_window ,
03902 uint8_t grabbed_device ,
03903 uint8_t modifier_device ,
03904 uint16_t num_classes ,
03905 uint16_t modifiers ,
03906 uint8_t this_device_mode ,
03907 uint8_t other_device_mode ,
03908 uint8_t button ,
03909 uint8_t owner_events ,
03910 const xcb_input_event_class_t *classes );
03911
03921
03922
03923
03924
03925
03926
03927
03928
03929
03930
03931
03932
03933
03934
03935
03936
03937
03938
03939
03940 xcb_void_cookie_t
03941 xcb_input_grab_device_button (xcb_connection_t *c ,
03942 xcb_window_t grab_window ,
03943 uint8_t grabbed_device ,
03944 uint8_t modifier_device ,
03945 uint16_t num_classes ,
03946 uint16_t modifiers ,
03947 uint8_t this_device_mode ,
03948 uint8_t other_device_mode ,
03949 uint8_t button ,
03950 uint8_t owner_events ,
03951 const xcb_input_event_class_t *classes );
03952
03965
03966
03967
03968
03969
03970
03971
03972
03973
03974
03975
03976
03977
03978
03979 xcb_void_cookie_t
03980 xcb_input_ungrab_device_button_checked (xcb_connection_t *c ,
03981 xcb_window_t grab_window ,
03982 uint16_t modifiers ,
03983 uint8_t modifier_device ,
03984 uint8_t button ,
03985 uint8_t grabbed_device );
03986
03996
03997
03998
03999
04000
04001
04002
04003
04004
04005
04006
04007
04008
04009
04010 xcb_void_cookie_t
04011 xcb_input_ungrab_device_button (xcb_connection_t *c ,
04012 xcb_window_t grab_window ,
04013 uint16_t modifiers ,
04014 uint8_t modifier_device ,
04015 uint8_t button ,
04016 uint8_t grabbed_device );
04017
04030
04031
04032
04033
04034
04035
04036
04037
04038
04039
04040
04041
04042 xcb_void_cookie_t
04043 xcb_input_allow_device_events_checked (xcb_connection_t *c ,
04044 xcb_timestamp_t time ,
04045 uint8_t mode ,
04046 uint8_t device_id );
04047
04057
04058
04059
04060
04061
04062
04063
04064
04065
04066
04067
04068
04069 xcb_void_cookie_t
04070 xcb_input_allow_device_events (xcb_connection_t *c ,
04071 xcb_timestamp_t time ,
04072 uint8_t mode ,
04073 uint8_t device_id );
04074
04084
04085
04086
04087
04088
04089
04090
04091
04092
04093
04094 xcb_input_get_device_focus_cookie_t
04095 xcb_input_get_device_focus (xcb_connection_t *c ,
04096 uint8_t device_id );
04097
04110
04111
04112
04113
04114
04115
04116
04117
04118
04119
04120 xcb_input_get_device_focus_cookie_t
04121 xcb_input_get_device_focus_unchecked (xcb_connection_t *c ,
04122 uint8_t device_id );
04123
04139
04140
04141
04142
04143
04144
04145
04146
04147
04148
04149
04150 xcb_input_get_device_focus_reply_t *
04151 xcb_input_get_device_focus_reply (xcb_connection_t *c ,
04152 xcb_input_get_device_focus_cookie_t cookie ,
04153 xcb_generic_error_t **e );
04154
04167
04168
04169
04170
04171
04172
04173
04174
04175
04176
04177
04178
04179
04180 xcb_void_cookie_t
04181 xcb_input_set_device_focus_checked (xcb_connection_t *c ,
04182 xcb_window_t focus ,
04183 xcb_timestamp_t time ,
04184 uint8_t revert_to ,
04185 uint8_t device_id );
04186
04196
04197
04198
04199
04200
04201
04202
04203
04204
04205
04206
04207
04208
04209 xcb_void_cookie_t
04210 xcb_input_set_device_focus (xcb_connection_t *c ,
04211 xcb_window_t focus ,
04212 xcb_timestamp_t time ,
04213 uint8_t revert_to ,
04214 uint8_t device_id );
04215
04225
04226
04227
04228
04229
04230
04231
04232
04233
04234
04235 xcb_input_get_feedback_control_cookie_t
04236 xcb_input_get_feedback_control (xcb_connection_t *c ,
04237 uint8_t device_id );
04238
04251
04252
04253
04254
04255
04256
04257
04258
04259
04260
04261 xcb_input_get_feedback_control_cookie_t
04262 xcb_input_get_feedback_control_unchecked (xcb_connection_t *c ,
04263 uint8_t device_id );
04264
04280
04281
04282
04283
04284
04285
04286
04287
04288
04289
04290
04291 xcb_input_get_feedback_control_reply_t *
04292 xcb_input_get_feedback_control_reply (xcb_connection_t *c ,
04293 xcb_input_get_feedback_control_cookie_t cookie ,
04294 xcb_generic_error_t **e );
04295
04305
04306
04307
04308
04309
04310
04311
04312
04313
04314 void
04315 xcb_input_feedback_state_next (xcb_input_feedback_state_iterator_t *i );
04316
04327
04328
04329
04330
04331
04332
04333
04334
04335
04336 xcb_generic_iterator_t
04337 xcb_input_feedback_state_end (xcb_input_feedback_state_iterator_t i );
04338
04348
04349
04350
04351
04352
04353
04354
04355
04356
04357 void
04358 xcb_input_kbd_feedback_state_next (xcb_input_kbd_feedback_state_iterator_t *i );
04359
04370
04371
04372
04373
04374
04375
04376
04377
04378
04379 xcb_generic_iterator_t
04380 xcb_input_kbd_feedback_state_end (xcb_input_kbd_feedback_state_iterator_t i );
04381
04391
04392
04393
04394
04395
04396
04397
04398
04399
04400 void
04401 xcb_input_ptr_feedback_state_next (xcb_input_ptr_feedback_state_iterator_t *i );
04402
04413
04414
04415
04416
04417
04418
04419
04420
04421
04422 xcb_generic_iterator_t
04423 xcb_input_ptr_feedback_state_end (xcb_input_ptr_feedback_state_iterator_t i );
04424
04434
04435
04436
04437
04438
04439
04440
04441
04442
04443 void
04444 xcb_input_integer_feedback_state_next (xcb_input_integer_feedback_state_iterator_t *i );
04445
04456
04457
04458
04459
04460
04461
04462
04463
04464
04465 xcb_generic_iterator_t
04466 xcb_input_integer_feedback_state_end (xcb_input_integer_feedback_state_iterator_t i );
04467
04468
04469
04470
04471
04472
04473
04474
04475
04476
04477
04478 xcb_keysym_t *
04479 xcb_input_string_feedback_state_keysyms (const xcb_input_string_feedback_state_t *R );
04480
04481
04482
04483
04484
04485
04486
04487
04488
04489
04490
04491 int
04492 xcb_input_string_feedback_state_keysyms_length (const xcb_input_string_feedback_state_t *R );
04493
04494
04495
04496
04497
04498
04499
04500
04501
04502
04503
04504 xcb_generic_iterator_t
04505 xcb_input_string_feedback_state_keysyms_end (const xcb_input_string_feedback_state_t *R );
04506
04516
04517
04518
04519
04520
04521
04522
04523
04524
04525 void
04526 xcb_input_string_feedback_state_next (xcb_input_string_feedback_state_iterator_t *i );
04527
04538
04539
04540
04541
04542
04543
04544
04545
04546
04547 xcb_generic_iterator_t
04548 xcb_input_string_feedback_state_end (xcb_input_string_feedback_state_iterator_t i );
04549
04559
04560
04561
04562
04563
04564
04565
04566
04567
04568 void
04569 xcb_input_bell_feedback_state_next (xcb_input_bell_feedback_state_iterator_t *i );
04570
04581
04582
04583
04584
04585
04586
04587
04588
04589
04590 xcb_generic_iterator_t
04591 xcb_input_bell_feedback_state_end (xcb_input_bell_feedback_state_iterator_t i );
04592
04602
04603
04604
04605
04606
04607
04608
04609
04610
04611 void
04612 xcb_input_led_feedback_state_next (xcb_input_led_feedback_state_iterator_t *i );
04613
04624
04625
04626
04627
04628
04629
04630
04631
04632
04633 xcb_generic_iterator_t
04634 xcb_input_led_feedback_state_end (xcb_input_led_feedback_state_iterator_t i );
04635
04645
04646
04647
04648
04649
04650
04651
04652
04653
04654 void
04655 xcb_input_feedback_ctl_next (xcb_input_feedback_ctl_iterator_t *i );
04656
04667
04668
04669
04670
04671
04672
04673
04674
04675
04676 xcb_generic_iterator_t
04677 xcb_input_feedback_ctl_end (xcb_input_feedback_ctl_iterator_t i );
04678
04688
04689
04690
04691
04692
04693
04694
04695
04696
04697 void
04698 xcb_input_kbd_feedback_ctl_next (xcb_input_kbd_feedback_ctl_iterator_t *i );
04699
04710
04711
04712
04713
04714
04715
04716
04717
04718
04719 xcb_generic_iterator_t
04720 xcb_input_kbd_feedback_ctl_end (xcb_input_kbd_feedback_ctl_iterator_t i );
04721
04731
04732
04733
04734
04735
04736
04737
04738
04739
04740 void
04741 xcb_input_ptr_feedback_ctl_next (xcb_input_ptr_feedback_ctl_iterator_t *i );
04742
04753
04754
04755
04756
04757
04758
04759
04760
04761
04762 xcb_generic_iterator_t
04763 xcb_input_ptr_feedback_ctl_end (xcb_input_ptr_feedback_ctl_iterator_t i );
04764
04774
04775
04776
04777
04778
04779
04780
04781
04782
04783 void
04784 xcb_input_integer_feedback_ctl_next (xcb_input_integer_feedback_ctl_iterator_t *i );
04785
04796
04797
04798
04799
04800
04801
04802
04803
04804
04805 xcb_generic_iterator_t
04806 xcb_input_integer_feedback_ctl_end (xcb_input_integer_feedback_ctl_iterator_t i );
04807
04808
04809
04810
04811
04812
04813
04814
04815
04816
04817
04818 xcb_keysym_t *
04819 xcb_input_string_feedback_ctl_keysyms (const xcb_input_string_feedback_ctl_t *R );
04820
04821
04822
04823
04824
04825
04826
04827
04828
04829
04830
04831 int
04832 xcb_input_string_feedback_ctl_keysyms_length (const xcb_input_string_feedback_ctl_t *R );
04833
04834
04835
04836
04837
04838
04839
04840
04841
04842
04843
04844 xcb_generic_iterator_t
04845 xcb_input_string_feedback_ctl_keysyms_end (const xcb_input_string_feedback_ctl_t *R );
04846
04856
04857
04858
04859
04860
04861
04862
04863
04864
04865 void
04866 xcb_input_string_feedback_ctl_next (xcb_input_string_feedback_ctl_iterator_t *i );
04867
04878
04879
04880
04881
04882
04883
04884
04885
04886
04887 xcb_generic_iterator_t
04888 xcb_input_string_feedback_ctl_end (xcb_input_string_feedback_ctl_iterator_t i );
04889
04899
04900
04901
04902
04903
04904
04905
04906
04907
04908 void
04909 xcb_input_bell_feedback_ctl_next (xcb_input_bell_feedback_ctl_iterator_t *i );
04910
04921
04922
04923
04924
04925
04926
04927
04928
04929
04930 xcb_generic_iterator_t
04931 xcb_input_bell_feedback_ctl_end (xcb_input_bell_feedback_ctl_iterator_t i );
04932
04942
04943
04944
04945
04946
04947
04948
04949
04950
04951 void
04952 xcb_input_led_feedback_ctl_next (xcb_input_led_feedback_ctl_iterator_t *i );
04953
04964
04965
04966
04967
04968
04969
04970
04971
04972
04973 xcb_generic_iterator_t
04974 xcb_input_led_feedback_ctl_end (xcb_input_led_feedback_ctl_iterator_t i );
04975
04985
04986
04987
04988
04989
04990
04991
04992
04993
04994
04995
04996
04997 xcb_input_get_device_key_mapping_cookie_t
04998 xcb_input_get_device_key_mapping (xcb_connection_t *c ,
04999 uint8_t device_id ,
05000 xcb_input_key_code_t first_keycode ,
05001 uint8_t count );
05002
05015
05016
05017
05018
05019
05020
05021
05022
05023
05024
05025
05026
05027 xcb_input_get_device_key_mapping_cookie_t
05028 xcb_input_get_device_key_mapping_unchecked (xcb_connection_t *c ,
05029 uint8_t device_id ,
05030 xcb_input_key_code_t first_keycode ,
05031 uint8_t count );
05032
05033
05034
05035
05036
05037
05038
05039
05040
05041
05042
05043 xcb_keysym_t *
05044 xcb_input_get_device_key_mapping_keysyms (const xcb_input_get_device_key_mapping_reply_t *R );
05045
05046
05047
05048
05049
05050
05051
05052
05053
05054
05055
05056 int
05057 xcb_input_get_device_key_mapping_keysyms_length (const xcb_input_get_device_key_mapping_reply_t *R );
05058
05059
05060
05061
05062
05063
05064
05065
05066
05067
05068
05069 xcb_generic_iterator_t
05070 xcb_input_get_device_key_mapping_keysyms_end (const xcb_input_get_device_key_mapping_reply_t *R );
05071
05087
05088
05089
05090
05091
05092
05093
05094
05095
05096
05097
05098 xcb_input_get_device_key_mapping_reply_t *
05099 xcb_input_get_device_key_mapping_reply (xcb_connection_t *c ,
05100 xcb_input_get_device_key_mapping_cookie_t cookie ,
05101 xcb_generic_error_t **e );
05102
05115
05116
05117
05118
05119
05120
05121
05122
05123
05124
05125
05126
05127
05128
05129 xcb_void_cookie_t
05130 xcb_input_change_device_key_mapping_checked (xcb_connection_t *c ,
05131 uint8_t device_id ,
05132 xcb_input_key_code_t first_keycode ,
05133 uint8_t keysyms_per_keycode ,
05134 uint8_t keycode_count ,
05135 const xcb_keysym_t *keysyms );
05136
05146
05147
05148
05149
05150
05151
05152
05153
05154
05155
05156
05157
05158
05159
05160 xcb_void_cookie_t
05161 xcb_input_change_device_key_mapping (xcb_connection_t *c ,
05162 uint8_t device_id ,
05163 xcb_input_key_code_t first_keycode ,
05164 uint8_t keysyms_per_keycode ,
05165 uint8_t keycode_count ,
05166 const xcb_keysym_t *keysyms );
05167
05177
05178
05179
05180
05181
05182
05183
05184
05185
05186
05187 xcb_input_get_device_modifier_mapping_cookie_t
05188 xcb_input_get_device_modifier_mapping (xcb_connection_t *c ,
05189 uint8_t device_id );
05190
05203
05204
05205
05206
05207
05208
05209
05210
05211
05212
05213 xcb_input_get_device_modifier_mapping_cookie_t
05214 xcb_input_get_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05215 uint8_t device_id );
05216
05217
05218
05219
05220
05221
05222
05223
05224
05225
05226
05227 uint8_t *
05228 xcb_input_get_device_modifier_mapping_keymaps (const xcb_input_get_device_modifier_mapping_reply_t *R );
05229
05230
05231
05232
05233
05234
05235
05236
05237
05238
05239
05240 int
05241 xcb_input_get_device_modifier_mapping_keymaps_length (const xcb_input_get_device_modifier_mapping_reply_t *R );
05242
05243
05244
05245
05246
05247
05248
05249
05250
05251
05252
05253 xcb_generic_iterator_t
05254 xcb_input_get_device_modifier_mapping_keymaps_end (const xcb_input_get_device_modifier_mapping_reply_t *R );
05255
05271
05272
05273
05274
05275
05276
05277
05278
05279
05280
05281
05282 xcb_input_get_device_modifier_mapping_reply_t *
05283 xcb_input_get_device_modifier_mapping_reply (xcb_connection_t *c ,
05284 xcb_input_get_device_modifier_mapping_cookie_t cookie ,
05285 xcb_generic_error_t **e );
05286
05296
05297
05298
05299
05300
05301
05302
05303
05304
05305
05306
05307
05308 xcb_input_set_device_modifier_mapping_cookie_t
05309 xcb_input_set_device_modifier_mapping (xcb_connection_t *c ,
05310 uint8_t device_id ,
05311 uint8_t keycodes_per_modifier ,
05312 const uint8_t *keymaps );
05313
05326
05327
05328
05329
05330
05331
05332
05333
05334
05335
05336
05337
05338 xcb_input_set_device_modifier_mapping_cookie_t
05339 xcb_input_set_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05340 uint8_t device_id ,
05341 uint8_t keycodes_per_modifier ,
05342 const uint8_t *keymaps );
05343
05359
05360
05361
05362
05363
05364
05365
05366
05367
05368
05369
05370 xcb_input_set_device_modifier_mapping_reply_t *
05371 xcb_input_set_device_modifier_mapping_reply (xcb_connection_t *c ,
05372 xcb_input_set_device_modifier_mapping_cookie_t cookie ,
05373 xcb_generic_error_t **e );
05374
05384
05385
05386
05387
05388
05389
05390
05391
05392
05393
05394 xcb_input_get_device_button_mapping_cookie_t
05395 xcb_input_get_device_button_mapping (xcb_connection_t *c ,
05396 uint8_t device_id );
05397
05410
05411
05412
05413
05414
05415
05416
05417
05418
05419
05420 xcb_input_get_device_button_mapping_cookie_t
05421 xcb_input_get_device_button_mapping_unchecked (xcb_connection_t *c ,
05422 uint8_t device_id );
05423
05424
05425
05426
05427
05428
05429
05430
05431
05432
05433
05434 uint8_t *
05435 xcb_input_get_device_button_mapping_map (const xcb_input_get_device_button_mapping_reply_t *R );
05436
05437
05438
05439
05440
05441
05442
05443
05444
05445
05446
05447 int
05448 xcb_input_get_device_button_mapping_map_length (const xcb_input_get_device_button_mapping_reply_t *R );
05449
05450
05451
05452
05453
05454
05455
05456
05457
05458
05459
05460 xcb_generic_iterator_t
05461 xcb_input_get_device_button_mapping_map_end (const xcb_input_get_device_button_mapping_reply_t *R );
05462
05478
05479
05480
05481
05482
05483
05484
05485
05486
05487
05488
05489 xcb_input_get_device_button_mapping_reply_t *
05490 xcb_input_get_device_button_mapping_reply (xcb_connection_t *c ,
05491 xcb_input_get_device_button_mapping_cookie_t cookie ,
05492 xcb_generic_error_t **e );
05493
05503
05504
05505
05506
05507
05508
05509
05510
05511
05512
05513
05514
05515 xcb_input_set_device_button_mapping_cookie_t
05516 xcb_input_set_device_button_mapping (xcb_connection_t *c ,
05517 uint8_t device_id ,
05518 uint8_t map_size ,
05519 const uint8_t *map );
05520
05533
05534
05535
05536
05537
05538
05539
05540
05541
05542
05543
05544
05545 xcb_input_set_device_button_mapping_cookie_t
05546 xcb_input_set_device_button_mapping_unchecked (xcb_connection_t *c ,
05547 uint8_t device_id ,
05548 uint8_t map_size ,
05549 const uint8_t *map );
05550
05566
05567
05568
05569
05570
05571
05572
05573
05574
05575
05576
05577 xcb_input_set_device_button_mapping_reply_t *
05578 xcb_input_set_device_button_mapping_reply (xcb_connection_t *c ,
05579 xcb_input_set_device_button_mapping_cookie_t cookie ,
05580 xcb_generic_error_t **e );
05581
05591
05592
05593
05594
05595
05596
05597
05598
05599
05600
05601 xcb_input_query_device_state_cookie_t
05602 xcb_input_query_device_state (xcb_connection_t *c ,
05603 uint8_t device_id );
05604
05617
05618
05619
05620
05621
05622
05623
05624
05625
05626
05627 xcb_input_query_device_state_cookie_t
05628 xcb_input_query_device_state_unchecked (xcb_connection_t *c ,
05629 uint8_t device_id );
05630
05646
05647
05648
05649
05650
05651
05652
05653
05654
05655
05656
05657 xcb_input_query_device_state_reply_t *
05658 xcb_input_query_device_state_reply (xcb_connection_t *c ,
05659 xcb_input_query_device_state_cookie_t cookie ,
05660 xcb_generic_error_t **e );
05661
05671
05672
05673
05674
05675
05676
05677
05678
05679
05680 void
05681 xcb_input_input_state_next (xcb_input_input_state_iterator_t *i );
05682
05693
05694
05695
05696
05697
05698
05699
05700
05701
05702 xcb_generic_iterator_t
05703 xcb_input_input_state_end (xcb_input_input_state_iterator_t i );
05704
05714
05715
05716
05717
05718
05719
05720
05721
05722
05723 void
05724 xcb_input_key_state_next (xcb_input_key_state_iterator_t *i );
05725
05736
05737
05738
05739
05740
05741
05742
05743
05744
05745 xcb_generic_iterator_t
05746 xcb_input_key_state_end (xcb_input_key_state_iterator_t i );
05747
05757
05758
05759
05760
05761
05762
05763
05764
05765
05766 void
05767 xcb_input_button_state_next (xcb_input_button_state_iterator_t *i );
05768
05779
05780
05781
05782
05783
05784
05785
05786
05787
05788 xcb_generic_iterator_t
05789 xcb_input_button_state_end (xcb_input_button_state_iterator_t i );
05790
05791
05792
05793
05794
05795
05796
05797
05798
05799
05800
05801 uint32_t *
05802 xcb_input_valuator_state_valuators (const xcb_input_valuator_state_t *R );
05803
05804
05805
05806
05807
05808
05809
05810
05811
05812
05813
05814 int
05815 xcb_input_valuator_state_valuators_length (const xcb_input_valuator_state_t *R );
05816
05817
05818
05819
05820
05821
05822
05823
05824
05825
05826
05827 xcb_generic_iterator_t
05828 xcb_input_valuator_state_valuators_end (const xcb_input_valuator_state_t *R );
05829
05839
05840
05841
05842
05843
05844
05845
05846
05847
05848 void
05849 xcb_input_valuator_state_next (xcb_input_valuator_state_iterator_t *i );
05850
05861
05862
05863
05864
05865
05866
05867
05868
05869
05870 xcb_generic_iterator_t
05871 xcb_input_valuator_state_end (xcb_input_valuator_state_iterator_t i );
05872
05885
05886
05887
05888
05889
05890
05891
05892
05893
05894
05895
05896
05897
05898
05899
05900
05901 xcb_void_cookie_t
05902 xcb_input_send_extension_event_checked (xcb_connection_t *c ,
05903 xcb_window_t destination ,
05904 uint8_t device_id ,
05905 uint8_t propagate ,
05906 uint16_t num_classes ,
05907 uint8_t num_events ,
05908 const char *events ,
05909 const xcb_input_event_class_t *classes );
05910
05920
05921
05922
05923
05924
05925
05926
05927
05928
05929
05930
05931
05932
05933
05934
05935
05936 xcb_void_cookie_t
05937 xcb_input_send_extension_event (xcb_connection_t *c ,
05938 xcb_window_t destination ,
05939 uint8_t device_id ,
05940 uint8_t propagate ,
05941 uint16_t num_classes ,
05942 uint8_t num_events ,
05943 const char *events ,
05944 const xcb_input_event_class_t *classes );
05945
05958
05959
05960
05961
05962
05963
05964
05965
05966
05967
05968
05969
05970
05971 xcb_void_cookie_t
05972 xcb_input_device_bell_checked (xcb_connection_t *c ,
05973 uint8_t device_id ,
05974 uint8_t feedback_id ,
05975 uint8_t feedback_class ,
05976 int8_t percent );
05977
05987
05988
05989
05990
05991
05992
05993
05994
05995
05996
05997
05998
05999
06000 xcb_void_cookie_t
06001 xcb_input_device_bell (xcb_connection_t *c ,
06002 uint8_t device_id ,
06003 uint8_t feedback_id ,
06004 uint8_t feedback_class ,
06005 int8_t percent );
06006
06016
06017
06018
06019
06020
06021
06022
06023
06024
06025
06026
06027
06028
06029 xcb_input_set_device_valuators_cookie_t
06030 xcb_input_set_device_valuators (xcb_connection_t *c ,
06031 uint8_t device_id ,
06032 uint8_t first_valuator ,
06033 uint8_t num_valuators ,
06034 const int32_t *valuators );
06035
06048
06049
06050
06051
06052
06053
06054
06055
06056
06057
06058
06059
06060
06061 xcb_input_set_device_valuators_cookie_t
06062 xcb_input_set_device_valuators_unchecked (xcb_connection_t *c ,
06063 uint8_t device_id ,
06064 uint8_t first_valuator ,
06065 uint8_t num_valuators ,
06066 const int32_t *valuators );
06067
06083
06084
06085
06086
06087
06088
06089
06090
06091
06092
06093
06094 xcb_input_set_device_valuators_reply_t *
06095 xcb_input_set_device_valuators_reply (xcb_connection_t *c ,
06096 xcb_input_set_device_valuators_cookie_t cookie ,
06097 xcb_generic_error_t **e );
06098
06108
06109
06110
06111
06112
06113
06114
06115
06116
06117
06118
06119 xcb_input_get_device_control_cookie_t
06120 xcb_input_get_device_control (xcb_connection_t *c ,
06121 uint16_t control_id ,
06122 uint8_t device_id );
06123
06136
06137
06138
06139
06140
06141
06142
06143
06144
06145
06146
06147 xcb_input_get_device_control_cookie_t
06148 xcb_input_get_device_control_unchecked (xcb_connection_t *c ,
06149 uint16_t control_id ,
06150 uint8_t device_id );
06151
06167
06168
06169
06170
06171
06172
06173
06174
06175
06176
06177
06178 xcb_input_get_device_control_reply_t *
06179 xcb_input_get_device_control_reply (xcb_connection_t *c ,
06180 xcb_input_get_device_control_cookie_t cookie ,
06181 xcb_generic_error_t **e );
06182
06192
06193
06194
06195
06196
06197
06198
06199
06200
06201 void
06202 xcb_input_device_state_next (xcb_input_device_state_iterator_t *i );
06203
06214
06215
06216
06217
06218
06219
06220
06221
06222
06223 xcb_generic_iterator_t
06224 xcb_input_device_state_end (xcb_input_device_state_iterator_t i );
06225
06226
06227
06228
06229
06230
06231
06232
06233
06234
06235
06236 uint32_t *
06237 xcb_input_device_resolution_state_resolution_values (const xcb_input_device_resolution_state_t *R );
06238
06239
06240
06241
06242
06243
06244
06245
06246
06247
06248
06249 int
06250 xcb_input_device_resolution_state_resolution_values_length (const xcb_input_device_resolution_state_t *R );
06251
06252
06253
06254
06255
06256
06257
06258
06259
06260
06261
06262 xcb_generic_iterator_t
06263 xcb_input_device_resolution_state_resolution_values_end (const xcb_input_device_resolution_state_t *R );
06264
06265
06266
06267
06268
06269
06270
06271
06272
06273
06274
06275 uint32_t *
06276 xcb_input_device_resolution_state_resolution_min (const xcb_input_device_resolution_state_t *R );
06277
06278
06279
06280
06281
06282
06283
06284
06285
06286
06287
06288 int
06289 xcb_input_device_resolution_state_resolution_min_length (const xcb_input_device_resolution_state_t *R );
06290
06291
06292
06293
06294
06295
06296
06297
06298
06299
06300
06301 xcb_generic_iterator_t
06302 xcb_input_device_resolution_state_resolution_min_end (const xcb_input_device_resolution_state_t *R );
06303
06304
06305
06306
06307
06308
06309
06310
06311
06312
06313
06314 uint32_t *
06315 xcb_input_device_resolution_state_resolution_max (const xcb_input_device_resolution_state_t *R );
06316
06317
06318
06319
06320
06321
06322
06323
06324
06325
06326
06327 int
06328 xcb_input_device_resolution_state_resolution_max_length (const xcb_input_device_resolution_state_t *R );
06329
06330
06331
06332
06333
06334
06335
06336
06337
06338
06339
06340 xcb_generic_iterator_t
06341 xcb_input_device_resolution_state_resolution_max_end (const xcb_input_device_resolution_state_t *R );
06342
06352
06353
06354
06355
06356
06357
06358
06359
06360
06361 void
06362 xcb_input_device_resolution_state_next (xcb_input_device_resolution_state_iterator_t *i );
06363
06374
06375
06376
06377
06378
06379
06380
06381
06382
06383 xcb_generic_iterator_t
06384 xcb_input_device_resolution_state_end (xcb_input_device_resolution_state_iterator_t i );
06385
06395
06396
06397
06398
06399
06400
06401
06402
06403
06404 void
06405 xcb_input_device_abs_calib_state_next (xcb_input_device_abs_calib_state_iterator_t *i );
06406
06417
06418
06419
06420
06421
06422
06423
06424
06425
06426 xcb_generic_iterator_t
06427 xcb_input_device_abs_calib_state_end (xcb_input_device_abs_calib_state_iterator_t i );
06428
06438
06439
06440
06441
06442
06443
06444
06445
06446
06447 void
06448 xcb_input_device_abs_area_state_next (xcb_input_device_abs_area_state_iterator_t *i );
06449
06460
06461
06462
06463
06464
06465
06466
06467
06468
06469 xcb_generic_iterator_t
06470 xcb_input_device_abs_area_state_end (xcb_input_device_abs_area_state_iterator_t i );
06471
06481
06482
06483
06484
06485
06486
06487
06488
06489
06490 void
06491 xcb_input_device_core_state_next (xcb_input_device_core_state_iterator_t *i );
06492
06503
06504
06505
06506
06507
06508
06509
06510
06511
06512 xcb_generic_iterator_t
06513 xcb_input_device_core_state_end (xcb_input_device_core_state_iterator_t i );
06514
06524
06525
06526
06527
06528
06529
06530
06531
06532
06533 void
06534 xcb_input_device_enable_state_next (xcb_input_device_enable_state_iterator_t *i );
06535
06546
06547
06548
06549
06550
06551
06552
06553
06554
06555 xcb_generic_iterator_t
06556 xcb_input_device_enable_state_end (xcb_input_device_enable_state_iterator_t i );
06557
06567
06568
06569
06570
06571
06572
06573
06574
06575
06576 void
06577 xcb_input_device_ctl_next (xcb_input_device_ctl_iterator_t *i );
06578
06589
06590
06591
06592
06593
06594
06595
06596
06597
06598 xcb_generic_iterator_t
06599 xcb_input_device_ctl_end (xcb_input_device_ctl_iterator_t i );
06600
06601
06602
06603
06604
06605
06606
06607
06608
06609
06610
06611 uint32_t *
06612 xcb_input_device_resolution_ctl_resolution_values (const xcb_input_device_resolution_ctl_t *R );
06613
06614
06615
06616
06617
06618
06619
06620
06621
06622
06623
06624 int
06625 xcb_input_device_resolution_ctl_resolution_values_length (const xcb_input_device_resolution_ctl_t *R );
06626
06627
06628
06629
06630
06631
06632
06633
06634
06635
06636
06637 xcb_generic_iterator_t
06638 xcb_input_device_resolution_ctl_resolution_values_end (const xcb_input_device_resolution_ctl_t *R );
06639
06649
06650
06651
06652
06653
06654
06655
06656
06657
06658 void
06659 xcb_input_device_resolution_ctl_next (xcb_input_device_resolution_ctl_iterator_t *i );
06660
06671
06672
06673
06674
06675
06676
06677
06678
06679
06680 xcb_generic_iterator_t
06681 xcb_input_device_resolution_ctl_end (xcb_input_device_resolution_ctl_iterator_t i );
06682
06692
06693
06694
06695
06696
06697
06698
06699
06700
06701 void
06702 xcb_input_device_abs_calib_ctl_next (xcb_input_device_abs_calib_ctl_iterator_t *i );
06703
06714
06715
06716
06717
06718
06719
06720
06721
06722
06723 xcb_generic_iterator_t
06724 xcb_input_device_abs_calib_ctl_end (xcb_input_device_abs_calib_ctl_iterator_t i );
06725
06735
06736
06737
06738
06739
06740
06741
06742
06743
06744 void
06745 xcb_input_device_abs_area_ctrl_next (xcb_input_device_abs_area_ctrl_iterator_t *i );
06746
06757
06758
06759
06760
06761
06762
06763
06764
06765
06766 xcb_generic_iterator_t
06767 xcb_input_device_abs_area_ctrl_end (xcb_input_device_abs_area_ctrl_iterator_t i );
06768
06778
06779
06780
06781
06782
06783
06784
06785
06786
06787 void
06788 xcb_input_device_core_ctrl_next (xcb_input_device_core_ctrl_iterator_t *i );
06789
06800
06801
06802
06803
06804
06805
06806
06807
06808
06809 xcb_generic_iterator_t
06810 xcb_input_device_core_ctrl_end (xcb_input_device_core_ctrl_iterator_t i );
06811
06821
06822
06823
06824
06825
06826
06827
06828
06829
06830 void
06831 xcb_input_device_enable_ctrl_next (xcb_input_device_enable_ctrl_iterator_t *i );
06832
06843
06844
06845
06846
06847
06848
06849
06850
06851
06852 xcb_generic_iterator_t
06853 xcb_input_device_enable_ctrl_end (xcb_input_device_enable_ctrl_iterator_t i );
06854
06855
06856 #ifdef __cplusplus
06857 }
06858 #endif
06859
06860 #endif
06861