22 #define XCB_INPUT_MAJOR_VERSION 2 23 #define XCB_INPUT_MINOR_VERSION 3 27 typedef uint32_t xcb_input_event_class_t;
33 xcb_input_event_class_t *data;
38 typedef uint8_t xcb_input_key_code_t;
44 xcb_input_key_code_t *data;
49 typedef uint16_t xcb_input_device_id_t;
55 xcb_input_device_id_t *data;
60 typedef int32_t xcb_input_fp1616_t;
66 xcb_input_fp1616_t *data;
92 unsigned int sequence;
96 #define XCB_INPUT_GET_EXTENSION_VERSION 1 102 uint8_t major_opcode;
103 uint8_t minor_opcode;
113 uint8_t response_type;
114 uint8_t xi_reply_type;
117 uint16_t server_major;
118 uint16_t server_minor;
123 typedef enum xcb_input_device_use_t {
124 XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0,
125 XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1,
126 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2,
127 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3,
128 XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4
129 } xcb_input_device_use_t;
131 typedef enum xcb_input_input_class_t {
132 XCB_INPUT_INPUT_CLASS_KEY = 0,
133 XCB_INPUT_INPUT_CLASS_BUTTON = 1,
134 XCB_INPUT_INPUT_CLASS_VALUATOR = 2,
135 XCB_INPUT_INPUT_CLASS_FEEDBACK = 3,
136 XCB_INPUT_INPUT_CLASS_PROXIMITY = 4,
137 XCB_INPUT_INPUT_CLASS_FOCUS = 5,
138 XCB_INPUT_INPUT_CLASS_OTHER = 6
139 } xcb_input_input_class_t;
141 typedef enum xcb_input_valuator_mode_t {
142 XCB_INPUT_VALUATOR_MODE_RELATIVE = 0,
143 XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1
144 } xcb_input_valuator_mode_t;
150 xcb_atom_t device_type;
152 uint8_t num_class_info;
172 xcb_input_key_code_t min_keycode;
173 xcb_input_key_code_t max_keycode;
193 uint16_t num_buttons;
231 uint32_t motion_size;
248 xcb_input_key_code_t min_keycode;
249 xcb_input_key_code_t max_keycode;
254 uint16_t num_buttons;
259 uint32_t motion_size;
304 unsigned int sequence;
308 #define XCB_INPUT_LIST_INPUT_DEVICES 2 314 uint8_t major_opcode;
315 uint8_t minor_opcode;
323 uint8_t response_type;
324 uint8_t xi_reply_type;
336 uint8_t event_type_base;
352 unsigned int sequence;
356 #define XCB_INPUT_OPEN_DEVICE 3 362 uint8_t major_opcode;
363 uint8_t minor_opcode;
373 uint8_t response_type;
374 uint8_t xi_reply_type;
382 #define XCB_INPUT_CLOSE_DEVICE 4 388 uint8_t major_opcode;
389 uint8_t minor_opcode;
399 unsigned int sequence;
403 #define XCB_INPUT_SET_DEVICE_MODE 5 409 uint8_t major_opcode;
410 uint8_t minor_opcode;
421 uint8_t response_type;
422 uint8_t xi_reply_type;
430 #define XCB_INPUT_SELECT_EXTENSION_EVENT 6 436 uint8_t major_opcode;
437 uint8_t minor_opcode;
440 uint16_t num_classes;
448 unsigned int sequence;
452 #define XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS 7 458 uint8_t major_opcode;
459 uint8_t minor_opcode;
468 uint8_t response_type;
469 uint8_t xi_reply_type;
472 uint16_t num_this_classes;
473 uint16_t num_all_classes;
477 typedef enum xcb_input_propagate_mode_t {
478 XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0,
479 XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1
480 } xcb_input_propagate_mode_t;
483 #define XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST 8 489 uint8_t major_opcode;
490 uint8_t minor_opcode;
493 uint16_t num_classes;
502 unsigned int sequence;
506 #define XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST 9 512 uint8_t major_opcode;
513 uint8_t minor_opcode;
522 uint8_t response_type;
523 uint8_t xi_reply_type;
526 uint16_t num_classes;
534 xcb_timestamp_t time;
551 unsigned int sequence;
555 #define XCB_INPUT_GET_DEVICE_MOTION_EVENTS 10 561 uint8_t major_opcode;
562 uint8_t minor_opcode;
564 xcb_timestamp_t start;
565 xcb_timestamp_t stop;
574 uint8_t response_type;
575 uint8_t xi_reply_type;
588 unsigned int sequence;
592 #define XCB_INPUT_CHANGE_KEYBOARD_DEVICE 11 598 uint8_t major_opcode;
599 uint8_t minor_opcode;
609 uint8_t response_type;
610 uint8_t xi_reply_type;
621 unsigned int sequence;
625 #define XCB_INPUT_CHANGE_POINTER_DEVICE 12 631 uint8_t major_opcode;
632 uint8_t minor_opcode;
644 uint8_t response_type;
645 uint8_t xi_reply_type;
656 unsigned int sequence;
660 #define XCB_INPUT_GRAB_DEVICE 13 666 uint8_t major_opcode;
667 uint8_t minor_opcode;
669 xcb_window_t grab_window;
670 xcb_timestamp_t time;
671 uint16_t num_classes;
672 uint8_t this_device_mode;
673 uint8_t other_device_mode;
674 uint8_t owner_events;
683 uint8_t response_type;
684 uint8_t xi_reply_type;
692 #define XCB_INPUT_UNGRAB_DEVICE 14 698 uint8_t major_opcode;
699 uint8_t minor_opcode;
701 xcb_timestamp_t time;
706 typedef enum xcb_input_modifier_device_t {
707 XCB_INPUT_MODIFIER_DEVICE_USE_X_KEYBOARD = 255
708 } xcb_input_modifier_device_t;
711 #define XCB_INPUT_GRAB_DEVICE_KEY 15 717 uint8_t major_opcode;
718 uint8_t minor_opcode;
720 xcb_window_t grab_window;
721 uint16_t num_classes;
723 uint8_t modifier_device;
724 uint8_t grabbed_device;
726 uint8_t this_device_mode;
727 uint8_t other_device_mode;
728 uint8_t owner_events;
733 #define XCB_INPUT_UNGRAB_DEVICE_KEY 16 739 uint8_t major_opcode;
740 uint8_t minor_opcode;
742 xcb_window_t grabWindow;
744 uint8_t modifier_device;
746 uint8_t grabbed_device;
750 #define XCB_INPUT_GRAB_DEVICE_BUTTON 17 756 uint8_t major_opcode;
757 uint8_t minor_opcode;
759 xcb_window_t grab_window;
760 uint8_t grabbed_device;
761 uint8_t modifier_device;
762 uint16_t num_classes;
764 uint8_t this_device_mode;
765 uint8_t other_device_mode;
767 uint8_t owner_events;
772 #define XCB_INPUT_UNGRAB_DEVICE_BUTTON 18 778 uint8_t major_opcode;
779 uint8_t minor_opcode;
781 xcb_window_t grab_window;
783 uint8_t modifier_device;
785 uint8_t grabbed_device;
789 typedef enum xcb_input_device_input_mode_t {
790 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE = 0,
791 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE = 1,
792 XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE = 2,
793 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES = 3,
794 XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL = 4,
795 XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL = 5
796 } xcb_input_device_input_mode_t;
799 #define XCB_INPUT_ALLOW_DEVICE_EVENTS 19 805 uint8_t major_opcode;
806 uint8_t minor_opcode;
808 xcb_timestamp_t time;
818 unsigned int sequence;
822 #define XCB_INPUT_GET_DEVICE_FOCUS 20 828 uint8_t major_opcode;
829 uint8_t minor_opcode;
839 uint8_t response_type;
840 uint8_t xi_reply_type;
844 xcb_timestamp_t time;
850 #define XCB_INPUT_SET_DEVICE_FOCUS 21 856 uint8_t major_opcode;
857 uint8_t minor_opcode;
860 xcb_timestamp_t time;
866 typedef enum xcb_input_feedback_class_t {
867 XCB_INPUT_FEEDBACK_CLASS_KEYBOARD = 0,
868 XCB_INPUT_FEEDBACK_CLASS_POINTER = 1,
869 XCB_INPUT_FEEDBACK_CLASS_STRING = 2,
870 XCB_INPUT_FEEDBACK_CLASS_INTEGER = 3,
871 XCB_INPUT_FEEDBACK_CLASS_LED = 4,
872 XCB_INPUT_FEEDBACK_CLASS_BELL = 5
873 } xcb_input_feedback_class_t;
886 uint8_t global_auto_repeat;
890 uint8_t auto_repeats[32];
911 uint16_t accel_denom;
952 uint16_t max_symbols;
953 uint16_t num_keysyms;
1015 uint32_t led_values;
1016 uint8_t global_auto_repeat;
1020 uint8_t auto_repeats[32];
1025 uint16_t accel_denom;
1029 uint16_t max_symbols;
1030 uint16_t num_keysyms;
1031 xcb_keysym_t *keysyms;
1034 uint32_t resolution;
1040 uint32_t led_values;
1055 uint8_t feedback_id;
1075 unsigned int sequence;
1079 #define XCB_INPUT_GET_FEEDBACK_CONTROL 22 1085 uint8_t major_opcode;
1086 uint8_t minor_opcode;
1096 uint8_t response_type;
1097 uint8_t xi_reply_type;
1100 uint16_t num_feedbacks;
1109 uint8_t feedback_id;
1111 xcb_input_key_code_t key;
1112 uint8_t auto_repeat_mode;
1113 int8_t key_click_percent;
1114 int8_t bell_percent;
1116 int16_t bell_duration;
1118 uint32_t led_values;
1135 uint8_t feedback_id;
1157 uint8_t feedback_id;
1159 int32_t int_to_display;
1176 uint8_t feedback_id;
1179 uint16_t num_keysyms;
1196 uint8_t feedback_id;
1218 uint8_t feedback_id;
1221 uint32_t led_values;
1238 xcb_input_key_code_t key;
1239 uint8_t auto_repeat_mode;
1240 int8_t key_click_percent;
1241 int8_t bell_percent;
1243 int16_t bell_duration;
1245 uint32_t led_values;
1255 uint16_t num_keysyms;
1256 xcb_keysym_t *keysyms;
1259 int32_t int_to_display;
1263 uint32_t led_values;
1278 uint8_t feedback_id;
1294 typedef enum xcb_input_change_feedback_control_mask_t {
1295 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_KEY_CLICK_PERCENT = 1,
1296 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_PERCENT = 2,
1297 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_PITCH = 4,
1298 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_DURATION = 8,
1299 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_LED = 16,
1300 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_LED_MODE = 32,
1301 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_KEY = 64,
1302 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_AUTO_REPEAT_MODE = 128,
1303 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_STRING = 1,
1304 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_INTEGER = 1,
1305 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_ACCEL_NUM = 1,
1306 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_ACCEL_DENOM = 2,
1307 XCB_INPUT_CHANGE_FEEDBACK_CONTROL_MASK_THRESHOLD = 4
1308 } xcb_input_change_feedback_control_mask_t;
1311 #define XCB_INPUT_CHANGE_FEEDBACK_CONTROL 23 1317 uint8_t major_opcode;
1318 uint8_t minor_opcode;
1322 uint8_t feedback_id;
1330 unsigned int sequence;
1334 #define XCB_INPUT_GET_DEVICE_KEY_MAPPING 24 1340 uint8_t major_opcode;
1341 uint8_t minor_opcode;
1344 xcb_input_key_code_t first_keycode;
1353 uint8_t response_type;
1354 uint8_t xi_reply_type;
1357 uint8_t keysyms_per_keycode;
1362 #define XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING 25 1368 uint8_t major_opcode;
1369 uint8_t minor_opcode;
1372 xcb_input_key_code_t first_keycode;
1373 uint8_t keysyms_per_keycode;
1374 uint8_t keycode_count;
1381 unsigned int sequence;
1385 #define XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING 26 1391 uint8_t major_opcode;
1392 uint8_t minor_opcode;
1402 uint8_t response_type;
1403 uint8_t xi_reply_type;
1406 uint8_t keycodes_per_modifier;
1414 unsigned int sequence;
1418 #define XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING 27 1424 uint8_t major_opcode;
1425 uint8_t minor_opcode;
1428 uint8_t keycodes_per_modifier;
1436 uint8_t response_type;
1437 uint8_t xi_reply_type;
1448 unsigned int sequence;
1452 #define XCB_INPUT_GET_DEVICE_BUTTON_MAPPING 28 1458 uint8_t major_opcode;
1459 uint8_t minor_opcode;
1469 uint8_t response_type;
1470 uint8_t xi_reply_type;
1481 unsigned int sequence;
1485 #define XCB_INPUT_SET_DEVICE_BUTTON_MAPPING 29 1491 uint8_t major_opcode;
1492 uint8_t minor_opcode;
1503 uint8_t response_type;
1504 uint8_t xi_reply_type;
1537 uint8_t num_buttons;
1539 uint8_t buttons[32];
1551 typedef enum xcb_input_valuator_state_mode_mask_t {
1552 XCB_INPUT_VALUATOR_STATE_MODE_MASK_DEVICE_MODE_ABSOLUTE = 1,
1553 XCB_INPUT_VALUATOR_STATE_MODE_MASK_OUT_OF_PROXIMITY = 2
1554 } xcb_input_valuator_state_mode_mask_t;
1562 uint8_t num_valuators;
1585 uint8_t num_buttons;
1587 uint8_t buttons[32];
1590 uint8_t num_valuators;
1620 unsigned int sequence;
1624 #define XCB_INPUT_QUERY_DEVICE_STATE 30 1630 uint8_t major_opcode;
1631 uint8_t minor_opcode;
1641 uint8_t response_type;
1642 uint8_t xi_reply_type;
1645 uint8_t num_classes;
1650 #define XCB_INPUT_SEND_EXTENSION_EVENT 31 1656 uint8_t major_opcode;
1657 uint8_t minor_opcode;
1659 xcb_window_t destination;
1662 uint16_t num_classes;
1668 #define XCB_INPUT_DEVICE_BELL 32 1674 uint8_t major_opcode;
1675 uint8_t minor_opcode;
1678 uint8_t feedback_id;
1679 uint8_t feedback_class;
1687 unsigned int sequence;
1691 #define XCB_INPUT_SET_DEVICE_VALUATORS 33 1697 uint8_t major_opcode;
1698 uint8_t minor_opcode;
1701 uint8_t first_valuator;
1702 uint8_t num_valuators;
1710 uint8_t response_type;
1711 uint8_t xi_reply_type;
1718 typedef enum xcb_input_device_control_t {
1719 XCB_INPUT_DEVICE_CONTROL_RESOLUTION = 1,
1720 XCB_INPUT_DEVICE_CONTROL_ABS_CALIB = 2,
1721 XCB_INPUT_DEVICE_CONTROL_CORE = 3,
1722 XCB_INPUT_DEVICE_CONTROL_ENABLE = 4,
1723 XCB_INPUT_DEVICE_CONTROL_ABS_AREA = 5
1724 } xcb_input_device_control_t;
1730 uint16_t control_id;
1732 uint32_t num_valuators;
1748 uint16_t control_id;
1757 uint32_t button_threshold;
1773 uint16_t control_id;
1796 uint16_t control_id;
1816 uint16_t control_id;
1836 uint32_t num_valuators;
1837 uint32_t *resolution_values;
1838 uint32_t *resolution_min;
1839 uint32_t *resolution_max;
1849 uint32_t button_threshold;
1874 uint16_t control_id;
1894 unsigned int sequence;
1898 #define XCB_INPUT_GET_DEVICE_CONTROL 34 1904 uint8_t major_opcode;
1905 uint8_t minor_opcode;
1907 uint16_t control_id;
1916 uint8_t response_type;
1917 uint8_t xi_reply_type;
1928 uint16_t control_id;
1930 uint8_t first_valuator;
1931 uint8_t num_valuators;
1948 uint16_t control_id;
1957 uint32_t button_threshold;
1973 uint16_t control_id;
1996 uint16_t control_id;
2015 uint16_t control_id;
2035 uint8_t first_valuator;
2036 uint8_t num_valuators;
2038 uint32_t *resolution_values;
2048 uint32_t button_threshold;
2072 uint16_t control_id;
2092 unsigned int sequence;
2096 #define XCB_INPUT_CHANGE_DEVICE_CONTROL 35 2102 uint8_t major_opcode;
2103 uint8_t minor_opcode;
2105 uint16_t control_id;
2114 uint8_t response_type;
2115 uint8_t xi_reply_type;
2126 unsigned int sequence;
2130 #define XCB_INPUT_LIST_DEVICE_PROPERTIES 36 2136 uint8_t major_opcode;
2137 uint8_t minor_opcode;
2147 uint8_t response_type;
2148 uint8_t xi_reply_type;
2155 typedef enum xcb_input_property_format_t {
2156 XCB_INPUT_PROPERTY_FORMAT_8_BITS = 8,
2157 XCB_INPUT_PROPERTY_FORMAT_16_BITS = 16,
2158 XCB_INPUT_PROPERTY_FORMAT_32_BITS = 32
2159 } xcb_input_property_format_t;
2171 #define XCB_INPUT_CHANGE_DEVICE_PROPERTY 37 2177 uint8_t major_opcode;
2178 uint8_t minor_opcode;
2180 xcb_atom_t property;
2190 #define XCB_INPUT_DELETE_DEVICE_PROPERTY 38 2196 uint8_t major_opcode;
2197 uint8_t minor_opcode;
2199 xcb_atom_t property;
2208 unsigned int sequence;
2212 #define XCB_INPUT_GET_DEVICE_PROPERTY 39 2218 uint8_t major_opcode;
2219 uint8_t minor_opcode;
2221 xcb_atom_t property;
2243 uint8_t response_type;
2244 uint8_t xi_reply_type;
2248 uint32_t bytes_after;
2255 typedef enum xcb_input_device_t {
2256 XCB_INPUT_DEVICE_ALL = 0,
2257 XCB_INPUT_DEVICE_ALL_MASTER = 1
2258 } xcb_input_device_t;
2302 unsigned int sequence;
2306 #define XCB_INPUT_XI_QUERY_POINTER 40 2312 uint8_t major_opcode;
2313 uint8_t minor_opcode;
2315 xcb_window_t window;
2316 xcb_input_device_id_t deviceid;
2324 uint8_t response_type;
2330 xcb_input_fp1616_t root_x;
2331 xcb_input_fp1616_t root_y;
2332 xcb_input_fp1616_t win_x;
2333 xcb_input_fp1616_t win_y;
2334 uint8_t same_screen;
2336 uint16_t buttons_len;
2342 #define XCB_INPUT_XI_WARP_POINTER 41 2348 uint8_t major_opcode;
2349 uint8_t minor_opcode;
2351 xcb_window_t src_win;
2352 xcb_window_t dst_win;
2353 xcb_input_fp1616_t src_x;
2354 xcb_input_fp1616_t src_y;
2356 uint16_t src_height;
2357 xcb_input_fp1616_t dst_x;
2358 xcb_input_fp1616_t dst_y;
2359 xcb_input_device_id_t deviceid;
2364 #define XCB_INPUT_XI_CHANGE_CURSOR 42 2370 uint8_t major_opcode;
2371 uint8_t minor_opcode;
2373 xcb_window_t window;
2374 xcb_cursor_t cursor;
2375 xcb_input_device_id_t deviceid;
2379 typedef enum xcb_input_hierarchy_change_type_t {
2380 XCB_INPUT_HIERARCHY_CHANGE_TYPE_ADD_MASTER = 1,
2381 XCB_INPUT_HIERARCHY_CHANGE_TYPE_REMOVE_MASTER = 2,
2382 XCB_INPUT_HIERARCHY_CHANGE_TYPE_ATTACH_SLAVE = 3,
2383 XCB_INPUT_HIERARCHY_CHANGE_TYPE_DETACH_SLAVE = 4
2384 } xcb_input_hierarchy_change_type_t;
2386 typedef enum xcb_input_change_mode_t {
2387 XCB_INPUT_CHANGE_MODE_ATTACH = 1,
2388 XCB_INPUT_CHANGE_MODE_FLOAT = 2
2389 } xcb_input_change_mode_t;
2417 xcb_input_device_id_t deviceid;
2418 uint8_t return_mode;
2420 xcb_input_device_id_t return_pointer;
2421 xcb_input_device_id_t return_keyboard;
2439 xcb_input_device_id_t deviceid;
2440 xcb_input_device_id_t master;
2458 xcb_input_device_id_t deviceid;
2482 xcb_input_device_id_t deviceid;
2483 uint8_t return_mode;
2485 xcb_input_device_id_t return_pointer;
2486 xcb_input_device_id_t return_keyboard;
2489 xcb_input_device_id_t deviceid;
2490 xcb_input_device_id_t master;
2493 xcb_input_device_id_t deviceid;
2519 #define XCB_INPUT_XI_CHANGE_HIERARCHY 43 2525 uint8_t major_opcode;
2526 uint8_t minor_opcode;
2528 uint8_t num_changes;
2533 #define XCB_INPUT_XI_SET_CLIENT_POINTER 44 2539 uint8_t major_opcode;
2540 uint8_t minor_opcode;
2542 xcb_window_t window;
2543 xcb_input_device_id_t deviceid;
2551 unsigned int sequence;
2555 #define XCB_INPUT_XI_GET_CLIENT_POINTER 45 2561 uint8_t major_opcode;
2562 uint8_t minor_opcode;
2564 xcb_window_t window;
2571 uint8_t response_type;
2577 xcb_input_device_id_t deviceid;
2581 typedef enum xcb_input_xi_event_mask_t {
2582 XCB_INPUT_XI_EVENT_MASK_DEVICE_CHANGED = 2,
2583 XCB_INPUT_XI_EVENT_MASK_KEY_PRESS = 4,
2584 XCB_INPUT_XI_EVENT_MASK_KEY_RELEASE = 8,
2585 XCB_INPUT_XI_EVENT_MASK_BUTTON_PRESS = 16,
2586 XCB_INPUT_XI_EVENT_MASK_BUTTON_RELEASE = 32,
2587 XCB_INPUT_XI_EVENT_MASK_MOTION = 64,
2588 XCB_INPUT_XI_EVENT_MASK_ENTER = 128,
2589 XCB_INPUT_XI_EVENT_MASK_LEAVE = 256,
2590 XCB_INPUT_XI_EVENT_MASK_FOCUS_IN = 512,
2591 XCB_INPUT_XI_EVENT_MASK_FOCUS_OUT = 1024,
2592 XCB_INPUT_XI_EVENT_MASK_HIERARCHY = 2048,
2593 XCB_INPUT_XI_EVENT_MASK_PROPERTY = 4096,
2594 XCB_INPUT_XI_EVENT_MASK_RAW_KEY_PRESS = 8192,
2595 XCB_INPUT_XI_EVENT_MASK_RAW_KEY_RELEASE = 16384,
2596 XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_PRESS = 32768,
2597 XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_RELEASE = 65536,
2598 XCB_INPUT_XI_EVENT_MASK_RAW_MOTION = 131072,
2599 XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN = 262144,
2600 XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE = 524288,
2601 XCB_INPUT_XI_EVENT_MASK_TOUCH_END = 1048576,
2602 XCB_INPUT_XI_EVENT_MASK_TOUCH_OWNERSHIP = 2097152,
2603 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_BEGIN = 4194304,
2604 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_UPDATE = 8388608,
2605 XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_END = 16777216,
2606 XCB_INPUT_XI_EVENT_MASK_BARRIER_HIT = 33554432,
2607 XCB_INPUT_XI_EVENT_MASK_BARRIER_LEAVE = 67108864
2608 } xcb_input_xi_event_mask_t;
2614 xcb_input_device_id_t deviceid;
2628 #define XCB_INPUT_XI_SELECT_EVENTS 46 2634 uint8_t major_opcode;
2635 uint8_t minor_opcode;
2637 xcb_window_t window;
2646 unsigned int sequence;
2650 #define XCB_INPUT_XI_QUERY_VERSION 47 2656 uint8_t major_opcode;
2657 uint8_t minor_opcode;
2659 uint16_t major_version;
2660 uint16_t minor_version;
2667 uint8_t response_type;
2671 uint16_t major_version;
2672 uint16_t minor_version;
2676 typedef enum xcb_input_device_class_type_t {
2677 XCB_INPUT_DEVICE_CLASS_TYPE_KEY = 0,
2678 XCB_INPUT_DEVICE_CLASS_TYPE_BUTTON = 1,
2679 XCB_INPUT_DEVICE_CLASS_TYPE_VALUATOR = 2,
2680 XCB_INPUT_DEVICE_CLASS_TYPE_SCROLL = 3,
2681 XCB_INPUT_DEVICE_CLASS_TYPE_TOUCH = 8
2682 } xcb_input_device_class_type_t;
2684 typedef enum xcb_input_device_type_t {
2685 XCB_INPUT_DEVICE_TYPE_MASTER_POINTER = 1,
2686 XCB_INPUT_DEVICE_TYPE_MASTER_KEYBOARD = 2,
2687 XCB_INPUT_DEVICE_TYPE_SLAVE_POINTER = 3,
2688 XCB_INPUT_DEVICE_TYPE_SLAVE_KEYBOARD = 4,
2689 XCB_INPUT_DEVICE_TYPE_FLOATING_SLAVE = 5
2690 } xcb_input_device_type_t;
2692 typedef enum xcb_input_scroll_flags_t {
2693 XCB_INPUT_SCROLL_FLAGS_NO_EMULATION = 1,
2694 XCB_INPUT_SCROLL_FLAGS_PREFERRED = 2
2695 } xcb_input_scroll_flags_t;
2697 typedef enum xcb_input_scroll_type_t {
2698 XCB_INPUT_SCROLL_TYPE_VERTICAL = 1,
2699 XCB_INPUT_SCROLL_TYPE_HORIZONTAL = 2
2700 } xcb_input_scroll_type_t;
2702 typedef enum xcb_input_touch_mode_t {
2703 XCB_INPUT_TOUCH_MODE_DIRECT = 1,
2704 XCB_INPUT_TOUCH_MODE_DEPENDENT = 2
2705 } xcb_input_touch_mode_t;
2713 xcb_input_device_id_t sourceid;
2714 uint16_t num_buttons;
2732 xcb_input_device_id_t sourceid;
2751 xcb_input_device_id_t sourceid;
2753 uint16_t scroll_type;
2774 xcb_input_device_id_t sourceid;
2776 uint8_t num_touches;
2794 xcb_input_device_id_t sourceid;
2800 uint32_t resolution;
2823 uint16_t num_buttons;
2833 uint32_t resolution;
2839 uint16_t scroll_type;
2846 uint8_t num_touches;
2856 xcb_input_device_id_t sourceid;
2875 xcb_input_device_id_t deviceid;
2877 xcb_input_device_id_t attachment;
2878 uint16_t num_classes;
2897 unsigned int sequence;
2901 #define XCB_INPUT_XI_QUERY_DEVICE 48 2907 uint8_t major_opcode;
2908 uint8_t minor_opcode;
2910 xcb_input_device_id_t deviceid;
2918 uint8_t response_type;
2927 #define XCB_INPUT_XI_SET_FOCUS 49 2933 uint8_t major_opcode;
2934 uint8_t minor_opcode;
2936 xcb_window_t window;
2937 xcb_timestamp_t time;
2938 xcb_input_device_id_t deviceid;
2946 unsigned int sequence;
2950 #define XCB_INPUT_XI_GET_FOCUS 50 2956 uint8_t major_opcode;
2957 uint8_t minor_opcode;
2959 xcb_input_device_id_t deviceid;
2967 uint8_t response_type;
2975 typedef enum xcb_input_grab_owner_t {
2976 XCB_INPUT_GRAB_OWNER_NO_OWNER = 0,
2977 XCB_INPUT_GRAB_OWNER_OWNER = 1
2978 } xcb_input_grab_owner_t;
2984 unsigned int sequence;
2988 #define XCB_INPUT_XI_GRAB_DEVICE 51 2994 uint8_t major_opcode;
2995 uint8_t minor_opcode;
2997 xcb_window_t window;
2998 xcb_timestamp_t time;
2999 xcb_cursor_t cursor;
3000 xcb_input_device_id_t deviceid;
3002 uint8_t paired_device_mode;
3003 uint8_t owner_events;
3012 uint8_t response_type;
3021 #define XCB_INPUT_XI_UNGRAB_DEVICE 52 3027 uint8_t major_opcode;
3028 uint8_t minor_opcode;
3030 xcb_timestamp_t time;
3031 xcb_input_device_id_t deviceid;
3035 typedef enum xcb_input_event_mode_t {
3036 XCB_INPUT_EVENT_MODE_ASYNC_DEVICE = 0,
3037 XCB_INPUT_EVENT_MODE_SYNC_DEVICE = 1,
3038 XCB_INPUT_EVENT_MODE_REPLAY_DEVICE = 2,
3039 XCB_INPUT_EVENT_MODE_ASYNC_PAIRED_DEVICE = 3,
3040 XCB_INPUT_EVENT_MODE_ASYNC_PAIR = 4,
3041 XCB_INPUT_EVENT_MODE_SYNC_PAIR = 5,
3042 XCB_INPUT_EVENT_MODE_ACCEPT_TOUCH = 6,
3043 XCB_INPUT_EVENT_MODE_REJECT_TOUCH = 7
3044 } xcb_input_event_mode_t;
3047 #define XCB_INPUT_XI_ALLOW_EVENTS 53 3053 uint8_t major_opcode;
3054 uint8_t minor_opcode;
3056 xcb_timestamp_t time;
3057 xcb_input_device_id_t deviceid;
3061 xcb_window_t grab_window;
3064 typedef enum xcb_input_grab_mode_22_t {
3065 XCB_INPUT_GRAB_MODE_22_SYNC = 0,
3066 XCB_INPUT_GRAB_MODE_22_ASYNC = 1,
3067 XCB_INPUT_GRAB_MODE_22_TOUCH = 2
3068 } xcb_input_grab_mode_22_t;
3070 typedef enum xcb_input_grab_type_t {
3071 XCB_INPUT_GRAB_TYPE_BUTTON = 0,
3072 XCB_INPUT_GRAB_TYPE_KEYCODE = 1,
3073 XCB_INPUT_GRAB_TYPE_ENTER = 2,
3074 XCB_INPUT_GRAB_TYPE_FOCUS_IN = 3,
3075 XCB_INPUT_GRAB_TYPE_TOUCH_BEGIN = 4
3076 } xcb_input_grab_type_t;
3078 typedef enum xcb_input_modifier_mask_t {
3079 XCB_INPUT_MODIFIER_MASK_ANY = 2147483648
3080 } xcb_input_modifier_mask_t;
3104 unsigned int sequence;
3108 #define XCB_INPUT_XI_PASSIVE_GRAB_DEVICE 54 3114 uint8_t major_opcode;
3115 uint8_t minor_opcode;
3117 xcb_timestamp_t time;
3118 xcb_window_t grab_window;
3119 xcb_cursor_t cursor;
3121 xcb_input_device_id_t deviceid;
3122 uint16_t num_modifiers;
3126 uint8_t paired_device_mode;
3127 uint8_t owner_events;
3135 uint8_t response_type;
3139 uint16_t num_modifiers;
3144 #define XCB_INPUT_XI_PASSIVE_UNGRAB_DEVICE 55 3150 uint8_t major_opcode;
3151 uint8_t minor_opcode;
3153 xcb_window_t grab_window;
3155 xcb_input_device_id_t deviceid;
3156 uint16_t num_modifiers;
3165 unsigned int sequence;
3169 #define XCB_INPUT_XI_LIST_PROPERTIES 56 3175 uint8_t major_opcode;
3176 uint8_t minor_opcode;
3178 xcb_input_device_id_t deviceid;
3186 uint8_t response_type;
3190 uint16_t num_properties;
3204 #define XCB_INPUT_XI_CHANGE_PROPERTY 57 3210 uint8_t major_opcode;
3211 uint8_t minor_opcode;
3213 xcb_input_device_id_t deviceid;
3216 xcb_atom_t property;
3222 #define XCB_INPUT_XI_DELETE_PROPERTY 58 3228 uint8_t major_opcode;
3229 uint8_t minor_opcode;
3231 xcb_input_device_id_t deviceid;
3233 xcb_atom_t property;
3240 unsigned int sequence;
3244 #define XCB_INPUT_XI_GET_PROPERTY 59 3250 uint8_t major_opcode;
3251 uint8_t minor_opcode;
3253 xcb_input_device_id_t deviceid;
3256 xcb_atom_t property;
3275 uint8_t response_type;
3280 uint32_t bytes_after;
3290 unsigned int sequence;
3294 #define XCB_INPUT_XI_GET_SELECTED_EVENTS 60 3300 uint8_t major_opcode;
3301 uint8_t minor_opcode;
3303 xcb_window_t window;
3310 uint8_t response_type;
3322 xcb_input_device_id_t deviceid;
3324 xcb_xfixes_barrier_t barrier;
3338 #define XCB_INPUT_XI_BARRIER_RELEASE_POINTER 61 3344 uint8_t major_opcode;
3345 uint8_t minor_opcode;
3347 uint32_t num_barriers;
3351 #define XCB_INPUT_DEVICE_VALUATOR 0 3357 uint8_t response_type;
3360 uint16_t device_state;
3361 uint8_t num_valuators;
3362 uint8_t first_valuator;
3363 int32_t valuators[6];
3366 typedef enum xcb_input_more_events_mask_t {
3367 XCB_INPUT_MORE_EVENTS_MASK_MORE_EVENTS = 128
3368 } xcb_input_more_events_mask_t;
3371 #define XCB_INPUT_DEVICE_KEY_PRESS 1 3377 uint8_t response_type;
3380 xcb_timestamp_t time;
3389 uint8_t same_screen;
3394 #define XCB_INPUT_DEVICE_KEY_RELEASE 2 3399 #define XCB_INPUT_DEVICE_BUTTON_PRESS 3 3404 #define XCB_INPUT_DEVICE_BUTTON_RELEASE 4 3409 #define XCB_INPUT_DEVICE_MOTION_NOTIFY 5 3414 #define XCB_INPUT_DEVICE_FOCUS_IN 6 3420 uint8_t response_type;
3423 xcb_timestamp_t time;
3424 xcb_window_t window;
3431 #define XCB_INPUT_DEVICE_FOCUS_OUT 7 3436 #define XCB_INPUT_PROXIMITY_IN 8 3441 #define XCB_INPUT_PROXIMITY_OUT 9 3445 typedef enum xcb_input_classes_reported_mask_t {
3446 XCB_INPUT_CLASSES_REPORTED_MASK_OUT_OF_PROXIMITY = 128,
3447 XCB_INPUT_CLASSES_REPORTED_MASK_DEVICE_MODE_ABSOLUTE = 64,
3448 XCB_INPUT_CLASSES_REPORTED_MASK_REPORTING_VALUATORS = 4,
3449 XCB_INPUT_CLASSES_REPORTED_MASK_REPORTING_BUTTONS = 2,
3450 XCB_INPUT_CLASSES_REPORTED_MASK_REPORTING_KEYS = 1
3451 } xcb_input_classes_reported_mask_t;
3454 #define XCB_INPUT_DEVICE_STATE_NOTIFY 10 3460 uint8_t response_type;
3463 xcb_timestamp_t time;
3465 uint8_t num_buttons;
3466 uint8_t num_valuators;
3467 uint8_t classes_reported;
3470 uint32_t valuators[3];
3474 #define XCB_INPUT_DEVICE_MAPPING_NOTIFY 11 3480 uint8_t response_type;
3484 xcb_input_key_code_t first_keycode;
3487 xcb_timestamp_t time;
3491 typedef enum xcb_input_change_device_t {
3492 XCB_INPUT_CHANGE_DEVICE_NEW_POINTER = 0,
3493 XCB_INPUT_CHANGE_DEVICE_NEW_KEYBOARD = 1
3494 } xcb_input_change_device_t;
3497 #define XCB_INPUT_CHANGE_DEVICE_NOTIFY 12 3503 uint8_t response_type;
3506 xcb_timestamp_t time;
3512 #define XCB_INPUT_DEVICE_KEY_STATE_NOTIFY 13 3518 uint8_t response_type;
3525 #define XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY 14 3531 uint8_t response_type;
3534 uint8_t buttons[28];
3537 typedef enum xcb_input_device_change_t {
3538 XCB_INPUT_DEVICE_CHANGE_ADDED = 0,
3539 XCB_INPUT_DEVICE_CHANGE_REMOVED = 1,
3540 XCB_INPUT_DEVICE_CHANGE_ENABLED = 2,
3541 XCB_INPUT_DEVICE_CHANGE_DISABLED = 3,
3542 XCB_INPUT_DEVICE_CHANGE_UNRECOVERABLE = 4,
3543 XCB_INPUT_DEVICE_CHANGE_CONTROL_CHANGED = 5
3544 } xcb_input_device_change_t;
3547 #define XCB_INPUT_DEVICE_PRESENCE_NOTIFY 15 3553 uint8_t response_type;
3556 xcb_timestamp_t time;
3564 #define XCB_INPUT_DEVICE_PROPERTY_NOTIFY 16 3570 uint8_t response_type;
3573 xcb_timestamp_t time;
3574 xcb_atom_t property;
3579 typedef enum xcb_input_change_reason_t {
3580 XCB_INPUT_CHANGE_REASON_SLAVE_SWITCH = 1,
3581 XCB_INPUT_CHANGE_REASON_DEVICE_CHANGE = 2
3582 } xcb_input_change_reason_t;
3585 #define XCB_INPUT_DEVICE_CHANGED 1 3591 uint8_t response_type;
3595 uint16_t event_type;
3596 xcb_input_device_id_t deviceid;
3597 xcb_timestamp_t time;
3598 uint16_t num_classes;
3599 xcb_input_device_id_t sourceid;
3602 uint32_t full_sequence;
3605 typedef enum xcb_input_key_event_flags_t {
3606 XCB_INPUT_KEY_EVENT_FLAGS_KEY_REPEAT = 65536
3607 } xcb_input_key_event_flags_t;
3610 #define XCB_INPUT_KEY_PRESS 2 3616 uint8_t response_type;
3620 uint16_t event_type;
3621 xcb_input_device_id_t deviceid;
3622 xcb_timestamp_t time;
3627 uint32_t full_sequence;
3628 xcb_input_fp1616_t root_x;
3629 xcb_input_fp1616_t root_y;
3630 xcb_input_fp1616_t event_x;
3631 xcb_input_fp1616_t event_y;
3632 uint16_t buttons_len;
3633 uint16_t valuators_len;
3634 xcb_input_device_id_t sourceid;
3642 #define XCB_INPUT_KEY_RELEASE 3 3646 typedef enum xcb_input_pointer_event_flags_t {
3647 XCB_INPUT_POINTER_EVENT_FLAGS_POINTER_EMULATED = 65536
3648 } xcb_input_pointer_event_flags_t;
3651 #define XCB_INPUT_BUTTON_PRESS 4 3657 uint8_t response_type;
3661 uint16_t event_type;
3662 xcb_input_device_id_t deviceid;
3663 xcb_timestamp_t time;
3668 uint32_t full_sequence;
3669 xcb_input_fp1616_t root_x;
3670 xcb_input_fp1616_t root_y;
3671 xcb_input_fp1616_t event_x;
3672 xcb_input_fp1616_t event_y;
3673 uint16_t buttons_len;
3674 uint16_t valuators_len;
3675 xcb_input_device_id_t sourceid;
3683 #define XCB_INPUT_BUTTON_RELEASE 5 3688 #define XCB_INPUT_MOTION 6 3692 typedef enum xcb_input_notify_mode_t {
3693 XCB_INPUT_NOTIFY_MODE_NORMAL = 0,
3694 XCB_INPUT_NOTIFY_MODE_GRAB = 1,
3695 XCB_INPUT_NOTIFY_MODE_UNGRAB = 2,
3696 XCB_INPUT_NOTIFY_MODE_WHILE_GRABBED = 3,
3697 XCB_INPUT_NOTIFY_MODE_PASSIVE_GRAB = 4,
3698 XCB_INPUT_NOTIFY_MODE_PASSIVE_UNGRAB = 5
3699 } xcb_input_notify_mode_t;
3701 typedef enum xcb_input_notify_detail_t {
3702 XCB_INPUT_NOTIFY_DETAIL_ANCESTOR = 0,
3703 XCB_INPUT_NOTIFY_DETAIL_VIRTUAL = 1,
3704 XCB_INPUT_NOTIFY_DETAIL_INFERIOR = 2,
3705 XCB_INPUT_NOTIFY_DETAIL_NONLINEAR = 3,
3706 XCB_INPUT_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
3707 XCB_INPUT_NOTIFY_DETAIL_POINTER = 5,
3708 XCB_INPUT_NOTIFY_DETAIL_POINTER_ROOT = 6,
3709 XCB_INPUT_NOTIFY_DETAIL_NONE = 7
3710 } xcb_input_notify_detail_t;
3713 #define XCB_INPUT_ENTER 7 3719 uint8_t response_type;
3723 uint16_t event_type;
3724 xcb_input_device_id_t deviceid;
3725 xcb_timestamp_t time;
3726 xcb_input_device_id_t sourceid;
3732 uint32_t full_sequence;
3733 xcb_input_fp1616_t root_x;
3734 xcb_input_fp1616_t root_y;
3735 xcb_input_fp1616_t event_x;
3736 xcb_input_fp1616_t event_y;
3737 uint8_t same_screen;
3739 uint16_t buttons_len;
3745 #define XCB_INPUT_LEAVE 8 3750 #define XCB_INPUT_FOCUS_IN 9 3755 #define XCB_INPUT_FOCUS_OUT 10 3759 typedef enum xcb_input_hierarchy_mask_t {
3760 XCB_INPUT_HIERARCHY_MASK_MASTER_ADDED = 1,
3761 XCB_INPUT_HIERARCHY_MASK_MASTER_REMOVED = 2,
3762 XCB_INPUT_HIERARCHY_MASK_SLAVE_ADDED = 4,
3763 XCB_INPUT_HIERARCHY_MASK_SLAVE_REMOVED = 8,
3764 XCB_INPUT_HIERARCHY_MASK_SLAVE_ATTACHED = 16,
3765 XCB_INPUT_HIERARCHY_MASK_SLAVE_DETACHED = 32,
3766 XCB_INPUT_HIERARCHY_MASK_DEVICE_ENABLED = 64,
3767 XCB_INPUT_HIERARCHY_MASK_DEVICE_DISABLED = 128
3768 } xcb_input_hierarchy_mask_t;
3774 xcb_input_device_id_t deviceid;
3775 xcb_input_device_id_t attachment;
3792 #define XCB_INPUT_HIERARCHY 11 3798 uint8_t response_type;
3802 uint16_t event_type;
3803 xcb_input_device_id_t deviceid;
3804 xcb_timestamp_t time;
3808 uint32_t full_sequence;
3811 typedef enum xcb_input_property_flag_t {
3812 XCB_INPUT_PROPERTY_FLAG_DELETED = 0,
3813 XCB_INPUT_PROPERTY_FLAG_CREATED = 1,
3814 XCB_INPUT_PROPERTY_FLAG_MODIFIED = 2
3815 } xcb_input_property_flag_t;
3818 #define XCB_INPUT_PROPERTY 12 3824 uint8_t response_type;
3828 uint16_t event_type;
3829 xcb_input_device_id_t deviceid;
3830 xcb_timestamp_t time;
3831 xcb_atom_t property;
3834 uint32_t full_sequence;
3838 #define XCB_INPUT_RAW_KEY_PRESS 13 3844 uint8_t response_type;
3848 uint16_t event_type;
3849 xcb_input_device_id_t deviceid;
3850 xcb_timestamp_t time;
3852 xcb_input_device_id_t sourceid;
3853 uint16_t valuators_len;
3856 uint32_t full_sequence;
3860 #define XCB_INPUT_RAW_KEY_RELEASE 14 3865 #define XCB_INPUT_RAW_BUTTON_PRESS 15 3871 uint8_t response_type;
3875 uint16_t event_type;
3876 xcb_input_device_id_t deviceid;
3877 xcb_timestamp_t time;
3879 xcb_input_device_id_t sourceid;
3880 uint16_t valuators_len;
3883 uint32_t full_sequence;
3887 #define XCB_INPUT_RAW_BUTTON_RELEASE 16 3892 #define XCB_INPUT_RAW_MOTION 17 3896 typedef enum xcb_input_touch_event_flags_t {
3897 XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_PENDING_END = 65536,
3898 XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_EMULATING_POINTER = 131072
3899 } xcb_input_touch_event_flags_t;
3902 #define XCB_INPUT_TOUCH_BEGIN 18 3908 uint8_t response_type;
3912 uint16_t event_type;
3913 xcb_input_device_id_t deviceid;
3914 xcb_timestamp_t time;
3919 uint32_t full_sequence;
3920 xcb_input_fp1616_t root_x;
3921 xcb_input_fp1616_t root_y;
3922 xcb_input_fp1616_t event_x;
3923 xcb_input_fp1616_t event_y;
3924 uint16_t buttons_len;
3925 uint16_t valuators_len;
3926 xcb_input_device_id_t sourceid;
3934 #define XCB_INPUT_TOUCH_UPDATE 19 3939 #define XCB_INPUT_TOUCH_END 20 3943 typedef enum xcb_input_touch_ownership_flags_t {
3944 XCB_INPUT_TOUCH_OWNERSHIP_FLAGS_NONE = 0
3945 } xcb_input_touch_ownership_flags_t;
3948 #define XCB_INPUT_TOUCH_OWNERSHIP 21 3954 uint8_t response_type;
3958 uint16_t event_type;
3959 xcb_input_device_id_t deviceid;
3960 xcb_timestamp_t time;
3965 uint32_t full_sequence;
3966 xcb_input_device_id_t sourceid;
3973 #define XCB_INPUT_RAW_TOUCH_BEGIN 22 3979 uint8_t response_type;
3983 uint16_t event_type;
3984 xcb_input_device_id_t deviceid;
3985 xcb_timestamp_t time;
3987 xcb_input_device_id_t sourceid;
3988 uint16_t valuators_len;
3991 uint32_t full_sequence;
3995 #define XCB_INPUT_RAW_TOUCH_UPDATE 23 4000 #define XCB_INPUT_RAW_TOUCH_END 24 4004 typedef enum xcb_input_barrier_flags_t {
4005 XCB_INPUT_BARRIER_FLAGS_POINTER_RELEASED = 1,
4006 XCB_INPUT_BARRIER_FLAGS_DEVICE_IS_GRABBED = 2
4007 } xcb_input_barrier_flags_t;
4010 #define XCB_INPUT_BARRIER_HIT 25 4016 uint8_t response_type;
4020 uint16_t event_type;
4021 xcb_input_device_id_t deviceid;
4022 xcb_timestamp_t time;
4026 xcb_xfixes_barrier_t barrier;
4027 uint32_t full_sequence;
4030 xcb_input_device_id_t sourceid;
4032 xcb_input_fp1616_t root_x;
4033 xcb_input_fp1616_t root_y;
4039 #define XCB_INPUT_BARRIER_LEAVE 26 4044 #define XCB_INPUT_DEVICE 0 4050 uint8_t response_type;
4056 #define XCB_INPUT_EVENT 1 4062 uint8_t response_type;
4068 #define XCB_INPUT_MODE 2 4074 uint8_t response_type;
4080 #define XCB_INPUT_DEVICE_BUSY 3 4086 uint8_t response_type;
4092 #define XCB_INPUT_CLASS 4 4098 uint8_t response_type;
4219 xcb_input_get_extension_version_sizeof (
const void *_buffer);
4362 xcb_input_valuator_info_sizeof (
const void *_buffer);
4408 xcb_input_input_info_info_serialize (
void **_buffer,
4413 xcb_input_input_info_info_unpack (
const void *_buffer,
4418 xcb_input_input_info_info_sizeof (
const void *_buffer,
4422 xcb_input_input_info_sizeof (
const void *_buffer);
4448 xcb_input_device_name_sizeof (
const void *_buffer);
4483 xcb_input_list_input_devices_sizeof (
const void *_buffer);
4574 xcb_input_open_device_sizeof (
const void *_buffer);
4707 xcb_input_select_extension_event_sizeof (
const void *_buffer);
4722 xcb_window_t window,
4723 uint16_t num_classes,
4724 const xcb_input_event_class_t *classes);
4736 xcb_window_t window,
4737 uint16_t num_classes,
4738 const xcb_input_event_class_t *classes);
4740 xcb_input_event_class_t *
4750 xcb_input_get_selected_extension_events_sizeof (
const void *_buffer);
4762 xcb_window_t window);
4777 xcb_window_t window);
4779 xcb_input_event_class_t *
4788 xcb_input_event_class_t *
4817 xcb_input_change_device_dont_propagate_list_sizeof (
const void *_buffer);
4832 xcb_window_t window,
4833 uint16_t num_classes,
4835 const xcb_input_event_class_t *classes);
4847 xcb_window_t window,
4848 uint16_t num_classes,
4850 const xcb_input_event_class_t *classes);
4852 xcb_input_event_class_t *
4862 xcb_input_get_device_dont_propagate_list_sizeof (
const void *_buffer);
4874 xcb_window_t window);
4889 xcb_window_t window);
4891 xcb_input_event_class_t *
4920 xcb_input_device_time_coord_sizeof (
const void *_buffer,
4958 xcb_input_get_device_motion_events_sizeof (
const void *_buffer);
4970 xcb_timestamp_t start,
4971 xcb_timestamp_t stop,
4987 xcb_timestamp_t start,
4988 xcb_timestamp_t stop,
5113 xcb_input_grab_device_sizeof (
const void *_buffer);
5125 xcb_window_t grab_window,
5126 xcb_timestamp_t time,
5127 uint16_t num_classes,
5128 uint8_t this_device_mode,
5129 uint8_t other_device_mode,
5130 uint8_t owner_events,
5132 const xcb_input_event_class_t *classes);
5147 xcb_window_t grab_window,
5148 xcb_timestamp_t time,
5149 uint16_t num_classes,
5150 uint8_t this_device_mode,
5151 uint8_t other_device_mode,
5152 uint8_t owner_events,
5154 const xcb_input_event_class_t *classes);
5188 xcb_timestamp_t time,
5201 xcb_timestamp_t time,
5205 xcb_input_grab_device_key_sizeof (
const void *_buffer);
5220 xcb_window_t grab_window,
5221 uint16_t num_classes,
5223 uint8_t modifier_device,
5224 uint8_t grabbed_device,
5226 uint8_t this_device_mode,
5227 uint8_t other_device_mode,
5228 uint8_t owner_events,
5229 const xcb_input_event_class_t *classes);
5241 xcb_window_t grab_window,
5242 uint16_t num_classes,
5244 uint8_t modifier_device,
5245 uint8_t grabbed_device,
5247 uint8_t this_device_mode,
5248 uint8_t other_device_mode,
5249 uint8_t owner_events,
5250 const xcb_input_event_class_t *classes);
5252 xcb_input_event_class_t *
5274 xcb_window_t grabWindow,
5276 uint8_t modifier_device,
5278 uint8_t grabbed_device);
5290 xcb_window_t grabWindow,
5292 uint8_t modifier_device,
5294 uint8_t grabbed_device);
5297 xcb_input_grab_device_button_sizeof (
const void *_buffer);
5312 xcb_window_t grab_window,
5313 uint8_t grabbed_device,
5314 uint8_t modifier_device,
5315 uint16_t num_classes,
5317 uint8_t this_device_mode,
5318 uint8_t other_device_mode,
5320 uint8_t owner_events,
5321 const xcb_input_event_class_t *classes);
5333 xcb_window_t grab_window,
5334 uint8_t grabbed_device,
5335 uint8_t modifier_device,
5336 uint16_t num_classes,
5338 uint8_t this_device_mode,
5339 uint8_t other_device_mode,
5341 uint8_t owner_events,
5342 const xcb_input_event_class_t *classes);
5344 xcb_input_event_class_t *
5366 xcb_window_t grab_window,
5368 uint8_t modifier_device,
5370 uint8_t grabbed_device);
5382 xcb_window_t grab_window,
5384 uint8_t modifier_device,
5386 uint8_t grabbed_device);
5401 xcb_timestamp_t time,
5415 xcb_timestamp_t time,
5479 xcb_timestamp_t time,
5494 xcb_timestamp_t time,
5568 xcb_input_string_feedback_state_sizeof (
const void *_buffer);
5660 xcb_input_feedback_state_data_serialize (
void **_buffer,
5665 xcb_input_feedback_state_data_unpack (
const void *_buffer,
5670 xcb_input_feedback_state_data_sizeof (
const void *_buffer,
5674 xcb_input_feedback_state_sizeof (
const void *_buffer);
5700 xcb_input_get_feedback_control_sizeof (
const void *_buffer);
5824 xcb_input_string_feedback_ctl_sizeof (
const void *_buffer);
5916 xcb_input_feedback_ctl_data_serialize (
void **_buffer,
5921 xcb_input_feedback_ctl_data_unpack (
const void *_buffer,
5926 xcb_input_feedback_ctl_data_sizeof (
const void *_buffer,
5930 xcb_input_feedback_ctl_sizeof (
const void *_buffer);
5956 xcb_input_change_feedback_control_sizeof (
const void *_buffer);
5973 uint8_t feedback_id,
5988 uint8_t feedback_id,
5995 xcb_input_get_device_key_mapping_sizeof (
const void *_buffer);
6008 xcb_input_key_code_t first_keycode,
6025 xcb_input_key_code_t first_keycode,
6057 xcb_input_change_device_key_mapping_sizeof (
const void *_buffer);
6073 xcb_input_key_code_t first_keycode,
6074 uint8_t keysyms_per_keycode,
6075 uint8_t keycode_count,
6076 const xcb_keysym_t *keysyms);
6089 xcb_input_key_code_t first_keycode,
6090 uint8_t keysyms_per_keycode,
6091 uint8_t keycode_count,
6092 const xcb_keysym_t *keysyms);
6104 xcb_input_get_device_modifier_mapping_sizeof (
const void *_buffer);
6162 xcb_input_set_device_modifier_mapping_sizeof (
const void *_buffer);
6175 uint8_t keycodes_per_modifier,
6176 const uint8_t *keymaps);
6192 uint8_t keycodes_per_modifier,
6193 const uint8_t *keymaps);
6215 xcb_input_get_device_button_mapping_sizeof (
const void *_buffer);
6273 xcb_input_set_device_button_mapping_sizeof (
const void *_buffer);
6287 const uint8_t *map);
6304 const uint8_t *map);
6372 xcb_input_valuator_state_sizeof (
const void *_buffer);
6418 xcb_input_input_state_data_serialize (
void **_buffer,
6423 xcb_input_input_state_data_unpack (
const void *_buffer,
6428 xcb_input_input_state_data_sizeof (
const void *_buffer,
6432 xcb_input_input_state_sizeof (
const void *_buffer);
6458 xcb_input_query_device_state_sizeof (
const void *_buffer);
6513 xcb_input_send_extension_event_sizeof (
const void *_buffer);
6528 xcb_window_t destination,
6531 uint16_t num_classes,
6533 const uint8_t *events,
6534 const xcb_input_event_class_t *classes);
6546 xcb_window_t destination,
6549 uint16_t num_classes,
6551 const uint8_t *events,
6552 const xcb_input_event_class_t *classes);
6563 xcb_input_event_class_t *
6586 uint8_t feedback_id,
6587 uint8_t feedback_class,
6601 uint8_t feedback_id,
6602 uint8_t feedback_class,
6606 xcb_input_set_device_valuators_sizeof (
const void *_buffer);
6619 uint8_t first_valuator,
6620 uint8_t num_valuators,
6621 const int32_t *valuators);
6637 uint8_t first_valuator,
6638 uint8_t num_valuators,
6639 const int32_t *valuators);
6661 xcb_input_device_resolution_state_sizeof (
const void *_buffer);
6839 xcb_input_device_state_data_serialize (
void **_buffer,
6840 uint16_t control_id,
6844 xcb_input_device_state_data_unpack (
const void *_buffer,
6845 uint16_t control_id,
6849 xcb_input_device_state_data_sizeof (
const void *_buffer,
6850 uint16_t control_id);
6853 xcb_input_device_state_sizeof (
const void *_buffer);
6879 xcb_input_get_device_control_sizeof (
const void *_buffer);
6891 uint16_t control_id,
6907 uint16_t control_id,
6933 xcb_input_device_resolution_ctl_sizeof (
const void *_buffer);
7071 xcb_input_device_ctl_data_serialize (
void **_buffer,
7072 uint16_t control_id,
7076 xcb_input_device_ctl_data_unpack (
const void *_buffer,
7077 uint16_t control_id,
7081 xcb_input_device_ctl_data_sizeof (
const void *_buffer,
7082 uint16_t control_id);
7085 xcb_input_device_ctl_sizeof (
const void *_buffer);
7111 xcb_input_change_device_control_sizeof (
const void *_buffer);
7123 uint16_t control_id,
7140 uint16_t control_id,
7164 xcb_input_list_device_properties_sizeof (
const void *_buffer);
7255 xcb_input_change_device_property_items_serialize (
void **_buffer,
7261 xcb_input_change_device_property_items_unpack (
const void *_buffer,
7267 xcb_input_change_device_property_items_sizeof (
const void *_buffer,
7272 xcb_input_change_device_property_sizeof (
const void *_buffer);
7287 xcb_atom_t property,
7305 xcb_atom_t property,
7326 xcb_atom_t property,
7344 xcb_atom_t property,
7368 xcb_atom_t property,
7381 xcb_atom_t property,
7418 xcb_input_get_device_property_items_serialize (
void **_buffer,
7424 xcb_input_get_device_property_items_unpack (
const void *_buffer,
7430 xcb_input_get_device_property_items_sizeof (
const void *_buffer,
7435 xcb_input_get_device_property_sizeof (
const void *_buffer);
7447 xcb_atom_t property,
7467 xcb_atom_t property,
7543 xcb_input_xi_query_pointer_sizeof (
const void *_buffer);
7555 xcb_window_t window,
7556 xcb_input_device_id_t deviceid);
7571 xcb_window_t window,
7572 xcb_input_device_id_t deviceid);
7615 xcb_window_t src_win,
7616 xcb_window_t dst_win,
7617 xcb_input_fp1616_t src_x,
7618 xcb_input_fp1616_t src_y,
7620 uint16_t src_height,
7621 xcb_input_fp1616_t dst_x,
7622 xcb_input_fp1616_t dst_y,
7623 xcb_input_device_id_t deviceid);
7635 xcb_window_t src_win,
7636 xcb_window_t dst_win,
7637 xcb_input_fp1616_t src_x,
7638 xcb_input_fp1616_t src_y,
7640 uint16_t src_height,
7641 xcb_input_fp1616_t dst_x,
7642 xcb_input_fp1616_t dst_y,
7643 xcb_input_device_id_t deviceid);
7658 xcb_window_t window,
7659 xcb_cursor_t cursor,
7660 xcb_input_device_id_t deviceid);
7672 xcb_window_t window,
7673 xcb_cursor_t cursor,
7674 xcb_input_device_id_t deviceid);
7677 xcb_input_add_master_sizeof (
const void *_buffer);
7792 xcb_input_hierarchy_change_data_serialize (
void **_buffer,
7797 xcb_input_hierarchy_change_data_unpack (
const void *_buffer,
7802 xcb_input_hierarchy_change_data_sizeof (
const void *_buffer,
7806 xcb_input_hierarchy_change_sizeof (
const void *_buffer);
7832 xcb_input_xi_change_hierarchy_sizeof (
const void *_buffer);
7847 uint8_t num_changes,
7860 uint8_t num_changes,
7882 xcb_window_t window,
7883 xcb_input_device_id_t deviceid);
7895 xcb_window_t window,
7896 xcb_input_device_id_t deviceid);
7908 xcb_window_t window);
7923 xcb_window_t window);
7945 xcb_input_event_mask_sizeof (
const void *_buffer);
7980 xcb_input_xi_select_events_sizeof (
const void *_buffer);
7995 xcb_window_t window,
8009 xcb_window_t window,
8029 uint16_t major_version,
8030 uint16_t minor_version);
8045 uint16_t major_version,
8046 uint16_t minor_version);
8068 xcb_input_button_class_sizeof (
const void *_buffer);
8112 xcb_input_key_class_sizeof (
const void *_buffer);
8249 xcb_input_device_class_data_serialize (
void **_buffer,
8254 xcb_input_device_class_data_unpack (
const void *_buffer,
8259 xcb_input_device_class_data_sizeof (
const void *_buffer,
8263 xcb_input_device_class_sizeof (
const void *_buffer);
8289 xcb_input_xi_device_info_sizeof (
const void *_buffer);
8330 xcb_input_xi_query_device_sizeof (
const void *_buffer);
8342 xcb_input_device_id_t deviceid);
8357 xcb_input_device_id_t deviceid);
8397 xcb_window_t window,
8398 xcb_timestamp_t time,
8399 xcb_input_device_id_t deviceid);
8411 xcb_window_t window,
8412 xcb_timestamp_t time,
8413 xcb_input_device_id_t deviceid);
8425 xcb_input_device_id_t deviceid);
8440 xcb_input_device_id_t deviceid);
8462 xcb_input_xi_grab_device_sizeof (
const void *_buffer);
8474 xcb_window_t window,
8475 xcb_timestamp_t time,
8476 xcb_cursor_t cursor,
8477 xcb_input_device_id_t deviceid,
8479 uint8_t paired_device_mode,
8480 uint8_t owner_events,
8482 const uint32_t *mask);
8497 xcb_window_t window,
8498 xcb_timestamp_t time,
8499 xcb_cursor_t cursor,
8500 xcb_input_device_id_t deviceid,
8502 uint8_t paired_device_mode,
8503 uint8_t owner_events,
8505 const uint32_t *mask);
8539 xcb_timestamp_t time,
8540 xcb_input_device_id_t deviceid);
8552 xcb_timestamp_t time,
8553 xcb_input_device_id_t deviceid);
8568 xcb_timestamp_t time,
8569 xcb_input_device_id_t deviceid,
8572 xcb_window_t grab_window);
8584 xcb_timestamp_t time,
8585 xcb_input_device_id_t deviceid,
8588 xcb_window_t grab_window);
8614 xcb_input_xi_passive_grab_device_sizeof (
const void *_buffer);
8626 xcb_timestamp_t time,
8627 xcb_window_t grab_window,
8628 xcb_cursor_t cursor,
8630 xcb_input_device_id_t deviceid,
8631 uint16_t num_modifiers,
8635 uint8_t paired_device_mode,
8636 uint8_t owner_events,
8637 const uint32_t *mask,
8638 const uint32_t *modifiers);
8653 xcb_timestamp_t time,
8654 xcb_window_t grab_window,
8655 xcb_cursor_t cursor,
8657 xcb_input_device_id_t deviceid,
8658 uint16_t num_modifiers,
8662 uint8_t paired_device_mode,
8663 uint8_t owner_events,
8664 const uint32_t *mask,
8665 const uint32_t *modifiers);
8696 xcb_input_xi_passive_ungrab_device_sizeof (
const void *_buffer);
8711 xcb_window_t grab_window,
8713 xcb_input_device_id_t deviceid,
8714 uint16_t num_modifiers,
8716 const uint32_t *modifiers);
8728 xcb_window_t grab_window,
8730 xcb_input_device_id_t deviceid,
8731 uint16_t num_modifiers,
8733 const uint32_t *modifiers);
8745 xcb_input_xi_list_properties_sizeof (
const void *_buffer);
8757 xcb_input_device_id_t deviceid);
8772 xcb_input_device_id_t deviceid);
8836 xcb_input_xi_change_property_items_serialize (
void **_buffer,
8842 xcb_input_xi_change_property_items_unpack (
const void *_buffer,
8848 xcb_input_xi_change_property_items_sizeof (
const void *_buffer,
8853 xcb_input_xi_change_property_sizeof (
const void *_buffer);
8868 xcb_input_device_id_t deviceid,
8871 xcb_atom_t property,
8886 xcb_input_device_id_t deviceid,
8889 xcb_atom_t property,
8907 xcb_input_device_id_t deviceid,
8910 xcb_atom_t property,
8925 xcb_input_device_id_t deviceid,
8928 xcb_atom_t property,
8949 xcb_input_device_id_t deviceid,
8950 xcb_atom_t property);
8962 xcb_input_device_id_t deviceid,
8963 xcb_atom_t property);
8999 xcb_input_xi_get_property_items_serialize (
void **_buffer,
9005 xcb_input_xi_get_property_items_unpack (
const void *_buffer,
9011 xcb_input_xi_get_property_items_sizeof (
const void *_buffer,
9016 xcb_input_xi_get_property_sizeof (
const void *_buffer);
9028 xcb_input_device_id_t deviceid,
9030 xcb_atom_t property,
9048 xcb_input_device_id_t deviceid,
9050 xcb_atom_t property,
9078 xcb_input_xi_get_selected_events_sizeof (
const void *_buffer);
9090 xcb_window_t window);
9105 xcb_window_t window);
9156 xcb_input_xi_barrier_release_pointer_sizeof (
const void *_buffer);
9171 uint32_t num_barriers,
9184 uint32_t num_barriers,
9197 xcb_input_device_changed_sizeof (
const void *_buffer);
9206 xcb_input_key_press_sizeof (
const void *_buffer);
9236 xcb_input_key_release_sizeof (
const void *_buffer );
9239 xcb_input_button_press_sizeof (
const void *_buffer);
9269 xcb_input_button_release_sizeof (
const void *_buffer );
9272 xcb_input_motion_sizeof (
const void *_buffer );
9275 xcb_input_enter_sizeof (
const void *_buffer);
9287 xcb_input_leave_sizeof (
const void *_buffer );
9290 xcb_input_focus_in_sizeof (
const void *_buffer );
9293 xcb_input_focus_out_sizeof (
const void *_buffer );
9319 xcb_input_hierarchy_sizeof (
const void *_buffer);
9331 xcb_input_raw_key_press_sizeof (
const void *_buffer);
9361 xcb_input_raw_key_release_sizeof (
const void *_buffer );
9364 xcb_input_raw_button_press_sizeof (
const void *_buffer);
9394 xcb_input_raw_button_release_sizeof (
const void *_buffer );
9397 xcb_input_raw_motion_sizeof (
const void *_buffer );
9400 xcb_input_touch_begin_sizeof (
const void *_buffer);
9430 xcb_input_touch_update_sizeof (
const void *_buffer );
9433 xcb_input_touch_end_sizeof (
const void *_buffer );
9436 xcb_input_raw_touch_begin_sizeof (
const void *_buffer);
9466 xcb_input_raw_touch_update_sizeof (
const void *_buffer );
9469 xcb_input_raw_touch_end_sizeof (
const void *_buffer );
Generic error.
Definition: xcb.h:170
Generic iterator.
Definition: xcb.h:114
xcb_str_iterator_t
Definition: xproto.h:2863
Generic cookie.
Definition: xcb.h:187