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

NAME

6       xcb_get_keyboard_mapping -
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_get_keyboard_mapping_cookie_t
13              xcb_get_keyboard_mapping(xcb_connection_t *conn,
14              xcb_keycode_t first_keycode, uint8_t count);
15
16   Reply datastructure
17       typedef struct xcb_get_keyboard_mapping_reply_t {
18           uint8_t  response_type;
19           uint8_t  keysyms_per_keycode;
20           uint16_t sequence;
21           uint32_t length;
22           uint8_t  pad0[24];
23       } xcb_get_keyboard_mapping_reply_t;
24
25   Reply function
26       xcb_get_keyboard_mapping_reply_t
27              *xcb_get_keyboard_mapping_reply(xcb_connection_t *conn,
28              xcb_get_keyboard_mapping_cookie_t cookie,
29              xcb_generic_error_t **e);
30
31   Reply accessors
32       xcb_keysym_t *xcb_get_keyboard_mapping_keysyms(const
33              xcb_get_keyboard_mapping_request_t *reply);
34
35       int xcb_get_keyboard_mapping_keysyms_length(const
36              xcb_get_keyboard_mapping_reply_t *reply);
37
38       xcb_generic_iterator_t xcb_get_keyboard_mapping_keysyms_end(const
39              xcb_get_keyboard_mapping_reply_t *reply);
40

REQUEST ARGUMENTS

42       conn      The XCB connection to X11.
43
44       first_keycode
45                 TODO: NOT YET DOCUMENTED.
46
47       count     TODO: NOT YET DOCUMENTED.
48

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

65       Returns an xcb_get_keyboard_mapping_cookie_t. Errors have to be handled
66       when calling the reply function xcb_get_keyboard_mapping_reply.
67
68       If you want to handle errors in the event loop instead, use
69       xcb_get_keyboard_mapping_unchecked. See xcb-requests(3) for details.
70

ERRORS

72       This request does never generate any errors.
73

SEE ALSO

AUTHOR

76       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
77       rections and improvements.
78
79
80
81X Version 11                      libxcb 1.13      xcb_get_keyboard_mapping(3)
Impressum