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

NAME

6       XkbGetKeySyms  -  Obtain the symbols for a subset of the keys in a key‐
7       board description
8

SYNOPSIS

10       Status XkbGetKeySyms (Display *dpy, unsigned int  first,  unsigned  int
11              num, XkbDescPtr xkb);
12

ARGUMENTS

14       - dpy  connection to X server
15
16       - first
17              keycode of first key to get
18
19       - num  number of keycodes for which syms desired
20
21       - xkb  Xkb description to be updated
22

DESCRIPTION

24       XkbGetKeySyms  sends  a  request  to  the  server  to obtain the set of
25       keysyms bound to num keys starting with the key whose keycode is first.
26       It  waits  for a reply and returns the keysyms in the map.syms field of
27       xkb.  If successful, XkbGetKeySyms returns Success. The  xkb  parameter
28       must be a pointer to a valid Xkb keyboard description.
29
30       If  the  client  map  in  the xkb parameter has not been allocated, Xk‐
31       bGetKeySyms allocates and initializes it before obtaining the symbols.
32
33       If a compatible version of Xkb is not available in the  server  or  the
34       Xkb  extension has not been properly initialized, XkbGetKeySyms returns
35       BadAccess. If num is less than 1 or greater  than  XkbMaxKeyCount,  Xk‐
36       bGetKeySyms  returns  BadValue.  If  any  allocation  errors occur, Xk‐
37       bGetKeySyms returns BadAlloc.
38

RETURN VALUES

40       Success        The XkbGetKeySyms function returns Success if it gets  a
41                      reply  to  a  request to the server to obtain the set of
42                      keysyms bound to num keys starting with  the  key  whose
43                      keycode is first.
44

DIAGNOSTICS

46       BadAccess      The Xkb extension has not been properly initialized
47
48       BadAlloc       Unable to allocate storage
49
50       BadValue       An argument is out of range
51
52
53
54X Version 11                    libX11 1.7.3.1                XkbGetKeySyms(3)
Impressum