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
17              keycode of first key of interest
18
19       - num  number of keys desired
20
21       - xkb  pointer to keyboard description where result is stored
22

DESCRIPTION

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

DIAGNOSTICS

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