1xcb_input_list_input_devices(3) XCB Requests xcb_input_list_input_devices(3)
2
3
4
6 xcb_input_list_input_devices -
7
9 #include <xcb/xinput.h>
10
11 Request function
12 xcb_input_list_input_devices_cookie_t
13 xcb_input_list_input_devices(xcb_connection_t *conn,
14
15 Reply datastructure
16 typedef struct xcb_input_list_input_devices_reply_t {
17 uint8_t response_type;
18 uint8_t xi_reply_type;
19 uint16_t sequence;
20 uint32_t length;
21 uint8_t devices_len;
22 uint8_t pad0[23];
23 } xcb_input_list_input_devices_reply_t;
24
25 Reply function
26 xcb_input_list_input_devices_reply_t
27 *xcb_input_list_input_devices_reply(xcb_connection_t *conn,
28 xcb_input_list_input_devices_cookie_t cookie,
29 xcb_generic_error_t **e);
30
31 Reply accessors
32 xcb_input_device_info_t *xcb_input_list_input_devices_devices(const
33 xcb_input_list_input_devices_request_t *reply);
34
35 int xcb_input_list_input_devices_devices_length(const
36 xcb_input_list_input_devices_reply_t *reply);
37
38 xcb_input_device_info_iterator_t
39 xcb_input_list_input_devices_devices_iterator(const
40 xcb_input_list_input_devices_reply_t *reply);
41
42 int xcb_input_list_input_devices_infos_length(const
43 xcb_input_list_input_devices_reply_t *reply);
44
45 xcb_input_input_info_iterator_t
46 xcb_input_list_input_devices_infos_iterator(const
47 xcb_input_list_input_devices_reply_t *reply);
48
49 int xcb_input_list_input_devices_names_length(const
50 xcb_input_list_input_devices_reply_t *reply);
51
52 xcb_str_iterator_t xcb_input_list_input_devices_names_iterator(const
53 xcb_input_list_input_devices_reply_t *reply); uint8_t
54 *xcb_input_list_input_devices_pad_1 (const
55 xcb_input_list_input_devices_request_t *reply)
56
58 conn The XCB connection to X11.
59
61 response_type
62 The type of this reply, in this case XCB_INPUT_LIST_INPUT_DE‐
63 VICES. This field is also present in the xcb_generic_reply_t
64 and can be used to tell replies apart from each other.
65
66 sequence The sequence number of the last request processed by the X11
67 server.
68
69 length The length of the reply, in words (a word is 4 bytes).
70
71 xi_reply_type
72 TODO: NOT YET DOCUMENTED.
73
74 devices_len
75 TODO: NOT YET DOCUMENTED.
76
79 Returns an xcb_input_list_input_devices_cookie_t. Errors have to be
80 handled when calling the reply function xcb_input_list_input_de‐
81 vices_reply.
82
83 If you want to handle errors in the event loop instead, use xcb_in‐
84 put_list_input_devices_unchecked. See xcb-requests(3) for details.
85
87 This request does never generate any errors.
88
91 Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
92 rections and improvements.
93
94
95
96X Version 11 libxcb 1.12 xcb_input_list_input_devices(3)