1xcb_input_get_device_button_mappinXgC(B3)Requxecsbt_sinput_get_device_button_mapping(3)
2
3
4

NAME

6       xcb_input_get_device_button_mapping -
7

SYNOPSIS

9       #include <xcb/xinput.h>
10
11   Request function
12       xcb_input_get_device_button_mapping_cookie_t
13              xcb_input_get_device_button_mapping(xcb_connection_t *conn,
14              uint8_t device_id);
15
16   Reply datastructure
17       typedef struct xcb_input_get_device_button_mapping_reply_t {
18           uint8_t  response_type;
19           uint8_t  xi_reply_type;
20           uint16_t sequence;
21           uint32_t length;
22           uint8_t  map_size;
23           uint8_t  pad0[23];
24       } xcb_input_get_device_button_mapping_reply_t;
25
26   Reply function
27       xcb_input_get_device_button_mapping_reply_t
28              *xcb_input_get_device_button_mapping_reply(xcb_connection_t *conn,
29              xcb_input_get_device_button_mapping_cookie_t cookie,
30              xcb_generic_error_t **e);
31
32   Reply accessors
33       uint8_t *xcb_input_get_device_button_mapping_map(const
34              xcb_input_get_device_button_mapping_request_t *reply);
35
36       int xcb_input_get_device_button_mapping_map_length(const
37              xcb_input_get_device_button_mapping_reply_t *reply);
38
39       xcb_generic_iterator_t
40              xcb_input_get_device_button_mapping_map_end(const
41              xcb_input_get_device_button_mapping_reply_t *reply); uint8_t
42              *xcb_input_get_device_button_mapping_pad_1 (const
43              xcb_input_get_device_button_mapping_request_t *reply)
44

REQUEST ARGUMENTS

46       conn      The XCB connection to X11.
47
48       device_id TODO: NOT YET DOCUMENTED.
49

REPLY FIELDS

51       response_type
52                 The type of this reply, in this case XCB_INPUT_GET_DE‐
53                 VICE_BUTTON_MAPPING. This field is also present in the
54                 xcb_generic_reply_t and can be used to tell replies apart
55                 from each other.
56
57       sequence  The sequence number of the last request processed by the X11
58                 server.
59
60       length    The length of the reply, in words (a word is 4 bytes).
61
62       xi_reply_type
63                 TODO: NOT YET DOCUMENTED.
64
65       map_size  TODO: NOT YET DOCUMENTED.
66

DESCRIPTION

RETURN VALUE

69       Returns an xcb_input_get_device_button_mapping_cookie_t. Errors have to
70       be handled when calling the reply function xcb_input_get_device_but‐
71       ton_mapping_reply.
72
73       If you want to handle errors in the event loop instead, use xcb_in‐
74       put_get_device_button_mapping_unchecked. See xcb-requests(3) for de‐
75       tails.
76

ERRORS

78       This request does never generate any errors.
79

SEE ALSO

AUTHOR

82       Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
83       rections and improvements.
84
85
86
87X Version 11                      libxcbx1c.b1_3input_get_device_button_mapping(3)
Impressum