1XkbKeysymToModifiers(3) XKB FUNCTIONS XkbKeysymToModifiers(3)
2
3
4
6 XkbKeysymToModifiers - Finds the set of modifiers bound to a particular
7 keysym on the core keyboard
8
10 unsigned int XkbKeysymToModifiers (Display *dpy, KeySym ks);
11
13 - dpy connection to X server
14
15 - ks keysym of interest
16
18 XkbKeysymToModifiers finds the set of modifiers currently bound to the
19 keysym ks on the core keyboard. The value returned is the mask of modi‐
20 fiers bound to the keysym ks. If no modifiers are bound to the keysym,
21 XkbKeysymToModifiers returns zero; otherwise, it returns the inclusive
22 OR of zero or more of the following: ShiftMask, ControlMask, LockMask,
23 Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, and Mod5Mask.
24
25
26
27X Version 11 libX11 1.7.0 XkbKeysymToModifiers(3)