XKB FUNCTIONS XkbKeysymToModifiers(3x11)
NAME
XkbKeysymToModifiers - Finds the set of modifiers bound to a
particular keysym on the core keyboardSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
unsigned int XkbKeysymToModifiers (Display *dpy, KeySym ks);
ARGUMENTS- dpy
connection to X server- ks keysym of interest
DESCRIPTION
XkbKeysymToModifiers finds the set of modifiers currently
bound to the keysym ks on the core keyboard. The value returned is the mask of modifiers bound to the keysym ks. Ifno modifiers are bound to the keysym, XkbKeysymToModifiers
returns zero; otherwise, it returns the inclusive OR of zero or more of the following: ShiftMask, ControlMask, LockMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, and Mod5Mask.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