Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

displaySpecifies 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(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026