1XkbInitCanonicalKeyTypes(3)      XKB FUNCTIONS     XkbInitCanonicalKeyTypes(3)
2
3
4

NAME

6       XkbInitCanonicalKeyTypes  -  Set  the  definitions of the canonical key
7       types in a client map to their default values
8

SYNOPSIS

10       Status XkbInitCanonicalKeyTypes (XkbDescPtr xkb,  unsigned  int  which,
11              int keypadVMod);
12

ARGUMENTS

14       xkb    keyboard description containing client map to initialize
15
16       which  mask of types to initialize
17
18       keypadVMod
19              index of NumLock virtual modifier
20

DESCRIPTION

22       XkbInitCanonicalKeyTypes  initializes the first XkbNumRequiredTypes key
23       types of the keyboard specified by the xkb parameter to  their  default
24       values.  The which parameter specifies what canonical key types to ini‐
25       tialize and is a bitwise inclusive  OR  of  the  following  masks:  Xk‐
26       bOneLevelMask,  XkbTwoLevelMask,  XkbAlphabeticMask, and XkbKeypadMask.
27       Only those canonical types specified by the which mask are initialized.
28
29       If XkbKeypadMask is set in the  which  parameter,  XkbInitCanonicalKey‐
30       Types  looks  up  the NumLock named virtual modifier to determine which
31       virtual modifier to use when initializing the KEYPAD key type.  If  the
32       NumLock  virtual modifier does not exist, XkbInitCanonicalKeyTypes cre‐
33       ates it.
34
35       XkbInitCanonicalKeyTypes normally returns Success. It returns BadAccess
36       if  the  Xkb extension has not been properly initialized, and BadAccess
37       if the xkb parameter is not valid.
38

RETURN VALUES

40       Success        The XkbInitCanonicalKeyTypes function return Success  if
41                      the  Xkb extension has been properly initialized and the
42                      xkb parameter is valid.
43

DIAGNOSTICS

45       BadAccess      The Xkb extension has not been properly initialized
46
47
48
49X Version 11                     libX11 1.8.7      XkbInitCanonicalKeyTypes(3)
Impressum