1xcb_get_keyboard_control(3) XCB Requests xcb_get_keyboard_control(3)
2
3
4
6 xcb_get_keyboard_control -
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_get_keyboard_control_cookie_t
13 xcb_get_keyboard_control(xcb_connection_t *conn,
14
15 Reply datastructure
16 typedef struct xcb_get_keyboard_control_reply_t {
17 uint8_t response_type;
18 uint8_t global_auto_repeat;
19 uint16_t sequence;
20 uint32_t length;
21 uint32_t led_mask;
22 uint8_t key_click_percent;
23 uint8_t bell_percent;
24 uint16_t bell_pitch;
25 uint16_t bell_duration;
26 uint8_t pad0[2];
27 uint8_t auto_repeats[32];
28 } xcb_get_keyboard_control_reply_t;
29
30 Reply function
31 xcb_get_keyboard_control_reply_t
32 *xcb_get_keyboard_control_reply(xcb_connection_t *conn,
33 xcb_get_keyboard_control_cookie_t cookie,
34 xcb_generic_error_t **e);
35
37 conn The XCB connection to X11.
38
40 response_type
41 The type of this reply, in this case XCB_GET_KEYBOARD_CON‐
42 TROL. This field is also present in the xcb_generic_reply_t
43 and can be used to tell replies apart from each other.
44
45 sequence The sequence number of the last request processed by the X11
46 server.
47
48 length The length of the reply, in words (a word is 4 bytes).
49
50 global_auto_repeat
51 One of the following values:
52
53 XCB_AUTO_REPEAT_MODE_OFF
54 TODO: NOT YET DOCUMENTED.
55
56 XCB_AUTO_REPEAT_MODE_ON
57 TODO: NOT YET DOCUMENTED.
58
59 XCB_AUTO_REPEAT_MODE_DEFAULT
60 TODO: NOT YET DOCUMENTED.
61 TODO: NOT YET DOCUMENTED.
62
63 led_mask TODO: NOT YET DOCUMENTED.
64
65 key_click_percent
66 TODO: NOT YET DOCUMENTED.
67
68 bell_percent
69 TODO: NOT YET DOCUMENTED.
70
71 bell_pitch
72 TODO: NOT YET DOCUMENTED.
73
74 bell_duration
75 TODO: NOT YET DOCUMENTED.
76
77 auto_repeats
78 TODO: NOT YET DOCUMENTED.
79
82 Returns an xcb_get_keyboard_control_cookie_t. Errors have to be handled
83 when calling the reply function xcb_get_keyboard_control_reply.
84
85 If you want to handle errors in the event loop instead, use
86 xcb_get_keyboard_control_unchecked. See xcb-requests(3) for details.
87
89 This request does never generate any errors.
90
93 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
94 rections and improvements.
95
96
97
98X Version 11 libxcb 1.13.1 xcb_get_keyboard_control(3)