1. NAME▲

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

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

  • - dpy
        connection to X server
  • - first
        keycode of first key of interest
  • - num
        number of keys desired
  • - xkb
        pointer to keyboard description where result is stored

4. DESCRIPTION ▲

XkbGetKeyActionssends a request to the server to obtain the actions for numkeys on the keyboard starting with key first.It waits for a reply and returns the actions in the server->key_actsfield of xkb.If successful, XkbGetKeyActionsreturns Success. The xkbparameter must be a pointer to a valid Xkb keyboard description. If the servermap, in the xkbparameter, has not been allocated, XkbGetKeyActionsallocates and initializes it before obtaining the actions. If the server does not have a compatible version of Xkb, or the Xkb extension has not been properly initialized, XkbGetKeyActionsreturns BadAccess. If numis less than 1 or greater than XkbMaxKeyCount, XkbGetKeyActionsreturns BadValue. If any allocation errors occur, XkbGetKeyActionsreturns BadAlloc.

5. DIAGNOSTICS ▲

BadAccess

               The Xkb extension has not been properly initialized

BadAlloc

               Unable to allocate storage

BadValue

               An argument is out of range