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
02099
02100
02101
02102
02103
02104
02105
02106
02107
02108
02109
02110 xcb_input_get_extension_version_cookie_t
02111 xcb_input_get_extension_version (xcb_connection_t *c ,
02112 uint16_t name_len ,
02113 const char *name );
02114
02127
02128
02129
02130
02131
02132
02133
02134
02135
02136
02137
02138 xcb_input_get_extension_version_cookie_t
02139 xcb_input_get_extension_version_unchecked (xcb_connection_t *c ,
02140 uint16_t name_len ,
02141 const char *name );
02142
02158
02159
02160
02161
02162
02163
02164
02165
02166
02167
02168
02169 xcb_input_get_extension_version_reply_t *
02170 xcb_input_get_extension_version_reply (xcb_connection_t *c ,
02171 xcb_input_get_extension_version_cookie_t cookie ,
02172 xcb_generic_error_t **e );
02173
02183
02184
02185
02186
02187
02188
02189
02190
02191
02192 void
02193 xcb_input_device_info_next (xcb_input_device_info_iterator_t *i );
02194
02205
02206
02207
02208
02209
02210
02211
02212
02213
02214 xcb_generic_iterator_t
02215 xcb_input_device_info_end (xcb_input_device_info_iterator_t i );
02216
02226
02227
02228
02229
02230
02231
02232
02233
02234
02235 xcb_input_list_input_devices_cookie_t
02236 xcb_input_list_input_devices (xcb_connection_t *c );
02237
02250
02251
02252
02253
02254
02255
02256
02257
02258
02259 xcb_input_list_input_devices_cookie_t
02260 xcb_input_list_input_devices_unchecked (xcb_connection_t *c );
02261
02262
02263
02264
02265
02266
02267
02268
02269
02270
02271
02272 xcb_input_device_info_t *
02273 xcb_input_list_input_devices_devices (const xcb_input_list_input_devices_reply_t *R );
02274
02275
02276
02277
02278
02279
02280
02281
02282
02283
02284
02285 int
02286 xcb_input_list_input_devices_devices_length (const xcb_input_list_input_devices_reply_t *R );
02287
02288
02289
02290
02291
02292
02293
02294
02295
02296
02297
02298 xcb_input_device_info_iterator_t
02299 xcb_input_list_input_devices_devices_iterator (const xcb_input_list_input_devices_reply_t *R );
02300
02316
02317
02318
02319
02320
02321
02322
02323
02324
02325
02326
02327 xcb_input_list_input_devices_reply_t *
02328 xcb_input_list_input_devices_reply (xcb_connection_t *c ,
02329 xcb_input_list_input_devices_cookie_t cookie ,
02330 xcb_generic_error_t **e );
02331
02341
02342
02343
02344
02345
02346
02347
02348
02349
02350 void
02351 xcb_input_input_info_next (xcb_input_input_info_iterator_t *i );
02352
02363
02364
02365
02366
02367
02368
02369
02370
02371
02372 xcb_generic_iterator_t
02373 xcb_input_input_info_end (xcb_input_input_info_iterator_t i );
02374
02384
02385
02386
02387
02388
02389
02390
02391
02392
02393 void
02394 xcb_input_key_info_next (xcb_input_key_info_iterator_t *i );
02395
02406
02407
02408
02409
02410
02411
02412
02413
02414
02415 xcb_generic_iterator_t
02416 xcb_input_key_info_end (xcb_input_key_info_iterator_t i );
02417
02427
02428
02429
02430
02431
02432
02433
02434
02435
02436 void
02437 xcb_input_button_info_next (xcb_input_button_info_iterator_t *i );
02438
02449
02450
02451
02452
02453
02454
02455
02456
02457
02458 xcb_generic_iterator_t
02459 xcb_input_button_info_end (xcb_input_button_info_iterator_t i );
02460
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479 void
02480 xcb_input_axis_info_next (xcb_input_axis_info_iterator_t *i );
02481
02492
02493
02494
02495
02496
02497
02498
02499
02500
02501 xcb_generic_iterator_t
02502 xcb_input_axis_info_end (xcb_input_axis_info_iterator_t i );
02503
02504
02505
02506
02507
02508
02509
02510
02511
02512
02513
02514 xcb_input_axis_info_t *
02515 xcb_input_valuator_info_axes (const xcb_input_valuator_info_t *R );
02516
02517
02518
02519
02520
02521
02522
02523
02524
02525
02526
02527 int
02528 xcb_input_valuator_info_axes_length (const xcb_input_valuator_info_t *R );
02529
02530
02531
02532
02533
02534
02535
02536
02537
02538
02539
02540 xcb_input_axis_info_iterator_t
02541 xcb_input_valuator_info_axes_iterator (const xcb_input_valuator_info_t *R );
02542
02552
02553
02554
02555
02556
02557
02558
02559
02560
02561 void
02562 xcb_input_valuator_info_next (xcb_input_valuator_info_iterator_t *i );
02563
02574
02575
02576
02577
02578
02579
02580
02581
02582
02583 xcb_generic_iterator_t
02584 xcb_input_valuator_info_end (xcb_input_valuator_info_iterator_t i );
02585
02595
02596
02597
02598
02599
02600
02601
02602
02603
02604 void
02605 xcb_input_input_class_info_next (xcb_input_input_class_info_iterator_t *i );
02606
02617
02618
02619
02620
02621
02622
02623
02624
02625
02626 xcb_generic_iterator_t
02627 xcb_input_input_class_info_end (xcb_input_input_class_info_iterator_t i );
02628
02638
02639
02640
02641
02642
02643
02644
02645
02646
02647
02648 xcb_input_open_device_cookie_t
02649 xcb_input_open_device (xcb_connection_t *c ,
02650 uint8_t device_id );
02651
02664
02665
02666
02667
02668
02669
02670
02671
02672
02673
02674 xcb_input_open_device_cookie_t
02675 xcb_input_open_device_unchecked (xcb_connection_t *c ,
02676 uint8_t device_id );
02677
02678
02679
02680
02681
02682
02683
02684
02685
02686
02687
02688 xcb_input_input_class_info_t *
02689 xcb_input_open_device_class_info (const xcb_input_open_device_reply_t *R );
02690
02691
02692
02693
02694
02695
02696
02697
02698
02699
02700
02701 int
02702 xcb_input_open_device_class_info_length (const xcb_input_open_device_reply_t *R );
02703
02704
02705
02706
02707
02708
02709
02710
02711
02712
02713
02714 xcb_input_input_class_info_iterator_t
02715 xcb_input_open_device_class_info_iterator (const xcb_input_open_device_reply_t *R );
02716
02732
02733
02734
02735
02736
02737
02738
02739
02740
02741
02742
02743 xcb_input_open_device_reply_t *
02744 xcb_input_open_device_reply (xcb_connection_t *c ,
02745 xcb_input_open_device_cookie_t cookie ,
02746 xcb_generic_error_t **e );
02747
02760
02761
02762
02763
02764
02765
02766
02767
02768
02769
02770 xcb_void_cookie_t
02771 xcb_input_close_device_checked (xcb_connection_t *c ,
02772 uint8_t device_id );
02773
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792
02793 xcb_void_cookie_t
02794 xcb_input_close_device (xcb_connection_t *c ,
02795 uint8_t device_id );
02796
02806
02807
02808
02809
02810
02811
02812
02813
02814
02815
02816
02817 xcb_input_set_device_mode_cookie_t
02818 xcb_input_set_device_mode (xcb_connection_t *c ,
02819 uint8_t device_id ,
02820 uint8_t mode );
02821
02834
02835
02836
02837
02838
02839
02840
02841
02842
02843
02844
02845 xcb_input_set_device_mode_cookie_t
02846 xcb_input_set_device_mode_unchecked (xcb_connection_t *c ,
02847 uint8_t device_id ,
02848 uint8_t mode );
02849
02865
02866
02867
02868
02869
02870
02871
02872
02873
02874
02875
02876 xcb_input_set_device_mode_reply_t *
02877 xcb_input_set_device_mode_reply (xcb_connection_t *c ,
02878 xcb_input_set_device_mode_cookie_t cookie ,
02879 xcb_generic_error_t **e );
02880
02893
02894
02895
02896
02897
02898
02899
02900
02901
02902
02903
02904
02905 xcb_void_cookie_t
02906 xcb_input_select_extension_event_checked (xcb_connection_t *c ,
02907 xcb_window_t window ,
02908 uint16_t num_classes ,
02909 const xcb_input_event_class_t *classes );
02910
02920
02921
02922
02923
02924
02925
02926
02927
02928
02929
02930
02931
02932 xcb_void_cookie_t
02933 xcb_input_select_extension_event (xcb_connection_t *c ,
02934 xcb_window_t window ,
02935 uint16_t num_classes ,
02936 const xcb_input_event_class_t *classes );
02937
02947
02948
02949
02950
02951
02952
02953
02954
02955
02956
02957 xcb_input_get_selected_extension_events_cookie_t
02958 xcb_input_get_selected_extension_events (xcb_connection_t *c ,
02959 xcb_window_t window );
02960
02973
02974
02975
02976
02977
02978
02979
02980
02981
02982
02983 xcb_input_get_selected_extension_events_cookie_t
02984 xcb_input_get_selected_extension_events_unchecked (xcb_connection_t *c ,
02985 xcb_window_t window );
02986
02987
02988
02989
02990
02991
02992
02993
02994
02995
02996
02997 xcb_input_event_class_t *
02998 xcb_input_get_selected_extension_events_this_classes (const xcb_input_get_selected_extension_events_reply_t *R );
02999
03000
03001
03002
03003
03004
03005
03006
03007
03008
03009
03010 int
03011 xcb_input_get_selected_extension_events_this_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
03012
03013
03014
03015
03016
03017
03018
03019
03020
03021
03022
03023 xcb_generic_iterator_t
03024 xcb_input_get_selected_extension_events_this_classes_end (const xcb_input_get_selected_extension_events_reply_t *R );
03025
03026
03027
03028
03029
03030
03031
03032
03033
03034
03035
03036 xcb_input_event_class_t *
03037 xcb_input_get_selected_extension_events_all_classes (const xcb_input_get_selected_extension_events_reply_t *R );
03038
03039
03040
03041
03042
03043
03044
03045
03046
03047
03048
03049 int
03050 xcb_input_get_selected_extension_events_all_classes_length (const xcb_input_get_selected_extension_events_reply_t *R );
03051
03052
03053
03054
03055
03056
03057
03058
03059
03060
03061
03062 xcb_generic_iterator_t
03063 xcb_input_get_selected_extension_events_all_classes_end (const xcb_input_get_selected_extension_events_reply_t *R );
03064
03080
03081
03082
03083
03084
03085
03086
03087
03088
03089
03090
03091 xcb_input_get_selected_extension_events_reply_t *
03092 xcb_input_get_selected_extension_events_reply (xcb_connection_t *c ,
03093 xcb_input_get_selected_extension_events_cookie_t cookie ,
03094 xcb_generic_error_t **e );
03095
03108
03109
03110
03111
03112
03113
03114
03115
03116
03117
03118
03119
03120
03121 xcb_void_cookie_t
03122 xcb_input_change_device_dont_propagate_list_checked (xcb_connection_t *c ,
03123 xcb_window_t window ,
03124 uint16_t num_classes ,
03125 uint8_t mode ,
03126 const xcb_input_event_class_t *classes );
03127
03137
03138
03139
03140
03141
03142
03143
03144
03145
03146
03147
03148
03149
03150 xcb_void_cookie_t
03151 xcb_input_change_device_dont_propagate_list (xcb_connection_t *c ,
03152 xcb_window_t window ,
03153 uint16_t num_classes ,
03154 uint8_t mode ,
03155 const xcb_input_event_class_t *classes );
03156
03166
03167
03168
03169
03170
03171
03172
03173
03174
03175
03176 xcb_input_get_device_dont_propagate_list_cookie_t
03177 xcb_input_get_device_dont_propagate_list (xcb_connection_t *c ,
03178 xcb_window_t window );
03179
03192
03193
03194
03195
03196
03197
03198
03199
03200
03201
03202 xcb_input_get_device_dont_propagate_list_cookie_t
03203 xcb_input_get_device_dont_propagate_list_unchecked (xcb_connection_t *c ,
03204 xcb_window_t window );
03205
03206
03207
03208
03209
03210
03211
03212
03213
03214
03215
03216 xcb_input_event_class_t *
03217 xcb_input_get_device_dont_propagate_list_classes (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03218
03219
03220
03221
03222
03223
03224
03225
03226
03227
03228
03229 int
03230 xcb_input_get_device_dont_propagate_list_classes_length (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03231
03232
03233
03234
03235
03236
03237
03238
03239
03240
03241
03242 xcb_generic_iterator_t
03243 xcb_input_get_device_dont_propagate_list_classes_end (const xcb_input_get_device_dont_propagate_list_reply_t *R );
03244
03260
03261
03262
03263
03264
03265
03266
03267
03268
03269
03270
03271 xcb_input_get_device_dont_propagate_list_reply_t *
03272 xcb_input_get_device_dont_propagate_list_reply (xcb_connection_t *c ,
03273 xcb_input_get_device_dont_propagate_list_cookie_t cookie ,
03274 xcb_generic_error_t **e );
03275
03285
03286
03287
03288
03289
03290
03291
03292
03293
03294
03295
03296
03297 xcb_input_get_device_motion_events_cookie_t
03298 xcb_input_get_device_motion_events (xcb_connection_t *c ,
03299 xcb_timestamp_t start ,
03300 xcb_timestamp_t stop ,
03301 uint8_t device_id );
03302
03315
03316
03317
03318
03319
03320
03321
03322
03323
03324
03325
03326
03327 xcb_input_get_device_motion_events_cookie_t
03328 xcb_input_get_device_motion_events_unchecked (xcb_connection_t *c ,
03329 xcb_timestamp_t start ,
03330 xcb_timestamp_t stop ,
03331 uint8_t device_id );
03332
03348
03349
03350
03351
03352
03353
03354
03355
03356
03357
03358
03359 xcb_input_get_device_motion_events_reply_t *
03360 xcb_input_get_device_motion_events_reply (xcb_connection_t *c ,
03361 xcb_input_get_device_motion_events_cookie_t cookie ,
03362 xcb_generic_error_t **e );
03363
03373
03374
03375
03376
03377
03378
03379
03380
03381
03382 void
03383 xcb_input_device_time_coord_next (xcb_input_device_time_coord_iterator_t *i );
03384
03395
03396
03397
03398
03399
03400
03401
03402
03403
03404 xcb_generic_iterator_t
03405 xcb_input_device_time_coord_end (xcb_input_device_time_coord_iterator_t i );
03406
03416
03417
03418
03419
03420
03421
03422
03423
03424
03425
03426 xcb_input_change_keyboard_device_cookie_t
03427 xcb_input_change_keyboard_device (xcb_connection_t *c ,
03428 uint8_t device_id );
03429
03442
03443
03444
03445
03446
03447
03448
03449
03450
03451
03452 xcb_input_change_keyboard_device_cookie_t
03453 xcb_input_change_keyboard_device_unchecked (xcb_connection_t *c ,
03454 uint8_t device_id );
03455
03471
03472
03473
03474
03475
03476
03477
03478
03479
03480
03481
03482 xcb_input_change_keyboard_device_reply_t *
03483 xcb_input_change_keyboard_device_reply (xcb_connection_t *c ,
03484 xcb_input_change_keyboard_device_cookie_t cookie ,
03485 xcb_generic_error_t **e );
03486
03496
03497
03498
03499
03500
03501
03502
03503
03504
03505
03506
03507
03508 xcb_input_change_pointer_device_cookie_t
03509 xcb_input_change_pointer_device (xcb_connection_t *c ,
03510 uint8_t x_axis ,
03511 uint8_t y_axis ,
03512 uint8_t device_id );
03513
03526
03527
03528
03529
03530
03531
03532
03533
03534
03535
03536
03537
03538 xcb_input_change_pointer_device_cookie_t
03539 xcb_input_change_pointer_device_unchecked (xcb_connection_t *c ,
03540 uint8_t x_axis ,
03541 uint8_t y_axis ,
03542 uint8_t device_id );
03543
03559
03560
03561
03562
03563
03564
03565
03566
03567
03568
03569
03570 xcb_input_change_pointer_device_reply_t *
03571 xcb_input_change_pointer_device_reply (xcb_connection_t *c ,
03572 xcb_input_change_pointer_device_cookie_t cookie ,
03573 xcb_generic_error_t **e );
03574
03584
03585
03586
03587
03588
03589
03590
03591
03592
03593
03594
03595
03596
03597
03598
03599
03600
03601 xcb_input_grab_device_cookie_t
03602 xcb_input_grab_device (xcb_connection_t *c ,
03603 xcb_window_t grab_window ,
03604 xcb_timestamp_t time ,
03605 uint16_t num_classes ,
03606 uint8_t this_device_mode ,
03607 uint8_t other_device_mode ,
03608 uint8_t owner_events ,
03609 uint8_t device_id ,
03610 const xcb_input_event_class_t *classes );
03611
03624
03625
03626
03627
03628
03629
03630
03631
03632
03633
03634
03635
03636
03637
03638
03639
03640
03641 xcb_input_grab_device_cookie_t
03642 xcb_input_grab_device_unchecked (xcb_connection_t *c ,
03643 xcb_window_t grab_window ,
03644 xcb_timestamp_t time ,
03645 uint16_t num_classes ,
03646 uint8_t this_device_mode ,
03647 uint8_t other_device_mode ,
03648 uint8_t owner_events ,
03649 uint8_t device_id ,
03650 const xcb_input_event_class_t *classes );
03651
03667
03668
03669
03670
03671
03672
03673
03674
03675
03676
03677
03678 xcb_input_grab_device_reply_t *
03679 xcb_input_grab_device_reply (xcb_connection_t *c ,
03680 xcb_input_grab_device_cookie_t cookie ,
03681 xcb_generic_error_t **e );
03682
03695
03696
03697
03698
03699
03700
03701
03702
03703
03704
03705
03706 xcb_void_cookie_t
03707 xcb_input_ungrab_device_checked (xcb_connection_t *c ,
03708 xcb_timestamp_t time ,
03709 uint8_t device_id );
03710
03720
03721
03722
03723
03724
03725
03726
03727
03728
03729
03730
03731 xcb_void_cookie_t
03732 xcb_input_ungrab_device (xcb_connection_t *c ,
03733 xcb_timestamp_t time ,
03734 uint8_t device_id );
03735
03748
03749
03750
03751
03752
03753
03754
03755
03756
03757
03758
03759
03760
03761
03762
03763
03764
03765
03766
03767 xcb_void_cookie_t
03768 xcb_input_grab_device_key_checked (xcb_connection_t *c ,
03769 xcb_window_t grab_window ,
03770 uint16_t num_classes ,
03771 uint16_t modifiers ,
03772 uint8_t modifier_device ,
03773 uint8_t grabbed_device ,
03774 uint8_t key ,
03775 uint8_t this_device_mode ,
03776 uint8_t other_device_mode ,
03777 uint8_t owner_events ,
03778 const xcb_input_event_class_t *classes );
03779
03789
03790
03791
03792
03793
03794
03795
03796
03797
03798
03799
03800
03801
03802
03803
03804
03805
03806
03807
03808 xcb_void_cookie_t
03809 xcb_input_grab_device_key (xcb_connection_t *c ,
03810 xcb_window_t grab_window ,
03811 uint16_t num_classes ,
03812 uint16_t modifiers ,
03813 uint8_t modifier_device ,
03814 uint8_t grabbed_device ,
03815 uint8_t key ,
03816 uint8_t this_device_mode ,
03817 uint8_t other_device_mode ,
03818 uint8_t owner_events ,
03819 const xcb_input_event_class_t *classes );
03820
03833
03834
03835
03836
03837
03838
03839
03840
03841
03842
03843
03844
03845
03846
03847 xcb_void_cookie_t
03848 xcb_input_ungrab_device_key_checked (xcb_connection_t *c ,
03849 xcb_window_t grabWindow ,
03850 uint16_t modifiers ,
03851 uint8_t modifier_device ,
03852 uint8_t key ,
03853 uint8_t grabbed_device );
03854
03864
03865
03866
03867
03868
03869
03870
03871
03872
03873
03874
03875
03876
03877
03878 xcb_void_cookie_t
03879 xcb_input_ungrab_device_key (xcb_connection_t *c ,
03880 xcb_window_t grabWindow ,
03881 uint16_t modifiers ,
03882 uint8_t modifier_device ,
03883 uint8_t key ,
03884 uint8_t grabbed_device );
03885
03898
03899
03900
03901
03902
03903
03904
03905
03906
03907
03908
03909
03910
03911
03912
03913
03914
03915
03916
03917 xcb_void_cookie_t
03918 xcb_input_grab_device_button_checked (xcb_connection_t *c ,
03919 xcb_window_t grab_window ,
03920 uint8_t grabbed_device ,
03921 uint8_t modifier_device ,
03922 uint16_t num_classes ,
03923 uint16_t modifiers ,
03924 uint8_t this_device_mode ,
03925 uint8_t other_device_mode ,
03926 uint8_t button ,
03927 uint8_t owner_events ,
03928 const xcb_input_event_class_t *classes );
03929
03939
03940
03941
03942
03943
03944
03945
03946
03947
03948
03949
03950
03951
03952
03953
03954
03955
03956
03957
03958 xcb_void_cookie_t
03959 xcb_input_grab_device_button (xcb_connection_t *c ,
03960 xcb_window_t grab_window ,
03961 uint8_t grabbed_device ,
03962 uint8_t modifier_device ,
03963 uint16_t num_classes ,
03964 uint16_t modifiers ,
03965 uint8_t this_device_mode ,
03966 uint8_t other_device_mode ,
03967 uint8_t button ,
03968 uint8_t owner_events ,
03969 const xcb_input_event_class_t *classes );
03970
03983
03984
03985
03986
03987
03988
03989
03990
03991
03992
03993
03994
03995
03996
03997 xcb_void_cookie_t
03998 xcb_input_ungrab_device_button_checked (xcb_connection_t *c ,
03999 xcb_window_t grab_window ,
04000 uint16_t modifiers ,
04001 uint8_t modifier_device ,
04002 uint8_t button ,
04003 uint8_t grabbed_device );
04004
04014
04015
04016
04017
04018
04019
04020
04021
04022
04023
04024
04025
04026
04027
04028 xcb_void_cookie_t
04029 xcb_input_ungrab_device_button (xcb_connection_t *c ,
04030 xcb_window_t grab_window ,
04031 uint16_t modifiers ,
04032 uint8_t modifier_device ,
04033 uint8_t button ,
04034 uint8_t grabbed_device );
04035
04048
04049
04050
04051
04052
04053
04054
04055
04056
04057
04058
04059
04060 xcb_void_cookie_t
04061 xcb_input_allow_device_events_checked (xcb_connection_t *c ,
04062 xcb_timestamp_t time ,
04063 uint8_t mode ,
04064 uint8_t device_id );
04065
04075
04076
04077
04078
04079
04080
04081
04082
04083
04084
04085
04086
04087 xcb_void_cookie_t
04088 xcb_input_allow_device_events (xcb_connection_t *c ,
04089 xcb_timestamp_t time ,
04090 uint8_t mode ,
04091 uint8_t device_id );
04092
04102
04103
04104
04105
04106
04107
04108
04109
04110
04111
04112 xcb_input_get_device_focus_cookie_t
04113 xcb_input_get_device_focus (xcb_connection_t *c ,
04114 uint8_t device_id );
04115
04128
04129
04130
04131
04132
04133
04134
04135
04136
04137
04138 xcb_input_get_device_focus_cookie_t
04139 xcb_input_get_device_focus_unchecked (xcb_connection_t *c ,
04140 uint8_t device_id );
04141
04157
04158
04159
04160
04161
04162
04163
04164
04165
04166
04167
04168 xcb_input_get_device_focus_reply_t *
04169 xcb_input_get_device_focus_reply (xcb_connection_t *c ,
04170 xcb_input_get_device_focus_cookie_t cookie ,
04171 xcb_generic_error_t **e );
04172
04185
04186
04187
04188
04189
04190
04191
04192
04193
04194
04195
04196
04197
04198 xcb_void_cookie_t
04199 xcb_input_set_device_focus_checked (xcb_connection_t *c ,
04200 xcb_window_t focus ,
04201 xcb_timestamp_t time ,
04202 uint8_t revert_to ,
04203 uint8_t device_id );
04204
04214
04215
04216
04217
04218
04219
04220
04221
04222
04223
04224
04225
04226
04227 xcb_void_cookie_t
04228 xcb_input_set_device_focus (xcb_connection_t *c ,
04229 xcb_window_t focus ,
04230 xcb_timestamp_t time ,
04231 uint8_t revert_to ,
04232 uint8_t device_id );
04233
04243
04244
04245
04246
04247
04248
04249
04250
04251
04252
04253 xcb_input_get_feedback_control_cookie_t
04254 xcb_input_get_feedback_control (xcb_connection_t *c ,
04255 uint8_t device_id );
04256
04269
04270
04271
04272
04273
04274
04275
04276
04277
04278
04279 xcb_input_get_feedback_control_cookie_t
04280 xcb_input_get_feedback_control_unchecked (xcb_connection_t *c ,
04281 uint8_t device_id );
04282
04298
04299
04300
04301
04302
04303
04304
04305
04306
04307
04308
04309 xcb_input_get_feedback_control_reply_t *
04310 xcb_input_get_feedback_control_reply (xcb_connection_t *c ,
04311 xcb_input_get_feedback_control_cookie_t cookie ,
04312 xcb_generic_error_t **e );
04313
04323
04324
04325
04326
04327
04328
04329
04330
04331
04332 void
04333 xcb_input_feedback_state_next (xcb_input_feedback_state_iterator_t *i );
04334
04345
04346
04347
04348
04349
04350
04351
04352
04353
04354 xcb_generic_iterator_t
04355 xcb_input_feedback_state_end (xcb_input_feedback_state_iterator_t i );
04356
04366
04367
04368
04369
04370
04371
04372
04373
04374
04375 void
04376 xcb_input_kbd_feedback_state_next (xcb_input_kbd_feedback_state_iterator_t *i );
04377
04388
04389
04390
04391
04392
04393
04394
04395
04396
04397 xcb_generic_iterator_t
04398 xcb_input_kbd_feedback_state_end (xcb_input_kbd_feedback_state_iterator_t i );
04399
04409
04410
04411
04412
04413
04414
04415
04416
04417
04418 void
04419 xcb_input_ptr_feedback_state_next (xcb_input_ptr_feedback_state_iterator_t *i );
04420
04431
04432
04433
04434
04435
04436
04437
04438
04439
04440 xcb_generic_iterator_t
04441 xcb_input_ptr_feedback_state_end (xcb_input_ptr_feedback_state_iterator_t i );
04442
04452
04453
04454
04455
04456
04457
04458
04459
04460
04461 void
04462 xcb_input_integer_feedback_state_next (xcb_input_integer_feedback_state_iterator_t *i );
04463
04474
04475
04476
04477
04478
04479
04480
04481
04482
04483 xcb_generic_iterator_t
04484 xcb_input_integer_feedback_state_end (xcb_input_integer_feedback_state_iterator_t i );
04485
04486
04487
04488
04489
04490
04491
04492
04493
04494
04495
04496 xcb_keysym_t *
04497 xcb_input_string_feedback_state_keysyms (const xcb_input_string_feedback_state_t *R );
04498
04499
04500
04501
04502
04503
04504
04505
04506
04507
04508
04509 int
04510 xcb_input_string_feedback_state_keysyms_length (const xcb_input_string_feedback_state_t *R );
04511
04512
04513
04514
04515
04516
04517
04518
04519
04520
04521
04522 xcb_generic_iterator_t
04523 xcb_input_string_feedback_state_keysyms_end (const xcb_input_string_feedback_state_t *R );
04524
04534
04535
04536
04537
04538
04539
04540
04541
04542
04543 void
04544 xcb_input_string_feedback_state_next (xcb_input_string_feedback_state_iterator_t *i );
04545
04556
04557
04558
04559
04560
04561
04562
04563
04564
04565 xcb_generic_iterator_t
04566 xcb_input_string_feedback_state_end (xcb_input_string_feedback_state_iterator_t i );
04567
04577
04578
04579
04580
04581
04582
04583
04584
04585
04586 void
04587 xcb_input_bell_feedback_state_next (xcb_input_bell_feedback_state_iterator_t *i );
04588
04599
04600
04601
04602
04603
04604
04605
04606
04607
04608 xcb_generic_iterator_t
04609 xcb_input_bell_feedback_state_end (xcb_input_bell_feedback_state_iterator_t i );
04610
04620
04621
04622
04623
04624
04625
04626
04627
04628
04629 void
04630 xcb_input_led_feedback_state_next (xcb_input_led_feedback_state_iterator_t *i );
04631
04642
04643
04644
04645
04646
04647
04648
04649
04650
04651 xcb_generic_iterator_t
04652 xcb_input_led_feedback_state_end (xcb_input_led_feedback_state_iterator_t i );
04653
04663
04664
04665
04666
04667
04668
04669
04670
04671
04672 void
04673 xcb_input_feedback_ctl_next (xcb_input_feedback_ctl_iterator_t *i );
04674
04685
04686
04687
04688
04689
04690
04691
04692
04693
04694 xcb_generic_iterator_t
04695 xcb_input_feedback_ctl_end (xcb_input_feedback_ctl_iterator_t i );
04696
04706
04707
04708
04709
04710
04711
04712
04713
04714
04715 void
04716 xcb_input_kbd_feedback_ctl_next (xcb_input_kbd_feedback_ctl_iterator_t *i );
04717
04728
04729
04730
04731
04732
04733
04734
04735
04736
04737 xcb_generic_iterator_t
04738 xcb_input_kbd_feedback_ctl_end (xcb_input_kbd_feedback_ctl_iterator_t i );
04739
04749
04750
04751
04752
04753
04754
04755
04756
04757
04758 void
04759 xcb_input_ptr_feedback_ctl_next (xcb_input_ptr_feedback_ctl_iterator_t *i );
04760
04771
04772
04773
04774
04775
04776
04777
04778
04779
04780 xcb_generic_iterator_t
04781 xcb_input_ptr_feedback_ctl_end (xcb_input_ptr_feedback_ctl_iterator_t i );
04782
04792
04793
04794
04795
04796
04797
04798
04799
04800
04801 void
04802 xcb_input_integer_feedback_ctl_next (xcb_input_integer_feedback_ctl_iterator_t *i );
04803
04814
04815
04816
04817
04818
04819
04820
04821
04822
04823 xcb_generic_iterator_t
04824 xcb_input_integer_feedback_ctl_end (xcb_input_integer_feedback_ctl_iterator_t i );
04825
04826
04827
04828
04829
04830
04831
04832
04833
04834
04835
04836 xcb_keysym_t *
04837 xcb_input_string_feedback_ctl_keysyms (const xcb_input_string_feedback_ctl_t *R );
04838
04839
04840
04841
04842
04843
04844
04845
04846
04847
04848
04849 int
04850 xcb_input_string_feedback_ctl_keysyms_length (const xcb_input_string_feedback_ctl_t *R );
04851
04852
04853
04854
04855
04856
04857
04858
04859
04860
04861
04862 xcb_generic_iterator_t
04863 xcb_input_string_feedback_ctl_keysyms_end (const xcb_input_string_feedback_ctl_t *R );
04864
04874
04875
04876
04877
04878
04879
04880
04881
04882
04883 void
04884 xcb_input_string_feedback_ctl_next (xcb_input_string_feedback_ctl_iterator_t *i );
04885
04896
04897
04898
04899
04900
04901
04902
04903
04904
04905 xcb_generic_iterator_t
04906 xcb_input_string_feedback_ctl_end (xcb_input_string_feedback_ctl_iterator_t i );
04907
04917
04918
04919
04920
04921
04922
04923
04924
04925
04926 void
04927 xcb_input_bell_feedback_ctl_next (xcb_input_bell_feedback_ctl_iterator_t *i );
04928
04939
04940
04941
04942
04943
04944
04945
04946
04947
04948 xcb_generic_iterator_t
04949 xcb_input_bell_feedback_ctl_end (xcb_input_bell_feedback_ctl_iterator_t i );
04950
04960
04961
04962
04963
04964
04965
04966
04967
04968
04969 void
04970 xcb_input_led_feedback_ctl_next (xcb_input_led_feedback_ctl_iterator_t *i );
04971
04982
04983
04984
04985
04986
04987
04988
04989
04990
04991 xcb_generic_iterator_t
04992 xcb_input_led_feedback_ctl_end (xcb_input_led_feedback_ctl_iterator_t i );
04993
05003
05004
05005
05006
05007
05008
05009
05010
05011
05012
05013
05014
05015 xcb_input_get_device_key_mapping_cookie_t
05016 xcb_input_get_device_key_mapping (xcb_connection_t *c ,
05017 uint8_t device_id ,
05018 xcb_input_key_code_t first_keycode ,
05019 uint8_t count );
05020
05033
05034
05035
05036
05037
05038
05039
05040
05041
05042
05043
05044
05045 xcb_input_get_device_key_mapping_cookie_t
05046 xcb_input_get_device_key_mapping_unchecked (xcb_connection_t *c ,
05047 uint8_t device_id ,
05048 xcb_input_key_code_t first_keycode ,
05049 uint8_t count );
05050
05051
05052
05053
05054
05055
05056
05057
05058
05059
05060
05061 xcb_keysym_t *
05062 xcb_input_get_device_key_mapping_keysyms (const xcb_input_get_device_key_mapping_reply_t *R );
05063
05064
05065
05066
05067
05068
05069
05070
05071
05072
05073
05074 int
05075 xcb_input_get_device_key_mapping_keysyms_length (const xcb_input_get_device_key_mapping_reply_t *R );
05076
05077
05078
05079
05080
05081
05082
05083
05084
05085
05086
05087 xcb_generic_iterator_t
05088 xcb_input_get_device_key_mapping_keysyms_end (const xcb_input_get_device_key_mapping_reply_t *R );
05089
05105
05106
05107
05108
05109
05110
05111
05112
05113
05114
05115
05116 xcb_input_get_device_key_mapping_reply_t *
05117 xcb_input_get_device_key_mapping_reply (xcb_connection_t *c ,
05118 xcb_input_get_device_key_mapping_cookie_t cookie ,
05119 xcb_generic_error_t **e );
05120
05133
05134
05135
05136
05137
05138
05139
05140
05141
05142
05143
05144
05145
05146
05147 xcb_void_cookie_t
05148 xcb_input_change_device_key_mapping_checked (xcb_connection_t *c ,
05149 uint8_t device_id ,
05150 xcb_input_key_code_t first_keycode ,
05151 uint8_t keysyms_per_keycode ,
05152 uint8_t keycode_count ,
05153 const xcb_keysym_t *keysyms );
05154
05164
05165
05166
05167
05168
05169
05170
05171
05172
05173
05174
05175
05176
05177
05178 xcb_void_cookie_t
05179 xcb_input_change_device_key_mapping (xcb_connection_t *c ,
05180 uint8_t device_id ,
05181 xcb_input_key_code_t first_keycode ,
05182 uint8_t keysyms_per_keycode ,
05183 uint8_t keycode_count ,
05184 const xcb_keysym_t *keysyms );
05185
05195
05196
05197
05198
05199
05200
05201
05202
05203
05204
05205 xcb_input_get_device_modifier_mapping_cookie_t
05206 xcb_input_get_device_modifier_mapping (xcb_connection_t *c ,
05207 uint8_t device_id );
05208
05221
05222
05223
05224
05225
05226
05227
05228
05229
05230
05231 xcb_input_get_device_modifier_mapping_cookie_t
05232 xcb_input_get_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05233 uint8_t device_id );
05234
05235
05236
05237
05238
05239
05240
05241
05242
05243
05244
05245 uint8_t *
05246 xcb_input_get_device_modifier_mapping_keymaps (const xcb_input_get_device_modifier_mapping_reply_t *R );
05247
05248
05249
05250
05251
05252
05253
05254
05255
05256
05257
05258 int
05259 xcb_input_get_device_modifier_mapping_keymaps_length (const xcb_input_get_device_modifier_mapping_reply_t *R );
05260
05261
05262
05263
05264
05265
05266
05267
05268
05269
05270
05271 xcb_generic_iterator_t
05272 xcb_input_get_device_modifier_mapping_keymaps_end (const xcb_input_get_device_modifier_mapping_reply_t *R );
05273
05289
05290
05291
05292
05293
05294
05295
05296
05297
05298
05299
05300 xcb_input_get_device_modifier_mapping_reply_t *
05301 xcb_input_get_device_modifier_mapping_reply (xcb_connection_t *c ,
05302 xcb_input_get_device_modifier_mapping_cookie_t cookie ,
05303 xcb_generic_error_t **e );
05304
05314
05315
05316
05317
05318
05319
05320
05321
05322
05323
05324
05325
05326 xcb_input_set_device_modifier_mapping_cookie_t
05327 xcb_input_set_device_modifier_mapping (xcb_connection_t *c ,
05328 uint8_t device_id ,
05329 uint8_t keycodes_per_modifier ,
05330 const uint8_t *keymaps );
05331
05344
05345
05346
05347
05348
05349
05350
05351
05352
05353
05354
05355
05356 xcb_input_set_device_modifier_mapping_cookie_t
05357 xcb_input_set_device_modifier_mapping_unchecked (xcb_connection_t *c ,
05358 uint8_t device_id ,
05359 uint8_t keycodes_per_modifier ,
05360 const uint8_t *keymaps );
05361
05377
05378
05379
05380
05381
05382
05383
05384
05385
05386
05387
05388 xcb_input_set_device_modifier_mapping_reply_t *
05389 xcb_input_set_device_modifier_mapping_reply (xcb_connection_t *c ,
05390 xcb_input_set_device_modifier_mapping_cookie_t cookie ,
05391 xcb_generic_error_t **e );
05392
05402
05403
05404
05405
05406
05407
05408
05409
05410
05411
05412 xcb_input_get_device_button_mapping_cookie_t
05413 xcb_input_get_device_button_mapping (xcb_connection_t *c ,
05414 uint8_t device_id );
05415
05428
05429
05430
05431
05432
05433
05434
05435
05436
05437
05438 xcb_input_get_device_button_mapping_cookie_t
05439 xcb_input_get_device_button_mapping_unchecked (xcb_connection_t *c ,
05440 uint8_t device_id );
05441
05442
05443
05444
05445
05446
05447
05448
05449
05450
05451
05452 uint8_t *
05453 xcb_input_get_device_button_mapping_map (const xcb_input_get_device_button_mapping_reply_t *R );
05454
05455
05456
05457
05458
05459
05460
05461
05462
05463
05464
05465 int
05466 xcb_input_get_device_button_mapping_map_length (const xcb_input_get_device_button_mapping_reply_t *R );
05467
05468
05469
05470
05471
05472
05473
05474
05475
05476
05477
05478 xcb_generic_iterator_t
05479 xcb_input_get_device_button_mapping_map_end (const xcb_input_get_device_button_mapping_reply_t *R );
05480
05496
05497
05498
05499
05500
05501
05502
05503
05504
05505
05506
05507 xcb_input_get_device_button_mapping_reply_t *
05508 xcb_input_get_device_button_mapping_reply (xcb_connection_t *c ,
05509 xcb_input_get_device_button_mapping_cookie_t cookie ,
05510 xcb_generic_error_t **e );
05511
05521
05522
05523
05524
05525
05526
05527
05528
05529
05530
05531
05532
05533 xcb_input_set_device_button_mapping_cookie_t
05534 xcb_input_set_device_button_mapping (xcb_connection_t *c ,
05535 uint8_t device_id ,
05536 uint8_t map_size ,
05537 const uint8_t *map );
05538
05551
05552
05553
05554
05555
05556
05557
05558
05559
05560
05561
05562
05563 xcb_input_set_device_button_mapping_cookie_t
05564 xcb_input_set_device_button_mapping_unchecked (xcb_connection_t *c ,
05565 uint8_t device_id ,
05566 uint8_t map_size ,
05567 const uint8_t *map );
05568
05584
05585
05586
05587
05588
05589
05590
05591
05592
05593
05594
05595 xcb_input_set_device_button_mapping_reply_t *
05596 xcb_input_set_device_button_mapping_reply (xcb_connection_t *c ,
05597 xcb_input_set_device_button_mapping_cookie_t cookie ,
05598 xcb_generic_error_t **e );
05599
05609
05610
05611
05612
05613
05614
05615
05616
05617
05618
05619 xcb_input_query_device_state_cookie_t
05620 xcb_input_query_device_state (xcb_connection_t *c ,
05621 uint8_t device_id );
05622
05635
05636
05637
05638
05639
05640
05641
05642
05643
05644
05645 xcb_input_query_device_state_cookie_t
05646 xcb_input_query_device_state_unchecked (xcb_connection_t *c ,
05647 uint8_t device_id );
05648
05664
05665
05666
05667
05668
05669
05670
05671
05672
05673
05674
05675 xcb_input_query_device_state_reply_t *
05676 xcb_input_query_device_state_reply (xcb_connection_t *c ,
05677 xcb_input_query_device_state_cookie_t cookie ,
05678 xcb_generic_error_t **e );
05679
05689
05690
05691
05692
05693
05694
05695
05696
05697
05698 void
05699 xcb_input_input_state_next (xcb_input_input_state_iterator_t *i );
05700
05711
05712
05713
05714
05715
05716
05717
05718
05719
05720 xcb_generic_iterator_t
05721 xcb_input_input_state_end (xcb_input_input_state_iterator_t i );
05722
05732
05733
05734
05735
05736
05737
05738
05739
05740
05741 void
05742 xcb_input_key_state_next (xcb_input_key_state_iterator_t *i );
05743
05754
05755
05756
05757
05758
05759
05760
05761
05762
05763 xcb_generic_iterator_t
05764 xcb_input_key_state_end (xcb_input_key_state_iterator_t i );
05765
05775
05776
05777
05778
05779
05780
05781
05782
05783
05784 void
05785 xcb_input_button_state_next (xcb_input_button_state_iterator_t *i );
05786
05797
05798
05799
05800
05801
05802
05803
05804
05805
05806 xcb_generic_iterator_t
05807 xcb_input_button_state_end (xcb_input_button_state_iterator_t i );
05808
05809
05810
05811
05812
05813
05814
05815
05816
05817
05818
05819 uint32_t *
05820 xcb_input_valuator_state_valuators (const xcb_input_valuator_state_t *R );
05821
05822
05823
05824
05825
05826
05827
05828
05829
05830
05831
05832 int
05833 xcb_input_valuator_state_valuators_length (const xcb_input_valuator_state_t *R );
05834
05835
05836
05837
05838
05839
05840
05841
05842
05843
05844
05845 xcb_generic_iterator_t
05846 xcb_input_valuator_state_valuators_end (const xcb_input_valuator_state_t *R );
05847
05857
05858
05859
05860
05861
05862
05863
05864
05865
05866 void
05867 xcb_input_valuator_state_next (xcb_input_valuator_state_iterator_t *i );
05868
05879
05880
05881
05882
05883
05884
05885
05886
05887
05888 xcb_generic_iterator_t
05889 xcb_input_valuator_state_end (xcb_input_valuator_state_iterator_t i );
05890
05903
05904
05905
05906
05907
05908
05909
05910
05911
05912
05913
05914
05915
05916
05917
05918
05919 xcb_void_cookie_t
05920 xcb_input_send_extension_event_checked (xcb_connection_t *c ,
05921 xcb_window_t destination ,
05922 uint8_t device_id ,
05923 uint8_t propagate ,
05924 uint16_t num_classes ,
05925 uint8_t num_events ,
05926 const char *events ,
05927 const xcb_input_event_class_t *classes );
05928
05938
05939
05940
05941
05942
05943
05944
05945
05946
05947
05948
05949
05950
05951
05952
05953
05954 xcb_void_cookie_t
05955 xcb_input_send_extension_event (xcb_connection_t *c ,
05956 xcb_window_t destination ,
05957 uint8_t device_id ,
05958 uint8_t propagate ,
05959 uint16_t num_classes ,
05960 uint8_t num_events ,
05961 const char *events ,
05962 const xcb_input_event_class_t *classes );
05963
05976
05977
05978
05979
05980
05981
05982
05983
05984
05985
05986
05987
05988
05989 xcb_void_cookie_t
05990 xcb_input_device_bell_checked (xcb_connection_t *c ,
05991 uint8_t device_id ,
05992 uint8_t feedback_id ,
05993 uint8_t feedback_class ,
05994 int8_t percent );
05995
06005
06006
06007
06008
06009
06010
06011
06012
06013
06014
06015
06016
06017
06018 xcb_void_cookie_t
06019 xcb_input_device_bell (xcb_connection_t *c ,
06020 uint8_t device_id ,
06021 uint8_t feedback_id ,
06022 uint8_t feedback_class ,
06023 int8_t percent );
06024
06034
06035
06036
06037
06038
06039
06040
06041
06042
06043
06044
06045
06046
06047 xcb_input_set_device_valuators_cookie_t
06048 xcb_input_set_device_valuators (xcb_connection_t *c ,
06049 uint8_t device_id ,
06050 uint8_t first_valuator ,
06051 uint8_t num_valuators ,
06052 const int32_t *valuators );
06053
06066
06067
06068
06069
06070
06071
06072
06073
06074
06075
06076
06077
06078
06079 xcb_input_set_device_valuators_cookie_t
06080 xcb_input_set_device_valuators_unchecked (xcb_connection_t *c ,
06081 uint8_t device_id ,
06082 uint8_t first_valuator ,
06083 uint8_t num_valuators ,
06084 const int32_t *valuators );
06085
06101
06102
06103
06104
06105
06106
06107
06108
06109
06110
06111
06112 xcb_input_set_device_valuators_reply_t *
06113 xcb_input_set_device_valuators_reply (xcb_connection_t *c ,
06114 xcb_input_set_device_valuators_cookie_t cookie ,
06115 xcb_generic_error_t **e );
06116
06126
06127
06128
06129
06130
06131
06132
06133
06134
06135
06136
06137 xcb_input_get_device_control_cookie_t
06138 xcb_input_get_device_control (xcb_connection_t *c ,
06139 uint16_t control_id ,
06140 uint8_t device_id );
06141
06154
06155
06156
06157
06158
06159
06160
06161
06162
06163
06164
06165 xcb_input_get_device_control_cookie_t
06166 xcb_input_get_device_control_unchecked (xcb_connection_t *c ,
06167 uint16_t control_id ,
06168 uint8_t device_id );
06169
06185
06186
06187
06188
06189
06190
06191
06192
06193
06194
06195
06196 xcb_input_get_device_control_reply_t *
06197 xcb_input_get_device_control_reply (xcb_connection_t *c ,
06198 xcb_input_get_device_control_cookie_t cookie ,
06199 xcb_generic_error_t **e );
06200
06210
06211
06212
06213
06214
06215
06216
06217
06218
06219 void
06220 xcb_input_device_state_next (xcb_input_device_state_iterator_t *i );
06221
06232
06233
06234
06235
06236
06237
06238
06239
06240
06241 xcb_generic_iterator_t
06242 xcb_input_device_state_end (xcb_input_device_state_iterator_t i );
06243
06244
06245
06246
06247
06248
06249
06250
06251
06252
06253
06254 uint32_t *
06255 xcb_input_device_resolution_state_resolution_values (const xcb_input_device_resolution_state_t *R );
06256
06257
06258
06259
06260
06261
06262
06263
06264
06265
06266
06267 int
06268 xcb_input_device_resolution_state_resolution_values_length (const xcb_input_device_resolution_state_t *R );
06269
06270
06271
06272
06273
06274
06275
06276
06277
06278
06279
06280 xcb_generic_iterator_t
06281 xcb_input_device_resolution_state_resolution_values_end (const xcb_input_device_resolution_state_t *R );
06282
06283
06284
06285
06286
06287
06288
06289
06290
06291
06292
06293 uint32_t *
06294 xcb_input_device_resolution_state_resolution_min (const xcb_input_device_resolution_state_t *R );
06295
06296
06297
06298
06299
06300
06301
06302
06303
06304
06305
06306 int
06307 xcb_input_device_resolution_state_resolution_min_length (const xcb_input_device_resolution_state_t *R );
06308
06309
06310
06311
06312
06313
06314
06315
06316
06317
06318
06319 xcb_generic_iterator_t
06320 xcb_input_device_resolution_state_resolution_min_end (const xcb_input_device_resolution_state_t *R );
06321
06322
06323
06324
06325
06326
06327
06328
06329
06330
06331
06332 uint32_t *
06333 xcb_input_device_resolution_state_resolution_max (const xcb_input_device_resolution_state_t *R );
06334
06335
06336
06337
06338
06339
06340
06341
06342
06343
06344
06345 int
06346 xcb_input_device_resolution_state_resolution_max_length (const xcb_input_device_resolution_state_t *R );
06347
06348
06349
06350
06351
06352
06353
06354
06355
06356
06357
06358 xcb_generic_iterator_t
06359 xcb_input_device_resolution_state_resolution_max_end (const xcb_input_device_resolution_state_t *R );
06360
06370
06371
06372
06373
06374
06375
06376
06377
06378
06379 void
06380 xcb_input_device_resolution_state_next (xcb_input_device_resolution_state_iterator_t *i );
06381
06392
06393
06394
06395
06396
06397
06398
06399
06400
06401 xcb_generic_iterator_t
06402 xcb_input_device_resolution_state_end (xcb_input_device_resolution_state_iterator_t i );
06403
06413
06414
06415
06416
06417
06418
06419
06420
06421
06422 void
06423 xcb_input_device_abs_calib_state_next (xcb_input_device_abs_calib_state_iterator_t *i );
06424
06435
06436
06437
06438
06439
06440
06441
06442
06443
06444 xcb_generic_iterator_t
06445 xcb_input_device_abs_calib_state_end (xcb_input_device_abs_calib_state_iterator_t i );
06446
06456
06457
06458
06459
06460
06461
06462
06463
06464
06465 void
06466 xcb_input_device_abs_area_state_next (xcb_input_device_abs_area_state_iterator_t *i );
06467
06478
06479
06480
06481
06482
06483
06484
06485
06486
06487 xcb_generic_iterator_t
06488 xcb_input_device_abs_area_state_end (xcb_input_device_abs_area_state_iterator_t i );
06489
06499
06500
06501
06502
06503
06504
06505
06506
06507
06508 void
06509 xcb_input_device_core_state_next (xcb_input_device_core_state_iterator_t *i );
06510
06521
06522
06523
06524
06525
06526
06527
06528
06529
06530 xcb_generic_iterator_t
06531 xcb_input_device_core_state_end (xcb_input_device_core_state_iterator_t i );
06532
06542
06543
06544
06545
06546
06547
06548
06549
06550
06551 void
06552 xcb_input_device_enable_state_next (xcb_input_device_enable_state_iterator_t *i );
06553
06564
06565
06566
06567
06568
06569
06570
06571
06572
06573 xcb_generic_iterator_t
06574 xcb_input_device_enable_state_end (xcb_input_device_enable_state_iterator_t i );
06575
06585
06586
06587
06588
06589
06590
06591
06592
06593
06594 void
06595 xcb_input_device_ctl_next (xcb_input_device_ctl_iterator_t *i );
06596
06607
06608
06609
06610
06611
06612
06613
06614
06615
06616 xcb_generic_iterator_t
06617 xcb_input_device_ctl_end (xcb_input_device_ctl_iterator_t i );
06618
06619
06620
06621
06622
06623
06624
06625
06626
06627
06628
06629 uint32_t *
06630 xcb_input_device_resolution_ctl_resolution_values (const xcb_input_device_resolution_ctl_t *R );
06631
06632
06633
06634
06635
06636
06637
06638
06639
06640
06641
06642 int
06643 xcb_input_device_resolution_ctl_resolution_values_length (const xcb_input_device_resolution_ctl_t *R );
06644
06645
06646
06647
06648
06649
06650
06651
06652
06653
06654
06655 xcb_generic_iterator_t
06656 xcb_input_device_resolution_ctl_resolution_values_end (const xcb_input_device_resolution_ctl_t *R );
06657
06667
06668
06669
06670
06671
06672
06673
06674
06675
06676 void
06677 xcb_input_device_resolution_ctl_next (xcb_input_device_resolution_ctl_iterator_t *i );
06678
06689
06690
06691
06692
06693
06694
06695
06696
06697
06698 xcb_generic_iterator_t
06699 xcb_input_device_resolution_ctl_end (xcb_input_device_resolution_ctl_iterator_t i );
06700
06710
06711
06712
06713
06714
06715
06716
06717
06718
06719 void
06720 xcb_input_device_abs_calib_ctl_next (xcb_input_device_abs_calib_ctl_iterator_t *i );
06721
06732
06733
06734
06735
06736
06737
06738
06739
06740
06741 xcb_generic_iterator_t
06742 xcb_input_device_abs_calib_ctl_end (xcb_input_device_abs_calib_ctl_iterator_t i );
06743
06753
06754
06755
06756
06757
06758
06759
06760
06761
06762 void
06763 xcb_input_device_abs_area_ctrl_next (xcb_input_device_abs_area_ctrl_iterator_t *i );
06764
06775
06776
06777
06778
06779
06780
06781
06782
06783
06784 xcb_generic_iterator_t
06785 xcb_input_device_abs_area_ctrl_end (xcb_input_device_abs_area_ctrl_iterator_t i );
06786
06796
06797
06798
06799
06800
06801
06802
06803
06804
06805 void
06806 xcb_input_device_core_ctrl_next (xcb_input_device_core_ctrl_iterator_t *i );
06807
06818
06819
06820
06821
06822
06823
06824
06825
06826
06827 xcb_generic_iterator_t
06828 xcb_input_device_core_ctrl_end (xcb_input_device_core_ctrl_iterator_t i );
06829
06839
06840
06841
06842
06843
06844
06845
06846
06847
06848 void
06849 xcb_input_device_enable_ctrl_next (xcb_input_device_enable_ctrl_iterator_t *i );
06850
06861
06862
06863
06864
06865
06866
06867
06868
06869
06870 xcb_generic_iterator_t
06871 xcb_input_device_enable_ctrl_end (xcb_input_device_enable_ctrl_iterator_t i );
06872
06873
06874 #ifdef __cplusplus
06875 }
06876 #endif
06877
06878 #endif
06879