1xcb_input_get_device_key_mapping(3X)CB Requestxscb_input_get_device_key_mapping(3)
2
3
4

NAME

6       xcb_input_get_device_key_mapping -
7

SYNOPSIS

9       #include <xcb/xinput.h>
10
11   Request function
12       xcb_input_get_device_key_mapping_cookie_t
13              xcb_input_get_device_key_mapping(xcb_connection_t *conn,
14              uint8_t device_id, xcb_input_key_code_t first_keycode,
15              uint8_t count);
16
17   Reply datastructure
18       typedef struct xcb_input_get_device_key_mapping_reply_t {
19           uint8_t  response_type;
20           uint8_t  xi_reply_type;
21           uint16_t sequence;
22           uint32_t length;
23           uint8_t  keysyms_per_keycode;
24           uint8_t  pad0[23];
25       } xcb_input_get_device_key_mapping_reply_t;
26
27   Reply function
28       xcb_input_get_device_key_mapping_reply_t
29              *xcb_input_get_device_key_mapping_reply(xcb_connection_t *conn,
30              xcb_input_get_device_key_mapping_cookie_t cookie,
31              xcb_generic_error_t **e);
32
33   Reply accessors
34       xcb_keysym_t *xcb_input_get_device_key_mapping_keysyms(const
35              xcb_input_get_device_key_mapping_request_t *reply);
36
37       int xcb_input_get_device_key_mapping_keysyms_length(const
38              xcb_input_get_device_key_mapping_reply_t *reply);
39
40       xcb_generic_iterator_t
41              xcb_input_get_device_key_mapping_keysyms_end(const
42              xcb_input_get_device_key_mapping_reply_t *reply);
43

REQUEST ARGUMENTS

45       conn      The XCB connection to X11.
46
47       device_id TODO: NOT YET DOCUMENTED.
48
49       first_keycode
50                 TODO: NOT YET DOCUMENTED.
51
52       count     TODO: NOT YET DOCUMENTED.
53

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

74       Returns an xcb_input_get_device_key_mapping_cookie_t. Errors have to be
75       handled when calling the reply function xcb_input_get_device_key_map‐
76       ping_reply.
77
78       If you want to handle errors in the event loop instead, use xcb_in‐
79       put_get_device_key_mapping_unchecked. See xcb-requests(3) for details.
80

ERRORS

82       This request does never generate any errors.
83

SEE ALSO

AUTHOR

86       Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
87       rections and improvements.
88
89
90
91X Version 11                      libxcb 1.1x3cb_input_get_device_key_mapping(3)
Impressum