XDisplayKeycodes

Syntax

XDisplayKeycodes(display, min_keycodes_return, max_keycodes_return)
        Display *display;
        int *min_keycodes_return, *max_keycodes_return;

Arguments

display Specifies the connection to the X server.
min_keycodes_return Returns the minimum number of KeyCodes.
max_keycodes_return Returns the maximum number of KeyCodes.

Description

The XDisplayKeycodes() function returns the min-keycodes and max-keycodes supported by the specified display. The minimum number of KeyCodes returned is never less than 8, and the maximum number of KeyCodes returned is never greater than 255. Not all KeyCodes in this range are required to have corresponding keys.

See also

XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XFree(), XFreeModifiermap(), XGetKeyboardMapping(), XGetModifierMapping(), XInsertModifiermapEntry(), XNewModifiermap(), XSetModifierMapping(), XSetPointerMapping(), "Keyboard Encoding".
Christophe Tronche, ch@tronche.com