XDisplayKeycodes() XDisplayKeycodes()
Name
XDisplayKeycodes - obtain the range of legal keycodes for a server.
Synopsis
XDisplayKeycodes(display, min_keycodes_return, max_keycodes_return)
Display *display;
int *min_keycodes_return, *max_keycodes_return;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
min_keycodes_return
Returns the minimum keycode.
max_keycodes_return
Returns the maximum keycode.
Description
XDisplayKeycodes() returns the min_keycodes_return and max_keycodes_
return supported by the specified server. The minimum keycode returned is never less than 8, and the maximum keycode returned is never
greater than 255. Not all keycodes in this range are required to have corresponding keys.
For more information, see Volume One, Chapter 9, The Keyboard and Pointer.
See Also
XKeycodeToKeysym(), XKeysymToKeycode(), XLookupString().
Xlib - Window Manager Hints XDisplayKeycodes()