"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.05.0-linux-x86_64/include/freebasic/xcb/xinput.bi" (31 Jan 2016, 146878 Bytes) of package /linux/privat/FreeBASIC-1.05.0-linux-x86_64.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Visual Basic source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 '' FreeBASIC binding for libxcb-1.11, xcb-proto-1.11
    2 ''
    3 '' based on the C header files:
    4 ''   Copyright (C) 2006 Peter Hutterer
    5 ''   Copyright (C) 2013 Daniel Martin
    6 ''   All Rights Reserved.
    7 ''
    8 ''   Permission is hereby granted, free of charge, to any person obtaining a copy
    9 ''   of this software and associated documentation files (the "Software"), to deal
   10 ''   in the Software without restriction, including without limitation the rights
   11 ''   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   12 ''   copies of the Software, and to permit persons to whom the Software is
   13 ''   furnished to do so, subject to the following conditions:
   14 ''
   15 ''   The above copyright notice and this permission notice shall be included in all
   16 ''   copies or substantial portions of the Software.
   17 ''
   18 ''   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   19 ''   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   20 ''   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   21 ''   AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
   22 ''   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
   23 ''   WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   24 ''
   25 ''   Except as contained in this notice, the names of the authors or their
   26 ''   institutions shall not be used in advertising or otherwise to promote the
   27 ''   sale, use or other dealings in this Software without prior written
   28 ''   authorization from the authors.
   29 ''
   30 '' translated to FreeBASIC by:
   31 ''   Copyright © 2015 FreeBASIC development team
   32 
   33 #pragma once
   34 
   35 #include once "xcb.bi"
   36 #include once "xfixes.bi"
   37 #include once "xcbext.bi"
   38 
   39 '' The following symbols have been renamed:
   40 ''     constant XCB_INPUT_GET_EXTENSION_VERSION => XCB_INPUT_GET_EXTENSION_VERSION_
   41 ''     constant XCB_INPUT_LIST_INPUT_DEVICES => XCB_INPUT_LIST_INPUT_DEVICES_
   42 ''     constant XCB_INPUT_OPEN_DEVICE => XCB_INPUT_OPEN_DEVICE_
   43 ''     constant XCB_INPUT_CLOSE_DEVICE => XCB_INPUT_CLOSE_DEVICE_
   44 ''     constant XCB_INPUT_SET_DEVICE_MODE => XCB_INPUT_SET_DEVICE_MODE_
   45 ''     constant XCB_INPUT_SELECT_EXTENSION_EVENT => XCB_INPUT_SELECT_EXTENSION_EVENT_
   46 ''     constant XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS => XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS_
   47 ''     constant XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST => XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST_
   48 ''     constant XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST => XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST_
   49 ''     constant XCB_INPUT_GET_DEVICE_MOTION_EVENTS => XCB_INPUT_GET_DEVICE_MOTION_EVENTS_
   50 ''     constant XCB_INPUT_CHANGE_KEYBOARD_DEVICE => XCB_INPUT_CHANGE_KEYBOARD_DEVICE_
   51 ''     constant XCB_INPUT_CHANGE_POINTER_DEVICE => XCB_INPUT_CHANGE_POINTER_DEVICE_
   52 ''     constant XCB_INPUT_GRAB_DEVICE => XCB_INPUT_GRAB_DEVICE_
   53 ''     constant XCB_INPUT_UNGRAB_DEVICE => XCB_INPUT_UNGRAB_DEVICE_
   54 ''     constant XCB_INPUT_GRAB_DEVICE_KEY => XCB_INPUT_GRAB_DEVICE_KEY_
   55 ''     constant XCB_INPUT_UNGRAB_DEVICE_KEY => XCB_INPUT_UNGRAB_DEVICE_KEY_
   56 ''     constant XCB_INPUT_GRAB_DEVICE_BUTTON => XCB_INPUT_GRAB_DEVICE_BUTTON_
   57 ''     constant XCB_INPUT_UNGRAB_DEVICE_BUTTON => XCB_INPUT_UNGRAB_DEVICE_BUTTON_
   58 ''     constant XCB_INPUT_ALLOW_DEVICE_EVENTS => XCB_INPUT_ALLOW_DEVICE_EVENTS_
   59 ''     constant XCB_INPUT_GET_DEVICE_FOCUS => XCB_INPUT_GET_DEVICE_FOCUS_
   60 ''     constant XCB_INPUT_SET_DEVICE_FOCUS => XCB_INPUT_SET_DEVICE_FOCUS_
   61 ''     constant XCB_INPUT_GET_FEEDBACK_CONTROL => XCB_INPUT_GET_FEEDBACK_CONTROL_
   62 ''     constant XCB_INPUT_CHANGE_FEEDBACK_CONTROL => XCB_INPUT_CHANGE_FEEDBACK_CONTROL_
   63 ''     constant XCB_INPUT_GET_DEVICE_KEY_MAPPING => XCB_INPUT_GET_DEVICE_KEY_MAPPING_
   64 ''     constant XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING => XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING_
   65 ''     constant XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING => XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING_
   66 ''     constant XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING => XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING_
   67 ''     constant XCB_INPUT_GET_DEVICE_BUTTON_MAPPING => XCB_INPUT_GET_DEVICE_BUTTON_MAPPING_
   68 ''     constant XCB_INPUT_SET_DEVICE_BUTTON_MAPPING => XCB_INPUT_SET_DEVICE_BUTTON_MAPPING_
   69 ''     constant XCB_INPUT_QUERY_DEVICE_STATE => XCB_INPUT_QUERY_DEVICE_STATE_
   70 ''     constant XCB_INPUT_SEND_EXTENSION_EVENT => XCB_INPUT_SEND_EXTENSION_EVENT_
   71 ''     constant XCB_INPUT_DEVICE_BELL => XCB_INPUT_DEVICE_BELL_
   72 ''     constant XCB_INPUT_SET_DEVICE_VALUATORS => XCB_INPUT_SET_DEVICE_VALUATORS_
   73 ''     constant XCB_INPUT_GET_DEVICE_CONTROL => XCB_INPUT_GET_DEVICE_CONTROL_
   74 ''     constant XCB_INPUT_CHANGE_DEVICE_CONTROL => XCB_INPUT_CHANGE_DEVICE_CONTROL_
   75 ''     constant XCB_INPUT_LIST_DEVICE_PROPERTIES => XCB_INPUT_LIST_DEVICE_PROPERTIES_
   76 ''     constant XCB_INPUT_CHANGE_DEVICE_PROPERTY => XCB_INPUT_CHANGE_DEVICE_PROPERTY_
   77 ''     constant XCB_INPUT_DELETE_DEVICE_PROPERTY => XCB_INPUT_DELETE_DEVICE_PROPERTY_
   78 ''     constant XCB_INPUT_GET_DEVICE_PROPERTY => XCB_INPUT_GET_DEVICE_PROPERTY_
   79 ''     constant XCB_INPUT_XI_QUERY_POINTER => XCB_INPUT_XI_QUERY_POINTER_
   80 ''     constant XCB_INPUT_XI_WARP_POINTER => XCB_INPUT_XI_WARP_POINTER_
   81 ''     constant XCB_INPUT_XI_CHANGE_CURSOR => XCB_INPUT_XI_CHANGE_CURSOR_
   82 ''     constant XCB_INPUT_XI_CHANGE_HIERARCHY => XCB_INPUT_XI_CHANGE_HIERARCHY_
   83 ''     constant XCB_INPUT_XI_SET_CLIENT_POINTER => XCB_INPUT_XI_SET_CLIENT_POINTER_
   84 ''     constant XCB_INPUT_XI_GET_CLIENT_POINTER => XCB_INPUT_XI_GET_CLIENT_POINTER_
   85 ''     constant XCB_INPUT_XI_SELECT_EVENTS => XCB_INPUT_XI_SELECT_EVENTS_
   86 ''     constant XCB_INPUT_XI_QUERY_VERSION => XCB_INPUT_XI_QUERY_VERSION_
   87 ''     constant XCB_INPUT_XI_QUERY_DEVICE => XCB_INPUT_XI_QUERY_DEVICE_
   88 ''     constant XCB_INPUT_XI_SET_FOCUS => XCB_INPUT_XI_SET_FOCUS_
   89 ''     constant XCB_INPUT_XI_GET_FOCUS => XCB_INPUT_XI_GET_FOCUS_
   90 ''     constant XCB_INPUT_XI_GRAB_DEVICE => XCB_INPUT_XI_GRAB_DEVICE_
   91 ''     constant XCB_INPUT_XI_UNGRAB_DEVICE => XCB_INPUT_XI_UNGRAB_DEVICE_
   92 ''     constant XCB_INPUT_XI_ALLOW_EVENTS => XCB_INPUT_XI_ALLOW_EVENTS_
   93 ''     constant XCB_INPUT_XI_PASSIVE_GRAB_DEVICE => XCB_INPUT_XI_PASSIVE_GRAB_DEVICE_
   94 ''     constant XCB_INPUT_XI_PASSIVE_UNGRAB_DEVICE => XCB_INPUT_XI_PASSIVE_UNGRAB_DEVICE_
   95 ''     constant XCB_INPUT_XI_LIST_PROPERTIES => XCB_INPUT_XI_LIST_PROPERTIES_
   96 ''     constant XCB_INPUT_XI_CHANGE_PROPERTY => XCB_INPUT_XI_CHANGE_PROPERTY_
   97 ''     constant XCB_INPUT_XI_DELETE_PROPERTY => XCB_INPUT_XI_DELETE_PROPERTY_
   98 ''     constant XCB_INPUT_XI_GET_PROPERTY => XCB_INPUT_XI_GET_PROPERTY_
   99 ''     constant XCB_INPUT_XI_GET_SELECTED_EVENTS => XCB_INPUT_XI_GET_SELECTED_EVENTS_
  100 ''     constant XCB_INPUT_XI_BARRIER_RELEASE_POINTER => XCB_INPUT_XI_BARRIER_RELEASE_POINTER_
  101 
  102 extern "C"
  103 
  104 #define __XINPUT_H
  105 const XCB_INPUT_MAJOR_VERSION = 2
  106 const XCB_INPUT_MINOR_VERSION = 3
  107 extern xcb_input_id as xcb_extension_t
  108 type xcb_input_event_class_t as ulong
  109 
  110 type xcb_input_event_class_iterator_t
  111     data as xcb_input_event_class_t ptr
  112     as long rem
  113     index as long
  114 end type
  115 
  116 type xcb_input_key_code_t as ubyte
  117 
  118 type xcb_input_key_code_iterator_t
  119     data as xcb_input_key_code_t ptr
  120     as long rem
  121     index as long
  122 end type
  123 
  124 type xcb_input_device_id_t as ushort
  125 
  126 type xcb_input_device_id_iterator_t
  127     data as xcb_input_device_id_t ptr
  128     as long rem
  129     index as long
  130 end type
  131 
  132 type xcb_input_fp1616_t as long
  133 
  134 type xcb_input_fp1616_iterator_t
  135     data as xcb_input_fp1616_t ptr
  136     as long rem
  137     index as long
  138 end type
  139 
  140 type xcb_input_fp3232_t
  141     integral as long
  142     frac as ulong
  143 end type
  144 
  145 type xcb_input_fp3232_iterator_t
  146     data as xcb_input_fp3232_t ptr
  147     as long rem
  148     index as long
  149 end type
  150 
  151 type xcb_input_get_extension_version_cookie_t
  152     sequence as ulong
  153 end type
  154 
  155 const XCB_INPUT_GET_EXTENSION_VERSION_ = 1
  156 
  157 type xcb_input_get_extension_version_request_t
  158     major_opcode as ubyte
  159     minor_opcode as ubyte
  160     length as ushort
  161     name_len as ushort
  162     pad0(0 to 1) as ubyte
  163 end type
  164 
  165 type xcb_input_get_extension_version_reply_t
  166     response_type as ubyte
  167     pad0 as ubyte
  168     sequence as ushort
  169     length as ulong
  170     server_major as ushort
  171     server_minor as ushort
  172     present as ubyte
  173     pad1(0 to 18) as ubyte
  174 end type
  175 
  176 type xcb_input_device_use_t as long
  177 enum
  178     XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0
  179     XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1
  180     XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2
  181     XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3
  182     XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4
  183 end enum
  184 
  185 type xcb_input_input_class_t as long
  186 enum
  187     XCB_INPUT_INPUT_CLASS_KEY = 0
  188     XCB_INPUT_INPUT_CLASS_BUTTON = 1
  189     XCB_INPUT_INPUT_CLASS_VALUATOR = 2
  190     XCB_INPUT_INPUT_CLASS_FEEDBACK = 3
  191     XCB_INPUT_INPUT_CLASS_PROXIMITY = 4
  192     XCB_INPUT_INPUT_CLASS_FOCUS = 5
  193     XCB_INPUT_INPUT_CLASS_OTHER = 6
  194 end enum
  195 
  196 type xcb_input_valuator_mode_t as long
  197 enum
  198     XCB_INPUT_VALUATOR_MODE_RELATIVE = 0
  199     XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1
  200 end enum
  201 
  202 type xcb_input_device_info_t
  203     device_type as xcb_atom_t
  204     device_id as ubyte
  205     num_class_info as ubyte
  206     device_use as ubyte
  207     pad0 as ubyte
  208 end type
  209 
  210 type xcb_input_device_info_iterator_t
  211     data as xcb_input_device_info_t ptr
  212     as long rem
  213     index as long
  214 end type
  215 
  216 type xcb_input_key_info_t
  217     class_id as ubyte
  218     len as ubyte
  219     min_keycode as xcb_input_key_code_t
  220     max_keycode as xcb_input_key_code_t
  221     num_keys as ushort
  222     pad0(0 to 1) as ubyte
  223 end type
  224 
  225 type xcb_input_key_info_iterator_t
  226     data as xcb_input_key_info_t ptr
  227     as long rem
  228     index as long
  229 end type
  230 
  231 type xcb_input_button_info_t
  232     class_id as ubyte
  233     len as ubyte
  234     num_buttons as ushort
  235 end type
  236 
  237 type xcb_input_button_info_iterator_t
  238     data as xcb_input_button_info_t ptr
  239     as long rem
  240     index as long
  241 end type
  242 
  243 type xcb_input_axis_info_t
  244     resolution as ulong
  245     minimum as long
  246     maximum as long
  247 end type
  248 
  249 type xcb_input_axis_info_iterator_t
  250     data as xcb_input_axis_info_t ptr
  251     as long rem
  252     index as long
  253 end type
  254 
  255 type xcb_input_valuator_info_t
  256     class_id as ubyte
  257     len as ubyte
  258     axes_len as ubyte
  259     mode as ubyte
  260     motion_size as ulong
  261 end type
  262 
  263 type xcb_input_valuator_info_iterator_t
  264     data as xcb_input_valuator_info_t ptr
  265     as long rem
  266     index as long
  267 end type
  268 
  269 type xcb_input_input_info_t
  270     class_id as ubyte
  271     len as ubyte
  272 end type
  273 
  274 type xcb_input_input_info_iterator_t
  275     data as xcb_input_input_info_t ptr
  276     as long rem
  277     index as long
  278 end type
  279 
  280 type xcb_input_device_name_t
  281     len as ubyte
  282 end type
  283 
  284 type xcb_input_device_name_iterator_t
  285     data as xcb_input_device_name_t ptr
  286     as long rem
  287     index as long
  288 end type
  289 
  290 type xcb_input_list_input_devices_cookie_t
  291     sequence as ulong
  292 end type
  293 
  294 const XCB_INPUT_LIST_INPUT_DEVICES_ = 2
  295 
  296 type xcb_input_list_input_devices_request_t
  297     major_opcode as ubyte
  298     minor_opcode as ubyte
  299     length as ushort
  300 end type
  301 
  302 type xcb_input_list_input_devices_reply_t
  303     response_type as ubyte
  304     pad0 as ubyte
  305     sequence as ushort
  306     length as ulong
  307     devices_len as ubyte
  308     pad1(0 to 22) as ubyte
  309 end type
  310 
  311 type xcb_input_input_class_info_t
  312     class_id as ubyte
  313     event_type_base as ubyte
  314 end type
  315 
  316 type xcb_input_input_class_info_iterator_t
  317     data as xcb_input_input_class_info_t ptr
  318     as long rem
  319     index as long
  320 end type
  321 
  322 type xcb_input_open_device_cookie_t
  323     sequence as ulong
  324 end type
  325 
  326 const XCB_INPUT_OPEN_DEVICE_ = 3
  327 
  328 type xcb_input_open_device_request_t
  329     major_opcode as ubyte
  330     minor_opcode as ubyte
  331     length as ushort
  332     device_id as ubyte
  333     pad0(0 to 2) as ubyte
  334 end type
  335 
  336 type xcb_input_open_device_reply_t
  337     response_type as ubyte
  338     pad0 as ubyte
  339     sequence as ushort
  340     length as ulong
  341     num_classes as ubyte
  342     pad1(0 to 22) as ubyte
  343 end type
  344 
  345 const XCB_INPUT_CLOSE_DEVICE_ = 4
  346 
  347 type xcb_input_close_device_request_t
  348     major_opcode as ubyte
  349     minor_opcode as ubyte
  350     length as ushort
  351     device_id as ubyte
  352     pad0(0 to 2) as ubyte
  353 end type
  354 
  355 type xcb_input_set_device_mode_cookie_t
  356     sequence as ulong
  357 end type
  358 
  359 const XCB_INPUT_SET_DEVICE_MODE_ = 5
  360 
  361 type xcb_input_set_device_mode_request_t
  362     major_opcode as ubyte
  363     minor_opcode as ubyte
  364     length as ushort
  365     device_id as ubyte
  366     mode as ubyte
  367     pad0(0 to 1) as ubyte
  368 end type
  369 
  370 type xcb_input_set_device_mode_reply_t
  371     response_type as ubyte
  372     pad0 as ubyte
  373     sequence as ushort
  374     length as ulong
  375     status as ubyte
  376     pad1(0 to 22) as ubyte
  377 end type
  378 
  379 const XCB_INPUT_SELECT_EXTENSION_EVENT_ = 6
  380 
  381 type xcb_input_select_extension_event_request_t
  382     major_opcode as ubyte
  383     minor_opcode as ubyte
  384     length as ushort
  385     window as xcb_window_t
  386     num_classes as ushort
  387     pad0(0 to 1) as ubyte
  388 end type
  389 
  390 type xcb_input_get_selected_extension_events_cookie_t
  391     sequence as ulong
  392 end type
  393 
  394 const XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS_ = 7
  395 
  396 type xcb_input_get_selected_extension_events_request_t
  397     major_opcode as ubyte
  398     minor_opcode as ubyte
  399     length as ushort
  400     window as xcb_window_t
  401 end type
  402 
  403 type xcb_input_get_selected_extension_events_reply_t
  404     response_type as ubyte
  405     pad0 as ubyte
  406     sequence as ushort
  407     length as ulong
  408     num_this_classes as ushort
  409     num_all_classes as ushort
  410     pad1(0 to 19) as ubyte
  411 end type
  412 
  413 type xcb_input_propagate_mode_t as long
  414 enum
  415     XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0
  416     XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1
  417 end enum
  418 
  419 const XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST_ = 8
  420 
  421 type xcb_input_change_device_dont_propagate_list_request_t
  422     major_opcode as ubyte
  423     minor_opcode as ubyte
  424     length as ushort
  425     window as xcb_window_t
  426     num_classes as ushort
  427     mode as ubyte
  428     pad0 as ubyte
  429 end type
  430 
  431 type xcb_input_get_device_dont_propagate_list_cookie_t
  432     sequence as ulong
  433 end type
  434 
  435 const XCB_INPUT_GET_DEVICE_DONT_PROPAGATE_LIST_ = 9
  436 
  437 type xcb_input_get_device_dont_propagate_list_request_t
  438     major_opcode as ubyte
  439     minor_opcode as ubyte
  440     length as ushort
  441     window as xcb_window_t
  442 end type
  443 
  444 type xcb_input_get_device_dont_propagate_list_reply_t
  445     response_type as ubyte
  446     pad0 as ubyte
  447     sequence as ushort
  448     length as ulong
  449     num_classes as ushort
  450     pad1(0 to 21) as ubyte
  451 end type
  452 
  453 type xcb_input_device_time_coord_t
  454     time as xcb_timestamp_t
  455 end type
  456 
  457 type xcb_input_device_time_coord_iterator_t
  458     data as xcb_input_device_time_coord_t ptr
  459     as long rem
  460     index as long
  461 end type
  462 
  463 type xcb_input_get_device_motion_events_cookie_t
  464     sequence as ulong
  465 end type
  466 
  467 const XCB_INPUT_GET_DEVICE_MOTION_EVENTS_ = 10
  468 
  469 type xcb_input_get_device_motion_events_request_t
  470     major_opcode as ubyte
  471     minor_opcode as ubyte
  472     length as ushort
  473     start as xcb_timestamp_t
  474     stop as xcb_timestamp_t
  475     device_id as ubyte
  476 end type
  477 
  478 type xcb_input_get_device_motion_events_reply_t
  479     response_type as ubyte
  480     pad0 as ubyte
  481     sequence as ushort
  482     length as ulong
  483     num_events as ulong
  484     num_axes as ubyte
  485     device_mode as ubyte
  486     pad1(0 to 17) as ubyte
  487 end type
  488 
  489 type xcb_input_change_keyboard_device_cookie_t
  490     sequence as ulong
  491 end type
  492 
  493 const XCB_INPUT_CHANGE_KEYBOARD_DEVICE_ = 11
  494 
  495 type xcb_input_change_keyboard_device_request_t
  496     major_opcode as ubyte
  497     minor_opcode as ubyte
  498     length as ushort
  499     device_id as ubyte
  500     pad0(0 to 2) as ubyte
  501 end type
  502 
  503 type xcb_input_change_keyboard_device_reply_t
  504     response_type as ubyte
  505     pad0 as ubyte
  506     sequence as ushort
  507     length as ulong
  508     status as ubyte
  509     pad1(0 to 22) as ubyte
  510 end type
  511 
  512 type xcb_input_change_pointer_device_cookie_t
  513     sequence as ulong
  514 end type
  515 
  516 const XCB_INPUT_CHANGE_POINTER_DEVICE_ = 12
  517 
  518 type xcb_input_change_pointer_device_request_t
  519     major_opcode as ubyte
  520     minor_opcode as ubyte
  521     length as ushort
  522     x_axis as ubyte
  523     y_axis as ubyte
  524     device_id as ubyte
  525     pad0 as ubyte
  526 end type
  527 
  528 type xcb_input_change_pointer_device_reply_t
  529     response_type as ubyte
  530     pad0 as ubyte
  531     sequence as ushort
  532     length as ulong
  533     status as ubyte
  534     pad1(0 to 22) as ubyte
  535 end type
  536 
  537 type xcb_input_grab_device_cookie_t
  538     sequence as ulong
  539 end type
  540 
  541 const XCB_INPUT_GRAB_DEVICE_ = 13
  542 
  543 type xcb_input_grab_device_request_t
  544     major_opcode as ubyte
  545     minor_opcode as ubyte
  546     length as ushort
  547     grab_window as xcb_window_t
  548     time as xcb_timestamp_t
  549     num_classes as ushort
  550     this_device_mode as ubyte
  551     other_device_mode as ubyte
  552     owner_events as ubyte
  553     device_id as ubyte
  554     pad0(0 to 1) as ubyte
  555 end type
  556 
  557 type xcb_input_grab_device_reply_t
  558     response_type as ubyte
  559     pad0 as ubyte
  560     sequence as ushort
  561     length as ulong
  562     status as ubyte
  563     pad1(0 to 22) as ubyte
  564 end type
  565 
  566 const XCB_INPUT_UNGRAB_DEVICE_ = 14
  567 
  568 type xcb_input_ungrab_device_request_t
  569     major_opcode as ubyte
  570     minor_opcode as ubyte
  571     length as ushort
  572     time as xcb_timestamp_t
  573     device_id as ubyte
  574 end type
  575 
  576 const XCB_INPUT_GRAB_DEVICE_KEY_ = 15
  577 
  578 type xcb_input_grab_device_key_request_t
  579     major_opcode as ubyte
  580     minor_opcode as ubyte
  581     length as ushort
  582     grab_window as xcb_window_t
  583     num_classes as ushort
  584     modifiers as ushort
  585     modifier_device as ubyte
  586     grabbed_device as ubyte
  587     key as ubyte
  588     this_device_mode as ubyte
  589     other_device_mode as ubyte
  590     owner_events as ubyte
  591     pad0(0 to 1) as ubyte
  592 end type
  593 
  594 const XCB_INPUT_UNGRAB_DEVICE_KEY_ = 16
  595 
  596 type xcb_input_ungrab_device_key_request_t
  597     major_opcode as ubyte
  598     minor_opcode as ubyte
  599     length as ushort
  600     grabWindow as xcb_window_t
  601     modifiers as ushort
  602     modifier_device as ubyte
  603     key as ubyte
  604     grabbed_device as ubyte
  605 end type
  606 
  607 const XCB_INPUT_GRAB_DEVICE_BUTTON_ = 17
  608 
  609 type xcb_input_grab_device_button_request_t
  610     major_opcode as ubyte
  611     minor_opcode as ubyte
  612     length as ushort
  613     grab_window as xcb_window_t
  614     grabbed_device as ubyte
  615     modifier_device as ubyte
  616     num_classes as ushort
  617     modifiers as ushort
  618     this_device_mode as ubyte
  619     other_device_mode as ubyte
  620     button as ubyte
  621     owner_events as ubyte
  622     pad0(0 to 1) as ubyte
  623 end type
  624 
  625 const XCB_INPUT_UNGRAB_DEVICE_BUTTON_ = 18
  626 
  627 type xcb_input_ungrab_device_button_request_t
  628     major_opcode as ubyte
  629     minor_opcode as ubyte
  630     length as ushort
  631     grab_window as xcb_window_t
  632     modifiers as ushort
  633     modifier_device as ubyte
  634     button as ubyte
  635     grabbed_device as ubyte
  636 end type
  637 
  638 type xcb_input_device_input_mode_t as long
  639 enum
  640     XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_THIS_DEVICE = 0
  641     XCB_INPUT_DEVICE_INPUT_MODE_SYNC_THIS_DEVICE = 1
  642     XCB_INPUT_DEVICE_INPUT_MODE_REPLAY_THIS_DEVICE = 2
  643     XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_OTHER_DEVICES = 3
  644     XCB_INPUT_DEVICE_INPUT_MODE_ASYNC_ALL = 4
  645     XCB_INPUT_DEVICE_INPUT_MODE_SYNC_ALL = 5
  646 end enum
  647 
  648 const XCB_INPUT_ALLOW_DEVICE_EVENTS_ = 19
  649 
  650 type xcb_input_allow_device_events_request_t
  651     major_opcode as ubyte
  652     minor_opcode as ubyte
  653     length as ushort
  654     time as xcb_timestamp_t
  655     mode as ubyte
  656     device_id as ubyte
  657 end type
  658 
  659 type xcb_input_get_device_focus_cookie_t
  660     sequence as ulong
  661 end type
  662 
  663 const XCB_INPUT_GET_DEVICE_FOCUS_ = 20
  664 
  665 type xcb_input_get_device_focus_request_t
  666     major_opcode as ubyte
  667     minor_opcode as ubyte
  668     length as ushort
  669     device_id as ubyte
  670     pad0(0 to 2) as ubyte
  671 end type
  672 
  673 type xcb_input_get_device_focus_reply_t
  674     response_type as ubyte
  675     pad0 as ubyte
  676     sequence as ushort
  677     length as ulong
  678     focus as xcb_window_t
  679     time as xcb_timestamp_t
  680     revert_to as ubyte
  681     pad1(0 to 14) as ubyte
  682 end type
  683 
  684 const XCB_INPUT_SET_DEVICE_FOCUS_ = 21
  685 
  686 type xcb_input_set_device_focus_request_t
  687     major_opcode as ubyte
  688     minor_opcode as ubyte
  689     length as ushort
  690     focus as xcb_window_t
  691     time as xcb_timestamp_t
  692     revert_to as ubyte
  693     device_id as ubyte
  694 end type
  695 
  696 type xcb_input_feedback_class_t as long
  697 enum
  698     XCB_INPUT_FEEDBACK_CLASS_KEYBOARD = 0
  699     XCB_INPUT_FEEDBACK_CLASS_POINTER = 1
  700     XCB_INPUT_FEEDBACK_CLASS_STRING = 2
  701     XCB_INPUT_FEEDBACK_CLASS_INTEGER = 3
  702     XCB_INPUT_FEEDBACK_CLASS_LED = 4
  703     XCB_INPUT_FEEDBACK_CLASS_BELL = 5
  704 end enum
  705 
  706 type xcb_input_kbd_feedback_state_t
  707     class_id as ubyte
  708     feedback_id as ubyte
  709     len as ushort
  710     pitch as ushort
  711     duration as ushort
  712     led_mask as ulong
  713     led_values as ulong
  714     global_auto_repeat as ubyte
  715     click as ubyte
  716     percent as ubyte
  717     pad0 as ubyte
  718     auto_repeats(0 to 31) as ubyte
  719 end type
  720 
  721 type xcb_input_kbd_feedback_state_iterator_t
  722     data as xcb_input_kbd_feedback_state_t ptr
  723     as long rem
  724     index as long
  725 end type
  726 
  727 type xcb_input_ptr_feedback_state_t
  728     class_id as ubyte
  729     feedback_id as ubyte
  730     len as ushort
  731     pad0(0 to 1) as ubyte
  732     accel_num as ushort
  733     accel_denom as ushort
  734     threshold as ushort
  735 end type
  736 
  737 type xcb_input_ptr_feedback_state_iterator_t
  738     data as xcb_input_ptr_feedback_state_t ptr
  739     as long rem
  740     index as long
  741 end type
  742 
  743 type xcb_input_integer_feedback_state_t
  744     class_id as ubyte
  745     feedback_id as ubyte
  746     len as ushort
  747     resolution as ulong
  748     min_value as long
  749     max_value as long
  750 end type
  751 
  752 type xcb_input_integer_feedback_state_iterator_t
  753     data as xcb_input_integer_feedback_state_t ptr
  754     as long rem
  755     index as long
  756 end type
  757 
  758 type xcb_input_string_feedback_state_t
  759     class_id as ubyte
  760     feedback_id as ubyte
  761     len as ushort
  762     max_symbols as ushort
  763     num_keysyms as ushort
  764 end type
  765 
  766 type xcb_input_string_feedback_state_iterator_t
  767     data as xcb_input_string_feedback_state_t ptr
  768     as long rem
  769     index as long
  770 end type
  771 
  772 type xcb_input_bell_feedback_state_t
  773     class_id as ubyte
  774     feedback_id as ubyte
  775     len as ushort
  776     percent as ubyte
  777     pad0(0 to 2) as ubyte
  778     pitch as ushort
  779     duration as ushort
  780 end type
  781 
  782 type xcb_input_bell_feedback_state_iterator_t
  783     data as xcb_input_bell_feedback_state_t ptr
  784     as long rem
  785     index as long
  786 end type
  787 
  788 type xcb_input_led_feedback_state_t
  789     class_id as ubyte
  790     feedback_id as ubyte
  791     len as ushort
  792     led_mask as ulong
  793     led_values as ulong
  794 end type
  795 
  796 type xcb_input_led_feedback_state_iterator_t
  797     data as xcb_input_led_feedback_state_t ptr
  798     as long rem
  799     index as long
  800 end type
  801 
  802 type xcb_input_feedback_state_t
  803     class_id as ubyte
  804     feedback_id as ubyte
  805     len as ushort
  806 end type
  807 
  808 type xcb_input_feedback_state_iterator_t
  809     data as xcb_input_feedback_state_t ptr
  810     as long rem
  811     index as long
  812 end type
  813 
  814 type xcb_input_get_feedback_control_cookie_t
  815     sequence as ulong
  816 end type
  817 
  818 const XCB_INPUT_GET_FEEDBACK_CONTROL_ = 22
  819 
  820 type xcb_input_get_feedback_control_request_t
  821     major_opcode as ubyte
  822     minor_opcode as ubyte
  823     length as ushort
  824     device_id as ubyte
  825     pad0(0 to 2) as ubyte
  826 end type
  827 
  828 type xcb_input_get_feedback_control_reply_t
  829     response_type as ubyte
  830     pad0 as ubyte
  831     sequence as ushort
  832     length as ulong
  833     num_feedbacks as ushort
  834     pad1(0 to 21) as ubyte
  835 end type
  836 
  837 type xcb_input_kbd_feedback_ctl_t
  838     class_id as ubyte
  839     feedback_id as ubyte
  840     len as ushort
  841     key as xcb_input_key_code_t
  842     auto_repeat_mode as ubyte
  843     key_click_percent as byte
  844     bell_percent as byte
  845     bell_pitch as short
  846     bell_duration as short
  847     led_mask as ulong
  848     led_values as ulong
  849 end type
  850 
  851 type xcb_input_kbd_feedback_ctl_iterator_t
  852     data as xcb_input_kbd_feedback_ctl_t ptr
  853     as long rem
  854     index as long
  855 end type
  856 
  857 type xcb_input_ptr_feedback_ctl_t
  858     class_id as ubyte
  859     feedback_id as ubyte
  860     len as ushort
  861     pad0(0 to 1) as ubyte
  862     num as short
  863     denom as short
  864     threshold as short
  865 end type
  866 
  867 type xcb_input_ptr_feedback_ctl_iterator_t
  868     data as xcb_input_ptr_feedback_ctl_t ptr
  869     as long rem
  870     index as long
  871 end type
  872 
  873 type xcb_input_integer_feedback_ctl_t
  874     class_id as ubyte
  875     feedback_id as ubyte
  876     len as ushort
  877     int_to_display as long
  878 end type
  879 
  880 type xcb_input_integer_feedback_ctl_iterator_t
  881     data as xcb_input_integer_feedback_ctl_t ptr
  882     as long rem
  883     index as long
  884 end type
  885 
  886 type xcb_input_string_feedback_ctl_t
  887     class_id as ubyte
  888     feedback_id as ubyte
  889     len as ushort
  890     pad0(0 to 1) as ubyte
  891     num_keysyms as ushort
  892 end type
  893 
  894 type xcb_input_string_feedback_ctl_iterator_t
  895     data as xcb_input_string_feedback_ctl_t ptr
  896     as long rem
  897     index as long
  898 end type
  899 
  900 type xcb_input_bell_feedback_ctl_t
  901     class_id as ubyte
  902     feedback_id as ubyte
  903     len as ushort
  904     percent as byte
  905     pad0(0 to 2) as ubyte
  906     pitch as short
  907     duration as short
  908 end type
  909 
  910 type xcb_input_bell_feedback_ctl_iterator_t
  911     data as xcb_input_bell_feedback_ctl_t ptr
  912     as long rem
  913     index as long
  914 end type
  915 
  916 type xcb_input_led_feedback_ctl_t
  917     class_id as ubyte
  918     feedback_id as ubyte
  919     len as ushort
  920     led_mask as ulong
  921     led_values as ulong
  922 end type
  923 
  924 type xcb_input_led_feedback_ctl_iterator_t
  925     data as xcb_input_led_feedback_ctl_t ptr
  926     as long rem
  927     index as long
  928 end type
  929 
  930 type xcb_input_feedback_ctl_t
  931     class_id as ubyte
  932     feedback_id as ubyte
  933     len as ushort
  934 end type
  935 
  936 type xcb_input_feedback_ctl_iterator_t
  937     data as xcb_input_feedback_ctl_t ptr
  938     as long rem
  939     index as long
  940 end type
  941 
  942 const XCB_INPUT_CHANGE_FEEDBACK_CONTROL_ = 23
  943 
  944 type xcb_input_change_feedback_control_request_t
  945     major_opcode as ubyte
  946     minor_opcode as ubyte
  947     length as ushort
  948     mask as ulong
  949     device_id as ubyte
  950     feedback_id as ubyte
  951 end type
  952 
  953 type xcb_input_get_device_key_mapping_cookie_t
  954     sequence as ulong
  955 end type
  956 
  957 const XCB_INPUT_GET_DEVICE_KEY_MAPPING_ = 24
  958 
  959 type xcb_input_get_device_key_mapping_request_t
  960     major_opcode as ubyte
  961     minor_opcode as ubyte
  962     length as ushort
  963     device_id as ubyte
  964     first_keycode as xcb_input_key_code_t
  965     count as ubyte
  966 end type
  967 
  968 type xcb_input_get_device_key_mapping_reply_t
  969     response_type as ubyte
  970     pad0 as ubyte
  971     sequence as ushort
  972     length as ulong
  973     keysyms_per_keycode as ubyte
  974     pad1(0 to 22) as ubyte
  975 end type
  976 
  977 const XCB_INPUT_CHANGE_DEVICE_KEY_MAPPING_ = 25
  978 
  979 type xcb_input_change_device_key_mapping_request_t
  980     major_opcode as ubyte
  981     minor_opcode as ubyte
  982     length as ushort
  983     device_id as ubyte
  984     first_keycode as xcb_input_key_code_t
  985     keysyms_per_keycode as ubyte
  986     keycode_count as ubyte
  987 end type
  988 
  989 type xcb_input_get_device_modifier_mapping_cookie_t
  990     sequence as ulong
  991 end type
  992 
  993 const XCB_INPUT_GET_DEVICE_MODIFIER_MAPPING_ = 26
  994 
  995 type xcb_input_get_device_modifier_mapping_request_t
  996     major_opcode as ubyte
  997     minor_opcode as ubyte
  998     length as ushort
  999     device_id as ubyte
 1000     pad0(0 to 2) as ubyte
 1001 end type
 1002 
 1003 type xcb_input_get_device_modifier_mapping_reply_t
 1004     response_type as ubyte
 1005     pad0 as ubyte
 1006     sequence as ushort
 1007     length as ulong
 1008     keycodes_per_modifier as ubyte
 1009     pad1(0 to 22) as ubyte
 1010 end type
 1011 
 1012 type xcb_input_set_device_modifier_mapping_cookie_t
 1013     sequence as ulong
 1014 end type
 1015 
 1016 const XCB_INPUT_SET_DEVICE_MODIFIER_MAPPING_ = 27
 1017 
 1018 type xcb_input_set_device_modifier_mapping_request_t
 1019     major_opcode as ubyte
 1020     minor_opcode as ubyte
 1021     length as ushort
 1022     device_id as ubyte
 1023     keycodes_per_modifier as ubyte
 1024     pad0 as ubyte
 1025 end type
 1026 
 1027 type xcb_input_set_device_modifier_mapping_reply_t
 1028     response_type as ubyte
 1029     pad0 as ubyte
 1030     sequence as ushort
 1031     length as ulong
 1032     status as ubyte
 1033     pad1(0 to 22) as ubyte
 1034 end type
 1035 
 1036 type xcb_input_get_device_button_mapping_cookie_t
 1037     sequence as ulong
 1038 end type
 1039 
 1040 const XCB_INPUT_GET_DEVICE_BUTTON_MAPPING_ = 28
 1041 
 1042 type xcb_input_get_device_button_mapping_request_t
 1043     major_opcode as ubyte
 1044     minor_opcode as ubyte
 1045     length as ushort
 1046     device_id as ubyte
 1047     pad0(0 to 2) as ubyte
 1048 end type
 1049 
 1050 type xcb_input_get_device_button_mapping_reply_t
 1051     response_type as ubyte
 1052     pad0 as ubyte
 1053     sequence as ushort
 1054     length as ulong
 1055     map_size as ubyte
 1056     pad1(0 to 22) as ubyte
 1057 end type
 1058 
 1059 type xcb_input_set_device_button_mapping_cookie_t
 1060     sequence as ulong
 1061 end type
 1062 
 1063 const XCB_INPUT_SET_DEVICE_BUTTON_MAPPING_ = 29
 1064 
 1065 type xcb_input_set_device_button_mapping_request_t
 1066     major_opcode as ubyte
 1067     minor_opcode as ubyte
 1068     length as ushort
 1069     device_id as ubyte
 1070     map_size as ubyte
 1071     pad0(0 to 1) as ubyte
 1072 end type
 1073 
 1074 type xcb_input_set_device_button_mapping_reply_t
 1075     response_type as ubyte
 1076     pad0 as ubyte
 1077     sequence as ushort
 1078     length as ulong
 1079     status as ubyte
 1080     pad1(0 to 22) as ubyte
 1081 end type
 1082 
 1083 type xcb_input_key_state_t
 1084     class_id as ubyte
 1085     len as ubyte
 1086     num_keys as ubyte
 1087     pad0 as ubyte
 1088     keys(0 to 31) as ubyte
 1089 end type
 1090 
 1091 type xcb_input_key_state_iterator_t
 1092     data as xcb_input_key_state_t ptr
 1093     as long rem
 1094     index as long
 1095 end type
 1096 
 1097 type xcb_input_button_state_t
 1098     class_id as ubyte
 1099     len as ubyte
 1100     num_buttons as ubyte
 1101     pad0 as ubyte
 1102     buttons(0 to 31) as ubyte
 1103 end type
 1104 
 1105 type xcb_input_button_state_iterator_t
 1106     data as xcb_input_button_state_t ptr
 1107     as long rem
 1108     index as long
 1109 end type
 1110 
 1111 type xcb_input_valuator_state_t
 1112     class_id as ubyte
 1113     len as ubyte
 1114     num_valuators as ubyte
 1115     mode as ubyte
 1116 end type
 1117 
 1118 type xcb_input_valuator_state_iterator_t
 1119     data as xcb_input_valuator_state_t ptr
 1120     as long rem
 1121     index as long
 1122 end type
 1123 
 1124 type xcb_input_input_state_t
 1125     class_id as ubyte
 1126     len as ubyte
 1127     num_items as ubyte
 1128     pad0 as ubyte
 1129 end type
 1130 
 1131 type xcb_input_input_state_iterator_t
 1132     data as xcb_input_input_state_t ptr
 1133     as long rem
 1134     index as long
 1135 end type
 1136 
 1137 type xcb_input_query_device_state_cookie_t
 1138     sequence as ulong
 1139 end type
 1140 
 1141 const XCB_INPUT_QUERY_DEVICE_STATE_ = 30
 1142 
 1143 type xcb_input_query_device_state_request_t
 1144     major_opcode as ubyte
 1145     minor_opcode as ubyte
 1146     length as ushort
 1147     device_id as ubyte
 1148     pad0(0 to 2) as ubyte
 1149 end type
 1150 
 1151 type xcb_input_query_device_state_reply_t
 1152     response_type as ubyte
 1153     pad0 as ubyte
 1154     sequence as ushort
 1155     length as ulong
 1156     num_classes as ubyte
 1157     pad1(0 to 22) as ubyte
 1158 end type
 1159 
 1160 const XCB_INPUT_SEND_EXTENSION_EVENT_ = 31
 1161 
 1162 type xcb_input_send_extension_event_request_t
 1163     major_opcode as ubyte
 1164     minor_opcode as ubyte
 1165     length as ushort
 1166     destination as xcb_window_t
 1167     device_id as ubyte
 1168     propagate as ubyte
 1169     num_classes as ushort
 1170     num_events as ubyte
 1171     pad0(0 to 2) as ubyte
 1172 end type
 1173 
 1174 const XCB_INPUT_DEVICE_BELL_ = 32
 1175 
 1176 type xcb_input_device_bell_request_t
 1177     major_opcode as ubyte
 1178     minor_opcode as ubyte
 1179     length as ushort
 1180     device_id as ubyte
 1181     feedback_id as ubyte
 1182     feedback_class as ubyte
 1183     percent as byte
 1184 end type
 1185 
 1186 type xcb_input_set_device_valuators_cookie_t
 1187     sequence as ulong
 1188 end type
 1189 
 1190 const XCB_INPUT_SET_DEVICE_VALUATORS_ = 33
 1191 
 1192 type xcb_input_set_device_valuators_request_t
 1193     major_opcode as ubyte
 1194     minor_opcode as ubyte
 1195     length as ushort
 1196     device_id as ubyte
 1197     first_valuator as ubyte
 1198     num_valuators as ubyte
 1199     pad0 as ubyte
 1200 end type
 1201 
 1202 type xcb_input_set_device_valuators_reply_t
 1203     response_type as ubyte
 1204     pad0 as ubyte
 1205     sequence as ushort
 1206     length as ulong
 1207     status as ubyte
 1208     pad1(0 to 22) as ubyte
 1209 end type
 1210 
 1211 type xcb_input_device_control_t as long
 1212 enum
 1213     XCB_INPUT_DEVICE_CONTROL_RESOLUTION = 1
 1214     XCB_INPUT_DEVICE_CONTROL_ABS_CALIB = 2
 1215     XCB_INPUT_DEVICE_CONTROL_CORE = 3
 1216     XCB_INPUT_DEVICE_CONTROL_ENABLE = 4
 1217     XCB_INPUT_DEVICE_CONTROL_ABS_AREA = 5
 1218 end enum
 1219 
 1220 type xcb_input_device_resolution_state_t
 1221     control_id as ushort
 1222     len as ushort
 1223     num_valuators as ulong
 1224 end type
 1225 
 1226 type xcb_input_device_resolution_state_iterator_t
 1227     data as xcb_input_device_resolution_state_t ptr
 1228     as long rem
 1229     index as long
 1230 end type
 1231 
 1232 type xcb_input_device_abs_calib_state_t
 1233     control_id as ushort
 1234     len as ushort
 1235     min_x as long
 1236     max_x as long
 1237     min_y as long
 1238     max_y as long
 1239     flip_x as ulong
 1240     flip_y as ulong
 1241     rotation as ulong
 1242     button_threshold as ulong
 1243 end type
 1244 
 1245 type xcb_input_device_abs_calib_state_iterator_t
 1246     data as xcb_input_device_abs_calib_state_t ptr
 1247     as long rem
 1248     index as long
 1249 end type
 1250 
 1251 type xcb_input_device_abs_area_state_t
 1252     control_id as ushort
 1253     len as ushort
 1254     offset_x as ulong
 1255     offset_y as ulong
 1256     width as ulong
 1257     height as ulong
 1258     screen as ulong
 1259     following as ulong
 1260 end type
 1261 
 1262 type xcb_input_device_abs_area_state_iterator_t
 1263     data as xcb_input_device_abs_area_state_t ptr
 1264     as long rem
 1265     index as long
 1266 end type
 1267 
 1268 type xcb_input_device_core_state_t
 1269     control_id as ushort
 1270     len as ushort
 1271     status as ubyte
 1272     iscore as ubyte
 1273     pad0(0 to 1) as ubyte
 1274 end type
 1275 
 1276 type xcb_input_device_core_state_iterator_t
 1277     data as xcb_input_device_core_state_t ptr
 1278     as long rem
 1279     index as long
 1280 end type
 1281 
 1282 type xcb_input_device_enable_state_t
 1283     control_id as ushort
 1284     len as ushort
 1285     enable as ubyte
 1286     pad0(0 to 2) as ubyte
 1287 end type
 1288 
 1289 type xcb_input_device_enable_state_iterator_t
 1290     data as xcb_input_device_enable_state_t ptr
 1291     as long rem
 1292     index as long
 1293 end type
 1294 
 1295 type xcb_input_device_state_t
 1296     control_id as ushort
 1297     len as ushort
 1298 end type
 1299 
 1300 type xcb_input_device_state_iterator_t
 1301     data as xcb_input_device_state_t ptr
 1302     as long rem
 1303     index as long
 1304 end type
 1305 
 1306 type xcb_input_get_device_control_cookie_t
 1307     sequence as ulong
 1308 end type
 1309 
 1310 const XCB_INPUT_GET_DEVICE_CONTROL_ = 34
 1311 
 1312 type xcb_input_get_device_control_request_t
 1313     major_opcode as ubyte
 1314     minor_opcode as ubyte
 1315     length as ushort
 1316     control_id as ushort
 1317     device_id as ubyte
 1318     pad0 as ubyte
 1319 end type
 1320 
 1321 type xcb_input_get_device_control_reply_t
 1322     response_type as ubyte
 1323     pad0 as ubyte
 1324     sequence as ushort
 1325     length as ulong
 1326     status as ubyte
 1327     pad1(0 to 22) as ubyte
 1328 end type
 1329 
 1330 type xcb_input_device_resolution_ctl_t
 1331     control_id as ushort
 1332     len as ushort
 1333     first_valuator as ubyte
 1334     num_valuators as ubyte
 1335     pad0(0 to 1) as ubyte
 1336 end type
 1337 
 1338 type xcb_input_device_resolution_ctl_iterator_t
 1339     data as xcb_input_device_resolution_ctl_t ptr
 1340     as long rem
 1341     index as long
 1342 end type
 1343 
 1344 type xcb_input_device_abs_calib_ctl_t
 1345     control_id as ushort
 1346     len as ushort
 1347     min_x as long
 1348     max_x as long
 1349     min_y as long
 1350     max_y as long
 1351     flip_x as ulong
 1352     flip_y as ulong
 1353     rotation as ulong
 1354     button_threshold as ulong
 1355 end type
 1356 
 1357 type xcb_input_device_abs_calib_ctl_iterator_t
 1358     data as xcb_input_device_abs_calib_ctl_t ptr
 1359     as long rem
 1360     index as long
 1361 end type
 1362 
 1363 type xcb_input_device_abs_area_ctrl_t
 1364     control_id as ushort
 1365     len as ushort
 1366     offset_x as ulong
 1367     offset_y as ulong
 1368     width as long
 1369     height as long
 1370     screen as long
 1371     following as ulong
 1372 end type
 1373 
 1374 type xcb_input_device_abs_area_ctrl_iterator_t
 1375     data as xcb_input_device_abs_area_ctrl_t ptr
 1376     as long rem
 1377     index as long
 1378 end type
 1379 
 1380 type xcb_input_device_core_ctrl_t
 1381     control_id as ushort
 1382     len as ushort
 1383     status as ubyte
 1384     pad0(0 to 2) as ubyte
 1385 end type
 1386 
 1387 type xcb_input_device_core_ctrl_iterator_t
 1388     data as xcb_input_device_core_ctrl_t ptr
 1389     as long rem
 1390     index as long
 1391 end type
 1392 
 1393 type xcb_input_device_enable_ctrl_t
 1394     control_id as ushort
 1395     len as ushort
 1396     enable as ubyte
 1397     pad0(0 to 2) as ubyte
 1398 end type
 1399 
 1400 type xcb_input_device_enable_ctrl_iterator_t
 1401     data as xcb_input_device_enable_ctrl_t ptr
 1402     as long rem
 1403     index as long
 1404 end type
 1405 
 1406 type xcb_input_device_ctl_t
 1407     control_id as ushort
 1408     len as ushort
 1409 end type
 1410 
 1411 type xcb_input_device_ctl_iterator_t
 1412     data as xcb_input_device_ctl_t ptr
 1413     as long rem
 1414     index as long
 1415 end type
 1416 
 1417 type xcb_input_change_device_control_cookie_t
 1418     sequence as ulong
 1419 end type
 1420 
 1421 const XCB_INPUT_CHANGE_DEVICE_CONTROL_ = 35
 1422 
 1423 type xcb_input_change_device_control_request_t
 1424     major_opcode as ubyte
 1425     minor_opcode as ubyte
 1426     length as ushort
 1427     control_id as ushort
 1428     device_id as ubyte
 1429     pad0 as ubyte
 1430 end type
 1431 
 1432 type xcb_input_change_device_control_reply_t
 1433     response_type as ubyte
 1434     pad0 as ubyte
 1435     sequence as ushort
 1436     length as ulong
 1437     status as ubyte
 1438     pad1(0 to 22) as ubyte
 1439 end type
 1440 
 1441 type xcb_input_list_device_properties_cookie_t
 1442     sequence as ulong
 1443 end type
 1444 
 1445 const XCB_INPUT_LIST_DEVICE_PROPERTIES_ = 36
 1446 
 1447 type xcb_input_list_device_properties_request_t
 1448     major_opcode as ubyte
 1449     minor_opcode as ubyte
 1450     length as ushort
 1451     device_id as ubyte
 1452     pad0(0 to 2) as ubyte
 1453 end type
 1454 
 1455 type xcb_input_list_device_properties_reply_t
 1456     response_type as ubyte
 1457     pad0 as ubyte
 1458     sequence as ushort
 1459     length as ulong
 1460     num_atoms as ushort
 1461     pad1(0 to 21) as ubyte
 1462 end type
 1463 
 1464 type xcb_input_property_format_t as long
 1465 enum
 1466     XCB_INPUT_PROPERTY_FORMAT_8_BITS = 8
 1467     XCB_INPUT_PROPERTY_FORMAT_16_BITS = 16
 1468     XCB_INPUT_PROPERTY_FORMAT_32_BITS = 32
 1469 end enum
 1470 
 1471 type xcb_input_change_device_property_items_t
 1472     data8 as ubyte ptr
 1473     data16 as ushort ptr
 1474     data32 as ulong ptr
 1475 end type
 1476 
 1477 const XCB_INPUT_CHANGE_DEVICE_PROPERTY_ = 37
 1478 
 1479 type xcb_input_change_device_property_request_t
 1480     major_opcode as ubyte
 1481     minor_opcode as ubyte
 1482     length as ushort
 1483     property as xcb_atom_t
 1484     as xcb_atom_t type
 1485     device_id as ubyte
 1486     format as ubyte
 1487     mode as ubyte
 1488     pad0 as ubyte
 1489     num_items as ulong
 1490 end type
 1491 
 1492 const XCB_INPUT_DELETE_DEVICE_PROPERTY_ = 38
 1493 
 1494 type xcb_input_delete_device_property_request_t
 1495     major_opcode as ubyte
 1496     minor_opcode as ubyte
 1497     length as ushort
 1498     property as xcb_atom_t
 1499     device_id as ubyte
 1500     pad0(0 to 2) as ubyte
 1501 end type
 1502 
 1503 type xcb_input_get_device_property_cookie_t
 1504     sequence as ulong
 1505 end type
 1506 
 1507 const XCB_INPUT_GET_DEVICE_PROPERTY_ = 39
 1508 
 1509 type xcb_input_get_device_property_request_t
 1510     major_opcode as ubyte
 1511     minor_opcode as ubyte
 1512     length as ushort
 1513     property as xcb_atom_t
 1514     as xcb_atom_t type
 1515     offset as ulong
 1516     len as ulong
 1517     device_id as ubyte
 1518     _delete as ubyte
 1519     pad0(0 to 1) as ubyte
 1520 end type
 1521 
 1522 type xcb_input_get_device_property_items_t
 1523     data8 as ubyte ptr
 1524     data16 as ushort ptr
 1525     data32 as ulong ptr
 1526 end type
 1527 
 1528 type xcb_input_get_device_property_reply_t
 1529     response_type as ubyte
 1530     pad0 as ubyte
 1531     sequence as ushort
 1532     length as ulong
 1533     as xcb_atom_t type
 1534     bytes_after as ulong
 1535     num_items as ulong
 1536     format as ubyte
 1537     device_id as ubyte
 1538     pad1(0 to 9) as ubyte
 1539 end type
 1540 
 1541 type xcb_input_device_t as long
 1542 enum
 1543     XCB_INPUT_DEVICE_ALL = 0
 1544     XCB_INPUT_DEVICE_ALL_MASTER = 1
 1545 end enum
 1546 
 1547 type xcb_input_group_info_t
 1548     base as ubyte
 1549     latched as ubyte
 1550     locked as ubyte
 1551     effective as ubyte
 1552 end type
 1553 
 1554 type xcb_input_group_info_iterator_t
 1555     data as xcb_input_group_info_t ptr
 1556     as long rem
 1557     index as long
 1558 end type
 1559 
 1560 type xcb_input_modifier_info_t
 1561     base as ulong
 1562     latched as ulong
 1563     locked as ulong
 1564     effective as ulong
 1565 end type
 1566 
 1567 type xcb_input_modifier_info_iterator_t
 1568     data as xcb_input_modifier_info_t ptr
 1569     as long rem
 1570     index as long
 1571 end type
 1572 
 1573 type xcb_input_xi_query_pointer_cookie_t
 1574     sequence as ulong
 1575 end type
 1576 
 1577 const XCB_INPUT_XI_QUERY_POINTER_ = 40
 1578 
 1579 type xcb_input_xi_query_pointer_request_t
 1580     major_opcode as ubyte
 1581     minor_opcode as ubyte
 1582     length as ushort
 1583     window as xcb_window_t
 1584     deviceid as xcb_input_device_id_t
 1585     pad0(0 to 1) as ubyte
 1586 end type
 1587 
 1588 type xcb_input_xi_query_pointer_reply_t
 1589     response_type as ubyte
 1590     pad0 as ubyte
 1591     sequence as ushort
 1592     length as ulong
 1593     root as xcb_window_t
 1594     child as xcb_window_t
 1595     root_x as xcb_input_fp1616_t
 1596     root_y as xcb_input_fp1616_t
 1597     win_x as xcb_input_fp1616_t
 1598     win_y as xcb_input_fp1616_t
 1599     same_screen as ubyte
 1600     pad1 as ubyte
 1601     buttons_len as ushort
 1602     mods as xcb_input_modifier_info_t
 1603     group as xcb_input_group_info_t
 1604 end type
 1605 
 1606 const XCB_INPUT_XI_WARP_POINTER_ = 41
 1607 
 1608 type xcb_input_xi_warp_pointer_request_t
 1609     major_opcode as ubyte
 1610     minor_opcode as ubyte
 1611     length as ushort
 1612     src_win as xcb_window_t
 1613     dst_win as xcb_window_t
 1614     src_x as xcb_input_fp1616_t
 1615     src_y as xcb_input_fp1616_t
 1616     src_width as ushort
 1617     src_height as ushort
 1618     dst_x as xcb_input_fp1616_t
 1619     dst_y as xcb_input_fp1616_t
 1620     deviceid as xcb_input_device_id_t
 1621     pad0(0 to 1) as ubyte
 1622 end type
 1623 
 1624 const XCB_INPUT_XI_CHANGE_CURSOR_ = 42
 1625 
 1626 type xcb_input_xi_change_cursor_request_t
 1627     major_opcode as ubyte
 1628     minor_opcode as ubyte
 1629     length as ushort
 1630     window as xcb_window_t
 1631     cursor as xcb_cursor_t
 1632     deviceid as xcb_input_device_id_t
 1633     pad0(0 to 1) as ubyte
 1634 end type
 1635 
 1636 type xcb_input_hierarchy_change_type_t as long
 1637 enum
 1638     XCB_INPUT_HIERARCHY_CHANGE_TYPE_ADD_MASTER = 1
 1639     XCB_INPUT_HIERARCHY_CHANGE_TYPE_REMOVE_MASTER = 2
 1640     XCB_INPUT_HIERARCHY_CHANGE_TYPE_ATTACH_SLAVE = 3
 1641     XCB_INPUT_HIERARCHY_CHANGE_TYPE_DETACH_SLAVE = 4
 1642 end enum
 1643 
 1644 type xcb_input_change_mode_t as long
 1645 enum
 1646     XCB_INPUT_CHANGE_MODE_ATTACH = 1
 1647     XCB_INPUT_CHANGE_MODE_FLOAT = 2
 1648 end enum
 1649 
 1650 type xcb_input_add_master_t
 1651     as ushort type
 1652     len as ushort
 1653     name_len as ushort
 1654     send_core as ubyte
 1655     enable as ubyte
 1656 end type
 1657 
 1658 type xcb_input_add_master_iterator_t
 1659     data as xcb_input_add_master_t ptr
 1660     as long rem
 1661     index as long
 1662 end type
 1663 
 1664 type xcb_input_remove_master_t
 1665     as ushort type
 1666     len as ushort
 1667     deviceid as xcb_input_device_id_t
 1668     return_mode as ubyte
 1669     pad0 as ubyte
 1670     return_pointer as xcb_input_device_id_t
 1671     return_keyboard as xcb_input_device_id_t
 1672 end type
 1673 
 1674 type xcb_input_remove_master_iterator_t
 1675     data as xcb_input_remove_master_t ptr
 1676     as long rem
 1677     index as long
 1678 end type
 1679 
 1680 type xcb_input_attach_slave_t
 1681     as ushort type
 1682     len as ushort
 1683     deviceid as xcb_input_device_id_t
 1684     master as xcb_input_device_id_t
 1685 end type
 1686 
 1687 type xcb_input_attach_slave_iterator_t
 1688     data as xcb_input_attach_slave_t ptr
 1689     as long rem
 1690     index as long
 1691 end type
 1692 
 1693 type xcb_input_detach_slave_t
 1694     as ushort type
 1695     len as ushort
 1696     deviceid as xcb_input_device_id_t
 1697     pad0(0 to 1) as ubyte
 1698 end type
 1699 
 1700 type xcb_input_detach_slave_iterator_t
 1701     data as xcb_input_detach_slave_t ptr
 1702     as long rem
 1703     index as long
 1704 end type
 1705 
 1706 type xcb_input_hierarchy_change_t
 1707     as ushort type
 1708     len as ushort
 1709 end type
 1710 
 1711 type xcb_input_hierarchy_change_iterator_t
 1712     data as xcb_input_hierarchy_change_t ptr
 1713     as long rem
 1714     index as long
 1715 end type
 1716 
 1717 const XCB_INPUT_XI_CHANGE_HIERARCHY_ = 43
 1718 
 1719 type xcb_input_xi_change_hierarchy_request_t
 1720     major_opcode as ubyte
 1721     minor_opcode as ubyte
 1722     length as ushort
 1723     num_changes as ubyte
 1724     pad0(0 to 2) as ubyte
 1725 end type
 1726 
 1727 const XCB_INPUT_XI_SET_CLIENT_POINTER_ = 44
 1728 
 1729 type xcb_input_xi_set_client_pointer_request_t
 1730     major_opcode as ubyte
 1731     minor_opcode as ubyte
 1732     length as ushort
 1733     window as xcb_window_t
 1734     deviceid as xcb_input_device_id_t
 1735     pad0(0 to 1) as ubyte
 1736 end type
 1737 
 1738 type xcb_input_xi_get_client_pointer_cookie_t
 1739     sequence as ulong
 1740 end type
 1741 
 1742 const XCB_INPUT_XI_GET_CLIENT_POINTER_ = 45
 1743 
 1744 type xcb_input_xi_get_client_pointer_request_t
 1745     major_opcode as ubyte
 1746     minor_opcode as ubyte
 1747     length as ushort
 1748     window as xcb_window_t
 1749 end type
 1750 
 1751 type xcb_input_xi_get_client_pointer_reply_t
 1752     response_type as ubyte
 1753     pad0 as ubyte
 1754     sequence as ushort
 1755     length as ulong
 1756     set as ubyte
 1757     pad1 as ubyte
 1758     deviceid as xcb_input_device_id_t
 1759     pad2(0 to 19) as ubyte
 1760 end type
 1761 
 1762 type xcb_input_xi_event_mask_t as long
 1763 enum
 1764     XCB_INPUT_XI_EVENT_MASK_DEVICE_CHANGED = 2
 1765     XCB_INPUT_XI_EVENT_MASK_KEY_PRESS = 4
 1766     XCB_INPUT_XI_EVENT_MASK_KEY_RELEASE = 8
 1767     XCB_INPUT_XI_EVENT_MASK_BUTTON_PRESS = 16
 1768     XCB_INPUT_XI_EVENT_MASK_BUTTON_RELEASE = 32
 1769     XCB_INPUT_XI_EVENT_MASK_MOTION = 64
 1770     XCB_INPUT_XI_EVENT_MASK_ENTER = 128
 1771     XCB_INPUT_XI_EVENT_MASK_LEAVE = 256
 1772     XCB_INPUT_XI_EVENT_MASK_FOCUS_IN = 512
 1773     XCB_INPUT_XI_EVENT_MASK_FOCUS_OUT = 1024
 1774     XCB_INPUT_XI_EVENT_MASK_HIERARCHY = 2048
 1775     XCB_INPUT_XI_EVENT_MASK_PROPERTY = 4096
 1776     XCB_INPUT_XI_EVENT_MASK_RAW_KEY_PRESS = 8192
 1777     XCB_INPUT_XI_EVENT_MASK_RAW_KEY_RELEASE = 16384
 1778     XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_PRESS = 32768
 1779     XCB_INPUT_XI_EVENT_MASK_RAW_BUTTON_RELEASE = 65536
 1780     XCB_INPUT_XI_EVENT_MASK_RAW_MOTION = 131072
 1781     XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN = 262144
 1782     XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE = 524288
 1783     XCB_INPUT_XI_EVENT_MASK_TOUCH_END = 1048576
 1784     XCB_INPUT_XI_EVENT_MASK_TOUCH_OWNERSHIP = 2097152
 1785     XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_BEGIN = 4194304
 1786     XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_UPDATE = 8388608
 1787     XCB_INPUT_XI_EVENT_MASK_RAW_TOUCH_END = 16777216
 1788     XCB_INPUT_XI_EVENT_MASK_BARRIER_HIT = 33554432
 1789     XCB_INPUT_XI_EVENT_MASK_BARRIER_LEAVE = 67108864
 1790 end enum
 1791 
 1792 type xcb_input_event_mask_t
 1793     deviceid as xcb_input_device_id_t
 1794     mask_len as ushort
 1795 end type
 1796 
 1797 type xcb_input_event_mask_iterator_t
 1798     data as xcb_input_event_mask_t ptr
 1799     as long rem
 1800     index as long
 1801 end type
 1802 
 1803 const XCB_INPUT_XI_SELECT_EVENTS_ = 46
 1804 
 1805 type xcb_input_xi_select_events_request_t
 1806     major_opcode as ubyte
 1807     minor_opcode as ubyte
 1808     length as ushort
 1809     window as xcb_window_t
 1810     num_mask as ushort
 1811     pad0(0 to 1) as ubyte
 1812 end type
 1813 
 1814 type xcb_input_xi_query_version_cookie_t
 1815     sequence as ulong
 1816 end type
 1817 
 1818 const XCB_INPUT_XI_QUERY_VERSION_ = 47
 1819 
 1820 type xcb_input_xi_query_version_request_t
 1821     major_opcode as ubyte
 1822     minor_opcode as ubyte
 1823     length as ushort
 1824     major_version as ushort
 1825     minor_version as ushort
 1826 end type
 1827 
 1828 type xcb_input_xi_query_version_reply_t
 1829     response_type as ubyte
 1830     pad0 as ubyte
 1831     sequence as ushort
 1832     length as ulong
 1833     major_version as ushort
 1834     minor_version as ushort
 1835     pad1(0 to 19) as ubyte
 1836 end type
 1837 
 1838 type xcb_input_device_class_type_t as long
 1839 enum
 1840     XCB_INPUT_DEVICE_CLASS_TYPE_KEY = 0
 1841     XCB_INPUT_DEVICE_CLASS_TYPE_BUTTON = 1
 1842     XCB_INPUT_DEVICE_CLASS_TYPE_VALUATOR = 2
 1843     XCB_INPUT_DEVICE_CLASS_TYPE_SCROLL = 3
 1844     XCB_INPUT_DEVICE_CLASS_TYPE_TOUCH = 8
 1845 end enum
 1846 
 1847 type xcb_input_device_type_t as long
 1848 enum
 1849     XCB_INPUT_DEVICE_TYPE_MASTER_POINTER = 1
 1850     XCB_INPUT_DEVICE_TYPE_MASTER_KEYBOARD = 2
 1851     XCB_INPUT_DEVICE_TYPE_SLAVE_POINTER = 3
 1852     XCB_INPUT_DEVICE_TYPE_SLAVE_KEYBOARD = 4
 1853     XCB_INPUT_DEVICE_TYPE_FLOATING_SLAVE = 5
 1854 end enum
 1855 
 1856 type xcb_input_scroll_flags_t as long
 1857 enum
 1858     XCB_INPUT_SCROLL_FLAGS_NO_EMULATION = 1
 1859     XCB_INPUT_SCROLL_FLAGS_PREFERRED = 2
 1860 end enum
 1861 
 1862 type xcb_input_scroll_type_t as long
 1863 enum
 1864     XCB_INPUT_SCROLL_TYPE_VERTICAL = 1
 1865     XCB_INPUT_SCROLL_TYPE_HORIZONTAL = 2
 1866 end enum
 1867 
 1868 type xcb_input_touch_mode_t as long
 1869 enum
 1870     XCB_INPUT_TOUCH_MODE_DIRECT = 1
 1871     XCB_INPUT_TOUCH_MODE_DEPENDENT = 2
 1872 end enum
 1873 
 1874 type xcb_input_button_class_t
 1875     as ushort type
 1876     len as ushort
 1877     sourceid as xcb_input_device_id_t
 1878     num_buttons as ushort
 1879 end type
 1880 
 1881 type xcb_input_button_class_iterator_t
 1882     data as xcb_input_button_class_t ptr
 1883     as long rem
 1884     index as long
 1885 end type
 1886 
 1887 type xcb_input_key_class_t
 1888     as ushort type
 1889     len as ushort
 1890     sourceid as xcb_input_device_id_t
 1891     num_keys as ushort
 1892 end type
 1893 
 1894 type xcb_input_key_class_iterator_t
 1895     data as xcb_input_key_class_t ptr
 1896     as long rem
 1897     index as long
 1898 end type
 1899 
 1900 type xcb_input_scroll_class_t
 1901     as ushort type
 1902     len as ushort
 1903     sourceid as xcb_input_device_id_t
 1904     number as ushort
 1905     scroll_type as ushort
 1906     pad0(0 to 1) as ubyte
 1907     flags as ulong
 1908     increment as xcb_input_fp3232_t
 1909 end type
 1910 
 1911 type xcb_input_scroll_class_iterator_t
 1912     data as xcb_input_scroll_class_t ptr
 1913     as long rem
 1914     index as long
 1915 end type
 1916 
 1917 type xcb_input_touch_class_t
 1918     as ushort type
 1919     len as ushort
 1920     sourceid as xcb_input_device_id_t
 1921     mode as ubyte
 1922     num_touches as ubyte
 1923 end type
 1924 
 1925 type xcb_input_touch_class_iterator_t
 1926     data as xcb_input_touch_class_t ptr
 1927     as long rem
 1928     index as long
 1929 end type
 1930 
 1931 type xcb_input_valuator_class_t
 1932     as ushort type
 1933     len as ushort
 1934     sourceid as xcb_input_device_id_t
 1935     number as ushort
 1936     label as xcb_atom_t
 1937     min as xcb_input_fp3232_t
 1938     max as xcb_input_fp3232_t
 1939     value as xcb_input_fp3232_t
 1940     resolution as ulong
 1941     mode as ubyte
 1942     pad0(0 to 2) as ubyte
 1943 end type
 1944 
 1945 type xcb_input_valuator_class_iterator_t
 1946     data as xcb_input_valuator_class_t ptr
 1947     as long rem
 1948     index as long
 1949 end type
 1950 
 1951 type xcb_input_device_class_t
 1952     as ushort type
 1953     len as ushort
 1954     sourceid as xcb_input_device_id_t
 1955     pad0(0 to 1) as ubyte
 1956 end type
 1957 
 1958 type xcb_input_device_class_iterator_t
 1959     data as xcb_input_device_class_t ptr
 1960     as long rem
 1961     index as long
 1962 end type
 1963 
 1964 type xcb_input_xi_device_info_t
 1965     deviceid as xcb_input_device_id_t
 1966     as ushort type
 1967     attachment as xcb_input_device_id_t
 1968     num_classes as ushort
 1969     name_len as ushort
 1970     enabled as ubyte
 1971     pad0 as ubyte
 1972 end type
 1973 
 1974 type xcb_input_xi_device_info_iterator_t
 1975     data as xcb_input_xi_device_info_t ptr
 1976     as long rem
 1977     index as long
 1978 end type
 1979 
 1980 type xcb_input_xi_query_device_cookie_t
 1981     sequence as ulong
 1982 end type
 1983 
 1984 const XCB_INPUT_XI_QUERY_DEVICE_ = 48
 1985 
 1986 type xcb_input_xi_query_device_request_t
 1987     major_opcode as ubyte
 1988     minor_opcode as ubyte
 1989     length as ushort
 1990     deviceid as xcb_input_device_id_t
 1991     pad0(0 to 1) as ubyte
 1992 end type
 1993 
 1994 type xcb_input_xi_query_device_reply_t
 1995     response_type as ubyte
 1996     pad0 as ubyte
 1997     sequence as ushort
 1998     length as ulong
 1999     num_infos as ushort
 2000     pad1(0 to 21) as ubyte
 2001 end type
 2002 
 2003 const XCB_INPUT_XI_SET_FOCUS_ = 49
 2004 
 2005 type xcb_input_xi_set_focus_request_t
 2006     major_opcode as ubyte
 2007     minor_opcode as ubyte
 2008     length as ushort
 2009     window as xcb_window_t
 2010     time as xcb_timestamp_t
 2011     deviceid as xcb_input_device_id_t
 2012     pad0(0 to 1) as ubyte
 2013 end type
 2014 
 2015 type xcb_input_xi_get_focus_cookie_t
 2016     sequence as ulong
 2017 end type
 2018 
 2019 const XCB_INPUT_XI_GET_FOCUS_ = 50
 2020 
 2021 type xcb_input_xi_get_focus_request_t
 2022     major_opcode as ubyte
 2023     minor_opcode as ubyte
 2024     length as ushort
 2025     deviceid as xcb_input_device_id_t
 2026     pad0(0 to 1) as ubyte
 2027 end type
 2028 
 2029 type xcb_input_xi_get_focus_reply_t
 2030     response_type as ubyte
 2031     pad0 as ubyte
 2032     sequence as ushort
 2033     length as ulong
 2034     focus as xcb_window_t
 2035     pad1(0 to 19) as ubyte
 2036 end type
 2037 
 2038 type xcb_input_grab_owner_t as long
 2039 enum
 2040     XCB_INPUT_GRAB_OWNER_NO_OWNER = 0
 2041     XCB_INPUT_GRAB_OWNER_OWNER = 1
 2042 end enum
 2043 
 2044 type xcb_input_xi_grab_device_cookie_t
 2045     sequence as ulong
 2046 end type
 2047 
 2048 const XCB_INPUT_XI_GRAB_DEVICE_ = 51
 2049 
 2050 type xcb_input_xi_grab_device_request_t
 2051     major_opcode as ubyte
 2052     minor_opcode as ubyte
 2053     length as ushort
 2054     window as xcb_window_t
 2055     time as xcb_timestamp_t
 2056     cursor as xcb_cursor_t
 2057     deviceid as xcb_input_device_id_t
 2058     mode as ubyte
 2059     paired_device_mode as ubyte
 2060     owner_events as ubyte
 2061     pad0 as ubyte
 2062     mask_len as ushort
 2063 end type
 2064 
 2065 type xcb_input_xi_grab_device_reply_t
 2066     response_type as ubyte
 2067     pad0 as ubyte
 2068     sequence as ushort
 2069     length as ulong
 2070     status as ubyte
 2071     pad1(0 to 22) as ubyte
 2072 end type
 2073 
 2074 const XCB_INPUT_XI_UNGRAB_DEVICE_ = 52
 2075 
 2076 type xcb_input_xi_ungrab_device_request_t
 2077     major_opcode as ubyte
 2078     minor_opcode as ubyte
 2079     length as ushort
 2080     time as xcb_timestamp_t
 2081     deviceid as xcb_input_device_id_t
 2082     pad0(0 to 1) as ubyte
 2083 end type
 2084 
 2085 type xcb_input_event_mode_t as long
 2086 enum
 2087     XCB_INPUT_EVENT_MODE_ASYNC_DEVICE = 0
 2088     XCB_INPUT_EVENT_MODE_SYNC_DEVICE = 1
 2089     XCB_INPUT_EVENT_MODE_REPLAY_DEVICE = 2
 2090     XCB_INPUT_EVENT_MODE_ASYNC_PAIRED_DEVICE = 3
 2091     XCB_INPUT_EVENT_MODE_ASYNC_PAIR = 4
 2092     XCB_INPUT_EVENT_MODE_SYNC_PAIR = 5
 2093     XCB_INPUT_EVENT_MODE_ACCEPT_TOUCH = 6
 2094     XCB_INPUT_EVENT_MODE_REJECT_TOUCH = 7
 2095 end enum
 2096 
 2097 const XCB_INPUT_XI_ALLOW_EVENTS_ = 53
 2098 
 2099 type xcb_input_xi_allow_events_request_t
 2100     major_opcode as ubyte
 2101     minor_opcode as ubyte
 2102     length as ushort
 2103     time as xcb_timestamp_t
 2104     deviceid as xcb_input_device_id_t
 2105     event_mode as ubyte
 2106     pad0 as ubyte
 2107     touchid as ulong
 2108     grab_window as xcb_window_t
 2109 end type
 2110 
 2111 type xcb_input_grab_mode_22_t as long
 2112 enum
 2113     XCB_INPUT_GRAB_MODE_22_SYNC = 0
 2114     XCB_INPUT_GRAB_MODE_22_ASYNC = 1
 2115     XCB_INPUT_GRAB_MODE_22_TOUCH = 2
 2116 end enum
 2117 
 2118 type xcb_input_grab_type_t as long
 2119 enum
 2120     XCB_INPUT_GRAB_TYPE_BUTTON = 0
 2121     XCB_INPUT_GRAB_TYPE_KEYCODE = 1
 2122     XCB_INPUT_GRAB_TYPE_ENTER = 2
 2123     XCB_INPUT_GRAB_TYPE_FOCUS_IN = 3
 2124     XCB_INPUT_GRAB_TYPE_TOUCH_BEGIN = 4
 2125 end enum
 2126 
 2127 type xcb_input_modifier_mask_t as long
 2128 enum
 2129     XCB_INPUT_MODIFIER_MASK_ANY = 2147483648
 2130 end enum
 2131 
 2132 type xcb_input_grab_modifier_info_t
 2133     modifiers as ulong
 2134     status as ubyte
 2135     pad0(0 to 2) as ubyte
 2136 end type
 2137 
 2138 type xcb_input_grab_modifier_info_iterator_t
 2139     data as xcb_input_grab_modifier_info_t ptr
 2140     as long rem
 2141     index as long
 2142 end type
 2143 
 2144 type xcb_input_xi_passive_grab_device_cookie_t
 2145     sequence as ulong
 2146 end type
 2147 
 2148 const XCB_INPUT_XI_PASSIVE_GRAB_DEVICE_ = 54
 2149 
 2150 type xcb_input_xi_passive_grab_device_request_t
 2151     major_opcode as ubyte
 2152     minor_opcode as ubyte
 2153     length as ushort
 2154     time as xcb_timestamp_t
 2155     grab_window as xcb_window_t
 2156     cursor as xcb_cursor_t
 2157     detail as ulong
 2158     deviceid as xcb_input_device_id_t
 2159     num_modifiers as ushort
 2160     mask_len as ushort
 2161     grab_type as ubyte
 2162     grab_mode as ubyte
 2163     paired_device_mode as ubyte
 2164     owner_events as ubyte
 2165     pad0(0 to 1) as ubyte
 2166 end type
 2167 
 2168 type xcb_input_xi_passive_grab_device_reply_t
 2169     response_type as ubyte
 2170     pad0 as ubyte
 2171     sequence as ushort
 2172     length as ulong
 2173     num_modifiers as ushort
 2174     pad1(0 to 21) as ubyte
 2175 end type
 2176 
 2177 const XCB_INPUT_XI_PASSIVE_UNGRAB_DEVICE_ = 55
 2178 
 2179 type xcb_input_xi_passive_ungrab_device_request_t
 2180     major_opcode as ubyte
 2181     minor_opcode as ubyte
 2182     length as ushort
 2183     grab_window as xcb_window_t
 2184     detail as ulong
 2185     deviceid as xcb_input_device_id_t
 2186     num_modifiers as ushort
 2187     grab_type as ubyte
 2188     pad0(0 to 2) as ubyte
 2189 end type
 2190 
 2191 type xcb_input_xi_list_properties_cookie_t
 2192     sequence as ulong
 2193 end type
 2194 
 2195 const XCB_INPUT_XI_LIST_PROPERTIES_ = 56
 2196 
 2197 type xcb_input_xi_list_properties_request_t
 2198     major_opcode as ubyte
 2199     minor_opcode as ubyte
 2200     length as ushort
 2201     deviceid as xcb_input_device_id_t
 2202     pad0(0 to 1) as ubyte
 2203 end type
 2204 
 2205 type xcb_input_xi_list_properties_reply_t
 2206     response_type as ubyte
 2207     pad0 as ubyte
 2208     sequence as ushort
 2209     length as ulong
 2210     num_properties as ushort
 2211     pad1(0 to 21) as ubyte
 2212 end type
 2213 
 2214 type xcb_input_xi_change_property_items_t
 2215     data8 as ubyte ptr
 2216     data16 as ushort ptr
 2217     data32 as ulong ptr
 2218 end type
 2219 
 2220 const XCB_INPUT_XI_CHANGE_PROPERTY_ = 57
 2221 
 2222 type xcb_input_xi_change_property_request_t
 2223     major_opcode as ubyte
 2224     minor_opcode as ubyte
 2225     length as ushort
 2226     deviceid as xcb_input_device_id_t
 2227     mode as ubyte
 2228     format as ubyte
 2229     property as xcb_atom_t
 2230     as xcb_atom_t type
 2231     num_items as ulong
 2232 end type
 2233 
 2234 const XCB_INPUT_XI_DELETE_PROPERTY_ = 58
 2235 
 2236 type xcb_input_xi_delete_property_request_t
 2237     major_opcode as ubyte
 2238     minor_opcode as ubyte
 2239     length as ushort
 2240     deviceid as xcb_input_device_id_t
 2241     pad0(0 to 1) as ubyte
 2242     property as xcb_atom_t
 2243 end type
 2244 
 2245 type xcb_input_xi_get_property_cookie_t
 2246     sequence as ulong
 2247 end type
 2248 
 2249 const XCB_INPUT_XI_GET_PROPERTY_ = 59
 2250 
 2251 type xcb_input_xi_get_property_request_t
 2252     major_opcode as ubyte
 2253     minor_opcode as ubyte
 2254     length as ushort
 2255     deviceid as xcb_input_device_id_t
 2256     _delete as ubyte
 2257     pad0 as ubyte
 2258     property as xcb_atom_t
 2259     as xcb_atom_t type
 2260     offset as ulong
 2261     len as ulong
 2262 end type
 2263 
 2264 type xcb_input_xi_get_property_items_t
 2265     data8 as ubyte ptr
 2266     data16 as ushort ptr
 2267     data32 as ulong ptr
 2268 end type
 2269 
 2270 type xcb_input_xi_get_property_reply_t
 2271     response_type as ubyte
 2272     pad0 as ubyte
 2273     sequence as ushort
 2274     length as ulong
 2275     as xcb_atom_t type
 2276     bytes_after as ulong
 2277     num_items as ulong
 2278     format as ubyte
 2279     pad1(0 to 10) as ubyte
 2280 end type
 2281 
 2282 type xcb_input_xi_get_selected_events_cookie_t
 2283     sequence as ulong
 2284 end type
 2285 
 2286 const XCB_INPUT_XI_GET_SELECTED_EVENTS_ = 60
 2287 
 2288 type xcb_input_xi_get_selected_events_request_t
 2289     major_opcode as ubyte
 2290     minor_opcode as ubyte
 2291     length as ushort
 2292     window as xcb_window_t
 2293 end type
 2294 
 2295 type xcb_input_xi_get_selected_events_reply_t
 2296     response_type as ubyte
 2297     pad0 as ubyte
 2298     sequence as ushort
 2299     length as ulong
 2300     num_masks as ushort
 2301     pad1(0 to 21) as ubyte
 2302 end type
 2303 
 2304 type xcb_input_barrier_release_pointer_info_t
 2305     deviceid as xcb_input_device_id_t
 2306     pad0(0 to 1) as ubyte
 2307     barrier as xcb_xfixes_barrier_t
 2308     eventid as ulong
 2309 end type
 2310 
 2311 type xcb_input_barrier_release_pointer_info_iterator_t
 2312     data as xcb_input_barrier_release_pointer_info_t ptr
 2313     as long rem
 2314     index as long
 2315 end type
 2316 
 2317 const XCB_INPUT_XI_BARRIER_RELEASE_POINTER_ = 61
 2318 
 2319 type xcb_input_xi_barrier_release_pointer_request_t
 2320     major_opcode as ubyte
 2321     minor_opcode as ubyte
 2322     length as ushort
 2323     num_barriers as ulong
 2324 end type
 2325 
 2326 const XCB_INPUT_DEVICE_VALUATOR = 0
 2327 
 2328 type xcb_input_device_valuator_event_t
 2329     response_type as ubyte
 2330     device_id as ubyte
 2331     sequence as ushort
 2332     device_state as ushort
 2333     num_valuators as ubyte
 2334     first_valuator as ubyte
 2335     valuators(0 to 5) as long
 2336 end type
 2337 
 2338 const XCB_INPUT_DEVICE_KEY_PRESS = 1
 2339 
 2340 type xcb_input_device_key_press_event_t
 2341     response_type as ubyte
 2342     detail as ubyte
 2343     sequence as ushort
 2344     time as xcb_timestamp_t
 2345     root as xcb_window_t
 2346     event as xcb_window_t
 2347     child as xcb_window_t
 2348     root_x as short
 2349     root_y as short
 2350     event_x as short
 2351     event_y as short
 2352     state as ushort
 2353     same_screen as ubyte
 2354     device_id as ubyte
 2355 end type
 2356 
 2357 const XCB_INPUT_DEVICE_KEY_RELEASE = 2
 2358 type xcb_input_device_key_release_event_t as xcb_input_device_key_press_event_t
 2359 const XCB_INPUT_DEVICE_BUTTON_PRESS = 3
 2360 type xcb_input_device_button_press_event_t as xcb_input_device_key_press_event_t
 2361 const XCB_INPUT_DEVICE_BUTTON_RELEASE = 4
 2362 type xcb_input_device_button_release_event_t as xcb_input_device_key_press_event_t
 2363 const XCB_INPUT_DEVICE_MOTION_NOTIFY = 5
 2364 type xcb_input_device_motion_notify_event_t as xcb_input_device_key_press_event_t
 2365 const XCB_INPUT_DEVICE_FOCUS_IN = 6
 2366 
 2367 type xcb_input_device_focus_in_event_t
 2368     response_type as ubyte
 2369     detail as ubyte
 2370     sequence as ushort
 2371     time as xcb_timestamp_t
 2372     window as xcb_window_t
 2373     mode as ubyte
 2374     device_id as ubyte
 2375     pad0(0 to 17) as ubyte
 2376 end type
 2377 
 2378 const XCB_INPUT_DEVICE_FOCUS_OUT = 7
 2379 type xcb_input_device_focus_out_event_t as xcb_input_device_focus_in_event_t
 2380 const XCB_INPUT_PROXIMITY_IN = 8
 2381 type xcb_input_proximity_in_event_t as xcb_input_device_key_press_event_t
 2382 const XCB_INPUT_PROXIMITY_OUT = 9
 2383 type xcb_input_proximity_out_event_t as xcb_input_device_key_press_event_t
 2384 const XCB_INPUT_DEVICE_STATE_NOTIFY = 10
 2385 
 2386 type xcb_input_device_state_notify_event_t
 2387     response_type as ubyte
 2388     device_id as ubyte
 2389     sequence as ushort
 2390     time as xcb_timestamp_t
 2391     num_keys as ubyte
 2392     num_buttons as ubyte
 2393     num_valuators as ubyte
 2394     classes_reported as ubyte
 2395     buttons(0 to 3) as ubyte
 2396     keys(0 to 3) as ubyte
 2397     valuators(0 to 2) as ulong
 2398 end type
 2399 
 2400 const XCB_INPUT_DEVICE_MAPPING_NOTIFY = 11
 2401 
 2402 type xcb_input_device_mapping_notify_event_t
 2403     response_type as ubyte
 2404     device_id as ubyte
 2405     sequence as ushort
 2406     request as ubyte
 2407     first_keycode as xcb_input_key_code_t
 2408     count as ubyte
 2409     pad0 as ubyte
 2410     time as xcb_timestamp_t
 2411     pad1(0 to 19) as ubyte
 2412 end type
 2413 
 2414 const XCB_INPUT_CHANGE_DEVICE_NOTIFY = 12
 2415 
 2416 type xcb_input_change_device_notify_event_t
 2417     response_type as ubyte
 2418     device_id as ubyte
 2419     sequence as ushort
 2420     time as xcb_timestamp_t
 2421     request as ubyte
 2422     pad0(0 to 22) as ubyte
 2423 end type
 2424 
 2425 const XCB_INPUT_DEVICE_KEY_STATE_NOTIFY = 13
 2426 
 2427 type xcb_input_device_key_state_notify_event_t
 2428     response_type as ubyte
 2429     device_id as ubyte
 2430     sequence as ushort
 2431     keys(0 to 27) as ubyte
 2432 end type
 2433 
 2434 const XCB_INPUT_DEVICE_BUTTON_STATE_NOTIFY = 14
 2435 
 2436 type xcb_input_device_button_state_notify_event_t
 2437     response_type as ubyte
 2438     device_id as ubyte
 2439     sequence as ushort
 2440     buttons(0 to 27) as ubyte
 2441 end type
 2442 
 2443 type xcb_input_device_change_t as long
 2444 enum
 2445     XCB_INPUT_DEVICE_CHANGE_ADDED = 0
 2446     XCB_INPUT_DEVICE_CHANGE_REMOVED = 1
 2447     XCB_INPUT_DEVICE_CHANGE_ENABLED = 2
 2448     XCB_INPUT_DEVICE_CHANGE_DISABLED = 3
 2449     XCB_INPUT_DEVICE_CHANGE_UNRECOVERABLE = 4
 2450     XCB_INPUT_DEVICE_CHANGE_CONTROL_CHANGED = 5
 2451 end enum
 2452 
 2453 const XCB_INPUT_DEVICE_PRESENCE_NOTIFY = 15
 2454 
 2455 type xcb_input_device_presence_notify_event_t
 2456     response_type as ubyte
 2457     pad0 as ubyte
 2458     sequence as ushort
 2459     time as xcb_timestamp_t
 2460     devchange as ubyte
 2461     device_id as ubyte
 2462     control as ushort
 2463     pad1(0 to 19) as ubyte
 2464 end type
 2465 
 2466 const XCB_INPUT_DEVICE_PROPERTY_NOTIFY = 16
 2467 
 2468 type xcb_input_device_property_notify_event_t
 2469     response_type as ubyte
 2470     state as ubyte
 2471     sequence as ushort
 2472     time as xcb_timestamp_t
 2473     property as xcb_atom_t
 2474     pad0(0 to 18) as ubyte
 2475     device_id as ubyte
 2476 end type
 2477 
 2478 type xcb_input_change_reason_t as long
 2479 enum
 2480     XCB_INPUT_CHANGE_REASON_SLAVE_SWITCH = 1
 2481     XCB_INPUT_CHANGE_REASON_DEVICE_CHANGE = 2
 2482 end enum
 2483 
 2484 const XCB_INPUT_DEVICE_CHANGED = 1
 2485 
 2486 type xcb_input_device_changed_event_t
 2487     response_type as ubyte
 2488     extension as ubyte
 2489     sequence as ushort
 2490     length as ulong
 2491     event_type as ushort
 2492     deviceid as xcb_input_device_id_t
 2493     time as xcb_timestamp_t
 2494     num_classes as ushort
 2495     sourceid as xcb_input_device_id_t
 2496     reason as ubyte
 2497     pad0(0 to 10) as ubyte
 2498     full_sequence as ulong
 2499 end type
 2500 
 2501 type xcb_input_key_event_flags_t as long
 2502 enum
 2503     XCB_INPUT_KEY_EVENT_FLAGS_KEY_REPEAT = 65536
 2504 end enum
 2505 
 2506 const XCB_INPUT_KEY_PRESS = 2
 2507 
 2508 type xcb_input_key_press_event_t
 2509     response_type as ubyte
 2510     extension as ubyte
 2511     sequence as ushort
 2512     length as ulong
 2513     event_type as ushort
 2514     deviceid as xcb_input_device_id_t
 2515     time as xcb_timestamp_t
 2516     detail as ulong
 2517     root as xcb_window_t
 2518     event as xcb_window_t
 2519     child as xcb_window_t
 2520     full_sequence as ulong
 2521     root_x as xcb_input_fp1616_t
 2522     root_y as xcb_input_fp1616_t
 2523     event_x as xcb_input_fp1616_t
 2524     event_y as xcb_input_fp1616_t
 2525     buttons_len as ushort
 2526     valuators_len as ushort
 2527     sourceid as xcb_input_device_id_t
 2528     pad0(0 to 1) as ubyte
 2529     flags as ulong
 2530     mods as xcb_input_modifier_info_t
 2531     group as xcb_input_group_info_t
 2532 end type
 2533 
 2534 const XCB_INPUT_KEY_RELEASE = 3
 2535 type xcb_input_key_release_event_t as xcb_input_key_press_event_t
 2536 
 2537 type xcb_input_pointer_event_flags_t as long
 2538 enum
 2539     XCB_INPUT_POINTER_EVENT_FLAGS_POINTER_EMULATED = 65536
 2540 end enum
 2541 
 2542 const XCB_INPUT_BUTTON_PRESS = 4
 2543 
 2544 type xcb_input_button_press_event_t
 2545     response_type as ubyte
 2546     extension as ubyte
 2547     sequence as ushort
 2548     length as ulong
 2549     event_type as ushort
 2550     deviceid as xcb_input_device_id_t
 2551     time as xcb_timestamp_t
 2552     detail as ulong
 2553     root as xcb_window_t
 2554     event as xcb_window_t
 2555     child as xcb_window_t
 2556     full_sequence as ulong
 2557     root_x as xcb_input_fp1616_t
 2558     root_y as xcb_input_fp1616_t
 2559     event_x as xcb_input_fp1616_t
 2560     event_y as xcb_input_fp1616_t
 2561     buttons_len as ushort
 2562     valuators_len as ushort
 2563     sourceid as xcb_input_device_id_t
 2564     pad0(0 to 1) as ubyte
 2565     flags as ulong
 2566     mods as xcb_input_modifier_info_t
 2567     group as xcb_input_group_info_t
 2568 end type
 2569 
 2570 const XCB_INPUT_BUTTON_RELEASE = 5
 2571 type xcb_input_button_release_event_t as xcb_input_button_press_event_t
 2572 const XCB_INPUT_MOTION = 6
 2573 type xcb_input_motion_event_t as xcb_input_button_press_event_t
 2574 
 2575 type xcb_input_notify_mode_t as long
 2576 enum
 2577     XCB_INPUT_NOTIFY_MODE_NORMAL = 0
 2578     XCB_INPUT_NOTIFY_MODE_GRAB = 1
 2579     XCB_INPUT_NOTIFY_MODE_UNGRAB = 2
 2580     XCB_INPUT_NOTIFY_MODE_WHILE_GRABBED = 3
 2581     XCB_INPUT_NOTIFY_MODE_PASSIVE_GRAB = 4
 2582     XCB_INPUT_NOTIFY_MODE_PASSIVE_UNGRAB = 5
 2583 end enum
 2584 
 2585 type xcb_input_notify_detail_t as long
 2586 enum
 2587     XCB_INPUT_NOTIFY_DETAIL_ANCESTOR = 0
 2588     XCB_INPUT_NOTIFY_DETAIL_VIRTUAL = 1
 2589     XCB_INPUT_NOTIFY_DETAIL_INFERIOR = 2
 2590     XCB_INPUT_NOTIFY_DETAIL_NONLINEAR = 3
 2591     XCB_INPUT_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4
 2592     XCB_INPUT_NOTIFY_DETAIL_POINTER = 5
 2593     XCB_INPUT_NOTIFY_DETAIL_POINTER_ROOT = 6
 2594     XCB_INPUT_NOTIFY_DETAIL_NONE = 7
 2595 end enum
 2596 
 2597 const XCB_INPUT_ENTER = 7
 2598 
 2599 type xcb_input_enter_event_t
 2600     response_type as ubyte
 2601     extension as ubyte
 2602     sequence as ushort
 2603     length as ulong
 2604     event_type as ushort
 2605     deviceid as xcb_input_device_id_t
 2606     time as xcb_timestamp_t
 2607     sourceid as xcb_input_device_id_t
 2608     mode as ubyte
 2609     detail as ubyte
 2610     root as xcb_window_t
 2611     event as xcb_window_t
 2612     child as xcb_window_t
 2613     full_sequence as ulong
 2614     root_x as xcb_input_fp1616_t
 2615     root_y as xcb_input_fp1616_t
 2616     event_x as xcb_input_fp1616_t
 2617     event_y as xcb_input_fp1616_t
 2618     same_screen as ubyte
 2619     focus as ubyte
 2620     buttons_len as ushort
 2621     mods as xcb_input_modifier_info_t
 2622     group as xcb_input_group_info_t
 2623 end type
 2624 
 2625 const XCB_INPUT_LEAVE = 8
 2626 type xcb_input_leave_event_t as xcb_input_enter_event_t
 2627 const XCB_INPUT_FOCUS_IN = 9
 2628 type xcb_input_focus_in_event_t as xcb_input_enter_event_t
 2629 const XCB_INPUT_FOCUS_OUT = 10
 2630 type xcb_input_focus_out_event_t as xcb_input_enter_event_t
 2631 
 2632 type xcb_input_hierarchy_mask_t as long
 2633 enum
 2634     XCB_INPUT_HIERARCHY_MASK_MASTER_ADDED = 1
 2635     XCB_INPUT_HIERARCHY_MASK_MASTER_REMOVED = 2
 2636     XCB_INPUT_HIERARCHY_MASK_SLAVE_ADDED = 4
 2637     XCB_INPUT_HIERARCHY_MASK_SLAVE_REMOVED = 8
 2638     XCB_INPUT_HIERARCHY_MASK_SLAVE_ATTACHED = 16
 2639     XCB_INPUT_HIERARCHY_MASK_SLAVE_DETACHED = 32
 2640     XCB_INPUT_HIERARCHY_MASK_DEVICE_ENABLED = 64
 2641     XCB_INPUT_HIERARCHY_MASK_DEVICE_DISABLED = 128
 2642 end enum
 2643 
 2644 type xcb_input_hierarchy_info_t
 2645     deviceid as xcb_input_device_id_t
 2646     attachment as xcb_input_device_id_t
 2647     as ubyte type
 2648     enabled as ubyte
 2649     pad0(0 to 1) as ubyte
 2650     flags as ulong
 2651 end type
 2652 
 2653 type xcb_input_hierarchy_info_iterator_t
 2654     data as xcb_input_hierarchy_info_t ptr
 2655     as long rem
 2656     index as long
 2657 end type
 2658 
 2659 const XCB_INPUT_HIERARCHY = 11
 2660 
 2661 type xcb_input_hierarchy_event_t
 2662     response_type as ubyte
 2663     extension as ubyte
 2664     sequence as ushort
 2665     length as ulong
 2666     event_type as ushort
 2667     deviceid as xcb_input_device_id_t
 2668     time as xcb_timestamp_t
 2669     flags as ulong
 2670     num_infos as ushort
 2671     pad0(0 to 9) as ubyte
 2672     full_sequence as ulong
 2673 end type
 2674 
 2675 type xcb_input_property_flag_t as long
 2676 enum
 2677     XCB_INPUT_PROPERTY_FLAG_DELETED = 0
 2678     XCB_INPUT_PROPERTY_FLAG_CREATED = 1
 2679     XCB_INPUT_PROPERTY_FLAG_MODIFIED = 2
 2680 end enum
 2681 
 2682 const XCB_INPUT_PROPERTY = 12
 2683 
 2684 type xcb_input_property_event_t
 2685     response_type as ubyte
 2686     extension as ubyte
 2687     sequence as ushort
 2688     length as ulong
 2689     event_type as ushort
 2690     deviceid as xcb_input_device_id_t
 2691     time as xcb_timestamp_t
 2692     property as xcb_atom_t
 2693     what as ubyte
 2694     pad0(0 to 10) as ubyte
 2695     full_sequence as ulong
 2696 end type
 2697 
 2698 const XCB_INPUT_RAW_KEY_PRESS = 13
 2699 
 2700 type xcb_input_raw_key_press_event_t
 2701     response_type as ubyte
 2702     extension as ubyte
 2703     sequence as ushort
 2704     length as ulong
 2705     event_type as ushort
 2706     deviceid as xcb_input_device_id_t
 2707     time as xcb_timestamp_t
 2708     detail as ulong
 2709     sourceid as xcb_input_device_id_t
 2710     valuators_len as ushort
 2711     flags as ulong
 2712     pad0(0 to 3) as ubyte
 2713     full_sequence as ulong
 2714 end type
 2715 
 2716 const XCB_INPUT_RAW_KEY_RELEASE = 14
 2717 type xcb_input_raw_key_release_event_t as xcb_input_raw_key_press_event_t
 2718 const XCB_INPUT_RAW_BUTTON_PRESS = 15
 2719 
 2720 type xcb_input_raw_button_press_event_t
 2721     response_type as ubyte
 2722     extension as ubyte
 2723     sequence as ushort
 2724     length as ulong
 2725     event_type as ushort
 2726     deviceid as xcb_input_device_id_t
 2727     time as xcb_timestamp_t
 2728     detail as ulong
 2729     sourceid as xcb_input_device_id_t
 2730     valuators_len as ushort
 2731     flags as ulong
 2732     pad0(0 to 3) as ubyte
 2733     full_sequence as ulong
 2734 end type
 2735 
 2736 const XCB_INPUT_RAW_BUTTON_RELEASE = 16
 2737 type xcb_input_raw_button_release_event_t as xcb_input_raw_button_press_event_t
 2738 const XCB_INPUT_RAW_MOTION = 17
 2739 type xcb_input_raw_motion_event_t as xcb_input_raw_button_press_event_t
 2740 
 2741 type xcb_input_touch_event_flags_t as long
 2742 enum
 2743     XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_PENDING_END = 65536
 2744     XCB_INPUT_TOUCH_EVENT_FLAGS_TOUCH_EMULATING_POINTER = 131072
 2745 end enum
 2746 
 2747 const XCB_INPUT_TOUCH_BEGIN = 18
 2748 
 2749 type xcb_input_touch_begin_event_t
 2750     response_type as ubyte
 2751     extension as ubyte
 2752     sequence as ushort
 2753     length as ulong
 2754     event_type as ushort
 2755     deviceid as xcb_input_device_id_t
 2756     time as xcb_timestamp_t
 2757     detail as ulong
 2758     root as xcb_window_t
 2759     event as xcb_window_t
 2760     child as xcb_window_t
 2761     full_sequence as ulong
 2762     root_x as xcb_input_fp1616_t
 2763     root_y as xcb_input_fp1616_t
 2764     event_x as xcb_input_fp1616_t
 2765     event_y as xcb_input_fp1616_t
 2766     buttons_len as ushort
 2767     valuators_len as ushort
 2768     sourceid as xcb_input_device_id_t
 2769     pad0(0 to 1) as ubyte
 2770     flags as ulong
 2771     mods as xcb_input_modifier_info_t
 2772     group as xcb_input_group_info_t
 2773 end type
 2774 
 2775 const XCB_INPUT_TOUCH_UPDATE = 19
 2776 type xcb_input_touch_update_event_t as xcb_input_touch_begin_event_t
 2777 const XCB_INPUT_TOUCH_END = 20
 2778 type xcb_input_touch_end_event_t as xcb_input_touch_begin_event_t
 2779 
 2780 type xcb_input_touch_ownership_flags_t as long
 2781 enum
 2782     XCB_INPUT_TOUCH_OWNERSHIP_FLAGS_NONE = 0
 2783 end enum
 2784 
 2785 const XCB_INPUT_TOUCH_OWNERSHIP = 21
 2786 
 2787 type xcb_input_touch_ownership_event_t
 2788     response_type as ubyte
 2789     extension as ubyte
 2790     sequence as ushort
 2791     length as ulong
 2792     event_type as ushort
 2793     deviceid as xcb_input_device_id_t
 2794     time as xcb_timestamp_t
 2795     touchid as ulong
 2796     root as xcb_window_t
 2797     event as xcb_window_t
 2798     child as xcb_window_t
 2799     full_sequence as ulong
 2800     sourceid as xcb_input_device_id_t
 2801     pad0(0 to 1) as ubyte
 2802     flags as ulong
 2803     pad1(0 to 7) as ubyte
 2804 end type
 2805 
 2806 const XCB_INPUT_RAW_TOUCH_BEGIN = 22
 2807 
 2808 type xcb_input_raw_touch_begin_event_t
 2809     response_type as ubyte
 2810     extension as ubyte
 2811     sequence as ushort
 2812     length as ulong
 2813     event_type as ushort
 2814     deviceid as xcb_input_device_id_t
 2815     time as xcb_timestamp_t
 2816     detail as ulong
 2817     sourceid as xcb_input_device_id_t
 2818     valuators_len as ushort
 2819     flags as ulong
 2820     pad0(0 to 3) as ubyte
 2821     full_sequence as ulong
 2822 end type
 2823 
 2824 const XCB_INPUT_RAW_TOUCH_UPDATE = 23
 2825 type xcb_input_raw_touch_update_event_t as xcb_input_raw_touch_begin_event_t
 2826 const XCB_INPUT_RAW_TOUCH_END = 24
 2827 type xcb_input_raw_touch_end_event_t as xcb_input_raw_touch_begin_event_t
 2828 const XCB_INPUT_BARRIER_HIT = 25
 2829 
 2830 type xcb_input_barrier_hit_event_t
 2831     response_type as ubyte
 2832     extension as ubyte
 2833     sequence as ushort
 2834     length as ulong
 2835     event_type as ushort
 2836     deviceid as xcb_input_device_id_t
 2837     time as xcb_timestamp_t
 2838     eventid as ulong
 2839     root as xcb_window_t
 2840     event as xcb_window_t
 2841     barrier as xcb_xfixes_barrier_t
 2842     full_sequence as ulong
 2843     dtime as ulong
 2844     flags as ulong
 2845     sourceid as xcb_input_device_id_t
 2846     pad0(0 to 1) as ubyte
 2847     root_x as xcb_input_fp1616_t
 2848     root_y as xcb_input_fp1616_t
 2849     dx as xcb_input_fp3232_t
 2850     dy as xcb_input_fp3232_t
 2851 end type
 2852 
 2853 const XCB_INPUT_BARRIER_LEAVE = 26
 2854 type xcb_input_barrier_leave_event_t as xcb_input_barrier_hit_event_t
 2855 const XCB_INPUT_DEVICE = 0
 2856 
 2857 type xcb_input_device_error_t
 2858     response_type as ubyte
 2859     error_code as ubyte
 2860     sequence as ushort
 2861 end type
 2862 
 2863 const XCB_INPUT_EVENT = 1
 2864 
 2865 type xcb_input_event_error_t
 2866     response_type as ubyte
 2867     error_code as ubyte
 2868     sequence as ushort
 2869 end type
 2870 
 2871 const XCB_INPUT_MODE = 2
 2872 
 2873 type xcb_input_mode_error_t
 2874     response_type as ubyte
 2875     error_code as ubyte
 2876     sequence as ushort
 2877 end type
 2878 
 2879 const XCB_INPUT_DEVICE_BUSY = 3
 2880 
 2881 type xcb_input_device_busy_error_t
 2882     response_type as ubyte
 2883     error_code as ubyte
 2884     sequence as ushort
 2885 end type
 2886 
 2887 const XCB_INPUT_CLASS = 4
 2888 
 2889 type xcb_input_class_error_t
 2890     response_type as ubyte
 2891     error_code as ubyte
 2892     sequence as ushort
 2893 end type
 2894 
 2895 declare sub xcb_input_event_class_next(byval i as xcb_input_event_class_iterator_t ptr)
 2896 declare function xcb_input_event_class_end(byval i as xcb_input_event_class_iterator_t) as xcb_generic_iterator_t
 2897 declare sub xcb_input_key_code_next(byval i as xcb_input_key_code_iterator_t ptr)
 2898 declare function xcb_input_key_code_end(byval i as xcb_input_key_code_iterator_t) as xcb_generic_iterator_t
 2899 declare sub xcb_input_device_id_next(byval i as xcb_input_device_id_iterator_t ptr)
 2900 declare function xcb_input_device_id_end(byval i as xcb_input_device_id_iterator_t) as xcb_generic_iterator_t
 2901 declare sub xcb_input_fp1616_next(byval i as xcb_input_fp1616_iterator_t ptr)
 2902 declare function xcb_input_fp1616_end(byval i as xcb_input_fp1616_iterator_t) as xcb_generic_iterator_t
 2903 declare sub xcb_input_fp3232_next(byval i as xcb_input_fp3232_iterator_t ptr)
 2904 declare function xcb_input_fp3232_end(byval i as xcb_input_fp3232_iterator_t) as xcb_generic_iterator_t
 2905 declare function xcb_input_get_extension_version_sizeof(byval _buffer as const any ptr) as long
 2906 declare function xcb_input_get_extension_version(byval c as xcb_connection_t ptr, byval name_len as ushort, byval name as const zstring ptr) as xcb_input_get_extension_version_cookie_t
 2907 declare function xcb_input_get_extension_version_unchecked(byval c as xcb_connection_t ptr, byval name_len as ushort, byval name as const zstring ptr) as xcb_input_get_extension_version_cookie_t
 2908 declare function xcb_input_get_extension_version_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_extension_version_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_extension_version_reply_t ptr
 2909 declare sub xcb_input_device_info_next(byval i as xcb_input_device_info_iterator_t ptr)
 2910 declare function xcb_input_device_info_end(byval i as xcb_input_device_info_iterator_t) as xcb_generic_iterator_t
 2911 declare sub xcb_input_key_info_next(byval i as xcb_input_key_info_iterator_t ptr)
 2912 declare function xcb_input_key_info_end(byval i as xcb_input_key_info_iterator_t) as xcb_generic_iterator_t
 2913 declare sub xcb_input_button_info_next(byval i as xcb_input_button_info_iterator_t ptr)
 2914 declare function xcb_input_button_info_end(byval i as xcb_input_button_info_iterator_t) as xcb_generic_iterator_t
 2915 declare sub xcb_input_axis_info_next(byval i as xcb_input_axis_info_iterator_t ptr)
 2916 declare function xcb_input_axis_info_end(byval i as xcb_input_axis_info_iterator_t) as xcb_generic_iterator_t
 2917 declare function xcb_input_valuator_info_sizeof(byval _buffer as const any ptr) as long
 2918 declare function xcb_input_valuator_info_axes(byval R as const xcb_input_valuator_info_t ptr) as xcb_input_axis_info_t ptr
 2919 declare function xcb_input_valuator_info_axes_length(byval R as const xcb_input_valuator_info_t ptr) as long
 2920 declare function xcb_input_valuator_info_axes_iterator(byval R as const xcb_input_valuator_info_t ptr) as xcb_input_axis_info_iterator_t
 2921 declare sub xcb_input_valuator_info_next(byval i as xcb_input_valuator_info_iterator_t ptr)
 2922 declare function xcb_input_valuator_info_end(byval i as xcb_input_valuator_info_iterator_t) as xcb_generic_iterator_t
 2923 declare sub xcb_input_input_info_next(byval i as xcb_input_input_info_iterator_t ptr)
 2924 declare function xcb_input_input_info_end(byval i as xcb_input_input_info_iterator_t) as xcb_generic_iterator_t
 2925 declare function xcb_input_device_name_sizeof(byval _buffer as const any ptr) as long
 2926 declare function xcb_input_device_name_string(byval R as const xcb_input_device_name_t ptr) as zstring ptr
 2927 declare function xcb_input_device_name_string_length(byval R as const xcb_input_device_name_t ptr) as long
 2928 declare function xcb_input_device_name_string_end(byval R as const xcb_input_device_name_t ptr) as xcb_generic_iterator_t
 2929 declare sub xcb_input_device_name_next(byval i as xcb_input_device_name_iterator_t ptr)
 2930 declare function xcb_input_device_name_end(byval i as xcb_input_device_name_iterator_t) as xcb_generic_iterator_t
 2931 declare function xcb_input_list_input_devices_sizeof(byval _buffer as const any ptr) as long
 2932 declare function xcb_input_list_input_devices(byval c as xcb_connection_t ptr) as xcb_input_list_input_devices_cookie_t
 2933 declare function xcb_input_list_input_devices_unchecked(byval c as xcb_connection_t ptr) as xcb_input_list_input_devices_cookie_t
 2934 declare function xcb_input_list_input_devices_devices(byval R as const xcb_input_list_input_devices_reply_t ptr) as xcb_input_device_info_t ptr
 2935 declare function xcb_input_list_input_devices_devices_length(byval R as const xcb_input_list_input_devices_reply_t ptr) as long
 2936 declare function xcb_input_list_input_devices_devices_iterator(byval R as const xcb_input_list_input_devices_reply_t ptr) as xcb_input_device_info_iterator_t
 2937 declare function xcb_input_list_input_devices_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_list_input_devices_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_list_input_devices_reply_t ptr
 2938 declare sub xcb_input_input_class_info_next(byval i as xcb_input_input_class_info_iterator_t ptr)
 2939 declare function xcb_input_input_class_info_end(byval i as xcb_input_input_class_info_iterator_t) as xcb_generic_iterator_t
 2940 declare function xcb_input_open_device_sizeof(byval _buffer as const any ptr) as long
 2941 declare function xcb_input_open_device(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_open_device_cookie_t
 2942 declare function xcb_input_open_device_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_open_device_cookie_t
 2943 declare function xcb_input_open_device_class_info(byval R as const xcb_input_open_device_reply_t ptr) as xcb_input_input_class_info_t ptr
 2944 declare function xcb_input_open_device_class_info_length(byval R as const xcb_input_open_device_reply_t ptr) as long
 2945 declare function xcb_input_open_device_class_info_iterator(byval R as const xcb_input_open_device_reply_t ptr) as xcb_input_input_class_info_iterator_t
 2946 declare function xcb_input_open_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_open_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_open_device_reply_t ptr
 2947 declare function xcb_input_close_device_checked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_void_cookie_t
 2948 declare function xcb_input_close_device(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_void_cookie_t
 2949 declare function xcb_input_set_device_mode(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval mode as ubyte) as xcb_input_set_device_mode_cookie_t
 2950 declare function xcb_input_set_device_mode_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval mode as ubyte) as xcb_input_set_device_mode_cookie_t
 2951 declare function xcb_input_set_device_mode_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_set_device_mode_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_set_device_mode_reply_t ptr
 2952 declare function xcb_input_select_extension_event_sizeof(byval _buffer as const any ptr) as long
 2953 declare function xcb_input_select_extension_event_checked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval num_classes as ushort, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2954 declare function xcb_input_select_extension_event(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval num_classes as ushort, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2955 declare function xcb_input_get_selected_extension_events_sizeof(byval _buffer as const any ptr) as long
 2956 declare function xcb_input_get_selected_extension_events(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_get_selected_extension_events_cookie_t
 2957 declare function xcb_input_get_selected_extension_events_unchecked(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_get_selected_extension_events_cookie_t
 2958 declare function xcb_input_get_selected_extension_events_this_classes(byval R as const xcb_input_get_selected_extension_events_reply_t ptr) as xcb_input_event_class_t ptr
 2959 declare function xcb_input_get_selected_extension_events_this_classes_length(byval R as const xcb_input_get_selected_extension_events_reply_t ptr) as long
 2960 declare function xcb_input_get_selected_extension_events_this_classes_end(byval R as const xcb_input_get_selected_extension_events_reply_t ptr) as xcb_generic_iterator_t
 2961 declare function xcb_input_get_selected_extension_events_all_classes(byval R as const xcb_input_get_selected_extension_events_reply_t ptr) as xcb_input_event_class_t ptr
 2962 declare function xcb_input_get_selected_extension_events_all_classes_length(byval R as const xcb_input_get_selected_extension_events_reply_t ptr) as long
 2963 declare function xcb_input_get_selected_extension_events_all_classes_end(byval R as const xcb_input_get_selected_extension_events_reply_t ptr) as xcb_generic_iterator_t
 2964 declare function xcb_input_get_selected_extension_events_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_selected_extension_events_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_selected_extension_events_reply_t ptr
 2965 declare function xcb_input_change_device_dont_propagate_list_sizeof(byval _buffer as const any ptr) as long
 2966 declare function xcb_input_change_device_dont_propagate_list_checked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval num_classes as ushort, byval mode as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2967 declare function xcb_input_change_device_dont_propagate_list(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval num_classes as ushort, byval mode as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2968 declare function xcb_input_get_device_dont_propagate_list_sizeof(byval _buffer as const any ptr) as long
 2969 declare function xcb_input_get_device_dont_propagate_list(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_get_device_dont_propagate_list_cookie_t
 2970 declare function xcb_input_get_device_dont_propagate_list_unchecked(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_get_device_dont_propagate_list_cookie_t
 2971 declare function xcb_input_get_device_dont_propagate_list_classes(byval R as const xcb_input_get_device_dont_propagate_list_reply_t ptr) as xcb_input_event_class_t ptr
 2972 declare function xcb_input_get_device_dont_propagate_list_classes_length(byval R as const xcb_input_get_device_dont_propagate_list_reply_t ptr) as long
 2973 declare function xcb_input_get_device_dont_propagate_list_classes_end(byval R as const xcb_input_get_device_dont_propagate_list_reply_t ptr) as xcb_generic_iterator_t
 2974 declare function xcb_input_get_device_dont_propagate_list_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_dont_propagate_list_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_dont_propagate_list_reply_t ptr
 2975 declare sub xcb_input_device_time_coord_next(byval i as xcb_input_device_time_coord_iterator_t ptr)
 2976 declare function xcb_input_device_time_coord_end(byval i as xcb_input_device_time_coord_iterator_t) as xcb_generic_iterator_t
 2977 declare function xcb_input_get_device_motion_events(byval c as xcb_connection_t ptr, byval start as xcb_timestamp_t, byval stop as xcb_timestamp_t, byval device_id as ubyte) as xcb_input_get_device_motion_events_cookie_t
 2978 declare function xcb_input_get_device_motion_events_unchecked(byval c as xcb_connection_t ptr, byval start as xcb_timestamp_t, byval stop as xcb_timestamp_t, byval device_id as ubyte) as xcb_input_get_device_motion_events_cookie_t
 2979 declare function xcb_input_get_device_motion_events_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_motion_events_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_motion_events_reply_t ptr
 2980 declare function xcb_input_change_keyboard_device(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_change_keyboard_device_cookie_t
 2981 declare function xcb_input_change_keyboard_device_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_change_keyboard_device_cookie_t
 2982 declare function xcb_input_change_keyboard_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_change_keyboard_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_change_keyboard_device_reply_t ptr
 2983 declare function xcb_input_change_pointer_device(byval c as xcb_connection_t ptr, byval x_axis as ubyte, byval y_axis as ubyte, byval device_id as ubyte) as xcb_input_change_pointer_device_cookie_t
 2984 declare function xcb_input_change_pointer_device_unchecked(byval c as xcb_connection_t ptr, byval x_axis as ubyte, byval y_axis as ubyte, byval device_id as ubyte) as xcb_input_change_pointer_device_cookie_t
 2985 declare function xcb_input_change_pointer_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_change_pointer_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_change_pointer_device_reply_t ptr
 2986 declare function xcb_input_grab_device_sizeof(byval _buffer as const any ptr) as long
 2987 declare function xcb_input_grab_device(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval time as xcb_timestamp_t, byval num_classes as ushort, byval this_device_mode as ubyte, byval other_device_mode as ubyte, byval owner_events as ubyte, byval device_id as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_input_grab_device_cookie_t
 2988 declare function xcb_input_grab_device_unchecked(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval time as xcb_timestamp_t, byval num_classes as ushort, byval this_device_mode as ubyte, byval other_device_mode as ubyte, byval owner_events as ubyte, byval device_id as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_input_grab_device_cookie_t
 2989 declare function xcb_input_grab_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_grab_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_grab_device_reply_t ptr
 2990 declare function xcb_input_ungrab_device_checked(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval device_id as ubyte) as xcb_void_cookie_t
 2991 declare function xcb_input_ungrab_device(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval device_id as ubyte) as xcb_void_cookie_t
 2992 declare function xcb_input_grab_device_key_sizeof(byval _buffer as const any ptr) as long
 2993 declare function xcb_input_grab_device_key_checked(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval num_classes as ushort, byval modifiers as ushort, byval modifier_device as ubyte, byval grabbed_device as ubyte, byval key as ubyte, byval this_device_mode as ubyte, byval other_device_mode as ubyte, byval owner_events as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2994 declare function xcb_input_grab_device_key(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval num_classes as ushort, byval modifiers as ushort, byval modifier_device as ubyte, byval grabbed_device as ubyte, byval key as ubyte, byval this_device_mode as ubyte, byval other_device_mode as ubyte, byval owner_events as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2995 declare function xcb_input_ungrab_device_key_checked(byval c as xcb_connection_t ptr, byval grabWindow as xcb_window_t, byval modifiers as ushort, byval modifier_device as ubyte, byval key as ubyte, byval grabbed_device as ubyte) as xcb_void_cookie_t
 2996 declare function xcb_input_ungrab_device_key(byval c as xcb_connection_t ptr, byval grabWindow as xcb_window_t, byval modifiers as ushort, byval modifier_device as ubyte, byval key as ubyte, byval grabbed_device as ubyte) as xcb_void_cookie_t
 2997 declare function xcb_input_grab_device_button_sizeof(byval _buffer as const any ptr) as long
 2998 declare function xcb_input_grab_device_button_checked(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval grabbed_device as ubyte, byval modifier_device as ubyte, byval num_classes as ushort, byval modifiers as ushort, byval this_device_mode as ubyte, byval other_device_mode as ubyte, byval button as ubyte, byval owner_events as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 2999 declare function xcb_input_grab_device_button(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval grabbed_device as ubyte, byval modifier_device as ubyte, byval num_classes as ushort, byval modifiers as ushort, byval this_device_mode as ubyte, byval other_device_mode as ubyte, byval button as ubyte, byval owner_events as ubyte, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 3000 declare function xcb_input_ungrab_device_button_checked(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval modifiers as ushort, byval modifier_device as ubyte, byval button as ubyte, byval grabbed_device as ubyte) as xcb_void_cookie_t
 3001 declare function xcb_input_ungrab_device_button(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval modifiers as ushort, byval modifier_device as ubyte, byval button as ubyte, byval grabbed_device as ubyte) as xcb_void_cookie_t
 3002 declare function xcb_input_allow_device_events_checked(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval mode as ubyte, byval device_id as ubyte) as xcb_void_cookie_t
 3003 declare function xcb_input_allow_device_events(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval mode as ubyte, byval device_id as ubyte) as xcb_void_cookie_t
 3004 declare function xcb_input_get_device_focus(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_device_focus_cookie_t
 3005 declare function xcb_input_get_device_focus_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_device_focus_cookie_t
 3006 declare function xcb_input_get_device_focus_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_focus_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_focus_reply_t ptr
 3007 declare function xcb_input_set_device_focus_checked(byval c as xcb_connection_t ptr, byval focus as xcb_window_t, byval time as xcb_timestamp_t, byval revert_to as ubyte, byval device_id as ubyte) as xcb_void_cookie_t
 3008 declare function xcb_input_set_device_focus(byval c as xcb_connection_t ptr, byval focus as xcb_window_t, byval time as xcb_timestamp_t, byval revert_to as ubyte, byval device_id as ubyte) as xcb_void_cookie_t
 3009 declare sub xcb_input_kbd_feedback_state_next(byval i as xcb_input_kbd_feedback_state_iterator_t ptr)
 3010 declare function xcb_input_kbd_feedback_state_end(byval i as xcb_input_kbd_feedback_state_iterator_t) as xcb_generic_iterator_t
 3011 declare sub xcb_input_ptr_feedback_state_next(byval i as xcb_input_ptr_feedback_state_iterator_t ptr)
 3012 declare function xcb_input_ptr_feedback_state_end(byval i as xcb_input_ptr_feedback_state_iterator_t) as xcb_generic_iterator_t
 3013 declare sub xcb_input_integer_feedback_state_next(byval i as xcb_input_integer_feedback_state_iterator_t ptr)
 3014 declare function xcb_input_integer_feedback_state_end(byval i as xcb_input_integer_feedback_state_iterator_t) as xcb_generic_iterator_t
 3015 declare function xcb_input_string_feedback_state_sizeof(byval _buffer as const any ptr) as long
 3016 declare function xcb_input_string_feedback_state_keysyms(byval R as const xcb_input_string_feedback_state_t ptr) as xcb_keysym_t ptr
 3017 declare function xcb_input_string_feedback_state_keysyms_length(byval R as const xcb_input_string_feedback_state_t ptr) as long
 3018 declare function xcb_input_string_feedback_state_keysyms_end(byval R as const xcb_input_string_feedback_state_t ptr) as xcb_generic_iterator_t
 3019 declare sub xcb_input_string_feedback_state_next(byval i as xcb_input_string_feedback_state_iterator_t ptr)
 3020 declare function xcb_input_string_feedback_state_end(byval i as xcb_input_string_feedback_state_iterator_t) as xcb_generic_iterator_t
 3021 declare sub xcb_input_bell_feedback_state_next(byval i as xcb_input_bell_feedback_state_iterator_t ptr)
 3022 declare function xcb_input_bell_feedback_state_end(byval i as xcb_input_bell_feedback_state_iterator_t) as xcb_generic_iterator_t
 3023 declare sub xcb_input_led_feedback_state_next(byval i as xcb_input_led_feedback_state_iterator_t ptr)
 3024 declare function xcb_input_led_feedback_state_end(byval i as xcb_input_led_feedback_state_iterator_t) as xcb_generic_iterator_t
 3025 declare function xcb_input_feedback_state_sizeof(byval _buffer as const any ptr) as long
 3026 declare function xcb_input_feedback_state_uninterpreted_data(byval R as const xcb_input_feedback_state_t ptr) as ubyte ptr
 3027 declare function xcb_input_feedback_state_uninterpreted_data_length(byval R as const xcb_input_feedback_state_t ptr) as long
 3028 declare function xcb_input_feedback_state_uninterpreted_data_end(byval R as const xcb_input_feedback_state_t ptr) as xcb_generic_iterator_t
 3029 declare sub xcb_input_feedback_state_next(byval i as xcb_input_feedback_state_iterator_t ptr)
 3030 declare function xcb_input_feedback_state_end(byval i as xcb_input_feedback_state_iterator_t) as xcb_generic_iterator_t
 3031 declare function xcb_input_get_feedback_control_sizeof(byval _buffer as const any ptr) as long
 3032 declare function xcb_input_get_feedback_control(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_feedback_control_cookie_t
 3033 declare function xcb_input_get_feedback_control_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_feedback_control_cookie_t
 3034 declare function xcb_input_get_feedback_control_feedbacks_length(byval R as const xcb_input_get_feedback_control_reply_t ptr) as long
 3035 declare function xcb_input_get_feedback_control_feedbacks_iterator(byval R as const xcb_input_get_feedback_control_reply_t ptr) as xcb_input_feedback_state_iterator_t
 3036 declare function xcb_input_get_feedback_control_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_feedback_control_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_feedback_control_reply_t ptr
 3037 declare sub xcb_input_kbd_feedback_ctl_next(byval i as xcb_input_kbd_feedback_ctl_iterator_t ptr)
 3038 declare function xcb_input_kbd_feedback_ctl_end(byval i as xcb_input_kbd_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3039 declare sub xcb_input_ptr_feedback_ctl_next(byval i as xcb_input_ptr_feedback_ctl_iterator_t ptr)
 3040 declare function xcb_input_ptr_feedback_ctl_end(byval i as xcb_input_ptr_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3041 declare sub xcb_input_integer_feedback_ctl_next(byval i as xcb_input_integer_feedback_ctl_iterator_t ptr)
 3042 declare function xcb_input_integer_feedback_ctl_end(byval i as xcb_input_integer_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3043 declare function xcb_input_string_feedback_ctl_sizeof(byval _buffer as const any ptr) as long
 3044 declare function xcb_input_string_feedback_ctl_keysyms(byval R as const xcb_input_string_feedback_ctl_t ptr) as xcb_keysym_t ptr
 3045 declare function xcb_input_string_feedback_ctl_keysyms_length(byval R as const xcb_input_string_feedback_ctl_t ptr) as long
 3046 declare function xcb_input_string_feedback_ctl_keysyms_end(byval R as const xcb_input_string_feedback_ctl_t ptr) as xcb_generic_iterator_t
 3047 declare sub xcb_input_string_feedback_ctl_next(byval i as xcb_input_string_feedback_ctl_iterator_t ptr)
 3048 declare function xcb_input_string_feedback_ctl_end(byval i as xcb_input_string_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3049 declare sub xcb_input_bell_feedback_ctl_next(byval i as xcb_input_bell_feedback_ctl_iterator_t ptr)
 3050 declare function xcb_input_bell_feedback_ctl_end(byval i as xcb_input_bell_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3051 declare sub xcb_input_led_feedback_ctl_next(byval i as xcb_input_led_feedback_ctl_iterator_t ptr)
 3052 declare function xcb_input_led_feedback_ctl_end(byval i as xcb_input_led_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3053 declare function xcb_input_feedback_ctl_sizeof(byval _buffer as const any ptr) as long
 3054 declare function xcb_input_feedback_ctl_uninterpreted_data(byval R as const xcb_input_feedback_ctl_t ptr) as ubyte ptr
 3055 declare function xcb_input_feedback_ctl_uninterpreted_data_length(byval R as const xcb_input_feedback_ctl_t ptr) as long
 3056 declare function xcb_input_feedback_ctl_uninterpreted_data_end(byval R as const xcb_input_feedback_ctl_t ptr) as xcb_generic_iterator_t
 3057 declare sub xcb_input_feedback_ctl_next(byval i as xcb_input_feedback_ctl_iterator_t ptr)
 3058 declare function xcb_input_feedback_ctl_end(byval i as xcb_input_feedback_ctl_iterator_t) as xcb_generic_iterator_t
 3059 declare function xcb_input_change_feedback_control_sizeof(byval _buffer as const any ptr) as long
 3060 declare function xcb_input_change_feedback_control_checked(byval c as xcb_connection_t ptr, byval mask as ulong, byval device_id as ubyte, byval feedback_id as ubyte, byval feedback as xcb_input_feedback_ctl_t ptr) as xcb_void_cookie_t
 3061 declare function xcb_input_change_feedback_control(byval c as xcb_connection_t ptr, byval mask as ulong, byval device_id as ubyte, byval feedback_id as ubyte, byval feedback as xcb_input_feedback_ctl_t ptr) as xcb_void_cookie_t
 3062 declare function xcb_input_get_device_key_mapping_sizeof(byval _buffer as const any ptr) as long
 3063 declare function xcb_input_get_device_key_mapping(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval first_keycode as xcb_input_key_code_t, byval count as ubyte) as xcb_input_get_device_key_mapping_cookie_t
 3064 declare function xcb_input_get_device_key_mapping_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval first_keycode as xcb_input_key_code_t, byval count as ubyte) as xcb_input_get_device_key_mapping_cookie_t
 3065 declare function xcb_input_get_device_key_mapping_keysyms(byval R as const xcb_input_get_device_key_mapping_reply_t ptr) as xcb_keysym_t ptr
 3066 declare function xcb_input_get_device_key_mapping_keysyms_length(byval R as const xcb_input_get_device_key_mapping_reply_t ptr) as long
 3067 declare function xcb_input_get_device_key_mapping_keysyms_end(byval R as const xcb_input_get_device_key_mapping_reply_t ptr) as xcb_generic_iterator_t
 3068 declare function xcb_input_get_device_key_mapping_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_key_mapping_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_key_mapping_reply_t ptr
 3069 declare function xcb_input_change_device_key_mapping_sizeof(byval _buffer as const any ptr) as long
 3070 declare function xcb_input_change_device_key_mapping_checked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval first_keycode as xcb_input_key_code_t, byval keysyms_per_keycode as ubyte, byval keycode_count as ubyte, byval keysyms as const xcb_keysym_t ptr) as xcb_void_cookie_t
 3071 declare function xcb_input_change_device_key_mapping(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval first_keycode as xcb_input_key_code_t, byval keysyms_per_keycode as ubyte, byval keycode_count as ubyte, byval keysyms as const xcb_keysym_t ptr) as xcb_void_cookie_t
 3072 declare function xcb_input_get_device_modifier_mapping_sizeof(byval _buffer as const any ptr) as long
 3073 declare function xcb_input_get_device_modifier_mapping(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_device_modifier_mapping_cookie_t
 3074 declare function xcb_input_get_device_modifier_mapping_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_device_modifier_mapping_cookie_t
 3075 declare function xcb_input_get_device_modifier_mapping_keymaps(byval R as const xcb_input_get_device_modifier_mapping_reply_t ptr) as ubyte ptr
 3076 declare function xcb_input_get_device_modifier_mapping_keymaps_length(byval R as const xcb_input_get_device_modifier_mapping_reply_t ptr) as long
 3077 declare function xcb_input_get_device_modifier_mapping_keymaps_end(byval R as const xcb_input_get_device_modifier_mapping_reply_t ptr) as xcb_generic_iterator_t
 3078 declare function xcb_input_get_device_modifier_mapping_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_modifier_mapping_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_modifier_mapping_reply_t ptr
 3079 declare function xcb_input_set_device_modifier_mapping_sizeof(byval _buffer as const any ptr) as long
 3080 declare function xcb_input_set_device_modifier_mapping(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval keycodes_per_modifier as ubyte, byval keymaps as const ubyte ptr) as xcb_input_set_device_modifier_mapping_cookie_t
 3081 declare function xcb_input_set_device_modifier_mapping_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval keycodes_per_modifier as ubyte, byval keymaps as const ubyte ptr) as xcb_input_set_device_modifier_mapping_cookie_t
 3082 declare function xcb_input_set_device_modifier_mapping_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_set_device_modifier_mapping_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_set_device_modifier_mapping_reply_t ptr
 3083 declare function xcb_input_get_device_button_mapping_sizeof(byval _buffer as const any ptr) as long
 3084 declare function xcb_input_get_device_button_mapping(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_device_button_mapping_cookie_t
 3085 declare function xcb_input_get_device_button_mapping_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_get_device_button_mapping_cookie_t
 3086 declare function xcb_input_get_device_button_mapping_map(byval R as const xcb_input_get_device_button_mapping_reply_t ptr) as ubyte ptr
 3087 declare function xcb_input_get_device_button_mapping_map_length(byval R as const xcb_input_get_device_button_mapping_reply_t ptr) as long
 3088 declare function xcb_input_get_device_button_mapping_map_end(byval R as const xcb_input_get_device_button_mapping_reply_t ptr) as xcb_generic_iterator_t
 3089 declare function xcb_input_get_device_button_mapping_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_button_mapping_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_button_mapping_reply_t ptr
 3090 declare function xcb_input_set_device_button_mapping_sizeof(byval _buffer as const any ptr) as long
 3091 declare function xcb_input_set_device_button_mapping(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval map_size as ubyte, byval map as const ubyte ptr) as xcb_input_set_device_button_mapping_cookie_t
 3092 declare function xcb_input_set_device_button_mapping_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval map_size as ubyte, byval map as const ubyte ptr) as xcb_input_set_device_button_mapping_cookie_t
 3093 declare function xcb_input_set_device_button_mapping_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_set_device_button_mapping_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_set_device_button_mapping_reply_t ptr
 3094 declare sub xcb_input_key_state_next(byval i as xcb_input_key_state_iterator_t ptr)
 3095 declare function xcb_input_key_state_end(byval i as xcb_input_key_state_iterator_t) as xcb_generic_iterator_t
 3096 declare sub xcb_input_button_state_next(byval i as xcb_input_button_state_iterator_t ptr)
 3097 declare function xcb_input_button_state_end(byval i as xcb_input_button_state_iterator_t) as xcb_generic_iterator_t
 3098 declare function xcb_input_valuator_state_sizeof(byval _buffer as const any ptr) as long
 3099 declare function xcb_input_valuator_state_valuators(byval R as const xcb_input_valuator_state_t ptr) as ulong ptr
 3100 declare function xcb_input_valuator_state_valuators_length(byval R as const xcb_input_valuator_state_t ptr) as long
 3101 declare function xcb_input_valuator_state_valuators_end(byval R as const xcb_input_valuator_state_t ptr) as xcb_generic_iterator_t
 3102 declare sub xcb_input_valuator_state_next(byval i as xcb_input_valuator_state_iterator_t ptr)
 3103 declare function xcb_input_valuator_state_end(byval i as xcb_input_valuator_state_iterator_t) as xcb_generic_iterator_t
 3104 declare function xcb_input_input_state_sizeof(byval _buffer as const any ptr) as long
 3105 declare function xcb_input_input_state_uninterpreted_data(byval R as const xcb_input_input_state_t ptr) as ubyte ptr
 3106 declare function xcb_input_input_state_uninterpreted_data_length(byval R as const xcb_input_input_state_t ptr) as long
 3107 declare function xcb_input_input_state_uninterpreted_data_end(byval R as const xcb_input_input_state_t ptr) as xcb_generic_iterator_t
 3108 declare sub xcb_input_input_state_next(byval i as xcb_input_input_state_iterator_t ptr)
 3109 declare function xcb_input_input_state_end(byval i as xcb_input_input_state_iterator_t) as xcb_generic_iterator_t
 3110 declare function xcb_input_query_device_state_sizeof(byval _buffer as const any ptr) as long
 3111 declare function xcb_input_query_device_state(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_query_device_state_cookie_t
 3112 declare function xcb_input_query_device_state_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_query_device_state_cookie_t
 3113 declare function xcb_input_query_device_state_classes_length(byval R as const xcb_input_query_device_state_reply_t ptr) as long
 3114 declare function xcb_input_query_device_state_classes_iterator(byval R as const xcb_input_query_device_state_reply_t ptr) as xcb_input_input_state_iterator_t
 3115 declare function xcb_input_query_device_state_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_query_device_state_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_query_device_state_reply_t ptr
 3116 declare function xcb_input_send_extension_event_sizeof(byval _buffer as const any ptr) as long
 3117 declare function xcb_input_send_extension_event_checked(byval c as xcb_connection_t ptr, byval destination as xcb_window_t, byval device_id as ubyte, byval propagate as ubyte, byval num_classes as ushort, byval num_events as ubyte, byval events as const ubyte ptr, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 3118 declare function xcb_input_send_extension_event(byval c as xcb_connection_t ptr, byval destination as xcb_window_t, byval device_id as ubyte, byval propagate as ubyte, byval num_classes as ushort, byval num_events as ubyte, byval events as const ubyte ptr, byval classes as const xcb_input_event_class_t ptr) as xcb_void_cookie_t
 3119 declare function xcb_input_device_bell_checked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval feedback_id as ubyte, byval feedback_class as ubyte, byval percent as byte) as xcb_void_cookie_t
 3120 declare function xcb_input_device_bell(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval feedback_id as ubyte, byval feedback_class as ubyte, byval percent as byte) as xcb_void_cookie_t
 3121 declare function xcb_input_set_device_valuators_sizeof(byval _buffer as const any ptr) as long
 3122 declare function xcb_input_set_device_valuators(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval first_valuator as ubyte, byval num_valuators as ubyte, byval valuators as const long ptr) as xcb_input_set_device_valuators_cookie_t
 3123 declare function xcb_input_set_device_valuators_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte, byval first_valuator as ubyte, byval num_valuators as ubyte, byval valuators as const long ptr) as xcb_input_set_device_valuators_cookie_t
 3124 declare function xcb_input_set_device_valuators_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_set_device_valuators_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_set_device_valuators_reply_t ptr
 3125 declare function xcb_input_device_resolution_state_sizeof(byval _buffer as const any ptr) as long
 3126 declare function xcb_input_device_resolution_state_resolution_values(byval R as const xcb_input_device_resolution_state_t ptr) as ulong ptr
 3127 declare function xcb_input_device_resolution_state_resolution_values_length(byval R as const xcb_input_device_resolution_state_t ptr) as long
 3128 declare function xcb_input_device_resolution_state_resolution_values_end(byval R as const xcb_input_device_resolution_state_t ptr) as xcb_generic_iterator_t
 3129 declare function xcb_input_device_resolution_state_resolution_min(byval R as const xcb_input_device_resolution_state_t ptr) as ulong ptr
 3130 declare function xcb_input_device_resolution_state_resolution_min_length(byval R as const xcb_input_device_resolution_state_t ptr) as long
 3131 declare function xcb_input_device_resolution_state_resolution_min_end(byval R as const xcb_input_device_resolution_state_t ptr) as xcb_generic_iterator_t
 3132 declare function xcb_input_device_resolution_state_resolution_max(byval R as const xcb_input_device_resolution_state_t ptr) as ulong ptr
 3133 declare function xcb_input_device_resolution_state_resolution_max_length(byval R as const xcb_input_device_resolution_state_t ptr) as long
 3134 declare function xcb_input_device_resolution_state_resolution_max_end(byval R as const xcb_input_device_resolution_state_t ptr) as xcb_generic_iterator_t
 3135 declare sub xcb_input_device_resolution_state_next(byval i as xcb_input_device_resolution_state_iterator_t ptr)
 3136 declare function xcb_input_device_resolution_state_end(byval i as xcb_input_device_resolution_state_iterator_t) as xcb_generic_iterator_t
 3137 declare sub xcb_input_device_abs_calib_state_next(byval i as xcb_input_device_abs_calib_state_iterator_t ptr)
 3138 declare function xcb_input_device_abs_calib_state_end(byval i as xcb_input_device_abs_calib_state_iterator_t) as xcb_generic_iterator_t
 3139 declare sub xcb_input_device_abs_area_state_next(byval i as xcb_input_device_abs_area_state_iterator_t ptr)
 3140 declare function xcb_input_device_abs_area_state_end(byval i as xcb_input_device_abs_area_state_iterator_t) as xcb_generic_iterator_t
 3141 declare sub xcb_input_device_core_state_next(byval i as xcb_input_device_core_state_iterator_t ptr)
 3142 declare function xcb_input_device_core_state_end(byval i as xcb_input_device_core_state_iterator_t) as xcb_generic_iterator_t
 3143 declare sub xcb_input_device_enable_state_next(byval i as xcb_input_device_enable_state_iterator_t ptr)
 3144 declare function xcb_input_device_enable_state_end(byval i as xcb_input_device_enable_state_iterator_t) as xcb_generic_iterator_t
 3145 declare function xcb_input_device_state_sizeof(byval _buffer as const any ptr) as long
 3146 declare function xcb_input_device_state_uninterpreted_data(byval R as const xcb_input_device_state_t ptr) as ubyte ptr
 3147 declare function xcb_input_device_state_uninterpreted_data_length(byval R as const xcb_input_device_state_t ptr) as long
 3148 declare function xcb_input_device_state_uninterpreted_data_end(byval R as const xcb_input_device_state_t ptr) as xcb_generic_iterator_t
 3149 declare sub xcb_input_device_state_next(byval i as xcb_input_device_state_iterator_t ptr)
 3150 declare function xcb_input_device_state_end(byval i as xcb_input_device_state_iterator_t) as xcb_generic_iterator_t
 3151 declare function xcb_input_get_device_control_sizeof(byval _buffer as const any ptr) as long
 3152 declare function xcb_input_get_device_control(byval c as xcb_connection_t ptr, byval control_id as ushort, byval device_id as ubyte) as xcb_input_get_device_control_cookie_t
 3153 declare function xcb_input_get_device_control_unchecked(byval c as xcb_connection_t ptr, byval control_id as ushort, byval device_id as ubyte) as xcb_input_get_device_control_cookie_t
 3154 declare function xcb_input_get_device_control_control(byval R as const xcb_input_get_device_control_reply_t ptr) as xcb_input_device_state_t ptr
 3155 declare function xcb_input_get_device_control_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_control_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_control_reply_t ptr
 3156 declare function xcb_input_device_resolution_ctl_sizeof(byval _buffer as const any ptr) as long
 3157 declare function xcb_input_device_resolution_ctl_resolution_values(byval R as const xcb_input_device_resolution_ctl_t ptr) as ulong ptr
 3158 declare function xcb_input_device_resolution_ctl_resolution_values_length(byval R as const xcb_input_device_resolution_ctl_t ptr) as long
 3159 declare function xcb_input_device_resolution_ctl_resolution_values_end(byval R as const xcb_input_device_resolution_ctl_t ptr) as xcb_generic_iterator_t
 3160 declare sub xcb_input_device_resolution_ctl_next(byval i as xcb_input_device_resolution_ctl_iterator_t ptr)
 3161 declare function xcb_input_device_resolution_ctl_end(byval i as xcb_input_device_resolution_ctl_iterator_t) as xcb_generic_iterator_t
 3162 declare sub xcb_input_device_abs_calib_ctl_next(byval i as xcb_input_device_abs_calib_ctl_iterator_t ptr)
 3163 declare function xcb_input_device_abs_calib_ctl_end(byval i as xcb_input_device_abs_calib_ctl_iterator_t) as xcb_generic_iterator_t
 3164 declare sub xcb_input_device_abs_area_ctrl_next(byval i as xcb_input_device_abs_area_ctrl_iterator_t ptr)
 3165 declare function xcb_input_device_abs_area_ctrl_end(byval i as xcb_input_device_abs_area_ctrl_iterator_t) as xcb_generic_iterator_t
 3166 declare sub xcb_input_device_core_ctrl_next(byval i as xcb_input_device_core_ctrl_iterator_t ptr)
 3167 declare function xcb_input_device_core_ctrl_end(byval i as xcb_input_device_core_ctrl_iterator_t) as xcb_generic_iterator_t
 3168 declare sub xcb_input_device_enable_ctrl_next(byval i as xcb_input_device_enable_ctrl_iterator_t ptr)
 3169 declare function xcb_input_device_enable_ctrl_end(byval i as xcb_input_device_enable_ctrl_iterator_t) as xcb_generic_iterator_t
 3170 declare function xcb_input_device_ctl_sizeof(byval _buffer as const any ptr) as long
 3171 declare function xcb_input_device_ctl_uninterpreted_data(byval R as const xcb_input_device_ctl_t ptr) as ubyte ptr
 3172 declare function xcb_input_device_ctl_uninterpreted_data_length(byval R as const xcb_input_device_ctl_t ptr) as long
 3173 declare function xcb_input_device_ctl_uninterpreted_data_end(byval R as const xcb_input_device_ctl_t ptr) as xcb_generic_iterator_t
 3174 declare sub xcb_input_device_ctl_next(byval i as xcb_input_device_ctl_iterator_t ptr)
 3175 declare function xcb_input_device_ctl_end(byval i as xcb_input_device_ctl_iterator_t) as xcb_generic_iterator_t
 3176 declare function xcb_input_change_device_control_sizeof(byval _buffer as const any ptr) as long
 3177 declare function xcb_input_change_device_control(byval c as xcb_connection_t ptr, byval control_id as ushort, byval device_id as ubyte, byval control as xcb_input_device_ctl_t ptr) as xcb_input_change_device_control_cookie_t
 3178 declare function xcb_input_change_device_control_unchecked(byval c as xcb_connection_t ptr, byval control_id as ushort, byval device_id as ubyte, byval control as xcb_input_device_ctl_t ptr) as xcb_input_change_device_control_cookie_t
 3179 declare function xcb_input_change_device_control_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_change_device_control_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_change_device_control_reply_t ptr
 3180 declare function xcb_input_list_device_properties_sizeof(byval _buffer as const any ptr) as long
 3181 declare function xcb_input_list_device_properties(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_list_device_properties_cookie_t
 3182 declare function xcb_input_list_device_properties_unchecked(byval c as xcb_connection_t ptr, byval device_id as ubyte) as xcb_input_list_device_properties_cookie_t
 3183 declare function xcb_input_list_device_properties_atoms(byval R as const xcb_input_list_device_properties_reply_t ptr) as xcb_atom_t ptr
 3184 declare function xcb_input_list_device_properties_atoms_length(byval R as const xcb_input_list_device_properties_reply_t ptr) as long
 3185 declare function xcb_input_list_device_properties_atoms_end(byval R as const xcb_input_list_device_properties_reply_t ptr) as xcb_generic_iterator_t
 3186 declare function xcb_input_list_device_properties_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_list_device_properties_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_list_device_properties_reply_t ptr
 3187 declare function xcb_input_change_device_property_items_data_8(byval S as const xcb_input_change_device_property_items_t ptr) as ubyte ptr
 3188 declare function xcb_input_change_device_property_items_data_8_length(byval R as const xcb_input_change_device_property_request_t ptr, byval S as const xcb_input_change_device_property_items_t ptr) as long
 3189 declare function xcb_input_change_device_property_items_data_8_end(byval R as const xcb_input_change_device_property_request_t ptr, byval S as const xcb_input_change_device_property_items_t ptr) as xcb_generic_iterator_t
 3190 declare function xcb_input_change_device_property_items_data_16(byval S as const xcb_input_change_device_property_items_t ptr) as ushort ptr
 3191 declare function xcb_input_change_device_property_items_data_16_length(byval R as const xcb_input_change_device_property_request_t ptr, byval S as const xcb_input_change_device_property_items_t ptr) as long
 3192 declare function xcb_input_change_device_property_items_data_16_end(byval R as const xcb_input_change_device_property_request_t ptr, byval S as const xcb_input_change_device_property_items_t ptr) as xcb_generic_iterator_t
 3193 declare function xcb_input_change_device_property_items_data_32(byval S as const xcb_input_change_device_property_items_t ptr) as ulong ptr
 3194 declare function xcb_input_change_device_property_items_data_32_length(byval R as const xcb_input_change_device_property_request_t ptr, byval S as const xcb_input_change_device_property_items_t ptr) as long
 3195 declare function xcb_input_change_device_property_items_data_32_end(byval R as const xcb_input_change_device_property_request_t ptr, byval S as const xcb_input_change_device_property_items_t ptr) as xcb_generic_iterator_t
 3196 declare function xcb_input_change_device_property_items_serialize(byval _buffer as any ptr ptr, byval num_items as ulong, byval format as ubyte, byval _aux as const xcb_input_change_device_property_items_t ptr) as long
 3197 declare function xcb_input_change_device_property_items_unpack(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte, byval _aux as xcb_input_change_device_property_items_t ptr) as long
 3198 declare function xcb_input_change_device_property_items_sizeof(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte) as long
 3199 declare function xcb_input_change_device_property_checked(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval type as xcb_atom_t, byval device_id as ubyte, byval format as ubyte, byval mode as ubyte, byval num_items as ulong, byval items as const any ptr) as xcb_void_cookie_t
 3200 declare function xcb_input_change_device_property(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval type as xcb_atom_t, byval device_id as ubyte, byval format as ubyte, byval mode as ubyte, byval num_items as ulong, byval items as const any ptr) as xcb_void_cookie_t
 3201 declare function xcb_input_change_device_property_aux_checked(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval type as xcb_atom_t, byval device_id as ubyte, byval format as ubyte, byval mode as ubyte, byval num_items as ulong, byval items as const xcb_input_change_device_property_items_t ptr) as xcb_void_cookie_t
 3202 declare function xcb_input_change_device_property_aux(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval type as xcb_atom_t, byval device_id as ubyte, byval format as ubyte, byval mode as ubyte, byval num_items as ulong, byval items as const xcb_input_change_device_property_items_t ptr) as xcb_void_cookie_t
 3203 declare function xcb_input_delete_device_property_checked(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval device_id as ubyte) as xcb_void_cookie_t
 3204 declare function xcb_input_delete_device_property(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval device_id as ubyte) as xcb_void_cookie_t
 3205 declare function xcb_input_get_device_property_items_data_8(byval S as const xcb_input_get_device_property_items_t ptr) as ubyte ptr
 3206 declare function xcb_input_get_device_property_items_data_8_length(byval R as const xcb_input_get_device_property_reply_t ptr, byval S as const xcb_input_get_device_property_items_t ptr) as long
 3207 declare function xcb_input_get_device_property_items_data_8_end(byval R as const xcb_input_get_device_property_reply_t ptr, byval S as const xcb_input_get_device_property_items_t ptr) as xcb_generic_iterator_t
 3208 declare function xcb_input_get_device_property_items_data_16(byval S as const xcb_input_get_device_property_items_t ptr) as ushort ptr
 3209 declare function xcb_input_get_device_property_items_data_16_length(byval R as const xcb_input_get_device_property_reply_t ptr, byval S as const xcb_input_get_device_property_items_t ptr) as long
 3210 declare function xcb_input_get_device_property_items_data_16_end(byval R as const xcb_input_get_device_property_reply_t ptr, byval S as const xcb_input_get_device_property_items_t ptr) as xcb_generic_iterator_t
 3211 declare function xcb_input_get_device_property_items_data_32(byval S as const xcb_input_get_device_property_items_t ptr) as ulong ptr
 3212 declare function xcb_input_get_device_property_items_data_32_length(byval R as const xcb_input_get_device_property_reply_t ptr, byval S as const xcb_input_get_device_property_items_t ptr) as long
 3213 declare function xcb_input_get_device_property_items_data_32_end(byval R as const xcb_input_get_device_property_reply_t ptr, byval S as const xcb_input_get_device_property_items_t ptr) as xcb_generic_iterator_t
 3214 declare function xcb_input_get_device_property_items_serialize(byval _buffer as any ptr ptr, byval num_items as ulong, byval format as ubyte, byval _aux as const xcb_input_get_device_property_items_t ptr) as long
 3215 declare function xcb_input_get_device_property_items_unpack(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte, byval _aux as xcb_input_get_device_property_items_t ptr) as long
 3216 declare function xcb_input_get_device_property_items_sizeof(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte) as long
 3217 declare function xcb_input_get_device_property(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval type as xcb_atom_t, byval offset as ulong, byval len as ulong, byval device_id as ubyte, byval _delete as ubyte) as xcb_input_get_device_property_cookie_t
 3218 declare function xcb_input_get_device_property_unchecked(byval c as xcb_connection_t ptr, byval property as xcb_atom_t, byval type as xcb_atom_t, byval offset as ulong, byval len as ulong, byval device_id as ubyte, byval _delete as ubyte) as xcb_input_get_device_property_cookie_t
 3219 declare function xcb_input_get_device_property_items(byval R as const xcb_input_get_device_property_reply_t ptr) as any ptr
 3220 declare function xcb_input_get_device_property_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_get_device_property_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_get_device_property_reply_t ptr
 3221 declare sub xcb_input_group_info_next(byval i as xcb_input_group_info_iterator_t ptr)
 3222 declare function xcb_input_group_info_end(byval i as xcb_input_group_info_iterator_t) as xcb_generic_iterator_t
 3223 declare sub xcb_input_modifier_info_next(byval i as xcb_input_modifier_info_iterator_t ptr)
 3224 declare function xcb_input_modifier_info_end(byval i as xcb_input_modifier_info_iterator_t) as xcb_generic_iterator_t
 3225 declare function xcb_input_xi_query_pointer_sizeof(byval _buffer as const any ptr) as long
 3226 declare function xcb_input_xi_query_pointer(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_query_pointer_cookie_t
 3227 declare function xcb_input_xi_query_pointer_unchecked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_query_pointer_cookie_t
 3228 declare function xcb_input_xi_query_pointer_buttons(byval R as const xcb_input_xi_query_pointer_reply_t ptr) as ulong ptr
 3229 declare function xcb_input_xi_query_pointer_buttons_length(byval R as const xcb_input_xi_query_pointer_reply_t ptr) as long
 3230 declare function xcb_input_xi_query_pointer_buttons_end(byval R as const xcb_input_xi_query_pointer_reply_t ptr) as xcb_generic_iterator_t
 3231 declare function xcb_input_xi_query_pointer_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_query_pointer_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_query_pointer_reply_t ptr
 3232 declare function xcb_input_xi_warp_pointer_checked(byval c as xcb_connection_t ptr, byval src_win as xcb_window_t, byval dst_win as xcb_window_t, byval src_x as xcb_input_fp1616_t, byval src_y as xcb_input_fp1616_t, byval src_width as ushort, byval src_height as ushort, byval dst_x as xcb_input_fp1616_t, byval dst_y as xcb_input_fp1616_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3233 declare function xcb_input_xi_warp_pointer(byval c as xcb_connection_t ptr, byval src_win as xcb_window_t, byval dst_win as xcb_window_t, byval src_x as xcb_input_fp1616_t, byval src_y as xcb_input_fp1616_t, byval src_width as ushort, byval src_height as ushort, byval dst_x as xcb_input_fp1616_t, byval dst_y as xcb_input_fp1616_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3234 declare function xcb_input_xi_change_cursor_checked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval cursor as xcb_cursor_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3235 declare function xcb_input_xi_change_cursor(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval cursor as xcb_cursor_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3236 declare function xcb_input_add_master_sizeof(byval _buffer as const any ptr) as long
 3237 declare function xcb_input_add_master_name(byval R as const xcb_input_add_master_t ptr) as zstring ptr
 3238 declare function xcb_input_add_master_name_length(byval R as const xcb_input_add_master_t ptr) as long
 3239 declare function xcb_input_add_master_name_end(byval R as const xcb_input_add_master_t ptr) as xcb_generic_iterator_t
 3240 declare sub xcb_input_add_master_next(byval i as xcb_input_add_master_iterator_t ptr)
 3241 declare function xcb_input_add_master_end(byval i as xcb_input_add_master_iterator_t) as xcb_generic_iterator_t
 3242 declare sub xcb_input_remove_master_next(byval i as xcb_input_remove_master_iterator_t ptr)
 3243 declare function xcb_input_remove_master_end(byval i as xcb_input_remove_master_iterator_t) as xcb_generic_iterator_t
 3244 declare sub xcb_input_attach_slave_next(byval i as xcb_input_attach_slave_iterator_t ptr)
 3245 declare function xcb_input_attach_slave_end(byval i as xcb_input_attach_slave_iterator_t) as xcb_generic_iterator_t
 3246 declare sub xcb_input_detach_slave_next(byval i as xcb_input_detach_slave_iterator_t ptr)
 3247 declare function xcb_input_detach_slave_end(byval i as xcb_input_detach_slave_iterator_t) as xcb_generic_iterator_t
 3248 declare function xcb_input_hierarchy_change_sizeof(byval _buffer as const any ptr) as long
 3249 declare function xcb_input_hierarchy_change_uninterpreted_data(byval R as const xcb_input_hierarchy_change_t ptr) as ubyte ptr
 3250 declare function xcb_input_hierarchy_change_uninterpreted_data_length(byval R as const xcb_input_hierarchy_change_t ptr) as long
 3251 declare function xcb_input_hierarchy_change_uninterpreted_data_end(byval R as const xcb_input_hierarchy_change_t ptr) as xcb_generic_iterator_t
 3252 declare sub xcb_input_hierarchy_change_next(byval i as xcb_input_hierarchy_change_iterator_t ptr)
 3253 declare function xcb_input_hierarchy_change_end(byval i as xcb_input_hierarchy_change_iterator_t) as xcb_generic_iterator_t
 3254 declare function xcb_input_xi_change_hierarchy_sizeof(byval _buffer as const any ptr) as long
 3255 declare function xcb_input_xi_change_hierarchy_checked(byval c as xcb_connection_t ptr, byval num_changes as ubyte, byval changes as const xcb_input_hierarchy_change_t ptr) as xcb_void_cookie_t
 3256 declare function xcb_input_xi_change_hierarchy(byval c as xcb_connection_t ptr, byval num_changes as ubyte, byval changes as const xcb_input_hierarchy_change_t ptr) as xcb_void_cookie_t
 3257 declare function xcb_input_xi_set_client_pointer_checked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3258 declare function xcb_input_xi_set_client_pointer(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3259 declare function xcb_input_xi_get_client_pointer(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_xi_get_client_pointer_cookie_t
 3260 declare function xcb_input_xi_get_client_pointer_unchecked(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_xi_get_client_pointer_cookie_t
 3261 declare function xcb_input_xi_get_client_pointer_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_get_client_pointer_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_get_client_pointer_reply_t ptr
 3262 declare function xcb_input_event_mask_sizeof(byval _buffer as const any ptr) as long
 3263 declare function xcb_input_event_mask_mask(byval R as const xcb_input_event_mask_t ptr) as ulong ptr
 3264 declare function xcb_input_event_mask_mask_length(byval R as const xcb_input_event_mask_t ptr) as long
 3265 declare function xcb_input_event_mask_mask_end(byval R as const xcb_input_event_mask_t ptr) as xcb_generic_iterator_t
 3266 declare sub xcb_input_event_mask_next(byval i as xcb_input_event_mask_iterator_t ptr)
 3267 declare function xcb_input_event_mask_end(byval i as xcb_input_event_mask_iterator_t) as xcb_generic_iterator_t
 3268 declare function xcb_input_xi_select_events_sizeof(byval _buffer as const any ptr) as long
 3269 declare function xcb_input_xi_select_events_checked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval num_mask as ushort, byval masks as const xcb_input_event_mask_t ptr) as xcb_void_cookie_t
 3270 declare function xcb_input_xi_select_events(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval num_mask as ushort, byval masks as const xcb_input_event_mask_t ptr) as xcb_void_cookie_t
 3271 declare function xcb_input_xi_query_version(byval c as xcb_connection_t ptr, byval major_version as ushort, byval minor_version as ushort) as xcb_input_xi_query_version_cookie_t
 3272 declare function xcb_input_xi_query_version_unchecked(byval c as xcb_connection_t ptr, byval major_version as ushort, byval minor_version as ushort) as xcb_input_xi_query_version_cookie_t
 3273 declare function xcb_input_xi_query_version_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_query_version_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_query_version_reply_t ptr
 3274 declare function xcb_input_button_class_sizeof(byval _buffer as const any ptr) as long
 3275 declare function xcb_input_button_class_state(byval R as const xcb_input_button_class_t ptr) as ulong ptr
 3276 declare function xcb_input_button_class_state_length(byval R as const xcb_input_button_class_t ptr) as long
 3277 declare function xcb_input_button_class_state_end(byval R as const xcb_input_button_class_t ptr) as xcb_generic_iterator_t
 3278 declare function xcb_input_button_class_labels(byval R as const xcb_input_button_class_t ptr) as xcb_atom_t ptr
 3279 declare function xcb_input_button_class_labels_length(byval R as const xcb_input_button_class_t ptr) as long
 3280 declare function xcb_input_button_class_labels_end(byval R as const xcb_input_button_class_t ptr) as xcb_generic_iterator_t
 3281 declare sub xcb_input_button_class_next(byval i as xcb_input_button_class_iterator_t ptr)
 3282 declare function xcb_input_button_class_end(byval i as xcb_input_button_class_iterator_t) as xcb_generic_iterator_t
 3283 declare function xcb_input_key_class_sizeof(byval _buffer as const any ptr) as long
 3284 declare function xcb_input_key_class_keys(byval R as const xcb_input_key_class_t ptr) as ulong ptr
 3285 declare function xcb_input_key_class_keys_length(byval R as const xcb_input_key_class_t ptr) as long
 3286 declare function xcb_input_key_class_keys_end(byval R as const xcb_input_key_class_t ptr) as xcb_generic_iterator_t
 3287 declare sub xcb_input_key_class_next(byval i as xcb_input_key_class_iterator_t ptr)
 3288 declare function xcb_input_key_class_end(byval i as xcb_input_key_class_iterator_t) as xcb_generic_iterator_t
 3289 declare sub xcb_input_scroll_class_next(byval i as xcb_input_scroll_class_iterator_t ptr)
 3290 declare function xcb_input_scroll_class_end(byval i as xcb_input_scroll_class_iterator_t) as xcb_generic_iterator_t
 3291 declare sub xcb_input_touch_class_next(byval i as xcb_input_touch_class_iterator_t ptr)
 3292 declare function xcb_input_touch_class_end(byval i as xcb_input_touch_class_iterator_t) as xcb_generic_iterator_t
 3293 declare sub xcb_input_valuator_class_next(byval i as xcb_input_valuator_class_iterator_t ptr)
 3294 declare function xcb_input_valuator_class_end(byval i as xcb_input_valuator_class_iterator_t) as xcb_generic_iterator_t
 3295 declare function xcb_input_device_class_sizeof(byval _buffer as const any ptr) as long
 3296 declare function xcb_input_device_class_uninterpreted_data(byval R as const xcb_input_device_class_t ptr) as ubyte ptr
 3297 declare function xcb_input_device_class_uninterpreted_data_length(byval R as const xcb_input_device_class_t ptr) as long
 3298 declare function xcb_input_device_class_uninterpreted_data_end(byval R as const xcb_input_device_class_t ptr) as xcb_generic_iterator_t
 3299 declare sub xcb_input_device_class_next(byval i as xcb_input_device_class_iterator_t ptr)
 3300 declare function xcb_input_device_class_end(byval i as xcb_input_device_class_iterator_t) as xcb_generic_iterator_t
 3301 declare function xcb_input_xi_device_info_sizeof(byval _buffer as const any ptr) as long
 3302 declare function xcb_input_xi_device_info_name(byval R as const xcb_input_xi_device_info_t ptr) as zstring ptr
 3303 declare function xcb_input_xi_device_info_name_length(byval R as const xcb_input_xi_device_info_t ptr) as long
 3304 declare function xcb_input_xi_device_info_name_end(byval R as const xcb_input_xi_device_info_t ptr) as xcb_generic_iterator_t
 3305 declare function xcb_input_xi_device_info_classes_length(byval R as const xcb_input_xi_device_info_t ptr) as long
 3306 declare function xcb_input_xi_device_info_classes_iterator(byval R as const xcb_input_xi_device_info_t ptr) as xcb_input_device_class_iterator_t
 3307 declare sub xcb_input_xi_device_info_next(byval i as xcb_input_xi_device_info_iterator_t ptr)
 3308 declare function xcb_input_xi_device_info_end(byval i as xcb_input_xi_device_info_iterator_t) as xcb_generic_iterator_t
 3309 declare function xcb_input_xi_query_device_sizeof(byval _buffer as const any ptr) as long
 3310 declare function xcb_input_xi_query_device(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_query_device_cookie_t
 3311 declare function xcb_input_xi_query_device_unchecked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_query_device_cookie_t
 3312 declare function xcb_input_xi_query_device_infos_length(byval R as const xcb_input_xi_query_device_reply_t ptr) as long
 3313 declare function xcb_input_xi_query_device_infos_iterator(byval R as const xcb_input_xi_query_device_reply_t ptr) as xcb_input_xi_device_info_iterator_t
 3314 declare function xcb_input_xi_query_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_query_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_query_device_reply_t ptr
 3315 declare function xcb_input_xi_set_focus_checked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval time as xcb_timestamp_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3316 declare function xcb_input_xi_set_focus(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval time as xcb_timestamp_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3317 declare function xcb_input_xi_get_focus(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_get_focus_cookie_t
 3318 declare function xcb_input_xi_get_focus_unchecked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_get_focus_cookie_t
 3319 declare function xcb_input_xi_get_focus_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_get_focus_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_get_focus_reply_t ptr
 3320 declare function xcb_input_xi_grab_device_sizeof(byval _buffer as const any ptr) as long
 3321 declare function xcb_input_xi_grab_device(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval time as xcb_timestamp_t, byval cursor as xcb_cursor_t, byval deviceid as xcb_input_device_id_t, byval mode as ubyte, byval paired_device_mode as ubyte, byval owner_events as ubyte, byval mask_len as ushort, byval mask as const ulong ptr) as xcb_input_xi_grab_device_cookie_t
 3322 declare function xcb_input_xi_grab_device_unchecked(byval c as xcb_connection_t ptr, byval window as xcb_window_t, byval time as xcb_timestamp_t, byval cursor as xcb_cursor_t, byval deviceid as xcb_input_device_id_t, byval mode as ubyte, byval paired_device_mode as ubyte, byval owner_events as ubyte, byval mask_len as ushort, byval mask as const ulong ptr) as xcb_input_xi_grab_device_cookie_t
 3323 declare function xcb_input_xi_grab_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_grab_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_grab_device_reply_t ptr
 3324 declare function xcb_input_xi_ungrab_device_checked(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3325 declare function xcb_input_xi_ungrab_device(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval deviceid as xcb_input_device_id_t) as xcb_void_cookie_t
 3326 declare function xcb_input_xi_allow_events_checked(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval deviceid as xcb_input_device_id_t, byval event_mode as ubyte, byval touchid as ulong, byval grab_window as xcb_window_t) as xcb_void_cookie_t
 3327 declare function xcb_input_xi_allow_events(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval deviceid as xcb_input_device_id_t, byval event_mode as ubyte, byval touchid as ulong, byval grab_window as xcb_window_t) as xcb_void_cookie_t
 3328 declare sub xcb_input_grab_modifier_info_next(byval i as xcb_input_grab_modifier_info_iterator_t ptr)
 3329 declare function xcb_input_grab_modifier_info_end(byval i as xcb_input_grab_modifier_info_iterator_t) as xcb_generic_iterator_t
 3330 declare function xcb_input_xi_passive_grab_device_sizeof(byval _buffer as const any ptr) as long
 3331 declare function xcb_input_xi_passive_grab_device(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval grab_window as xcb_window_t, byval cursor as xcb_cursor_t, byval detail as ulong, byval deviceid as xcb_input_device_id_t, byval num_modifiers as ushort, byval mask_len as ushort, byval grab_type as ubyte, byval grab_mode as ubyte, byval paired_device_mode as ubyte, byval owner_events as ubyte, byval mask as const ulong ptr, byval modifiers as const ulong ptr) as xcb_input_xi_passive_grab_device_cookie_t
 3332 declare function xcb_input_xi_passive_grab_device_unchecked(byval c as xcb_connection_t ptr, byval time as xcb_timestamp_t, byval grab_window as xcb_window_t, byval cursor as xcb_cursor_t, byval detail as ulong, byval deviceid as xcb_input_device_id_t, byval num_modifiers as ushort, byval mask_len as ushort, byval grab_type as ubyte, byval grab_mode as ubyte, byval paired_device_mode as ubyte, byval owner_events as ubyte, byval mask as const ulong ptr, byval modifiers as const ulong ptr) as xcb_input_xi_passive_grab_device_cookie_t
 3333 declare function xcb_input_xi_passive_grab_device_modifiers(byval R as const xcb_input_xi_passive_grab_device_reply_t ptr) as xcb_input_grab_modifier_info_t ptr
 3334 declare function xcb_input_xi_passive_grab_device_modifiers_length(byval R as const xcb_input_xi_passive_grab_device_reply_t ptr) as long
 3335 declare function xcb_input_xi_passive_grab_device_modifiers_iterator(byval R as const xcb_input_xi_passive_grab_device_reply_t ptr) as xcb_input_grab_modifier_info_iterator_t
 3336 declare function xcb_input_xi_passive_grab_device_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_passive_grab_device_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_passive_grab_device_reply_t ptr
 3337 declare function xcb_input_xi_passive_ungrab_device_sizeof(byval _buffer as const any ptr) as long
 3338 declare function xcb_input_xi_passive_ungrab_device_checked(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval detail as ulong, byval deviceid as xcb_input_device_id_t, byval num_modifiers as ushort, byval grab_type as ubyte, byval modifiers as const ulong ptr) as xcb_void_cookie_t
 3339 declare function xcb_input_xi_passive_ungrab_device(byval c as xcb_connection_t ptr, byval grab_window as xcb_window_t, byval detail as ulong, byval deviceid as xcb_input_device_id_t, byval num_modifiers as ushort, byval grab_type as ubyte, byval modifiers as const ulong ptr) as xcb_void_cookie_t
 3340 declare function xcb_input_xi_list_properties_sizeof(byval _buffer as const any ptr) as long
 3341 declare function xcb_input_xi_list_properties(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_list_properties_cookie_t
 3342 declare function xcb_input_xi_list_properties_unchecked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t) as xcb_input_xi_list_properties_cookie_t
 3343 declare function xcb_input_xi_list_properties_properties(byval R as const xcb_input_xi_list_properties_reply_t ptr) as xcb_atom_t ptr
 3344 declare function xcb_input_xi_list_properties_properties_length(byval R as const xcb_input_xi_list_properties_reply_t ptr) as long
 3345 declare function xcb_input_xi_list_properties_properties_end(byval R as const xcb_input_xi_list_properties_reply_t ptr) as xcb_generic_iterator_t
 3346 declare function xcb_input_xi_list_properties_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_list_properties_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_list_properties_reply_t ptr
 3347 declare function xcb_input_xi_change_property_items_data_8(byval S as const xcb_input_xi_change_property_items_t ptr) as ubyte ptr
 3348 declare function xcb_input_xi_change_property_items_data_8_length(byval R as const xcb_input_xi_change_property_request_t ptr, byval S as const xcb_input_xi_change_property_items_t ptr) as long
 3349 declare function xcb_input_xi_change_property_items_data_8_end(byval R as const xcb_input_xi_change_property_request_t ptr, byval S as const xcb_input_xi_change_property_items_t ptr) as xcb_generic_iterator_t
 3350 declare function xcb_input_xi_change_property_items_data_16(byval S as const xcb_input_xi_change_property_items_t ptr) as ushort ptr
 3351 declare function xcb_input_xi_change_property_items_data_16_length(byval R as const xcb_input_xi_change_property_request_t ptr, byval S as const xcb_input_xi_change_property_items_t ptr) as long
 3352 declare function xcb_input_xi_change_property_items_data_16_end(byval R as const xcb_input_xi_change_property_request_t ptr, byval S as const xcb_input_xi_change_property_items_t ptr) as xcb_generic_iterator_t
 3353 declare function xcb_input_xi_change_property_items_data_32(byval S as const xcb_input_xi_change_property_items_t ptr) as ulong ptr
 3354 declare function xcb_input_xi_change_property_items_data_32_length(byval R as const xcb_input_xi_change_property_request_t ptr, byval S as const xcb_input_xi_change_property_items_t ptr) as long
 3355 declare function xcb_input_xi_change_property_items_data_32_end(byval R as const xcb_input_xi_change_property_request_t ptr, byval S as const xcb_input_xi_change_property_items_t ptr) as xcb_generic_iterator_t
 3356 declare function xcb_input_xi_change_property_items_serialize(byval _buffer as any ptr ptr, byval num_items as ulong, byval format as ubyte, byval _aux as const xcb_input_xi_change_property_items_t ptr) as long
 3357 declare function xcb_input_xi_change_property_items_unpack(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte, byval _aux as xcb_input_xi_change_property_items_t ptr) as long
 3358 declare function xcb_input_xi_change_property_items_sizeof(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte) as long
 3359 declare function xcb_input_xi_change_property_checked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval mode as ubyte, byval format as ubyte, byval property as xcb_atom_t, byval type as xcb_atom_t, byval num_items as ulong, byval items as const any ptr) as xcb_void_cookie_t
 3360 declare function xcb_input_xi_change_property(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval mode as ubyte, byval format as ubyte, byval property as xcb_atom_t, byval type as xcb_atom_t, byval num_items as ulong, byval items as const any ptr) as xcb_void_cookie_t
 3361 declare function xcb_input_xi_change_property_aux_checked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval mode as ubyte, byval format as ubyte, byval property as xcb_atom_t, byval type as xcb_atom_t, byval num_items as ulong, byval items as const xcb_input_xi_change_property_items_t ptr) as xcb_void_cookie_t
 3362 declare function xcb_input_xi_change_property_aux(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval mode as ubyte, byval format as ubyte, byval property as xcb_atom_t, byval type as xcb_atom_t, byval num_items as ulong, byval items as const xcb_input_xi_change_property_items_t ptr) as xcb_void_cookie_t
 3363 declare function xcb_input_xi_delete_property_checked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval property as xcb_atom_t) as xcb_void_cookie_t
 3364 declare function xcb_input_xi_delete_property(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval property as xcb_atom_t) as xcb_void_cookie_t
 3365 declare function xcb_input_xi_get_property_items_data_8(byval S as const xcb_input_xi_get_property_items_t ptr) as ubyte ptr
 3366 declare function xcb_input_xi_get_property_items_data_8_length(byval R as const xcb_input_xi_get_property_reply_t ptr, byval S as const xcb_input_xi_get_property_items_t ptr) as long
 3367 declare function xcb_input_xi_get_property_items_data_8_end(byval R as const xcb_input_xi_get_property_reply_t ptr, byval S as const xcb_input_xi_get_property_items_t ptr) as xcb_generic_iterator_t
 3368 declare function xcb_input_xi_get_property_items_data_16(byval S as const xcb_input_xi_get_property_items_t ptr) as ushort ptr
 3369 declare function xcb_input_xi_get_property_items_data_16_length(byval R as const xcb_input_xi_get_property_reply_t ptr, byval S as const xcb_input_xi_get_property_items_t ptr) as long
 3370 declare function xcb_input_xi_get_property_items_data_16_end(byval R as const xcb_input_xi_get_property_reply_t ptr, byval S as const xcb_input_xi_get_property_items_t ptr) as xcb_generic_iterator_t
 3371 declare function xcb_input_xi_get_property_items_data_32(byval S as const xcb_input_xi_get_property_items_t ptr) as ulong ptr
 3372 declare function xcb_input_xi_get_property_items_data_32_length(byval R as const xcb_input_xi_get_property_reply_t ptr, byval S as const xcb_input_xi_get_property_items_t ptr) as long
 3373 declare function xcb_input_xi_get_property_items_data_32_end(byval R as const xcb_input_xi_get_property_reply_t ptr, byval S as const xcb_input_xi_get_property_items_t ptr) as xcb_generic_iterator_t
 3374 declare function xcb_input_xi_get_property_items_serialize(byval _buffer as any ptr ptr, byval num_items as ulong, byval format as ubyte, byval _aux as const xcb_input_xi_get_property_items_t ptr) as long
 3375 declare function xcb_input_xi_get_property_items_unpack(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte, byval _aux as xcb_input_xi_get_property_items_t ptr) as long
 3376 declare function xcb_input_xi_get_property_items_sizeof(byval _buffer as const any ptr, byval num_items as ulong, byval format as ubyte) as long
 3377 declare function xcb_input_xi_get_property(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval _delete as ubyte, byval property as xcb_atom_t, byval type as xcb_atom_t, byval offset as ulong, byval len as ulong) as xcb_input_xi_get_property_cookie_t
 3378 declare function xcb_input_xi_get_property_unchecked(byval c as xcb_connection_t ptr, byval deviceid as xcb_input_device_id_t, byval _delete as ubyte, byval property as xcb_atom_t, byval type as xcb_atom_t, byval offset as ulong, byval len as ulong) as xcb_input_xi_get_property_cookie_t
 3379 declare function xcb_input_xi_get_property_items(byval R as const xcb_input_xi_get_property_reply_t ptr) as any ptr
 3380 declare function xcb_input_xi_get_property_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_get_property_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_get_property_reply_t ptr
 3381 declare function xcb_input_xi_get_selected_events_sizeof(byval _buffer as const any ptr) as long
 3382 declare function xcb_input_xi_get_selected_events(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_xi_get_selected_events_cookie_t
 3383 declare function xcb_input_xi_get_selected_events_unchecked(byval c as xcb_connection_t ptr, byval window as xcb_window_t) as xcb_input_xi_get_selected_events_cookie_t
 3384 declare function xcb_input_xi_get_selected_events_masks_length(byval R as const xcb_input_xi_get_selected_events_reply_t ptr) as long
 3385 declare function xcb_input_xi_get_selected_events_masks_iterator(byval R as const xcb_input_xi_get_selected_events_reply_t ptr) as xcb_input_event_mask_iterator_t
 3386 declare function xcb_input_xi_get_selected_events_reply(byval c as xcb_connection_t ptr, byval cookie as xcb_input_xi_get_selected_events_cookie_t, byval e as xcb_generic_error_t ptr ptr) as xcb_input_xi_get_selected_events_reply_t ptr
 3387 declare sub xcb_input_barrier_release_pointer_info_next(byval i as xcb_input_barrier_release_pointer_info_iterator_t ptr)
 3388 declare function xcb_input_barrier_release_pointer_info_end(byval i as xcb_input_barrier_release_pointer_info_iterator_t) as xcb_generic_iterator_t
 3389 declare function xcb_input_xi_barrier_release_pointer_sizeof(byval _buffer as const any ptr) as long
 3390 declare function xcb_input_xi_barrier_release_pointer_checked(byval c as xcb_connection_t ptr, byval num_barriers as ulong, byval barriers as const xcb_input_barrier_release_pointer_info_t ptr) as xcb_void_cookie_t
 3391 declare function xcb_input_xi_barrier_release_pointer(byval c as xcb_connection_t ptr, byval num_barriers as ulong, byval barriers as const xcb_input_barrier_release_pointer_info_t ptr) as xcb_void_cookie_t
 3392 declare function xcb_input_device_changed_sizeof(byval _buffer as const any ptr) as long
 3393 declare function xcb_input_key_press_sizeof(byval _buffer as const any ptr) as long
 3394 declare function xcb_input_key_release_sizeof(byval _buffer as const any ptr) as long
 3395 declare function xcb_input_button_press_sizeof(byval _buffer as const any ptr) as long
 3396 declare function xcb_input_button_release_sizeof(byval _buffer as const any ptr) as long
 3397 declare function xcb_input_motion_sizeof(byval _buffer as const any ptr) as long
 3398 declare function xcb_input_enter_sizeof(byval _buffer as const any ptr) as long
 3399 declare function xcb_input_leave_sizeof(byval _buffer as const any ptr) as long
 3400 declare function xcb_input_focus_in_sizeof(byval _buffer as const any ptr) as long
 3401 declare function xcb_input_focus_out_sizeof(byval _buffer as const any ptr) as long
 3402 declare sub xcb_input_hierarchy_info_next(byval i as xcb_input_hierarchy_info_iterator_t ptr)
 3403 declare function xcb_input_hierarchy_info_end(byval i as xcb_input_hierarchy_info_iterator_t) as xcb_generic_iterator_t
 3404 declare function xcb_input_hierarchy_sizeof(byval _buffer as const any ptr) as long
 3405 declare function xcb_input_raw_key_press_sizeof(byval _buffer as const any ptr) as long
 3406 declare function xcb_input_raw_key_release_sizeof(byval _buffer as const any ptr) as long
 3407 declare function xcb_input_raw_button_press_sizeof(byval _buffer as const any ptr) as long
 3408 declare function xcb_input_raw_button_release_sizeof(byval _buffer as const any ptr) as long
 3409 declare function xcb_input_raw_motion_sizeof(byval _buffer as const any ptr) as long
 3410 declare function xcb_input_touch_begin_sizeof(byval _buffer as const any ptr) as long
 3411 declare function xcb_input_touch_update_sizeof(byval _buffer as const any ptr) as long
 3412 declare function xcb_input_touch_end_sizeof(byval _buffer as const any ptr) as long
 3413 declare function xcb_input_raw_touch_begin_sizeof(byval _buffer as const any ptr) as long
 3414 declare function xcb_input_raw_touch_update_sizeof(byval _buffer as const any ptr) as long
 3415 declare function xcb_input_raw_touch_end_sizeof(byval _buffer as const any ptr) as long
 3416 
 3417 end extern