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

NAME

6       xcb_xkb_get_state -
7

SYNOPSIS

9       #include <xcb/xkb.h>
10
11   Request function
12       xcb_xkb_get_state_cookie_t xcb_xkb_get_state(xcb_connection_t *conn,
13              xcb_xkb_device_spec_t deviceSpec);
14
15   Reply datastructure
16       typedef struct xcb_xkb_get_state_reply_t {
17           uint8_t  response_type;
18           uint8_t  deviceID;
19           uint16_t sequence;
20           uint32_t length;
21           uint8_t  mods;
22           uint8_t  baseMods;
23           uint8_t  latchedMods;
24           uint8_t  lockedMods;
25           uint8_t  group;
26           uint8_t  lockedGroup;
27           int16_t  baseGroup;
28           int16_t  latchedGroup;
29           uint8_t  compatState;
30           uint8_t  grabMods;
31           uint8_t  compatGrabMods;
32           uint8_t  lookupMods;
33           uint8_t  compatLookupMods;
34           uint8_t  pad0;
35           uint16_t ptrBtnState;
36           uint8_t  pad1[6];
37       } xcb_xkb_get_state_reply_t;
38
39   Reply function
40       xcb_xkb_get_state_reply_t
41              *xcb_xkb_get_state_reply(xcb_connection_t *conn,
42              xcb_xkb_get_state_cookie_t cookie, xcb_generic_error_t **e);
43

REQUEST ARGUMENTS

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

REPLY FIELDS

51       response_type
52                 The type of this reply, in this case XCB_XKB_GET_STATE. This
53                 field is also present in the xcb_generic_reply_t and can be
54                 used to tell replies apart from each other.
55
56       sequence  The sequence number of the last request processed by the X11
57                 server.
58
59       length    The length of the reply, in words (a word is 4 bytes).
60
61       deviceID  TODO: NOT YET DOCUMENTED.
62
63       mods      TODO: NOT YET DOCUMENTED.
64
65       baseMods  TODO: NOT YET DOCUMENTED.
66
67       latchedMods
68                 TODO: NOT YET DOCUMENTED.
69
70       lockedMods
71                 TODO: NOT YET DOCUMENTED.
72
73       group     TODO: NOT YET DOCUMENTED.
74
75       lockedGroup
76                 TODO: NOT YET DOCUMENTED.
77
78       baseGroup TODO: NOT YET DOCUMENTED.
79
80       latchedGroup
81                 TODO: NOT YET DOCUMENTED.
82
83       compatState
84                 TODO: NOT YET DOCUMENTED.
85
86       grabMods  TODO: NOT YET DOCUMENTED.
87
88       compatGrabMods
89                 TODO: NOT YET DOCUMENTED.
90
91       lookupMods
92                 TODO: NOT YET DOCUMENTED.
93
94       compatLookupMods
95                 TODO: NOT YET DOCUMENTED.
96
97       ptrBtnState
98                 TODO: NOT YET DOCUMENTED.
99

DESCRIPTION

RETURN VALUE

102       Returns an xcb_xkb_get_state_cookie_t. Errors have to be handled when
103       calling the reply function xcb_xkb_get_state_reply.
104
105       If you want to handle errors in the event loop instead, use
106       xcb_xkb_get_state_unchecked. See xcb-requests(3) for details.
107

ERRORS

109       This request does never generate any errors.
110

SEE ALSO

AUTHOR

113       Generated from xkb.xml. Contact xcb@lists.freedesktop.org for correcā€
114       tions and improvements.
115
116
117
118X Version 11                      libxcb 1.13             xcb_xkb_get_state(3)
Impressum