Index of Section 3 Manual Pages
| Interix / SUA | XkbInitCanonicalKeyTypes.3 | Interix / SUA |
XkbInitCanonicalKeyTypes(3XKB FUNCTIONXkbInitCanonicalKeyTypes(3)
NAME
XkbInitCanonicalKeyTypes - Set the definitions of the
canonical key types in a client map to their default val-
ues
SYNOPSIS
Status XkbInitCanonicalKeyTypes ( xkb, which, keypadVMod )
XkbDescPtr xkb;
unsigned int which;
int keypadVMod;
ARGUMENTS
- xkb keyboard description containing client map to ini-
tialize
- which
mask of types to initialize
- keypadVMod
index of NumLock virtual modifier
DESCRIPTION
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 a
bitwise inclusive OR of the following masks: XkbOneLevel-
Mask, XkbTwoLevelMask, XkbAlphabeticMask, and XkbKeypad-
Mask. Only those canonical types specified by the which
mask are initialized.
If XkbKeypadMask is set in the which parameter, XkbInit-
CanonicalKeyTypes looks up the NumLock named virtual modi-
fier to determine which virtual modifier to use when ini-
tializing the KEYPAD key type. If the NumLock virtual mod-
ifier does not exist, XkbInitCanonicalKeyTypes creates it.
XkbInitCanonicalKeyTypes normally returns Success. It
returns BadAccess if the Xkb extension has not been prop-
erly 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.
DIAGNOSTICS
BadAccess The Xkb extension has not been properly
initialized
X Version 11 libX11 1.1.XkbInitCanonicalKeyTypes(3)