XKB FUNCTIONS XkbInitCanonicalKeyTypes(3x11)
NAME
XkbInitCanonicalKeyTypes - Set the definitions of the canon-
ical key types in a client map to their default valuesSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Status XkbInitCanonicalKeyTypes (XkbDescPtr xkb, unsigned
int which, int keypadVMod); ARGUMENTS- xkb
keyboard description containing client map to initial-
ize- which
mask of types to initialize- keypadVMod
index of NumLock virtual modifierDESCRIPTION
XkbInitCanonicalKeyTypes initializes the first XkbNumRe-
quiredTypes key types of the keyboard specified by the xkb parameter to their default values. The which parameter specifies what canonical key types to initialize and is abitwise inclusive OR of the following masks: XkbOneLevel-
Mask, XkbTwoLevelMask, XkbAlphabeticMask, and XkbKeypadMask. Only those canonical types specified by the which mask are initialized.If XkbKeypadMask is set in the which parameter, XkbIn-
itCanonicalKeyTypes looks up the NumLock named virtual modifier to determine which virtual modifier to use when initializing the KEYPAD key type. If the NumLock virtualmodifier does not exist, XkbInitCanonicalKeyTypes creates
it.XkbInitCanonicalKeyTypes normally returns Success. It
returns BadAccess if the Xkb extension has not been properly initialized, and BadAccess if the xkb parameter is not valid.RETURN VALUES
Success The XkbInitCanonicalKeyTypes funtion return
Success if the Xkb extension has been prop-
erly initialized and the xkb parameter is valid. DIAGNOSTICSBadAccess The Xkb extension has not been properly ini-
tialized X Version 11 Last change: libX11 1.3.5 1XKB FUNCTIONS XkbInitCanonicalKeyTypes(3x11)
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 2