1xcb_input_get_device_property(3) XCB Requests xcb_input_get_device_property(3)
2
3
4
6 xcb_input_get_device_property -
7
9 #include <xcb/xinput.h>
10
11 Request function
12 xcb_input_get_device_property_cookie_t
13 xcb_input_get_device_property(xcb_connection_t *conn,
14 xcb_atom_t property, xcb_atom_t type, uint32_t offset,
15 uint32_t len, uint8_t device_id, uint8_t _delete);
16
17 Reply datastructure
18 typedef struct xcb_input_get_device_property_reply_t {
19 uint8_t response_type;
20 uint8_t xi_reply_type;
21 uint16_t sequence;
22 uint32_t length;
23 xcb_atom_t type;
24 uint32_t bytes_after;
25 uint32_t num_items;
26 uint8_t format;
27 uint8_t device_id;
28 uint8_t pad0[10];
29 } xcb_input_get_device_property_reply_t;
30
31 Reply function
32 xcb_input_get_device_property_reply_t
33 *xcb_input_get_device_property_reply(xcb_connection_t *conn,
34 xcb_input_get_device_property_cookie_t cookie,
35 xcb_generic_error_t **e);
36
37 Reply accessors
38 xcb_input_get_device_property_items_t
39 *xcb_input_get_device_property_items (const
40 xcb_input_get_device_property_request_t *reply)
41
43 conn The XCB connection to X11.
44
45 property TODO: NOT YET DOCUMENTED.
46
47 type TODO: NOT YET DOCUMENTED.
48
49 offset TODO: NOT YET DOCUMENTED.
50
51 len TODO: NOT YET DOCUMENTED.
52
53 device_id TODO: NOT YET DOCUMENTED.
54
55 _delete TODO: NOT YET DOCUMENTED.
56
58 response_type
59 The type of this reply, in this case XCB_INPUT_GET_DE‐
60 VICE_PROPERTY. This field is also present in the xcb_gener‐
61 ic_reply_t and can be used to tell replies apart from each
62 other.
63
64 sequence The sequence number of the last request processed by the X11
65 server.
66
67 length The length of the reply, in words (a word is 4 bytes).
68
69 xi_reply_type
70 TODO: NOT YET DOCUMENTED.
71
72 type TODO: NOT YET DOCUMENTED.
73
74 bytes_after
75 TODO: NOT YET DOCUMENTED.
76
77 num_items TODO: NOT YET DOCUMENTED.
78
79 format TODO: NOT YET DOCUMENTED.
80
81 device_id TODO: NOT YET DOCUMENTED.
82
85 Returns an xcb_input_get_device_property_cookie_t. Errors have to be
86 handled when calling the reply function xcb_input_get_device_proper‐
87 ty_reply.
88
89 If you want to handle errors in the event loop instead, use xcb_in‐
90 put_get_device_property_unchecked. See xcb-requests(3) for details.
91
93 This request does never generate any errors.
94
97 Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
98 rections and improvements.
99
100
101
102X Version 11 libxcb 1.13 xcb_input_get_device_property(3)