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

NAME

6       XkbGetKeyActions - Update the actions (the key_acts array) for a subset
7       of the keys in a keyboard description
8

SYNOPSIS

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

ARGUMENTS

14       dpy    connection to X server
15
16       first  keycode of first key of interest
17
18       num    number of keys desired
19
20       xkb    pointer to keyboard description where result is stored
21

DESCRIPTION

23       XkbGetKeyActions  sends  a  request to the server to obtain the actions
24       for num keys on the keyboard starting with key first.  It waits  for  a
25       reply and returns the actions in the server->key_acts field of xkb.  If
26       successful, XkbGetKeyActions returns Success. The xkb parameter must be
27       a pointer to a valid Xkb keyboard description.
28
29       If  the  server  map, in the xkb parameter, has not been allocated, Xk‐
30       bGetKeyActions allocates and initializes it before  obtaining  the  ac‐
31       tions.
32
33       If the server does not have a compatible version of Xkb, or the Xkb ex‐
34       tension has not been  properly  initialized,  XkbGetKeyActions  returns
35       BadAccess.  If  num  is less than 1 or greater than XkbMaxKeyCount, Xk‐
36       bGetKeyActions returns BadValue. If any allocation  errors  occur,  Xk‐
37       bGetKeyActions returns BadAlloc.
38

DIAGNOSTICS

40       BadAccess      The Xkb extension has not been properly initialized
41
42       BadAlloc       Unable to allocate storage
43
44       BadValue       An argument is out of range
45
46
47
48X Version 11                     libX11 1.8.7              XkbGetKeyActions(3)
Impressum