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

NAME

6       XkbTranslateKeySym  -  Find  the  string  and  symbol associated with a
7       keysym for a given keyboard state
8

SYNOPSIS

10       int XkbTranslateKeySym (Display *dpy, KeySym *sym_inout,  unsigned  int
11              mods, char *buf, int nbytes, int *extra_rtrn);
12

ARGUMENTS

14       - dpy  connection to X server
15
16       - sym_inout
17              symbol to be translated; result of translation
18
19       - mods modifiers to apply to sym_inout
20
21       - buf  buffer into which returned string is written
22
23       - nbytes
24              size of buffer in bytes
25
26       - extra_rtrn
27              number of bytes overflow
28

DESCRIPTION

30       XkbTranslateKeySym applies the transformations specified in mods to the
31       symbol specified by sym_inout.  It returns in buf the string,  if  any,
32       associated  with  the keysym for the current locale. If the transforma‐
33       tions in mods changes the keysym, sym_inout is updated accordingly.  If
34       the  string  returned is larger than nbytes, a count of bytes that does
35       not fit into the buffer is returned in  extra_rtrn.  XkbTranslateKeySym
36       returns the number of bytes it placed into buf.
37

RETURN VALUES

39       buf            Returns  the  string, if any, associated with the keysym
40                      for the current locale.
41
42
43
44
45
46X Version 11                     libX11 1.6.7            XkbTranslateKeySym(3)
Impressum