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
00094 typedef enum xcb_input_device_use_t {
00095 XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0,
00096 XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1,
00097 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2,
00098 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3,
00099 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4
00100 } xcb_input_device_use_t;
00101
00105 typedef struct xcb_input_device_info_t {
00106 xcb_atom_t device_type;
00107 uint8_t device_id;
00108 uint8_t num_class_info;
00109 uint8_t device_use;
00110 uint8_t pad0;
00111 } xcb_input_device_info_t;
00112
00116 typedef struct xcb_input_device_info_iterator_t {
00117 xcb_input_device_info_t *data;
00118 int rem;
00119 int index;
00120 } xcb_input_device_info_iterator_t;
00121
00125 typedef struct xcb_input_list_input_devices_cookie_t {
00126 unsigned int sequence;
00127 } xcb_input_list_input_devices_cookie_t;
00128
00130 #define XCB_INPUT_LIST_INPUT_DEVICES 2
00131
00135 typedef struct xcb_input_list_input_devices_request_t {
00136 uint8_t major_opcode;
00137 uint8_t minor_opcode;
00138 uint16_t length;
00139 } xcb_input_list_input_devices_request_t;
00140
00144 typedef struct xcb_input_list_input_devices_reply_t {
00145 uint8_t response_type;
00146 uint8_t pad0;
00147 uint16_t sequence;
00148 uint32_t length;
00149 uint8_t devices_len;
00150 uint8_t pad1[23];
00151 } xcb_input_list_input_devices_reply_t;
00152
00153 typedef enum xcb_input_input_class_t {
00154 XCB_INPUT_INPUT_CLASS_KEY = 0,
00155 XCB_INPUT_INPUT_CLASS_BUTTON = 1,
00156 XCB_INPUT_INPUT_CLASS_VALUATOR = 2,
00157 XCB_INPUT_INPUT_CLASS_FEEDBACK = 3,
00158 XCB_INPUT_INPUT_CLASS_PROXIMITY = 4,
00159 XCB_INPUT_INPUT_CLASS_FOCUS = 5,
00160 XCB_INPUT_INPUT_CLASS_OTHER = 6
00161 } xcb_input_input_class_t;
00162
00166 typedef struct xcb_input_input_info_t {
00167 uint8_t class_id;
00168 uint8_t len;
00169 } xcb_input_input_info_t;
00170
00174 typedef struct xcb_input_input_info_iterator_t {
00175 xcb_input_input_info_t *data;
00176 int rem;
00177 int index;
00178 } xcb_input_input_info_iterator_t;
00179
00183 typedef struct xcb_input_key_info_t {
00184 uint8_t class_id;
00185 uint8_t len;
00186 xcb_input_key_code_t min_keycode;
00187 xcb_input_key_code_t max_keycode;
00188 uint16_t num_keys;
00189 uint8_t pad0[2];
00190 } xcb_input_key_info_t;
00191
00195 typedef struct xcb_input_key_info_iterator_t {
00196 xcb_input_key_info_t *data;
00197 int rem;
00198 int index;
00199 } xcb_input_key_info_iterator_t;
00200
00204 typedef struct xcb_input_button_info_t {
00205 uint8_t class_id;
00206 uint8_t len;
00207 uint16_t num_buttons;
00208 } xcb_input_button_info_t;
00209
00213 typedef struct xcb_input_button_info_iterator_t {
00214 xcb_input_button_info_t *data;
00215 int rem;
00216 int index;
00217 } xcb_input_button_info_iterator_t;
00218
00222 typedef struct xcb_input_axis_info_t {
00223 uint32_t resolution;
00224 int32_t minimum;
00225 int32_t maximum;
00226 } xcb_input_axis_info_t;
00227
00231 typedef struct xcb_input_axis_info_iterator_t {
00232 xcb_input_axis_info_t *data;
00233 int rem;
00234 int index;
00235 } xcb_input_axis_info_iterator_t;
00236
00240 typedef struct xcb_input_valuator_info_t {
00241 uint8_t class_id;
00242 uint8_t len;
00243 uint8_t axes_len;
00244 uint8_t mode;
00245 uint32_t motion_size;
00246 } xcb_input_valuator_info_t;
00247
00251 typedef struct xcb_input_valuator_info_iterator_t {
00252 xcb_input_valuator_info_t *data;
00253 int rem;
00254 int index;
00255 } xcb_input_valuator_info_iterator_t;
00256
00260 typedef struct xcb_input_input_class_info_t {
00261 uint8_t class_id;
00262 uint8_t event_type_base;
00263 } xcb_input_input_class_info_t;
00264
00268 typedef struct xcb_input_input_class_info_iterator_t {
00269 xcb_input_input_class_info_t *data;
00270 int rem;
00271 int index;
00272 } xcb_input_input_class_info_iterator_t;
00273
00277 typedef struct xcb_input_open_device_cookie_t {
00278 unsigned int sequence;
00279 } xcb_input_open_device_cookie_t;
00280
00282 #define XCB_INPUT_OPEN_DEVICE 3
00283
00287 typedef struct xcb_input_open_device_request_t {
00288 uint8_t major_opcode;
00289 uint8_t minor_opcode;
00290 uint16_t length;
00291 uint8_t device_id;
00292 uint8_t pad0[3];
00293 } xcb_input_open_device_request_t;
00294
00298 typedef struct xcb_input_open_device_reply_t {
00299 uint8_t response_type;
00300 uint8_t pad0;
00301 uint16_t sequence;
00302 uint32_t length;
00303 uint8_t num_classes;
00304 uint8_t pad1[23];
00305 } xcb_input_open_device_reply_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
00702 typedef enum xcb_input_device_input_mode_t {
00703 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE,
00704 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE,
00705 XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE,
00706 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES,
00707 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL,
00708 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL
00709 } xcb_input_device_input_mode_t;
00710
00712 #define XCB_INPUT_ALLOW_DEVICE_EVENTS 19
00713
00717 typedef struct xcb_input_allow_device_events_request_t {
00718 uint8_t major_opcode;
00719 uint8_t minor_opcode;
00720 uint16_t length;
00721 xcb_timestamp_t time;
00722 uint8_t mode;
00723 uint8_t device_id;
00724 } xcb_input_allow_device_events_request_t;
00725
00729 typedef struct xcb_input_get_device_focus_cookie_t {
00730 unsigned int sequence;
00731 } xcb_input_get_device_focus_cookie_t;
00732
00734 #define XCB_INPUT_GET_DEVICE_FOCUS 20
00735
00739 typedef struct xcb_input_get_device_focus_request_t {
00740 uint8_t major_opcode;
00741 uint8_t minor_opcode;
00742 uint16_t length;
00743 uint8_t device_id;
00744 uint8_t pad0[3];
00745 } xcb_input_get_device_focus_request_t;
00746
00750 typedef struct xcb_input_get_device_focus_reply_t {
00751 uint8_t response_type;
00752 uint8_t pad0;
00753 uint16_t sequence;
00754 uint32_t length;
00755 xcb_window_t focus;
00756 xcb_timestamp_t time;
00757 uint8_t revert_to;
00758 uint8_t pad1[15];
00759 } xcb_input_get_device_focus_reply_t;
00760
00762 #define XCB_INPUT_SET_DEVICE_FOCUS 21
00763
00767 typedef struct xcb_input_set_device_focus_request_t {
00768 uint8_t major_opcode;
00769 uint8_t minor_opcode;
00770 uint16_t length;
00771 xcb_window_t focus;
00772 xcb_timestamp_t time;
00773 uint8_t revert_to;
00774 uint8_t device_id;
00775 } xcb_input_set_device_focus_request_t;
00776
00780 typedef struct xcb_input_get_feedback_control_cookie_t {
00781 unsigned int sequence;
00782 } xcb_input_get_feedback_control_cookie_t;
00783
00785 #define XCB_INPUT_GET_FEEDBACK_CONTROL 22
00786
00790 typedef struct xcb_input_get_feedback_control_request_t {
00791 uint8_t major_opcode;
00792 uint8_t minor_opcode;
00793 uint16_t length;
00794 uint8_t device_id;
00795 uint8_t pad0[3];
00796 } xcb_input_get_feedback_control_request_t;
00797
00801 typedef struct xcb_input_get_feedback_control_reply_t {
00802 uint8_t response_type;
00803 uint8_t pad0;
00804 uint16_t sequence;
00805 uint32_t length;
00806 uint16_t num_feedback;
00807 uint8_t pad1[22];
00808 } xcb_input_get_feedback_control_reply_t;
00809
00810 typedef enum xcb_input_feedback_class_t {
00811 XCB_INPUT_FEEDBACK_CLASS_KEYBOARD,
00812 XCB_INPUT_FEEDBACK_CLASS_POINTER,
00813 XCB_INPUT_FEEDBACK_CLASS_STRING,
00814 XCB_INPUT_FEEDBACK_CLASS_INTEGER,
00815 XCB_INPUT_FEEDBACK_CLASS_LED,
00816 XCB_INPUT_FEEDBACK_CLASS_BELL
00817 } xcb_input_feedback_class_t;
00818
00822 typedef struct xcb_input_feedback_state_t {
00823 uint8_t class_id;
00824 uint8_t id;
00825 uint16_t len;
00826 } xcb_input_feedback_state_t;
00827
00831 typedef struct xcb_input_feedback_state_iterator_t {
00832 xcb_input_feedback_state_t *data;
00833 int rem;
00834 int index;
00835 } xcb_input_feedback_state_iterator_t;
00836
00840 typedef struct xcb_input_kbd_feedback_state_t {
00841 uint8_t class_id;
00842 uint8_t id;
00843 uint16_t len;
00844 uint16_t pitch;
00845 uint16_t duration;
00846 uint32_t led_mask;
00847 uint32_t led_values;
00848 uint8_t global_auto_repeat;
00849 uint8_t click;
00850 uint8_t percent;
00851 uint8_t pad0;
00852 uint8_t auto_repeats[32];
00853 } xcb_input_kbd_feedback_state_t;
00854
00858 typedef struct xcb_input_kbd_feedback_state_iterator_t {
00859 xcb_input_kbd_feedback_state_t *data;
00860 int rem;
00861 int index;
00862 } xcb_input_kbd_feedback_state_iterator_t;
00863
00867 typedef struct xcb_input_ptr_feedback_state_t {
00868 uint8_t class_id;
00869 uint8_t id;
00870 uint16_t len;
00871 uint8_t pad0[2];
00872 uint16_t accel_num;
00873 uint16_t accel_denom;
00874 uint16_t threshold;
00875 } xcb_input_ptr_feedback_state_t;
00876
00880 typedef struct xcb_input_ptr_feedback_state_iterator_t {
00881 xcb_input_ptr_feedback_state_t *data;
00882 int rem;
00883 int index;
00884 } xcb_input_ptr_feedback_state_iterator_t;
00885
00889 typedef struct xcb_input_integer_feedback_state_t {
00890 uint8_t class_id;
00891 uint8_t id;
00892 uint16_t len;
00893 uint32_t resolution;
00894 int32_t min_value;
00895 int32_t max_value;
00896 } xcb_input_integer_feedback_state_t;
00897
00901 typedef struct xcb_input_integer_feedback_state_iterator_t {
00902 xcb_input_integer_feedback_state_t *data;
00903 int rem;
00904 int index;
00905 } xcb_input_integer_feedback_state_iterator_t;
00906
00910 typedef struct xcb_input_string_feedback_state_t {
00911 uint8_t class_id;
00912 uint8_t id;
00913 uint16_t len;
00914 uint16_t max_symbols;
00915 uint16_t num_keysyms;
00916 } xcb_input_string_feedback_state_t;
00917
00921 typedef struct xcb_input_string_feedback_state_iterator_t {
00922 xcb_input_string_feedback_state_t *data;
00923 int rem;
00924 int index;
00925 } xcb_input_string_feedback_state_iterator_t;
00926
00930 typedef struct xcb_input_bell_feedback_state_t {
00931 uint8_t class_id;
00932 uint8_t id;
00933 uint16_t len;
00934 uint8_t percent;
00935 uint8_t pad0[3];
00936 uint16_t pitch;
00937 uint16_t duration;
00938 } xcb_input_bell_feedback_state_t;
00939
00943 typedef struct xcb_input_bell_feedback_state_iterator_t {
00944 xcb_input_bell_feedback_state_t *data;
00945 int rem;
00946 int index;
00947 } xcb_input_bell_feedback_state_iterator_t;
00948
00952 typedef struct xcb_input_led_feedback_state_t {
00953 uint8_t class_id;
00954 uint8_t id;
00955 uint16_t len;
00956 uint32_t led_mask;
00957 uint32_t led_values;
00958 } xcb_input_led_feedback_state_t;
00959
00963 typedef struct xcb_input_led_feedback_state_iterator_t {
00964 xcb_input_led_feedback_state_t *data;
00965 int rem;
00966 int index;
00967 } xcb_input_led_feedback_state_iterator_t;
00968
00972 typedef struct xcb_input_feedback_ctl_t {
00973 uint8_t class_id;
00974 uint8_t id;
00975 uint16_t len;
00976 } xcb_input_feedback_ctl_t;
00977
00981 typedef struct xcb_input_feedback_ctl_iterator_t {
00982 xcb_input_feedback_ctl_t *data;
00983 int rem;
00984 int index;
00985 } xcb_input_feedback_ctl_iterator_t;
00986
00990 typedef struct xcb_input_kbd_feedback_ctl_t {
00991 uint8_t class_id;
00992 uint8_t id;
00993 uint16_t len;
00994 xcb_input_key_code_t key;
00995 uint8_t auto_repeat_mode;
00996 int8_t key_click_percent;
00997 int8_t bell_percent;
00998 int16_t bell_pitch;
00999 int16_t bell_duration;
01000 uint32_t led_mask;
01001 uint32_t led_values;
01002 } xcb_input_kbd_feedback_ctl_t;
01003
01007 typedef struct xcb_input_kbd_feedback_ctl_iterator_t {
01008 xcb_input_kbd_feedback_ctl_t *data;
01009 int rem;
01010 int index;
01011 } xcb_input_kbd_feedback_ctl_iterator_t;
01012
01016 typedef struct xcb_input_ptr_feedback_ctl_t {
01017 uint8_t class_id;
01018 uint8_t id;
01019 uint16_t len;
01020 uint8_t pad0[2];
01021 int16_t num;
01022 int16_t denom;
01023 int16_t threshold;
01024 } xcb_input_ptr_feedback_ctl_t;
01025
01029 typedef struct xcb_input_ptr_feedback_ctl_iterator_t {
01030 xcb_input_ptr_feedback_ctl_t *data;
01031 int rem;
01032 int index;
01033 } xcb_input_ptr_feedback_ctl_iterator_t;
01034
01038 typedef struct xcb_input_integer_feedback_ctl_t {
01039 uint8_t class_id;
01040 uint8_t id;
01041 uint16_t len;
01042 int32_t int_to_display;
01043 } xcb_input_integer_feedback_ctl_t;
01044
01048 typedef struct xcb_input_integer_feedback_ctl_iterator_t {
01049 xcb_input_integer_feedback_ctl_t *data;
01050 int rem;
01051 int index;
01052 } xcb_input_integer_feedback_ctl_iterator_t;
01053
01057 typedef struct xcb_input_string_feedback_ctl_t {
01058 uint8_t class_id;
01059 uint8_t id;
01060 uint16_t len;
01061 uint8_t pad0[2];
01062 uint16_t num_keysyms;
01063 } xcb_input_string_feedback_ctl_t;
01064
01068 typedef struct xcb_input_string_feedback_ctl_iterator_t {
01069 xcb_input_string_feedback_ctl_t *data;
01070 int rem;
01071 int index;
01072 } xcb_input_string_feedback_ctl_iterator_t;
01073
01077 typedef struct xcb_input_bell_feedback_ctl_t {
01078 uint8_t class_id;
01079 uint8_t id;
01080 uint16_t len;
01081 int8_t percent;
01082 uint8_t pad0[3];
01083 int16_t pitch;
01084 int16_t duration;
01085 } xcb_input_bell_feedback_ctl_t;
01086
01090 typedef struct xcb_input_bell_feedback_ctl_iterator_t {
01091 xcb_input_bell_feedback_ctl_t *data;
01092 int rem;
01093 int index;
01094 } xcb_input_bell_feedback_ctl_iterator_t;
01095
01099 typedef struct xcb_input_led_feedback_ctl_t {
01100 uint8_t class_id;
01101 uint8_t id;
01102 uint16_t len;
01103 uint32_t led_mask;
01104 uint32_t led_values;
01105 } xcb_input_led_feedback_ctl_t;
01106
01110 typedef struct xcb_input_led_feedback_ctl_iterator_t {
01111 xcb_input_led_feedback_ctl_t *data;
01112 int rem;
01113 int index;
01114 } xcb_input_led_feedback_ctl_iterator_t;
01115
01119 typedef struct xcb_input_get_device_key_mapping_cookie_t {
01120 unsigned int sequence;
01121 } xcb_input_get_device_key_mapping_cookie_t;
01122
01124 #define XCB_INPUT_GET_DEVICE_KEY_MAPPING 24
01125
01129 typedef struct xcb_input_get_device_key_mapping_request_t {
01130 uint8_t major_opcode;
01131 uint8_t minor_opcode;
01132 uint16_t length;
01133 uint8_t device_id;
01134 xcb_input_key_code_t first_keycode;
01135 uint8_t count;
01136 } xcb_input_get_device_key_mapping_request_t;
01137
01141 typedef struct xcb_input_get_device_key_mapping_reply_t {
01142 uint8_t response_type;
01143 uint8_t pad0;
01144 uint16_t sequence;
01145 uint32_t length;
01146 uint8_t keysyms_per_keycode;
01147 uint8_t pad1[23];
01148 } xcb_input_get_device_key_mapping_reply_t;
01149
01151 #define XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING 25
01152
01156 typedef struct xcb_input_change_device_key_mapping_request_t {
01157 uint8_t major_opcode;
01158 uint8_t minor_opcode;
01159 uint16_t length;
01160 uint8_t device_id;
01161 xcb_input_key_code_t first_keycode;
01162 uint8_t keysyms_per_keycode;
01163 uint8_t keycode_count;
01164 } xcb_input_change_device_key_mapping_request_t;
01165
01169 typedef struct xcb_input_get_device_modifier_mapping_cookie_t {
01170 unsigned int sequence;
01171 } xcb_input_get_device_modifier_mapping_cookie_t;
01172
01174 #define XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING 26
01175
01179 typedef struct xcb_input_get_device_modifier_mapping_request_t {
01180 uint8_t major_opcode;
01181 uint8_t minor_opcode;
01182 uint16_t length;
01183 uint8_t device_id;
01184 uint8_t pad0[3];
01185 } xcb_input_get_device_modifier_mapping_request_t;
01186
01190 typedef struct xcb_input_get_device_modifier_mapping_reply_t {
01191 uint8_t response_type;
01192 uint8_t pad0;
01193 uint16_t sequence;
01194 uint32_t length;
01195 uint8_t keycodes_per_modifier;
01196 uint8_t pad1[23];
01197 } xcb_input_get_device_modifier_mapping_reply_t;
01198
01202 typedef struct xcb_input_set_device_modifier_mapping_cookie_t {
01203 unsigned int sequence;
01204 } xcb_input_set_device_modifier_mapping_cookie_t;
01205
01207 #define XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING 27
01208
01212 typedef struct xcb_input_set_device_modifier_mapping_request_t {
01213 uint8_t major_opcode;
01214 uint8_t minor_opcode;
01215 uint16_t length;
01216 uint8_t device_id;
01217 uint8_t keycodes_per_modifier;
01218 uint8_t pad0;
01219 } xcb_input_set_device_modifier_mapping_request_t;
01220
01224 typedef struct xcb_input_set_device_modifier_mapping_reply_t {
01225 uint8_t response_type;
01226 uint8_t pad0;
01227 uint16_t sequence;
01228 uint32_t length;
01229 uint8_t status;
01230 uint8_t pad1[23];
01231 } xcb_input_set_device_modifier_mapping_reply_t;
01232
01236 typedef struct xcb_input_get_device_button_mapping_cookie_t {
01237 unsigned int sequence;
01238 } xcb_input_get_device_button_mapping_cookie_t;
01239
01241 #define XCB_INPUT_GET_DEVICE_BUTTON_MAPPING 28
01242
01246 typedef struct xcb_input_get_device_button_mapping_request_t {
01247 uint8_t major_opcode;
01248 uint8_t minor_opcode;
01249 uint16_t length;
01250 uint8_t device_id;
01251 uint8_t pad0[3];
01252 } xcb_input_get_device_button_mapping_request_t;
01253
01257 typedef struct xcb_input_get_device_button_mapping_reply_t {
01258 uint8_t response_type;
01259 uint8_t pad0;
01260 uint16_t sequence;
01261 uint32_t length;
01262 uint8_t map_size;
01263 uint8_t pad1[23];
01264 } xcb_input_get_device_button_mapping_reply_t;
01265
01269 typedef struct xcb_input_set_device_button_mapping_cookie_t {
01270 unsigned int sequence;
01271 } xcb_input_set_device_button_mapping_cookie_t;
01272
01274 #define XCB_INPUT_SET_DEVICE_BUTTON_MAPPING 29
01275
01279 typedef struct xcb_input_set_device_button_mapping_request_t {
01280 uint8_t major_opcode;
01281 uint8_t minor_opcode;
01282 uint16_t length;
01283 uint8_t device_id;
01284 uint8_t map_size;
01285 uint8_t pad0[2];
01286 } xcb_input_set_device_button_mapping_request_t;
01287
01291 typedef struct xcb_input_set_device_button_mapping_reply_t {
01292 uint8_t response_type;
01293 uint8_t pad0;
01294 uint16_t sequence;
01295 uint32_t length;
01296 uint8_t status;
01297 uint8_t pad1[23];
01298 } xcb_input_set_device_button_mapping_reply_t;
01299
01303 typedef struct xcb_input_query_device_state_cookie_t {
01304 unsigned int sequence;
01305 } xcb_input_query_device_state_cookie_t;
01306
01308 #define XCB_INPUT_QUERY_DEVICE_STATE 30
01309
01313 typedef struct xcb_input_query_device_state_request_t {
01314 uint8_t major_opcode;
01315 uint8_t minor_opcode;
01316 uint16_t length;
01317 uint8_t device_id;
01318 uint8_t pad0[3];
01319 } xcb_input_query_device_state_request_t;
01320
01324 typedef struct xcb_input_query_device_state_reply_t {
01325 uint8_t response_type;
01326 uint8_t pad0;
01327 uint16_t sequence;
01328 uint32_t length;
01329 uint8_t num_classes;
01330 uint8_t pad1[23];
01331 } xcb_input_query_device_state_reply_t;
01332
01336 typedef struct xcb_input_input_state_t {
01337 uint8_t class_id;
01338 uint8_t len;
01339 uint8_t num_items;
01340 } xcb_input_input_state_t;
01341
01345 typedef struct xcb_input_input_state_iterator_t {
01346 xcb_input_input_state_t *data;
01347 int rem;
01348 int index;
01349 } xcb_input_input_state_iterator_t;
01350
01354 typedef struct xcb_input_key_state_t {
01355 uint8_t class_id;
01356 uint8_t len;
01357 uint8_t num_keys;
01358 uint8_t pad0;
01359 uint8_t keys[32];
01360 } xcb_input_key_state_t;
01361
01365 typedef struct xcb_input_key_state_iterator_t {
01366 xcb_input_key_state_t *data;
01367 int rem;
01368 int index;
01369 } xcb_input_key_state_iterator_t;
01370
01374 typedef struct xcb_input_button_state_t {
01375 uint8_t class_id;
01376 uint8_t len;
01377 uint8_t num_buttons;
01378 uint8_t pad0;
01379 uint8_t buttons[32];
01380 } xcb_input_button_state_t;
01381
01385 typedef struct xcb_input_button_state_iterator_t {
01386 xcb_input_button_state_t *data;
01387 int rem;
01388 int index;
01389 } xcb_input_button_state_iterator_t;
01390
01394 typedef struct xcb_input_valuator_state_t {
01395 uint8_t class_id;
01396 uint8_t len;
01397 uint8_t num_valuators;
01398 uint8_t mode;
01399 } xcb_input_valuator_state_t;
01400
01404 typedef struct xcb_input_valuator_state_iterator_t {
01405 xcb_input_valuator_state_t *data;
01406 int rem;
01407 int index;
01408 } xcb_input_valuator_state_iterator_t;
01409
01411 #define XCB_INPUT_SEND_EXTENSION_EVENT 31
01412
01416 typedef struct xcb_input_send_extension_event_request_t {
01417 uint8_t major_opcode;
01418 uint8_t minor_opcode;
01419 uint16_t length;
01420 xcb_window_t destination;
01421 uint8_t device_id;
01422 uint8_t propagate;
01423 uint16_t num_classes;
01424 uint8_t num_events;
01425 uint8_t pad0[3];
01426 } xcb_input_send_extension_event_request_t;
01427
01429 #define XCB_INPUT_DEVICE_BELL 32
01430
01434 typedef struct xcb_input_device_bell_request_t {
01435 uint8_t major_opcode;
01436 uint8_t minor_opcode;
01437 uint16_t length;
01438 uint8_t device_id;
01439 uint8_t feedback_id;
01440 uint8_t feedback_class;
01441 int8_t percent;
01442 } xcb_input_device_bell_request_t;
01443
01447 typedef struct xcb_input_set_device_valuators_cookie_t {
01448 unsigned int sequence;
01449 } xcb_input_set_device_valuators_cookie_t;
01450
01452 #define XCB_INPUT_SET_DEVICE_VALUATORS 33
01453
01457 typedef struct xcb_input_set_device_valuators_request_t {
01458 uint8_t major_opcode;
01459 uint8_t minor_opcode;
01460 uint16_t length;
01461 uint8_t device_id;
01462 uint8_t first_valuator;
01463 uint8_t num_valuators;
01464 uint8_t pad0;
01465 } xcb_input_set_device_valuators_request_t;
01466
01470 typedef struct xcb_input_set_device_valuators_reply_t {
01471 uint8_t response_type;
01472 uint8_t pad0;
01473 uint16_t sequence;
01474 uint32_t length;
01475 uint8_t status;
01476 uint8_t pad1[23];
01477 } xcb_input_set_device_valuators_reply_t;
01478
01482 typedef struct xcb_input_get_device_control_cookie_t {
01483 unsigned int sequence;
01484 } xcb_input_get_device_control_cookie_t;
01485
01487 #define XCB_INPUT_GET_DEVICE_CONTROL 34
01488
01492 typedef struct xcb_input_get_device_control_request_t {
01493 uint8_t major_opcode;
01494 uint8_t minor_opcode;
01495 uint16_t length;
01496 uint16_t control_id;
01497 uint8_t device_id;
01498 uint8_t pad0;
01499 } xcb_input_get_device_control_request_t;
01500
01504 typedef struct xcb_input_get_device_control_reply_t {
01505 uint8_t response_type;
01506 uint8_t pad0;
01507 uint16_t sequence;
01508 uint32_t length;
01509 uint8_t status;
01510 uint8_t pad1[23];
01511 } xcb_input_get_device_control_reply_t;
01512
01516 typedef struct xcb_input_device_state_t {
01517 uint16_t control_id;
01518 uint16_t len;
01519 } xcb_input_device_state_t;
01520
01524 typedef struct xcb_input_device_state_iterator_t {
01525 xcb_input_device_state_t *data;
01526 int rem;
01527 int index;
01528 } xcb_input_device_state_iterator_t;
01529
01533 typedef struct xcb_input_device_resolution_state_t {
01534 uint16_t control_id;
01535 uint16_t len;
01536 uint32_t num_valuators;
01537 } xcb_input_device_resolution_state_t;
01538
01542 typedef struct xcb_input_device_resolution_state_iterator_t {
01543 xcb_input_device_resolution_state_t *data;
01544 int rem;
01545 int index;
01546 } xcb_input_device_resolution_state_iterator_t;
01547
01551 typedef struct xcb_input_device_abs_calib_state_t {
01552 uint16_t control_id;
01553 uint16_t len;
01554 int32_t min_x;
01555 int32_t max_x;
01556 int32_t min_y;
01557 int32_t max_y;
01558 uint32_t flip_x;
01559 uint32_t flip_y;
01560 uint32_t rotation;
01561 uint32_t button_threshold;
01562 } xcb_input_device_abs_calib_state_t;
01563
01567 typedef struct xcb_input_device_abs_calib_state_iterator_t {
01568 xcb_input_device_abs_calib_state_t *data;
01569 int rem;
01570 int index;
01571 } xcb_input_device_abs_calib_state_iterator_t;
01572
01576 typedef struct xcb_input_device_abs_area_state_t {
01577 uint16_t control_id;
01578 uint16_t len;
01579 uint32_t offset_x;
01580 uint32_t offset_y;
01581 uint32_t width;
01582 uint32_t height;
01583 uint32_t screen;
01584 uint32_t following;
01585 } xcb_input_device_abs_area_state_t;
01586
01590 typedef struct xcb_input_device_abs_area_state_iterator_t {
01591 xcb_input_device_abs_area_state_t *data;
01592 int rem;
01593 int index;
01594 } xcb_input_device_abs_area_state_iterator_t;
01595
01599 typedef struct xcb_input_device_core_state_t {
01600 uint16_t control_id;
01601 uint16_t len;
01602 uint8_t status;
01603 uint8_t iscore;
01604 uint8_t pad0[2];
01605 } xcb_input_device_core_state_t;
01606
01610 typedef struct xcb_input_device_core_state_iterator_t {
01611 xcb_input_device_core_state_t *data;
01612 int rem;
01613 int index;
01614 } xcb_input_device_core_state_iterator_t;
01615
01619 typedef struct xcb_input_device_enable_state_t {
01620 uint16_t control_id;
01621 uint16_t len;
01622 uint8_t enable;
01623 uint8_t pad0[3];
01624 } xcb_input_device_enable_state_t;
01625
01629 typedef struct xcb_input_device_enable_state_iterator_t {
01630 xcb_input_device_enable_state_t *data;
01631 int rem;
01632 int index;
01633 } xcb_input_device_enable_state_iterator_t;
01634
01638 typedef struct xcb_input_device_ctl_t {
01639 uint16_t control_id;
01640 uint16_t len;
01641 } xcb_input_device_ctl_t;
01642
01646 typedef struct xcb_input_device_ctl_iterator_t {
01647 xcb_input_device_ctl_t *data;
01648 int rem;
01649 int index;
01650 } xcb_input_device_ctl_iterator_t;
01651
01655 typedef struct xcb_input_device_resolution_ctl_t {
01656 uint16_t control_id;
01657 uint16_t len;
01658 uint8_t first_valuator;
01659 uint8_t num_valuators;
01660 } xcb_input_device_resolution_ctl_t;
01661
01665 typedef struct xcb_input_device_resolution_ctl_iterator_t {
01666 xcb_input_device_resolution_ctl_t *data;
01667 int rem;
01668 int index;
01669 } xcb_input_device_resolution_ctl_iterator_t;
01670
01674 typedef struct xcb_input_device_abs_calib_ctl_t {
01675 uint16_t control_id;
01676 uint16_t len;
01677 int32_t min_x;
01678 int32_t max_x;
01679 int32_t min_y;
01680 int32_t max_y;
01681 uint32_t flip_x;
01682 uint32_t flip_y;
01683 uint32_t rotation;
01684 uint32_t button_threshold;
01685 } xcb_input_device_abs_calib_ctl_t;
01686
01690 typedef struct xcb_input_device_abs_calib_ctl_iterator_t {
01691 xcb_input_device_abs_calib_ctl_t *data;
01692 int rem;
01693 int index;
01694 } xcb_input_device_abs_calib_ctl_iterator_t;
01695
01699 typedef struct xcb_input_device_abs_area_ctrl_t {
01700 uint16_t control_id;
01701 uint16_t len;
01702 uint32_t offset_x;
01703 uint32_t offset_y;
01704 int32_t width;
01705 int32_t height;
01706 int32_t screen;
01707 uint32_t following;
01708 } xcb_input_device_abs_area_ctrl_t;
01709
01713 typedef struct xcb_input_device_abs_area_ctrl_iterator_t {
01714 xcb_input_device_abs_area_ctrl_t *data;
01715 int rem;
01716 int index;
01717 } xcb_input_device_abs_area_ctrl_iterator_t;
01718
01722 typedef struct xcb_input_device_core_ctrl_t {
01723 uint16_t control_id;
01724 uint16_t len;
01725 uint8_t status;
01726 uint8_t pad0[3];
01727 } xcb_input_device_core_ctrl_t;
01728
01732 typedef struct xcb_input_device_core_ctrl_iterator_t {
01733 xcb_input_device_core_ctrl_t *data;
01734 int rem;
01735 int index;
01736 } xcb_input_device_core_ctrl_iterator_t;
01737
01741 typedef struct xcb_input_device_enable_ctrl_t {
01742 uint16_t control_id;
01743 uint16_t len;
01744 uint8_t enable;
01745 uint8_t pad0[3];
01746 } xcb_input_device_enable_ctrl_t;
01747
01751 typedef struct xcb_input_device_enable_ctrl_iterator_t {
01752 xcb_input_device_enable_ctrl_t *data;
01753 int rem;
01754 int index;
01755 } xcb_input_device_enable_ctrl_iterator_t;
01756
01758 #define XCB_INPUT_DEVICE_VALUATOR 0
01759
01763 typedef struct xcb_input_device_valuator_event_t {
01764 uint8_t response_type;
01765 uint8_t device_id;
01766 uint16_t sequence;
01767 uint16_t device_state;
01768 uint8_t num_valuators;
01769 uint8_t first_valuator;
01770 int32_t valuators[6];
01771 } xcb_input_device_valuator_event_t;
01772
01774 #define XCB_INPUT_DEVICE_KEY_PRESS 1
01775
01779 typedef struct xcb_input_device_key_press_event_t {
01780 uint8_t response_type;
01781 uint8_t detail;
01782 uint16_t sequence;
01783 xcb_timestamp_t time;
01784 xcb_window_t root;
01785 xcb_window_t event;
01786 xcb_window_t child;
01787 int16_t root_x;
01788 int16_t root_y;
01789 int16_t event_x;
01790 int16_t event_y;
01791 uint16_t state;
01792 uint8_t same_screen;
01793 uint8_t device_id;
01794 } xcb_input_device_key_press_event_t;
01795
01797 #define XCB_INPUT_DEVICE_KEY_RELEASE 2
01798
01799 typedef xcb_input_device_key_press_event_t xcb_input_device_key_release_event_t;
01800
01802 #define XCB_INPUT_DEVICE_BUTTON_PRESS 3
01803
01804 typedef xcb_input_device_key_press_event_t xcb_input_device_button_press_event_t;
01805
01807 #define XCB_INPUT_DEVICE_BUTTON_RELEASE 4
01808
01809 typedef xcb_input_device_key_press_event_t xcb_input_device_button_release_event_t;
01810
01812 #define XCB_INPUT_DEVICE_MOTION_NOTIFY 5
01813
01814 typedef xcb_input_device_key_press_event_t xcb_input_device_motion_notify_event_t;
01815
01817 #define XCB_INPUT_PROXIMITY_IN 8
01818
01819 typedef xcb_input_device_key_press_event_t xcb_input_proximity_in_event_t;
01820
01822 #define XCB_INPUT_PROXIMITY_OUT 9
01823
01824 typedef xcb_input_device_key_press_event_t xcb_input_proximity_out_event_t;
01825
01827 #define XCB_INPUT_FOCUS_IN 6
01828
01832 typedef struct xcb_input_focus_in_event_t {
01833 uint8_t response_type;
01834 uint8_t detail;
01835 uint16_t sequence;
01836 xcb_timestamp_t time;
01837 xcb_window_t window;
01838 uint8_t mode;
01839 uint8_t device_id;
01840 uint8_t pad0[18];
01841 } xcb_input_focus_in_event_t;
01842
01844 #define XCB_INPUT_FOCUS_OUT 7
01845
01846 typedef xcb_input_focus_in_event_t xcb_input_focus_out_event_t;
01847
01849 #define XCB_INPUT_DEVICE_STATE_NOTIFY 10
01850
01854 typedef struct xcb_input_device_state_notify_event_t {
01855 uint8_t response_type;
01856 uint8_t device_id;
01857 uint16_t sequence;
01858 xcb_timestamp_t time;
01859 uint8_t num_keys;
01860 uint8_t num_buttons;
01861 uint8_t num_valuators;
01862 uint8_t classes_reported;
01863 uint8_t buttons[4];
01864 uint8_t keys[4];
01865 uint32_t valuators[3];
01866 } xcb_input_device_state_notify_event_t;
01867
01869 #define XCB_INPUT_DEVICE_MAPPING_NOTIFY 11
01870
01874 typedef struct xcb_input_device_mapping_notify_event_t {
01875 uint8_t response_type;
01876 uint8_t device_id;
01877 uint16_t sequence;
01878 uint8_t request;
01879 xcb_input_key_code_t first_keycode;
01880 uint8_t count;
01881 uint8_t pad0;
01882 xcb_timestamp_t time;
01883 uint8_t pad1[20];
01884 } xcb_input_device_mapping_notify_event_t;
01885
01887 #define XCB_INPUT_CHANGE_DEVICE_NOTIFY 12
01888
01892 typedef struct xcb_input_change_device_notify_event_t {
01893 uint8_t response_type;
01894 uint8_t device_id;
01895 uint16_t sequence;
01896 xcb_timestamp_t time;
01897 uint8_t request;
01898 uint8_t pad0[23];
01899 } xcb_input_change_device_notify_event_t;
01900
01902 #define XCB_INPUT_DEVICE_KEY_STATE_NOTIFY 13
01903
01907 typedef struct xcb_input_device_key_state_notify_event_t {
01908 uint8_t response_type;
01909 uint8_t device_id;
01910 uint16_t sequence;
01911 uint8_t keys[28];
01912 } xcb_input_device_key_state_notify_event_t;
01913
01915 #define XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY 14
01916
01920 typedef struct xcb_input_device_button_state_notify_event_t {
01921 uint8_t response_type;
01922 uint8_t device_id;
01923 uint16_t sequence;
01924 uint8_t buttons[28];
01925 } xcb_input_device_button_state_notify_event_t;
01926
01928 #define XCB_INPUT_DEVICE_PRESENCE_NOTIFY 15
01929
01933 typedef struct xcb_input_device_presence_notify_event_t {
01934 uint8_t response_type;
01935 uint8_t pad0;
01936 uint16_t sequence;
01937 xcb_timestamp_t time;
01938 uint8_t devchange;
01939 uint8_t device_id;
01940 uint16_t control;
01941 uint8_t pad1[20];
01942 } xcb_input_device_presence_notify_event_t;
01943
01945 #define XCB_INPUT_DEVICE 0
01946
01950 typedef struct xcb_input_device_error_t {
01951 uint8_t response_type;
01952 uint8_t error_code;
01953 uint16_t sequence;
01954 } xcb_input_device_error_t;
01955
01957 #define XCB_INPUT_EVENT 1
01958
01962 typedef struct xcb_input_event_error_t {
01963 uint8_t response_type;
01964 uint8_t error_code;
01965 uint16_t sequence;
01966 } xcb_input_event_error_t;
01967
01969 #define XCB_INPUT_MODE 2
01970
01974 typedef struct xcb_input_mode_error_t {
01975 uint8_t response_type;
01976 uint8_t error_code;
01977 uint16_t sequence;
01978 } xcb_input_mode_error_t;
01979
01981 #define XCB_INPUT_DEVICE_BUSY 3
01982
01986 typedef struct xcb_input_device_busy_error_t {
01987 uint8_t response_type;
01988 uint8_t error_code;
01989 uint16_t sequence;
01990 } xcb_input_device_busy_error_t;
01991
01993 #define XCB_INPUT_CLASS 4
01994
01998 typedef struct xcb_input_class_error_t {
01999 uint8_t response_type;
02000 uint8_t error_code;
02001 uint16_t sequence;
02002 } xcb_input_class_error_t;
02003
02013
02014
02015
02016
02017
02018
02019
02020
02021
02022 void
02023 xcb_input_key_code_next (xcb_input_key_code_iterator_t *i );
02024
02035
02036
02037
02038
02039
02040
02041
02042
02043
02044 xcb_generic_iterator_t
02045 xcb_input_key_code_end (xcb_input_key_code_iterator_t i );
02046
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065 void
02066 xcb_input_event_class_next (xcb_input_event_class_iterator_t *i );
02067
02078
02079
02080
02081
02082
02083
02084
02085
02086
02087 xcb_generic_iterator_t
02088 xcb_input_event_class_end (xcb_input_event_class_iterator_t i );
02089
02090 int
02091 xcb_input_get_extension_version_sizeof (const void *_buffer );
02092
02102
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112
02113 xcb_input_get_extension_version_cookie_t
02114 xcb_input_get_extension_version (xcb_connection_t *c ,
02115 uint16_t name_len ,
02116 const char *name );
02117
02130
02131
02132
02133
02134
02135
02136
02137
02138
02139
02140
02141 xcb_input_get_extension_version_cookie_t
02142 xcb_input_get_extension_version_unchecked (xcb_connection_t *c ,
02143 uint16_t name_len ,
02144 const char *name );
02145
02161
02162
02163
02164
02165
02166
02167
02168
02169
02170
02171
02172 xcb_input_get_extension_version_reply_t *
02173 xcb_input_get_extension_version_reply (xcb_connection_t *c ,
02174 xcb_input_get_extension_version_cookie_t cookie ,
02175 xcb_generic_error_t **e );
02176
02186
02187
02188
02189
02190
02191
02192
02193
02194
02195 void
02196 xcb_input_device_info_next (xcb_input_device_info_iterator_t *i );
02197
02208
02209
02210
02211
02212
02213
02214
02215
02216
02217 xcb_generic_iterator_t
02218 xcb_input_device_info_end (xcb_input_device_info_iterator_t i );
02219
02220 int
02221 xcb_input_list_input_devices_sizeof (const void *_buffer );
02222
02232
02233
02234
02235
02236
02237
02238
02239
02240
02241 xcb_input_list_input_devices_cookie_t
02242 xcb_input_list_input_devices (xcb_connection_t *c );
02243
02256
02257
02258
02259
02260
02261
02262
02263
02264
02265 xcb_input_list_input_devices_cookie_t
02266 xcb_input_list_input_devices_unchecked (xcb_connection_t *c );
02267
02268
02269
02270
02271
02272
02273
02274
02275
02276
02277
02278 xcb_input_device_info_t *
02279 xcb_input_list_input_devices_devices (const xcb_input_list_input_devices_reply_t *R );
02280
02281
02282
02283
02284
02285
02286
02287
02288
02289
02290
02291 int
02292 xcb_input_list_input_devices_devices_length (const xcb_input_list_input_devices_reply_t *R );
02293
02294
02295
02296
02297
02298
02299
02300
02301
02302
02303
02304 xcb_input_device_info_iterator_t
02305 xcb_input_list_input_devices_devices_iterator (const xcb_input_list_input_devices_reply_t *R );
02306
02322
02323
02324
02325
02326
02327
02328
02329
02330
02331
02332
02333 xcb_input_list_input_devices_reply_t *
02334 xcb_input_list_input_devices_reply (xcb_connection_t *c ,
02335 xcb_input_list_input_devices_cookie_t cookie ,
02336 xcb_generic_error_t **e );
02337
02347
02348
02349
02350
02351
02352
02353
02354
02355
02356 void
02357 xcb_input_input_info_next (xcb_input_input_info_iterator_t *i );
02358
02369
02370
02371
02372
02373
02374
02375
02376
02377
02378 xcb_generic_iterator_t
02379 xcb_input_input_info_end (xcb_input_input_info_iterator_t i );
02380
02390
02391
02392
02393
02394
02395
02396
02397
02398
02399 void
02400 xcb_input_key_info_next (xcb_input_key_info_iterator_t *i );
02401
02412
02413
02414
02415
02416
02417
02418
02419
02420
02421 xcb_generic_iterator_t
02422 xcb_input_key_info_end (xcb_input_key_info_iterator_t i );
02423
02433
02434
02435
02436
02437
02438
02439
02440
02441
02442 void
02443 xcb_input_button_info_next (xcb_input_button_info_iterator_t *i );
02444
02455
02456
02457
02458
02459
02460
02461
02462
02463
02464 xcb_generic_iterator_t
02465 xcb_input_button_info_end (xcb_input_button_info_iterator_t i );
02466
02476
02477
02478
02479
02480
02481
02482
02483
02484
02485 void
02486 xcb_input_axis_info_next (xcb_input_axis_info_iterator_t *i );
02487
02498
02499
02500
02501
02502
02503
02504
02505
02506
02507 xcb_generic_iterator_t
02508 xcb_input_axis_info_end (xcb_input_axis_info_iterator_t i );
02509
02510 int
02511 xcb_input_valuator_info_sizeof (const void *_buffer );
02512
02513
02514
02515
02516
02517
02518
02519
02520
02521
02522
02523 xcb_input_axis_info_t *
02524 xcb_input_valuator_info_axes (const xcb_input_valuator_info_t *R );
02525
02526
02527
02528
02529
02530
02531
02532
02533
02534
02535
02536 int
02537 xcb_input_valuator_info_axes_length (const xcb_input_valuator_info_t *R );
02538
02539
02540
02541
02542
02543
02544
02545
02546
02547
02548
02549 xcb_input_axis_info_iterator_t
02550 xcb_input_valuator_info_axes_iterator (const xcb_input_valuator_info_t *R );
02551
02561
02562
02563
02564
02565
02566
02567
02568
02569
02570 void
02571 xcb_input_valuator_info_next (xcb_input_valuator_info_iterator_t *i );
02572
02583
02584
02585
02586
02587
02588
02589
02590
02591
02592 xcb_generic_iterator_t
02593 xcb_input_valuator_info_end (xcb_input_valuator_info_iterator_t i );
02594
02604
02605
02606
02607
02608
02609
02610
02611
02612
02613 void
02614 xcb_input_input_class_info_next (xcb_input_input_class_info_iterator_t *i );
02615
02626
02627
02628
02629
02630
02631
02632
02633
02634
02635 xcb_generic_iterator_t
02636 xcb_input_input_class_info_end (xcb_input_input_class_info_iterator_t i );
02637
02638 int
02639 xcb_input_open_device_sizeof (const void *_buffer );
02640
02650
02651
02652
02653
02654
02655
02656
02657
02658
02659
02660 xcb_input_open_device_cookie_t
02661 xcb_input_open_device (xcb_connection_t *c ,
02662 uint8_t device_id );
02663
02676
02677
02678
02679
02680
02681
02682
02683
02684
02685
02686 xcb_input_open_device_cookie_t
02687 xcb_input_open_device_unchecked (xcb_connection_t *c ,
02688 uint8_t device_id );
02689
02690
02691
02692
02693
02694
02695
02696
02697
02698
02699
02700 xcb_input_input_class_info_t *
02701 xcb_input_open_device_class_info (const xcb_input_open_device_reply_t *R );
02702
02703
02704
02705
02706
02707
02708
02709
02710
02711
02712
02713 int
02714 xcb_input_open_device_class_info_length (const xcb_input_open_device_reply_t *R );
02715
02716
02717
02718
02719
02720
02721
02722
02723
02724
02725
02726 xcb_input_input_class_info_iterator_t
02727 xcb_input_open_device_class_info_iterator (const xcb_input_open_device_reply_t *R );
02728
02744
02745
02746
02747
02748
02749
02750
02751
02752
02753
02754
02755 xcb_input_open_device_reply_t *
02756 xcb_input_open_device_reply (xcb_connection_t *c ,
02757 xcb_input_open_device_cookie_t cookie ,
02758 xcb_generic_error_t **e );
02759
02772
02773
02774
02775
02776
02777
02778
02779
02780
02781
02782 xcb_void_cookie_t
02783 xcb_input_close_device_checked (xcb_connection_t *c ,
02784 uint8_t device_id );
02785
02795
02796
02797
02798
02799
02800
02801
02802
02803
02804
02805 xcb_void_cookie_t
02806 xcb_input_close_device (xcb_connection_t *c ,
02807 uint8_t device_id );
02808
02818
02819
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829 xcb_input_set_device_mode_cookie_t
02830 xcb_input_set_device_mode (xcb_connection_t *c ,
02831 uint8_t device_id ,
02832 uint8_t mode );
02833
02846
02847
02848
02849
02850
02851
02852
02853
02854
02855
02856
02857 xcb_input_set_device_mode_cookie_t
02858 xcb_input_set_device_mode_unchecked (xcb_connection_t *c ,
02859 uint8_t device_id ,
02860 uint8_t mode );
02861
02877
02878
02879
02880
02881
02882
02883
02884
02885
02886
02887
02888 xcb_input_set_device_mode_reply_t *
02889 xcb_input_set_device_mode_reply (xcb_connection_t *c ,
02890 xcb_input_set_device_mode_cookie_t cookie ,
02891 xcb_generic_error_t **e );
02892
02893 int
02894 xcb_input_select_extension_event_sizeof (const void *_buffer );
02895
02908
02909
02910
02911
02912
02913
02914
02915
02916
02917
02918
02919
02920 xcb_void_cookie_t
02921 xcb_input_select_extension_event_checked (xcb_connection_t *c ,
02922 xcb_window_t window ,
02923 uint16_t num_classes ,
02924 const xcb_input_event_class_t *classes );
02925
02935
02936
02937
02938
02939
02940
02941
02942
02943
02944
02945
02946
02947 xcb_void_cookie_t
02948 xcb_input_select_extension_event (xcb_connection_t *c ,
02949 xcb_window_t window ,
02950 uint16_t num_classes ,
02951 const xcb_input_event_class_t *classes );
02952
02953 int
02954 xcb_input_get_selected_extension_events_sizeof (const void *_buffer );
02955
02965
02966
02967
02968
02969
02970
02971
02972
02973
02974
02975 xcb_input_get_selected_extension_events_cookie_t
02976 xcb_input_get_selected_extension_events (xcb_connection_t *c ,
02977 xcb_window_t window );
02978
02991
02992
02993
02994
02995
02996
02997
02998
02999
03000
03001 xcb_input_get_selected_extension_events_cookie_t
03002 xcb_input_get_selected_extension_events_unchecked (xcb_connection_t *c ,
03003 xcb_window_t window );
03004
03005
03006
03007
03008
03009
03010
03011
03012
03013
03014
03015 xcb_input_event_class_t *
03016 xcb_input_get_selected_extension_events_this_classes (const xcb_input_get_selected_extension_events_reply_t *R );
03017
03018
03019
03020
03021
03022
03023
03024
03025
03026
03027
03028 int
03029 xcb_input_get_selected_extension_events_this_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
03030
03031
03032
03033
03034
03035
03036
03037
03038
03039
03040
03041 xcb_generic_iterator_t
03042 xcb_input_get_selected_extension_events_this_classes_end (const xcb_input_get_selected_extension_events_reply_t *R );
03043
03044
03045
03046
03047
03048
03049
03050
03051
03052
03053
03054 xcb_input_event_class_t *
03055 xcb_input_get_selected_extension_events_all_classes (const xcb_input_get_selected_extension_events_reply_t *R );
03056
03057
03058
03059
03060
03061
03062
03063
03064
03065
03066
03067 int
03068 xcb_input_get_selected_extension_events_all_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
03069
03070
03071
03072
03073
03074
03075
03076
03077
03078
03079
03080 xcb_generic_iterator_t
03081 xcb_input_get_selected_extension_events_all_classes_end (const xcb_input_get_selected_extension_events_reply_t *R );
03082
03098
03099
03100
03101
03102
03103
03104
03105
03106
03107
03108
03109 xcb_input_get_selected_extension_events_reply_t *
03110 xcb_input_get_selected_extension_events_reply (xcb_connection_t *c ,
03111 xcb_input_get_selected_extension_events_cookie_t cookie ,
03112 xcb_generic_error_t **e );
03113
03114 int
03115 xcb_input_change_device_dont_propagate_list_sizeof (const void *_buffer );
03116
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138
03139
03140
03141
03142 xcb_void_cookie_t
03143 xcb_input_change_device_dont_propagate_list_checked (xcb_connection_t *c ,
03144 xcb_window_t window ,
03145 uint16_t num_classes ,
03146 uint8_t mode ,
03147 const xcb_input_event_class_t *classes );
03148
03158
03159
03160
03161
03162
03163
03164
03165
03166
03167
03168
03169
03170
03171 xcb_void_cookie_t
03172 xcb_input_change_device_dont_propagate_list (xcb_connection_t *c ,
03173 xcb_window_t window ,
03174 uint16_t num_classes ,
03175 uint8_t mode ,
03176 const xcb_input_event_class_t *classes );
03177
03178 int
03179 xcb_input_get_device_dont_propagate_list_sizeof (const void *_buffer );
03180
03190
03191
03192
03193
03194
03195
03196
03197
03198
03199
03200 xcb_input_get_device_dont_propagate_list_cookie_t
03201 xcb_input_get_device_dont_propagate_list (xcb_connection_t *c ,
03202 xcb_window_t window );
03203
03216
03217
03218
03219
03220
03221
03222
03223
03224
03225
03226 xcb_input_get_device_dont_propagate_list_cookie_t
03227 xcb_input_get_device_dont_propagate_list_unchecked (xcb_connection_t *c ,
03228 xcb_window_t window );
03229
03230
03231
03232
03233
03234
03235
03236
03237
03238
03239
03240 xcb_input_event_class_t *
03241 xcb_input_get_device_dont_propagate_list_classes (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03242
03243
03244
03245
03246
03247
03248
03249
03250
03251
03252
03253 int
03254 xcb_input_get_device_dont_propagate_list_classes_length (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03255
03256
03257
03258
03259
03260
03261
03262
03263
03264
03265
03266 xcb_generic_iterator_t
03267 xcb_input_get_device_dont_propagate_list_classes_end (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03268
03284
03285
03286
03287
03288
03289
03290
03291
03292
03293
03294
03295 xcb_input_get_device_dont_propagate_list_reply_t *
03296 xcb_input_get_device_dont_propagate_list_reply (xcb_connection_t *c ,
03297 xcb_input_get_device_dont_propagate_list_cookie_t cookie ,
03298 xcb_generic_error_t **e );
03299
03309
03310
03311
03312
03313
03314
03315
03316
03317
03318
03319
03320
03321 xcb_input_get_device_motion_events_cookie_t
03322 xcb_input_get_device_motion_events (xcb_connection_t *c ,
03323 xcb_timestamp_t start ,
03324 xcb_timestamp_t stop ,
03325 uint8_t device_id );
03326
03339
03340
03341
03342
03343
03344
03345
03346
03347
03348
03349
03350
03351 xcb_input_get_device_motion_events_cookie_t
03352 xcb_input_get_device_motion_events_unchecked (xcb_connection_t *c ,
03353 xcb_timestamp_t start ,
03354 xcb_timestamp_t stop ,
03355 uint8_t device_id );
03356
03372
03373
03374
03375
03376
03377
03378
03379
03380
03381
03382
03383 xcb_input_get_device_motion_events_reply_t *
03384 xcb_input_get_device_motion_events_reply (xcb_connection_t *c ,
03385 xcb_input_get_device_motion_events_cookie_t cookie ,
03386 xcb_generic_error_t **e );
03387
03397
03398
03399
03400
03401
03402
03403
03404
03405
03406 void
03407 xcb_input_device_time_coord_next (xcb_input_device_time_coord_iterator_t *i );
03408
03419
03420
03421
03422
03423
03424
03425
03426
03427
03428 xcb_generic_iterator_t
03429 xcb_input_device_time_coord_end (xcb_input_device_time_coord_iterator_t i );
03430
03440
03441
03442
03443
03444
03445
03446
03447
03448
03449
03450 xcb_input_change_keyboard_device_cookie_t
03451 xcb_input_change_keyboard_device (xcb_connection_t *c ,
03452 uint8_t device_id );
03453
03466
03467
03468
03469
03470
03471
03472
03473
03474
03475
03476 xcb_input_change_keyboard_device_cookie_t
03477 xcb_input_change_keyboard_device_unchecked (xcb_connection_t *c ,
03478 uint8_t device_id );
03479
03495
03496
03497
03498
03499
03500
03501
03502
03503
03504
03505
03506 xcb_input_change_keyboard_device_reply_t *
03507 xcb_input_change_keyboard_device_reply (xcb_connection_t *c ,
03508 xcb_input_change_keyboard_device_cookie_t cookie ,
03509 xcb_generic_error_t **e );
03510
03520
03521
03522
03523
03524
03525
03526
03527
03528
03529
03530
03531
03532 xcb_input_change_pointer_device_cookie_t
03533 xcb_input_change_pointer_device (xcb_connection_t *c ,
03534 uint8_t x_axis ,
03535 uint8_t y_axis ,
03536 uint8_t device_id );
03537
03550
03551
03552
03553
03554
03555
03556
03557
03558
03559
03560
03561
03562 xcb_input_change_pointer_device_cookie_t
03563 xcb_input_change_pointer_device_unchecked (xcb_connection_t *c ,
03564 uint8_t x_axis ,
03565 uint8_t y_axis ,
03566 uint8_t device_id );
03567
03583
03584
03585
03586
03587
03588
03589
03590
03591
03592
03593
03594 xcb_input_change_pointer_device_reply_t *
03595 xcb_input_change_pointer_device_reply (xcb_connection_t *c ,
03596 xcb_input_change_pointer_device_cookie_t cookie ,
03597 xcb_generic_error_t **e );
03598
03599 int
03600 xcb_input_grab_device_sizeof (const void *_buffer );
03601
03611
03612
03613
03614
03615
03616
03617
03618
03619
03620
03621
03622
03623
03624
03625
03626
03627
03628 xcb_input_grab_device_cookie_t
03629 xcb_input_grab_device (xcb_connection_t *c ,
03630 xcb_window_t grab_window ,
03631 xcb_timestamp_t time ,
03632 uint16_t num_classes ,
03633 uint8_t this_device_mode ,
03634 uint8_t other_device_mode ,
03635 uint8_t owner_events ,
03636 uint8_t device_id ,
03637 const xcb_input_event_class_t *classes );
03638
03651
03652
03653
03654
03655
03656
03657
03658
03659
03660
03661
03662
03663
03664
03665
03666
03667
03668 xcb_input_grab_device_cookie_t
03669 xcb_input_grab_device_unchecked (xcb_connection_t *c ,
03670 xcb_window_t grab_window ,
03671 xcb_timestamp_t time ,
03672 uint16_t num_classes ,
03673 uint8_t this_device_mode ,
03674 uint8_t other_device_mode ,
03675 uint8_t owner_events ,
03676 uint8_t device_id ,
03677 const xcb_input_event_class_t *classes );
03678
03694
03695
03696
03697
03698
03699
03700
03701
03702
03703
03704
03705 xcb_input_grab_device_reply_t *
03706 xcb_input_grab_device_reply (xcb_connection_t *c ,
03707 xcb_input_grab_device_cookie_t cookie ,
03708 xcb_generic_error_t **e );
03709
03722
03723
03724
03725
03726
03727
03728
03729
03730
03731
03732
03733 xcb_void_cookie_t
03734 xcb_input_ungrab_device_checked (xcb_connection_t *c ,
03735 xcb_timestamp_t time ,
03736 uint8_t device_id );
03737
03747
03748
03749
03750
03751
03752
03753
03754
03755
03756
03757
03758 xcb_void_cookie_t
03759 xcb_input_ungrab_device (xcb_connection_t *c ,
03760 xcb_timestamp_t time ,
03761 uint8_t device_id );
03762
03763 int
03764 xcb_input_grab_device_key_sizeof (const void *_buffer );
03765
03778
03779
03780
03781
03782
03783
03784
03785
03786
03787
03788
03789
03790
03791
03792
03793
03794
03795
03796
03797 xcb_void_cookie_t
03798 xcb_input_grab_device_key_checked (xcb_connection_t *c ,
03799 xcb_window_t grab_window ,
03800 uint16_t num_classes ,
03801 uint16_t modifiers ,
03802 uint8_t modifier_device ,
03803 uint8_t grabbed_device ,
03804 uint8_t key ,
03805 uint8_t this_device_mode ,
03806 uint8_t other_device_mode ,
03807 uint8_t owner_events ,
03808 const xcb_input_event_class_t *classes );
03809
03819
03820
03821
03822
03823
03824
03825
03826
03827
03828
03829
03830
03831
03832
03833
03834
03835
03836
03837
03838 xcb_void_cookie_t
03839 xcb_input_grab_device_key (xcb_connection_t *c ,
03840 xcb_window_t grab_window ,
03841 uint16_t num_classes ,
03842 uint16_t modifiers ,
03843 uint8_t modifier_device ,
03844 uint8_t grabbed_device ,
03845 uint8_t key ,
03846 uint8_t this_device_mode ,
03847 uint8_t other_device_mode ,
03848 uint8_t owner_events ,
03849 const xcb_input_event_class_t *classes );
03850
03863
03864
03865
03866
03867
03868
03869
03870
03871
03872
03873
03874
03875
03876
03877 xcb_void_cookie_t
03878 xcb_input_ungrab_device_key_checked (xcb_connection_t *c ,
03879 xcb_window_t grabWindow ,
03880 uint16_t modifiers ,
03881 uint8_t modifier_device ,
03882 uint8_t key ,
03883 uint8_t grabbed_device );
03884
03894
03895
03896
03897
03898
03899
03900
03901
03902
03903
03904
03905
03906
03907
03908 xcb_void_cookie_t
03909 xcb_input_ungrab_device_key (xcb_connection_t *c ,
03910 xcb_window_t grabWindow ,
03911 uint16_t modifiers ,
03912 uint8_t modifier_device ,
03913 uint8_t key ,
03914 uint8_t grabbed_device );
03915
03916 int
03917 xcb_input_grab_device_button_sizeof (const void *_buffer );
03918
03931
03932
03933
03934
03935
03936
03937
03938
03939
03940
03941
03942
03943
03944
03945
03946
03947
03948
03949
03950 xcb_void_cookie_t
03951 xcb_input_grab_device_button_checked (xcb_connection_t *c ,
03952 xcb_window_t grab_window ,
03953 uint8_t grabbed_device ,
03954 uint8_t modifier_device ,
03955 uint16_t num_classes ,
03956 uint16_t modifiers ,
03957 uint8_t this_device_mode ,
03958 uint8_t other_device_mode ,
03959 uint8_t button ,
03960 uint8_t owner_events ,
03961 const xcb_input_event_class_t *classes );
03962
03972
03973
03974
03975
03976
03977
03978
03979
03980
03981
03982
03983
03984
03985
03986
03987
03988
03989
03990
03991 xcb_void_cookie_t
03992 xcb_input_grab_device_button (xcb_connection_t *c ,
03993 xcb_window_t grab_window ,
03994 uint8_t grabbed_device ,
03995 uint8_t modifier_device ,
03996 uint16_t num_classes ,
03997 uint16_t modifiers ,
03998 uint8_t this_device_mode ,
03999 uint8_t other_device_mode ,
04000 uint8_t button ,
04001 uint8_t owner_events ,
04002 const xcb_input_event_class_t *classes );
04003
04016
04017
04018
04019
04020
04021
04022
04023
04024
04025
04026
04027
04028
04029
04030 xcb_void_cookie_t
04031 xcb_input_ungrab_device_button_checked (xcb_connection_t *c ,
04032 xcb_window_t grab_window ,
04033 uint16_t modifiers ,
04034 uint8_t modifier_device ,
04035 uint8_t button ,
04036 uint8_t grabbed_device );
04037
04047
04048
04049
04050
04051
04052
04053
04054
04055
04056
04057
04058
04059
04060
04061 xcb_void_cookie_t
04062 xcb_input_ungrab_device_button (xcb_connection_t *c ,
04063 xcb_window_t grab_window ,
04064 uint16_t modifiers ,
04065 uint8_t modifier_device ,
04066 uint8_t button ,
04067 uint8_t grabbed_device );
04068
04081
04082
04083
04084
04085
04086
04087
04088
04089
04090
04091
04092
04093 xcb_void_cookie_t
04094 xcb_input_allow_device_events_checked (xcb_connection_t *c ,
04095 xcb_timestamp_t time ,
04096 uint8_t mode ,
04097 uint8_t device_id );
04098
04108
04109
04110
04111
04112
04113
04114
04115
04116
04117
04118
04119
04120 xcb_void_cookie_t
04121 xcb_input_allow_device_events (xcb_connection_t *c ,
04122 xcb_timestamp_t time ,
04123 uint8_t mode ,
04124 uint8_t device_id );
04125
04135
04136
04137
04138
04139
04140
04141
04142
04143
04144
04145 xcb_input_get_device_focus_cookie_t
04146 xcb_input_get_device_focus (xcb_connection_t *c ,
04147 uint8_t device_id );
04148
04161
04162
04163
04164
04165
04166
04167
04168
04169
04170
04171 xcb_input_get_device_focus_cookie_t
04172 xcb_input_get_device_focus_unchecked (xcb_connection_t *c ,
04173 uint8_t device_id );
04174
04190
04191
04192
04193
04194
04195
04196
04197
04198
04199
04200
04201 xcb_input_get_device_focus_reply_t *
04202 xcb_input_get_device_focus_reply (xcb_connection_t *c ,
04203 xcb_input_get_device_focus_cookie_t cookie ,
04204 xcb_generic_error_t **e );
04205
04218
04219
04220
04221
04222
04223
04224
04225
04226
04227
04228
04229
04230
04231 xcb_void_cookie_t
04232 xcb_input_set_device_focus_checked (xcb_connection_t *c ,
04233 xcb_window_t focus ,
04234 xcb_timestamp_t time ,
04235 uint8_t revert_to ,
04236 uint8_t device_id );
04237
04247
04248
04249
04250
04251
04252
04253
04254
04255
04256
04257
04258
04259
04260 xcb_void_cookie_t
04261 xcb_input_set_device_focus (xcb_connection_t *c ,
04262 xcb_window_t focus ,
04263 xcb_timestamp_t time ,
04264 uint8_t revert_to ,
04265 uint8_t device_id );
04266
04276
04277
04278
04279
04280
04281
04282
04283
04284
04285
04286 xcb_input_get_feedback_control_cookie_t
04287 xcb_input_get_feedback_control (xcb_connection_t *c ,
04288 uint8_t device_id );
04289
04302
04303
04304
04305
04306
04307
04308
04309
04310
04311
04312 xcb_input_get_feedback_control_cookie_t
04313 xcb_input_get_feedback_control_unchecked (xcb_connection_t *c ,
04314 uint8_t device_id );
04315
04331
04332
04333
04334
04335
04336
04337
04338
04339
04340
04341
04342 xcb_input_get_feedback_control_reply_t *
04343 xcb_input_get_feedback_control_reply (xcb_connection_t *c ,
04344 xcb_input_get_feedback_control_cookie_t cookie ,
04345 xcb_generic_error_t **e );
04346
04356
04357
04358
04359
04360
04361
04362
04363
04364
04365 void
04366 xcb_input_feedback_state_next (xcb_input_feedback_state_iterator_t *i );
04367
04378
04379
04380
04381
04382
04383
04384
04385
04386
04387 xcb_generic_iterator_t
04388 xcb_input_feedback_state_end (xcb_input_feedback_state_iterator_t i );
04389
04399
04400
04401
04402
04403
04404
04405
04406
04407
04408 void
04409 xcb_input_kbd_feedback_state_next (xcb_input_kbd_feedback_state_iterator_t *i );
04410
04421
04422
04423
04424
04425
04426
04427
04428
04429
04430 xcb_generic_iterator_t
04431 xcb_input_kbd_feedback_state_end (xcb_input_kbd_feedback_state_iterator_t i );
04432
04442
04443
04444
04445
04446
04447
04448
04449
04450
04451 void
04452 xcb_input_ptr_feedback_state_next (xcb_input_ptr_feedback_state_iterator_t *i );
04453
04464
04465
04466
04467
04468
04469
04470
04471
04472
04473 xcb_generic_iterator_t
04474 xcb_input_ptr_feedback_state_end (xcb_input_ptr_feedback_state_iterator_t i );
04475
04485
04486
04487
04488
04489
04490
04491
04492
04493
04494 void
04495 xcb_input_integer_feedback_state_next (xcb_input_integer_feedback_state_iterator_t *i );
04496
04507
04508
04509
04510
04511
04512
04513
04514
04515
04516 xcb_generic_iterator_t
04517 xcb_input_integer_feedback_state_end (xcb_input_integer_feedback_state_iterator_t i );
04518
04519 int
04520 xcb_input_string_feedback_state_sizeof (const void *_buffer );
04521
04522
04523
04524
04525
04526
04527
04528
04529
04530
04531
04532 xcb_keysym_t *
04533 xcb_input_string_feedback_state_keysyms (const xcb_input_string_feedback_state_t *R );
04534
04535
04536
04537
04538
04539
04540
04541
04542
04543
04544
04545 int
04546 xcb_input_string_feedback_state_keysyms_length (const xcb_input_string_feedback_state_t *R );
04547
04548
04549
04550
04551
04552
04553
04554
04555
04556
04557
04558 xcb_generic_iterator_t
04559 xcb_input_string_feedback_state_keysyms_end (const xcb_input_string_feedback_state_t *R );
04560
04570
04571
04572
04573
04574
04575
04576
04577
04578
04579 void
04580 xcb_input_string_feedback_state_next (xcb_input_string_feedback_state_iterator_t *i );
04581
04592
04593
04594
04595
04596
04597
04598
04599
04600
04601 xcb_generic_iterator_t
04602 xcb_input_string_feedback_state_end (xcb_input_string_feedback_state_iterator_t i );
04603
04613
04614
04615
04616
04617
04618
04619
04620
04621
04622 void
04623 xcb_input_bell_feedback_state_next (xcb_input_bell_feedback_state_iterator_t *i );
04624
04635
04636
04637
04638
04639
04640
04641
04642
04643
04644 xcb_generic_iterator_t
04645 xcb_input_bell_feedback_state_end (xcb_input_bell_feedback_state_iterator_t i );
04646
04656
04657
04658
04659
04660
04661
04662
04663
04664
04665 void
04666 xcb_input_led_feedback_state_next (xcb_input_led_feedback_state_iterator_t *i );
04667
04678
04679
04680
04681
04682
04683
04684
04685
04686
04687 xcb_generic_iterator_t
04688 xcb_input_led_feedback_state_end (xcb_input_led_feedback_state_iterator_t i );
04689
04699
04700
04701
04702
04703
04704
04705
04706
04707
04708 void
04709 xcb_input_feedback_ctl_next (xcb_input_feedback_ctl_iterator_t *i );
04710
04721
04722
04723
04724
04725
04726
04727
04728
04729
04730 xcb_generic_iterator_t
04731 xcb_input_feedback_ctl_end (xcb_input_feedback_ctl_iterator_t i );
04732
04742
04743
04744
04745
04746
04747
04748
04749
04750
04751 void
04752 xcb_input_kbd_feedback_ctl_next (xcb_input_kbd_feedback_ctl_iterator_t *i );
04753
04764
04765
04766
04767
04768
04769
04770
04771
04772
04773 xcb_generic_iterator_t
04774 xcb_input_kbd_feedback_ctl_end (xcb_input_kbd_feedback_ctl_iterator_t i );
04775
04785
04786
04787
04788
04789
04790
04791
04792
04793
04794 void
04795 xcb_input_ptr_feedback_ctl_next (xcb_input_ptr_feedback_ctl_iterator_t *i );
04796
04807
04808
04809
04810
04811
04812
04813
04814
04815
04816 xcb_generic_iterator_t
04817 xcb_input_ptr_feedback_ctl_end (xcb_input_ptr_feedback_ctl_iterator_t i );
04818
04828
04829
04830
04831
04832
04833
04834
04835
04836
04837 void
04838 xcb_input_integer_feedback_ctl_next (xcb_input_integer_feedback_ctl_iterator_t *i );
04839
04850
04851
04852
04853
04854
04855
04856
04857
04858
04859 xcb_generic_iterator_t
04860 xcb_input_integer_feedback_ctl_end (xcb_input_integer_feedback_ctl_iterator_t i );
04861
04862 int
04863 xcb_input_string_feedback_ctl_sizeof (const void *_buffer );
04864
04865
04866
04867
04868
04869
04870
04871
04872
04873
04874
04875 xcb_keysym_t *
04876 xcb_input_string_feedback_ctl_keysyms (const xcb_input_string_feedback_ctl_t *R );
04877
04878
04879
04880
04881
04882
04883
04884
04885
04886
04887
04888 int
04889 xcb_input_string_feedback_ctl_keysyms_length (const xcb_input_string_feedback_ctl_t *R );
04890
04891
04892
04893
04894
04895
04896
04897
04898
04899
04900
04901 xcb_generic_iterator_t
04902 xcb_input_string_feedback_ctl_keysyms_end (const xcb_input_string_feedback_ctl_t *R );
04903
04913
04914
04915
04916
04917
04918
04919
04920
04921
04922 void
04923 xcb_input_string_feedback_ctl_next (xcb_input_string_feedback_ctl_iterator_t *i );
04924
04935
04936
04937
04938
04939
04940
04941
04942
04943
04944 xcb_generic_iterator_t
04945 xcb_input_string_feedback_ctl_end (xcb_input_string_feedback_ctl_iterator_t i );
04946
04956
04957
04958
04959
04960
04961
04962
04963
04964
04965 void
04966 xcb_input_bell_feedback_ctl_next (xcb_input_bell_feedback_ctl_iterator_t *i );
04967
04978
04979
04980
04981
04982
04983
04984
04985
04986
04987 xcb_generic_iterator_t
04988 xcb_input_bell_feedback_ctl_end (xcb_input_bell_feedback_ctl_iterator_t i );
04989
04999
05000
05001
05002
05003
05004
05005
05006
05007
05008 void
05009 xcb_input_led_feedback_ctl_next (xcb_input_led_feedback_ctl_iterator_t *i );
05010
05021
05022
05023
05024
05025
05026
05027
05028
05029
05030 xcb_generic_iterator_t
05031 xcb_input_led_feedback_ctl_end (xcb_input_led_feedback_ctl_iterator_t i );
05032
05033 int
05034 xcb_input_get_device_key_mapping_sizeof (const void *_buffer );
05035
05045
05046
05047
05048
05049
05050
05051
05052
05053
05054
05055
05056
05057 xcb_input_get_device_key_mapping_cookie_t
05058 xcb_input_get_device_key_mapping (xcb_connection_t *c ,
05059 uint8_t device_id ,
05060 xcb_input_key_code_t first_keycode ,
05061 uint8_t count );
05062
05075
05076
05077
05078
05079
05080
05081
05082
05083
05084
05085
05086
05087 xcb_input_get_device_key_mapping_cookie_t
05088 xcb_input_get_device_key_mapping_unchecked (xcb_connection_t *c ,
05089 uint8_t device_id ,
05090 xcb_input_key_code_t first_keycode ,
05091 uint8_t count );
05092
05093
05094
05095
05096
05097
05098
05099
05100
05101
05102
05103 xcb_keysym_t *
05104 xcb_input_get_device_key_mapping_keysyms (const xcb_input_get_device_key_mapping_reply_t *R );
05105
05106
05107
05108
05109
05110
05111
05112
05113
05114
05115
05116 int
05117 xcb_input_get_device_key_mapping_keysyms_length (const xcb_input_get_device_key_mapping_reply_t *R );
05118
05119
05120
05121
05122
05123
05124
05125
05126
05127
05128
05129 xcb_generic_iterator_t
05130 xcb_input_get_device_key_mapping_keysyms_end (const xcb_input_get_device_key_mapping_reply_t *R );
05131
05147
05148
05149
05150
05151
05152
05153
05154
05155
05156
05157
05158 xcb_input_get_device_key_mapping_reply_t *
05159 xcb_input_get_device_key_mapping_reply (xcb_connection_t *c ,
05160 xcb_input_get_device_key_mapping_cookie_t cookie ,
05161 xcb_generic_error_t **e );
05162
05163 int
05164 xcb_input_change_device_key_mapping_sizeof (const void *_buffer );
05165
05178
05179
05180
05181
05182
05183
05184
05185
05186
05187
05188
05189
05190
05191
05192 xcb_void_cookie_t
05193 xcb_input_change_device_key_mapping_checked (xcb_connection_t *c ,
05194 uint8_t device_id ,
05195 xcb_input_key_code_t first_keycode ,
05196 uint8_t keysyms_per_keycode ,
05197 uint8_t keycode_count ,
05198 const xcb_keysym_t *keysyms );
05199
05209
05210
05211
05212
05213
05214
05215
05216
05217
05218
05219
05220
05221
05222
05223 xcb_void_cookie_t
05224 xcb_input_change_device_key_mapping (xcb_connection_t *c ,
05225 uint8_t device_id ,
05226 xcb_input_key_code_t first_keycode ,
05227 uint8_t keysyms_per_keycode ,
05228 uint8_t keycode_count ,
05229 const xcb_keysym_t *keysyms );
05230
05231 int
05232 xcb_input_get_device_modifier_mapping_sizeof (const void *_buffer );
05233
05243
05244
05245
05246
05247
05248
05249
05250
05251
05252
05253 xcb_input_get_device_modifier_mapping_cookie_t
05254 xcb_input_get_device_modifier_mapping (xcb_connection_t *c ,
05255 uint8_t device_id );
05256
05269
05270
05271
05272
05273
05274
05275
05276
05277
05278
05279 xcb_input_get_device_modifier_mapping_cookie_t
05280 xcb_input_get_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05281 uint8_t device_id );
05282
05283
05284
05285
05286
05287
05288
05289
05290
05291
05292
05293 uint8_t *
05294 xcb_input_get_device_modifier_mapping_keymaps (const xcb_input_get_device_modifier_mapping_reply_t *R );
05295
05296
05297
05298
05299
05300
05301
05302
05303
05304
05305
05306 int
05307 xcb_input_get_device_modifier_mapping_keymaps_length (const xcb_input_get_device_modifier_mapping_reply_t *R );
05308
05309
05310
05311
05312
05313
05314
05315
05316
05317
05318
05319 xcb_generic_iterator_t
05320 xcb_input_get_device_modifier_mapping_keymaps_end (const xcb_input_get_device_modifier_mapping_reply_t *R );
05321
05337
05338
05339
05340
05341
05342
05343
05344
05345
05346
05347
05348 xcb_input_get_device_modifier_mapping_reply_t *
05349 xcb_input_get_device_modifier_mapping_reply (xcb_connection_t *c ,
05350 xcb_input_get_device_modifier_mapping_cookie_t cookie ,
05351 xcb_generic_error_t **e );
05352
05353 int
05354 xcb_input_set_device_modifier_mapping_sizeof (const void *_buffer );
05355
05365
05366
05367
05368
05369
05370
05371
05372
05373
05374
05375
05376
05377 xcb_input_set_device_modifier_mapping_cookie_t
05378 xcb_input_set_device_modifier_mapping (xcb_connection_t *c ,
05379 uint8_t device_id ,
05380 uint8_t keycodes_per_modifier ,
05381 const uint8_t *keymaps );
05382
05395
05396
05397
05398
05399
05400
05401
05402
05403
05404
05405
05406
05407 xcb_input_set_device_modifier_mapping_cookie_t
05408 xcb_input_set_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05409 uint8_t device_id ,
05410 uint8_t keycodes_per_modifier ,
05411 const uint8_t *keymaps );
05412
05428
05429
05430
05431
05432
05433
05434
05435
05436
05437
05438
05439 xcb_input_set_device_modifier_mapping_reply_t *
05440 xcb_input_set_device_modifier_mapping_reply (xcb_connection_t *c ,
05441 xcb_input_set_device_modifier_mapping_cookie_t cookie ,
05442 xcb_generic_error_t **e );
05443
05444 int
05445 xcb_input_get_device_button_mapping_sizeof (const void *_buffer );
05446
05456
05457
05458
05459
05460
05461
05462
05463
05464
05465
05466 xcb_input_get_device_button_mapping_cookie_t
05467 xcb_input_get_device_button_mapping (xcb_connection_t *c ,
05468 uint8_t device_id );
05469
05482
05483
05484
05485
05486
05487
05488
05489
05490
05491
05492 xcb_input_get_device_button_mapping_cookie_t
05493 xcb_input_get_device_button_mapping_unchecked (xcb_connection_t *c ,
05494 uint8_t device_id );
05495
05496
05497
05498
05499
05500
05501
05502
05503
05504
05505
05506 uint8_t *
05507 xcb_input_get_device_button_mapping_map (const xcb_input_get_device_button_mapping_reply_t *R );
05508
05509
05510
05511
05512
05513
05514
05515
05516
05517
05518
05519 int
05520 xcb_input_get_device_button_mapping_map_length (const xcb_input_get_device_button_mapping_reply_t *R );
05521
05522
05523
05524
05525
05526
05527
05528
05529
05530
05531
05532 xcb_generic_iterator_t
05533 xcb_input_get_device_button_mapping_map_end (const xcb_input_get_device_button_mapping_reply_t *R );
05534
05550
05551
05552
05553
05554
05555
05556
05557
05558
05559
05560
05561 xcb_input_get_device_button_mapping_reply_t *
05562 xcb_input_get_device_button_mapping_reply (xcb_connection_t *c ,
05563 xcb_input_get_device_button_mapping_cookie_t cookie ,
05564 xcb_generic_error_t **e );
05565
05566 int
05567 xcb_input_set_device_button_mapping_sizeof (const void *_buffer );
05568
05578
05579
05580
05581
05582
05583
05584
05585
05586
05587
05588
05589
05590 xcb_input_set_device_button_mapping_cookie_t
05591 xcb_input_set_device_button_mapping (xcb_connection_t *c ,
05592 uint8_t device_id ,
05593 uint8_t map_size ,
05594 const uint8_t *map );
05595
05608
05609
05610
05611
05612
05613
05614
05615
05616
05617
05618
05619
05620 xcb_input_set_device_button_mapping_cookie_t
05621 xcb_input_set_device_button_mapping_unchecked (xcb_connection_t *c ,
05622 uint8_t device_id ,
05623 uint8_t map_size ,
05624 const uint8_t *map );
05625
05641
05642
05643
05644
05645
05646
05647
05648
05649
05650
05651
05652 xcb_input_set_device_button_mapping_reply_t *
05653 xcb_input_set_device_button_mapping_reply (xcb_connection_t *c ,
05654 xcb_input_set_device_button_mapping_cookie_t cookie ,
05655 xcb_generic_error_t **e );
05656
05666
05667
05668
05669
05670
05671
05672
05673
05674
05675
05676 xcb_input_query_device_state_cookie_t
05677 xcb_input_query_device_state (xcb_connection_t *c ,
05678 uint8_t device_id );
05679
05692
05693
05694
05695
05696
05697
05698
05699
05700
05701
05702 xcb_input_query_device_state_cookie_t
05703 xcb_input_query_device_state_unchecked (xcb_connection_t *c ,
05704 uint8_t device_id );
05705
05721
05722
05723
05724
05725
05726
05727
05728
05729
05730
05731
05732 xcb_input_query_device_state_reply_t *
05733 xcb_input_query_device_state_reply (xcb_connection_t *c ,
05734 xcb_input_query_device_state_cookie_t cookie ,
05735 xcb_generic_error_t **e );
05736
05746
05747
05748
05749
05750
05751
05752
05753
05754
05755 void
05756 xcb_input_input_state_next (xcb_input_input_state_iterator_t *i );
05757
05768
05769
05770
05771
05772
05773
05774
05775
05776
05777 xcb_generic_iterator_t
05778 xcb_input_input_state_end (xcb_input_input_state_iterator_t i );
05779
05789
05790
05791
05792
05793
05794
05795
05796
05797
05798 void
05799 xcb_input_key_state_next (xcb_input_key_state_iterator_t *i );
05800
05811
05812
05813
05814
05815
05816
05817
05818
05819
05820 xcb_generic_iterator_t
05821 xcb_input_key_state_end (xcb_input_key_state_iterator_t i );
05822
05832
05833
05834
05835
05836
05837
05838
05839
05840
05841 void
05842 xcb_input_button_state_next (xcb_input_button_state_iterator_t *i );
05843
05854
05855
05856
05857
05858
05859
05860
05861
05862
05863 xcb_generic_iterator_t
05864 xcb_input_button_state_end (xcb_input_button_state_iterator_t i );
05865
05866 int
05867 xcb_input_valuator_state_sizeof (const void *_buffer );
05868
05869
05870
05871
05872
05873
05874
05875
05876
05877
05878
05879 uint32_t *
05880 xcb_input_valuator_state_valuators (const xcb_input_valuator_state_t *R );
05881
05882
05883
05884
05885
05886
05887
05888
05889
05890
05891
05892 int
05893 xcb_input_valuator_state_valuators_length (const xcb_input_valuator_state_t *R );
05894
05895
05896
05897
05898
05899
05900
05901
05902
05903
05904
05905 xcb_generic_iterator_t
05906 xcb_input_valuator_state_valuators_end (const xcb_input_valuator_state_t *R );
05907
05917
05918
05919
05920
05921
05922
05923
05924
05925
05926 void
05927 xcb_input_valuator_state_next (xcb_input_valuator_state_iterator_t *i );
05928
05939
05940
05941
05942
05943
05944
05945
05946
05947
05948 xcb_generic_iterator_t
05949 xcb_input_valuator_state_end (xcb_input_valuator_state_iterator_t i );
05950
05951 int
05952 xcb_input_send_extension_event_sizeof (const void *_buffer );
05953
05966
05967
05968
05969
05970
05971
05972
05973
05974
05975
05976
05977
05978
05979
05980
05981
05982 xcb_void_cookie_t
05983 xcb_input_send_extension_event_checked (xcb_connection_t *c ,
05984 xcb_window_t destination ,
05985 uint8_t device_id ,
05986 uint8_t propagate ,
05987 uint16_t num_classes ,
05988 uint8_t num_events ,
05989 const char *events ,
05990 const xcb_input_event_class_t *classes );
05991
06001
06002
06003
06004
06005
06006
06007
06008
06009
06010
06011
06012
06013
06014
06015
06016
06017 xcb_void_cookie_t
06018 xcb_input_send_extension_event (xcb_connection_t *c ,
06019 xcb_window_t destination ,
06020 uint8_t device_id ,
06021 uint8_t propagate ,
06022 uint16_t num_classes ,
06023 uint8_t num_events ,
06024 const char *events ,
06025 const xcb_input_event_class_t *classes );
06026
06039
06040
06041
06042
06043
06044
06045
06046
06047
06048
06049
06050
06051
06052 xcb_void_cookie_t
06053 xcb_input_device_bell_checked (xcb_connection_t *c ,
06054 uint8_t device_id ,
06055 uint8_t feedback_id ,
06056 uint8_t feedback_class ,
06057 int8_t percent );
06058
06068
06069
06070
06071
06072
06073
06074
06075
06076
06077
06078
06079
06080
06081 xcb_void_cookie_t
06082 xcb_input_device_bell (xcb_connection_t *c ,
06083 uint8_t device_id ,
06084 uint8_t feedback_id ,
06085 uint8_t feedback_class ,
06086 int8_t percent );
06087
06088 int
06089 xcb_input_set_device_valuators_sizeof (const void *_buffer );
06090
06100
06101
06102
06103
06104
06105
06106
06107
06108
06109
06110
06111
06112
06113 xcb_input_set_device_valuators_cookie_t
06114 xcb_input_set_device_valuators (xcb_connection_t *c ,
06115 uint8_t device_id ,
06116 uint8_t first_valuator ,
06117 uint8_t num_valuators ,
06118 const int32_t *valuators );
06119
06132
06133
06134
06135
06136
06137
06138
06139
06140
06141
06142
06143
06144
06145 xcb_input_set_device_valuators_cookie_t
06146 xcb_input_set_device_valuators_unchecked (xcb_connection_t *c ,
06147 uint8_t device_id ,
06148 uint8_t first_valuator ,
06149 uint8_t num_valuators ,
06150 const int32_t *valuators );
06151
06167
06168
06169
06170
06171
06172
06173
06174
06175
06176
06177
06178 xcb_input_set_device_valuators_reply_t *
06179 xcb_input_set_device_valuators_reply (xcb_connection_t *c ,
06180 xcb_input_set_device_valuators_cookie_t cookie ,
06181 xcb_generic_error_t **e );
06182
06192
06193
06194
06195
06196
06197
06198
06199
06200
06201
06202
06203 xcb_input_get_device_control_cookie_t
06204 xcb_input_get_device_control (xcb_connection_t *c ,
06205 uint16_t control_id ,
06206 uint8_t device_id );
06207
06220
06221
06222
06223
06224
06225
06226
06227
06228
06229
06230
06231 xcb_input_get_device_control_cookie_t
06232 xcb_input_get_device_control_unchecked (xcb_connection_t *c ,
06233 uint16_t control_id ,
06234 uint8_t device_id );
06235
06251
06252
06253
06254
06255
06256
06257
06258
06259
06260
06261
06262 xcb_input_get_device_control_reply_t *
06263 xcb_input_get_device_control_reply (xcb_connection_t *c ,
06264 xcb_input_get_device_control_cookie_t cookie ,
06265 xcb_generic_error_t **e );
06266
06276
06277
06278
06279
06280
06281
06282
06283
06284
06285 void
06286 xcb_input_device_state_next (xcb_input_device_state_iterator_t *i );
06287
06298
06299
06300
06301
06302
06303
06304
06305
06306
06307 xcb_generic_iterator_t
06308 xcb_input_device_state_end (xcb_input_device_state_iterator_t i );
06309
06310 int
06311 xcb_input_device_resolution_state_sizeof (const void *_buffer );
06312
06313
06314
06315
06316
06317
06318
06319
06320
06321
06322
06323 uint32_t *
06324 xcb_input_device_resolution_state_resolution_values (const xcb_input_device_resolution_state_t *R );
06325
06326
06327
06328
06329
06330
06331
06332
06333
06334
06335
06336 int
06337 xcb_input_device_resolution_state_resolution_values_length (const xcb_input_device_resolution_state_t *R );
06338
06339
06340
06341
06342
06343
06344
06345
06346
06347
06348
06349 xcb_generic_iterator_t
06350 xcb_input_device_resolution_state_resolution_values_end (const xcb_input_device_resolution_state_t *R );
06351
06352
06353
06354
06355
06356
06357
06358
06359
06360
06361
06362 uint32_t *
06363 xcb_input_device_resolution_state_resolution_min (const xcb_input_device_resolution_state_t *R );
06364
06365
06366
06367
06368
06369
06370
06371
06372
06373
06374
06375 int
06376 xcb_input_device_resolution_state_resolution_min_length (const xcb_input_device_resolution_state_t *R );
06377
06378
06379
06380
06381
06382
06383
06384
06385
06386
06387
06388 xcb_generic_iterator_t
06389 xcb_input_device_resolution_state_resolution_min_end (const xcb_input_device_resolution_state_t *R );
06390
06391
06392
06393
06394
06395
06396
06397
06398
06399
06400
06401 uint32_t *
06402 xcb_input_device_resolution_state_resolution_max (const xcb_input_device_resolution_state_t *R );
06403
06404
06405
06406
06407
06408
06409
06410
06411
06412
06413
06414 int
06415 xcb_input_device_resolution_state_resolution_max_length (const xcb_input_device_resolution_state_t *R );
06416
06417
06418
06419
06420
06421
06422
06423
06424
06425
06426
06427 xcb_generic_iterator_t
06428 xcb_input_device_resolution_state_resolution_max_end (const xcb_input_device_resolution_state_t *R );
06429
06439
06440
06441
06442
06443
06444
06445
06446
06447
06448 void
06449 xcb_input_device_resolution_state_next (xcb_input_device_resolution_state_iterator_t *i );
06450
06461
06462
06463
06464
06465
06466
06467
06468
06469
06470 xcb_generic_iterator_t
06471 xcb_input_device_resolution_state_end (xcb_input_device_resolution_state_iterator_t i );
06472
06482
06483
06484
06485
06486
06487
06488
06489
06490
06491 void
06492 xcb_input_device_abs_calib_state_next (xcb_input_device_abs_calib_state_iterator_t *i );
06493
06504
06505
06506
06507
06508
06509
06510
06511
06512
06513 xcb_generic_iterator_t
06514 xcb_input_device_abs_calib_state_end (xcb_input_device_abs_calib_state_iterator_t i );
06515
06525
06526
06527
06528
06529
06530
06531
06532
06533
06534 void
06535 xcb_input_device_abs_area_state_next (xcb_input_device_abs_area_state_iterator_t *i );
06536
06547
06548
06549
06550
06551
06552
06553
06554
06555
06556 xcb_generic_iterator_t
06557 xcb_input_device_abs_area_state_end (xcb_input_device_abs_area_state_iterator_t i );
06558
06568
06569
06570
06571
06572
06573
06574
06575
06576
06577 void
06578 xcb_input_device_core_state_next (xcb_input_device_core_state_iterator_t *i );
06579
06590
06591
06592
06593
06594
06595
06596
06597
06598
06599 xcb_generic_iterator_t
06600 xcb_input_device_core_state_end (xcb_input_device_core_state_iterator_t i );
06601
06611
06612
06613
06614
06615
06616
06617
06618
06619
06620 void
06621 xcb_input_device_enable_state_next (xcb_input_device_enable_state_iterator_t *i );
06622
06633
06634
06635
06636
06637
06638
06639
06640
06641
06642 xcb_generic_iterator_t
06643 xcb_input_device_enable_state_end (xcb_input_device_enable_state_iterator_t i );
06644
06654
06655
06656
06657
06658
06659
06660
06661
06662
06663 void
06664 xcb_input_device_ctl_next (xcb_input_device_ctl_iterator_t *i );
06665
06676
06677
06678
06679
06680
06681
06682
06683
06684
06685 xcb_generic_iterator_t
06686 xcb_input_device_ctl_end (xcb_input_device_ctl_iterator_t i );
06687
06688 int
06689 xcb_input_device_resolution_ctl_sizeof (const void *_buffer );
06690
06691
06692
06693
06694
06695
06696
06697
06698
06699
06700
06701 uint32_t *
06702 xcb_input_device_resolution_ctl_resolution_values (const xcb_input_device_resolution_ctl_t *R );
06703
06704
06705
06706
06707
06708
06709
06710
06711
06712
06713
06714 int
06715 xcb_input_device_resolution_ctl_resolution_values_length (const xcb_input_device_resolution_ctl_t *R );
06716
06717
06718
06719
06720
06721
06722
06723
06724
06725
06726
06727 xcb_generic_iterator_t
06728 xcb_input_device_resolution_ctl_resolution_values_end (const xcb_input_device_resolution_ctl_t *R );
06729
06739
06740
06741
06742
06743
06744
06745
06746
06747
06748 void
06749 xcb_input_device_resolution_ctl_next (xcb_input_device_resolution_ctl_iterator_t *i );
06750
06761
06762
06763
06764
06765
06766
06767
06768
06769
06770 xcb_generic_iterator_t
06771 xcb_input_device_resolution_ctl_end (xcb_input_device_resolution_ctl_iterator_t i );
06772
06782
06783
06784
06785
06786
06787
06788
06789
06790
06791 void
06792 xcb_input_device_abs_calib_ctl_next (xcb_input_device_abs_calib_ctl_iterator_t *i );
06793
06804
06805
06806
06807
06808
06809
06810
06811
06812
06813 xcb_generic_iterator_t
06814 xcb_input_device_abs_calib_ctl_end (xcb_input_device_abs_calib_ctl_iterator_t i );
06815
06825
06826
06827
06828
06829
06830
06831
06832
06833
06834 void
06835 xcb_input_device_abs_area_ctrl_next (xcb_input_device_abs_area_ctrl_iterator_t *i );
06836
06847
06848
06849
06850
06851
06852
06853
06854
06855
06856 xcb_generic_iterator_t
06857 xcb_input_device_abs_area_ctrl_end (xcb_input_device_abs_area_ctrl_iterator_t i );
06858
06868
06869
06870
06871
06872
06873
06874
06875
06876
06877 void
06878 xcb_input_device_core_ctrl_next (xcb_input_device_core_ctrl_iterator_t *i );
06879
06890
06891
06892
06893
06894
06895
06896
06897
06898
06899 xcb_generic_iterator_t
06900 xcb_input_device_core_ctrl_end (xcb_input_device_core_ctrl_iterator_t i );
06901
06911
06912
06913
06914
06915
06916
06917
06918
06919
06920 void
06921 xcb_input_device_enable_ctrl_next (xcb_input_device_enable_ctrl_iterator_t *i );
06922
06933
06934
06935
06936
06937
06938
06939
06940
06941
06942 xcb_generic_iterator_t
06943 xcb_input_device_enable_ctrl_end (xcb_input_device_enable_ctrl_iterator_t i );
06944
06945
06946 #ifdef __cplusplus
06947 }
06948 #endif
06949
06950 #endif
06951