* This file generated automatically from xinput.xml by c_client.py.
* @defgroup XCB_Input_API XCB Input API
* @brief Input XCB Protocol Implementation.
#define XCB_INPUT_MAJOR_VERSION 2
#define XCB_INPUT_MINOR_VERSION 3
extern xcb_extension_t xcb_input_id;
typedef uint32_t xcb_input_event_class_t;
* @brief xcb_input_event_class_iterator_t
typedef struct xcb_input_event_class_iterator_t {
xcb_input_event_class_t *data;
} xcb_input_event_class_iterator_t;
typedef uint8_t xcb_input_key_code_t;
* @brief xcb_input_key_code_iterator_t
typedef struct xcb_input_key_code_iterator_t {
xcb_input_key_code_t *data;
} xcb_input_key_code_iterator_t;
typedef uint16_t xcb_input_device_id_t;
* @brief xcb_input_device_id_iterator_t
typedef struct xcb_input_device_id_iterator_t {
xcb_input_device_id_t *data;
} xcb_input_device_id_iterator_t;
typedef int32_t xcb_input_fp1616_t;
* @brief xcb_input_fp1616_iterator_t
typedef struct xcb_input_fp1616_iterator_t {
xcb_input_fp1616_t *data;
} xcb_input_fp1616_iterator_t;
* @brief xcb_input_fp3232_t
typedef struct xcb_input_fp3232_t {
* @brief xcb_input_fp3232_iterator_t
typedef struct xcb_input_fp3232_iterator_t {
xcb_input_fp3232_t *data;
} xcb_input_fp3232_iterator_t;
* @brief xcb_input_get_extension_version_cookie_t
typedef struct xcb_input_get_extension_version_cookie_t {
} xcb_input_get_extension_version_cookie_t;
/** Opcode for xcb_input_get_extension_version. */
#define XCB_INPUT_GET_EXTENSION_VERSION 1
* @brief xcb_input_get_extension_version_request_t
typedef struct xcb_input_get_extension_version_request_t {
} xcb_input_get_extension_version_request_t;
* @brief xcb_input_get_extension_version_reply_t
typedef struct xcb_input_get_extension_version_reply_t {
} xcb_input_get_extension_version_reply_t;
typedef enum xcb_input_device_use_t {
XCB_INPUT_DEVICE_USE_IS_X_POINTER = 0,
XCB_INPUT_DEVICE_USE_IS_X_KEYBOARD = 1,
XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_DEVICE = 2,
XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_KEYBOARD = 3,
XCB_INPUT_DEVICE_USE_IS_X_EXTENSION_POINTER = 4
} xcb_input_device_use_t;
typedef enum xcb_input_input_class_t {
XCB_INPUT_INPUT_CLASS_KEY = 0,
XCB_INPUT_INPUT_CLASS_BUTTON = 1,
XCB_INPUT_INPUT_CLASS_VALUATOR = 2,
XCB_INPUT_INPUT_CLASS_FEEDBACK = 3,
XCB_INPUT_INPUT_CLASS_PROXIMITY = 4,
XCB_INPUT_INPUT_CLASS_FOCUS = 5,
XCB_INPUT_INPUT_CLASS_OTHER = 6
} xcb_input_input_class_t;
typedef enum xcb_input_valuator_mode_t {
XCB_INPUT_VALUATOR_MODE_RELATIVE = 0,
XCB_INPUT_VALUATOR_MODE_ABSOLUTE = 1
} xcb_input_valuator_mode_t;
* @brief xcb_input_device_info_t
typedef struct xcb_input_device_info_t {
} xcb_input_device_info_t;
* @brief xcb_input_device_info_iterator_t
typedef struct xcb_input_device_info_iterator_t {
xcb_input_device_info_t *data;
} xcb_input_device_info_iterator_t;
* @brief xcb_input_key_info_t
typedef struct xcb_input_key_info_t {
xcb_input_key_code_t min_keycode;
xcb_input_key_code_t max_keycode;
* @brief xcb_input_key_info_iterator_t
typedef struct xcb_input_key_info_iterator_t {
xcb_input_key_info_t *data;
} xcb_input_key_info_iterator_t;
* @brief xcb_input_button_info_t
typedef struct xcb_input_button_info_t {
} xcb_input_button_info_t;
* @brief xcb_input_button_info_iterator_t
typedef struct xcb_input_button_info_iterator_t {
xcb_input_button_info_t *data;
} xcb_input_button_info_iterator_t;
* @brief xcb_input_axis_info_t
typedef struct xcb_input_axis_info_t {
* @brief xcb_input_axis_info_iterator_t
typedef struct xcb_input_axis_info_iterator_t {
xcb_input_axis_info_t *data;
} xcb_input_axis_info_iterator_t;
* @brief xcb_input_valuator_info_t
typedef struct xcb_input_valuator_info_t {
} xcb_input_valuator_info_t;
* @brief xcb_input_valuator_info_iterator_t
typedef struct xcb_input_valuator_info_iterator_t {
xcb_input_valuator_info_t *data;
} xcb_input_valuator_info_iterator_t;
* @brief xcb_input_input_info_info_t
typedef struct xcb_input_input_info_info_t {
xcb_input_key_code_t min_keycode;
xcb_input_key_code_t max_keycode;
xcb_input_axis_info_t *axes;
} xcb_input_input_info_info_t;
* @brief xcb_input_input_info_t
typedef struct xcb_input_input_info_t {
} xcb_input_input_info_t;
xcb_input_input_info_info (const xcb_input_input_info_t *R);
* @brief xcb_input_input_info_iterator_t
typedef struct xcb_input_input_info_iterator_t {
xcb_input_input_info_t *data;
} xcb_input_input_info_iterator_t;
* @brief xcb_input_device_name_t
typedef struct xcb_input_device_name_t {
} xcb_input_device_name_t;
* @brief xcb_input_device_name_iterator_t
typedef struct xcb_input_device_name_iterator_t {
xcb_input_device_name_t *data;
} xcb_input_device_name_iterator_t;
* @brief xcb_input_list_input_devices_cookie_t
typedef struct xcb_input_list_input_devices_cookie_t {
} xcb_input_list_input_devices_cookie_t;
/** Opcode for xcb_input_list_input_devices. */
#define XCB_INPUT_LIST_INPUT_DEVICES 2
* @brief xcb_input_list_input_devices_request_t
typedef struct xcb_input_list_input_devices_request_t {
} xcb_input_list_input_devices_request_t;
* @brief xcb_input_list_input_devices_reply_t
typedef struct xcb_input_list_input_devices_reply_t {
} xcb_input_list_input_devices_reply_t;
typedef uint8_t xcb_input_event_type_base_t;
* @brief xcb_input_event_type_base_iterator_t
typedef struct xcb_input_event_type_base_iterator_t {
xcb_input_event_type_base_t *data;
} xcb_input_event_type_base_iterator_t;
* @brief xcb_input_input_class_info_t
typedef struct xcb_input_input_class_info_t {
xcb_input_event_type_base_t event_type_base;
} xcb_input_input_class_info_t;
* @brief xcb_input_input_class_info_iterator_t
typedef struct xcb_input_input_class_info_iterator_t {
xcb_input_input_class_info_t *data;
} xcb_input_input_class_info_iterator_t;
* @brief xcb_input_open_device_cookie_t
typedef struct xcb_input_open_device_cookie_t {
} xcb_input_open_device_cookie_t;
/** Opcode for xcb_input_open_device. */
#define XCB_INPUT_OPEN_DEVICE 3
* @brief xcb_input_open_device_request_t
typedef struct xcb_input_open_device_request_t {
} xcb_input_open_device_request_t;
* @brief xcb_input_open_device_reply_t
typedef struct xcb_input_open_device_reply_t {
} xcb_input_open_device_reply_t;
/** Opcode for xcb_input_close_device. */
#define XCB_INPUT_CLOSE_DEVICE 4
* @brief xcb_input_close_device_request_t
typedef struct xcb_input_close_device_request_t {
} xcb_input_close_device_request_t;
* @brief xcb_input_set_device_mode_cookie_t
typedef struct xcb_input_set_device_mode_cookie_t {
} xcb_input_set_device_mode_cookie_t;
/** Opcode for xcb_input_set_device_mode. */
#define XCB_INPUT_SET_DEVICE_MODE 5
* @brief xcb_input_set_device_mode_request_t
typedef struct xcb_input_set_device_mode_request_t {
} xcb_input_set_device_mode_request_t;
* @brief xcb_input_set_device_mode_reply_t
typedef struct xcb_input_set_device_mode_reply_t {
} xcb_input_set_device_mode_reply_t;
/** Opcode for xcb_input_select_extension_event. */
#define XCB_INPUT_SELECT_EXTENSION_EVENT 6
* @brief xcb_input_select_extension_event_request_t
typedef struct xcb_input_select_extension_event_request_t {
} xcb_input_select_extension_event_request_t;
* @brief xcb_input_get_selected_extension_events_cookie_t
typedef struct xcb_input_get_selected_extension_events_cookie_t {
} xcb_input_get_selected_extension_events_cookie_t;
/** Opcode for xcb_input_get_selected_extension_events. */
#define XCB_INPUT_GET_SELECTED_EXTENSION_EVENTS 7
* @brief xcb_input_get_selected_extension_events_request_t
typedef struct xcb_input_get_selected_extension_events_request_t {
} xcb_input_get_selected_extension_events_request_t;
* @brief xcb_input_get_selected_extension_events_reply_t
typedef struct xcb_input_get_selected_extension_events_reply_t {
uint16_t num_this_classes;
uint16_t num_all_classes;
} xcb_input_get_selected_extension_events_reply_t;
typedef enum xcb_input_propagate_mode_t {
XCB_INPUT_PROPAGATE_MODE_ADD_TO_LIST = 0,
XCB_INPUT_PROPAGATE_MODE_DELETE_FROM_LIST = 1
} xcb_input_propagate_mode_t;
/** Opcode for xcb_input_change_device_dont_propagate_list. */
#define XCB_INPUT_CHANGE_DEVICE_DONT_PROPAGATE_LIST 8
* @brief xcb_input_change_device_dont_propagate_list_request_t
typedef struct xcb_input_change_device_dont_propagate_list_request_t {