www.LinuxHowtos.org
XkbAllocKeyboard
Section: XKB FUNCTIONS (3)Updated: libX11 1.6.4
Index Return to Main Contents
NAME
XkbAllocKeyboard - Creates a keyboard description from scratchSYNOPSIS
-
XkbDescRec XkbAllocKeyboard
(void);
DESCRIPTION
If XkbAllocKeyboard fails to allocate the keyboard description, it returns NULL. Otherwise, it returns a pointer to an empty keyboard description structure. The device_spec field will have been initialized to XkbUseCoreKbd. You may then either fill in the structure components or use Xkb functions to obtain values for the structure components from a keyboard device.
SEE ALSO
malloc(3F), XkbUseCoreKbd(3), XkbGetKeyboard(3)