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 size of buffer in bytes
24
25       extra_rtrn
26              number of bytes overflow
27

DESCRIPTION

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

RETURN VALUES

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