1xcb_input_get_device_motion_eventsX(C3B)Requexsctbs_input_get_device_motion_events(3)
2
3
4
6 xcb_input_get_device_motion_events -
7
9 #include <xcb/xinput.h>
10
11 Request function
12 xcb_input_get_device_motion_events_cookie_t
13 xcb_input_get_device_motion_events(xcb_connection_t *conn,
14 xcb_timestamp_t start, xcb_timestamp_t stop, uint8_t device_id);
15
16 Reply datastructure
17 typedef struct xcb_input_get_device_motion_events_reply_t {
18 uint8_t response_type;
19 uint8_t xi_reply_type;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t num_events;
23 uint8_t num_axes;
24 uint8_t device_mode;
25 uint8_t pad0[18];
26 } xcb_input_get_device_motion_events_reply_t;
27
28 Reply function
29 xcb_input_get_device_motion_events_reply_t
30 *xcb_input_get_device_motion_events_reply(xcb_connection_t *conn,
31 xcb_input_get_device_motion_events_cookie_t cookie,
32 xcb_generic_error_t **e);
33
34 Reply accessors
35 int xcb_input_get_device_motion_events_events_length(const
36 xcb_input_get_device_motion_events_reply_t *reply);
37
38 xcb_input_device_time_coord_iterator_t
39 xcb_input_get_device_motion_events_events_iterator(const
40 xcb_input_get_device_motion_events_reply_t *reply);
41
43 conn The XCB connection to X11.
44
45 start TODO: NOT YET DOCUMENTED.
46
47 stop TODO: NOT YET DOCUMENTED.
48
49 device_id TODO: NOT YET DOCUMENTED.
50
52 response_type
53 The type of this reply, in this case XCB_INPUT_GET_DEVICE_MO‐
54 TION_EVENTS. This field is also present in the xcb_gener‐
55 ic_reply_t and can be used to tell replies apart from each
56 other.
57
58 sequence The sequence number of the last request processed by the X11
59 server.
60
61 length The length of the reply, in words (a word is 4 bytes).
62
63 xi_reply_type
64 TODO: NOT YET DOCUMENTED.
65
66 num_events
67 TODO: NOT YET DOCUMENTED.
68
69 num_axes TODO: NOT YET DOCUMENTED.
70
71 device_mode
72 TODO: NOT YET DOCUMENTED.
73
76 Returns an xcb_input_get_device_motion_events_cookie_t. Errors have to
77 be handled when calling the reply function xcb_input_get_device_mo‐
78 tion_events_reply.
79
80 If you want to handle errors in the event loop instead, use xcb_in‐
81 put_get_device_motion_events_unchecked. See xcb-requests(3) for de‐
82 tails.
83
85 This request does never generate any errors.
86
89 Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
90 rections and improvements.
91
92
93
94X Version 11 libxcb 1.x1c3b._1input_get_device_motion_events(3)