1XkbGetState(3) XKB FUNCTIONS XkbGetState(3)
2
3
4
6 XkbGetState - Obtains the keyboard state
7
9 Status XkbGetState (Display *display, unsigned int device_spec, Xkb‐
10 StatePtr state_return);
11
13 display
14 connection to the X server
15
16 device_spec
17 device ID, or XkbUseCoreKbd
18
19 state_return
20 backfilled with Xkb state
21
23 The XkbGetState function queries the server for the current keyboard
24 state, waits for a reply, and then backfills state_return with the re‐
25 sults.
26
27 All group values are expressed as group indices in the range [0..3].
28 Modifiers and the compatibility modifier state values are expressed as
29 the bitwise union of the core X11 modifier masks. The pointer button
30 state is reported as in the core X11 protocol.
31
32
33
34X Version 11 libX11 1.7.0 XkbGetState(3)