XKB FUNCTIONS XkbGetState(3x11)
NAME
XkbGetState - Obtains the keyboard state
SYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Status XkbGetState (Display *display, unsigned int
device_spec, XkbStatePtr state_return);
ARGUMENTS display connection to the X serverdevice_spec
device ID, or XkbUseCoreKbdstate_return
backfilled with Xkb stateDESCRIPTION
The XkbGetState function queries the server for the current
keyboard state, waits for a reply, and then backfillsstate_return with the results.
All group values are expressed as group indices in the range [0..3]. Modifiers and the compatibility modifier state values are expressed as the bitwise union of the core X11 modifier masks. The pointer button state is reported as in the core X11 protocol.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 1