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,
31       XkbGetKeySyms allocates and initializes it before  obtaining  the  sym‐
32       bols.
33
34       If  a  compatible  version of Xkb is not available in the server or the
35       Xkb extension has not been properly initialized, XkbGetKeySyms  returns
36       BadAccess.  If  num  is  less  than  1  or greater than XkbMaxKeyCount,
37       XkbGetKeySyms  returns  BadValue.  If  any  allocation  errors   occur,
38       XkbGetKeySyms returns BadAlloc.
39

RETURN VALUES

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

DIAGNOSTICS

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