1xcb_input_get_device_control(3)  XCB Requests  xcb_input_get_device_control(3)
2
3
4

NAME

6       xcb_input_get_device_control -
7

SYNOPSIS

9       #include <xcb/xinput.h>
10
11   Request function
12       xcb_input_get_device_control_cookie_t
13              xcb_input_get_device_control(xcb_connection_t *conn,
14              uint16_t control_id, uint8_t device_id);
15
16   Reply datastructure
17       typedef struct xcb_input_get_device_control_reply_t {
18           uint8_t  response_type;
19           uint8_t  xi_reply_type;
20           uint16_t sequence;
21           uint32_t length;
22           uint8_t  status;
23           uint8_t  pad0[23];
24       } xcb_input_get_device_control_reply_t;
25
26   Reply function
27       xcb_input_get_device_control_reply_t
28              *xcb_input_get_device_control_reply(xcb_connection_t *conn,
29              xcb_input_get_device_control_cookie_t cookie,
30              xcb_generic_error_t **e);
31
32   Reply accessors
33       xcb_input_device_state_t *xcb_input_get_device_control_control (const
34       xcb_input_get_device_control_request_t *reply)
35

REQUEST ARGUMENTS

37       conn      The XCB connection to X11.
38
39       control_id
40                 TODO: NOT YET DOCUMENTED.
41
42       device_id TODO: NOT YET DOCUMENTED.
43

REPLY FIELDS

45       response_type
46                 The type of this reply, in this case XCB_INPUT_GET_DE‐
47                 VICE_CONTROL. This field is also present in the xcb_gener‐
48                 ic_reply_t and can be used to tell replies apart from each
49                 other.
50
51       sequence  The sequence number of the last request processed by the X11
52                 server.
53
54       length    The length of the reply, in words (a word is 4 bytes).
55
56       xi_reply_type
57                 TODO: NOT YET DOCUMENTED.
58
59       status    TODO: NOT YET DOCUMENTED.
60

DESCRIPTION

RETURN VALUE

63       Returns an xcb_input_get_device_control_cookie_t. Errors have to be
64       handled when calling the reply function xcb_input_get_device_con‐
65       trol_reply.
66
67       If you want to handle errors in the event loop instead, use xcb_in‐
68       put_get_device_control_unchecked. See xcb-requests(3) for details.
69

ERRORS

71       This request does never generate any errors.
72

SEE ALSO

AUTHOR

75       Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
76       rections and improvements.
77
78
79
80X Version 11                     libxcb 1.13.1 xcb_input_get_device_control(3)
Impressum