16.2 Latin-1 Keyboard Event Functions

"Locales and Internationalized Text Functions" describes internationalized text input facilities, but sometimes it is expedient to write an application that only deals with Latin-1 characters and ASCII controls, so Xlib provides a simple function for that purpose. XLookupString() handles the standard modifier semantics described in "Keyboard Encoding". This function does not use any of the input method facilities described in "Locales and Internationalized Text Functions" and does not depend on the current locale.

To map a key event to an ISO Latin-1 string, use XLookupString().

To rebind the meaning of a KeySym for XLookupString(), use XRebindKeysym().

Next: Allocating Permanent Storage

Christophe Tronche, [email protected]