KeyChars.mesa
Copyright Ó 1992 by Xerox Corporation. All rights reserved.
Christian Jacobi, February 25, 1992 4:39 pm PST
Conversion between keysyms and CHAR.
DIRECTORY KeyTypes;
KeyChars: CEDAR DEFINITIONS =
BEGIN
KeySym: TYPE ~ KeyTypes.KeySym;
NoSym: KeySym ~ [0];
CharFromKeySym: PROC [keySym: KeySym] RETURNS [char: CHAR];
Returns 0C if no reasonable char is found.
Multiple keysyms do map into the same char.
KeySymFromChar: PROC [char: CHAR] RETURNS [keySym: KeySym];
Returns NoSym if char has value without known KeySym
END.