1XkbGetKeyActions(3) XKB FUNCTIONS XkbGetKeyActions(3)
2
3
4
6 XkbGetKeyActions - Update the actions (the key_acts array) for a subset
7 of the keys in a keyboard description
8
10 Status XkbGetKeyActions (Display *dpy, unsigned int first, unsigned int
11 num, XkbDescPtr xkb);
12
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
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, Xk‐
31 bGetKeyActions allocates and initializes it before obtaining the ac‐
32 tions.
33
34 If the server does not have a compatible version of Xkb, or the Xkb ex‐
35 tension has not been properly initialized, XkbGetKeyActions returns
36 BadAccess. If num is less than 1 or greater than XkbMaxKeyCount, Xk‐
37 bGetKeyActions returns BadValue. If any allocation errors occur, Xk‐
38 bGetKeyActions returns BadAlloc.
39
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.7.3.1 XkbGetKeyActions(3)