toml@Solbourne.COM (Tom LaStrange) (07/12/89)
Is there some hidden Xlib function that does the inverse of XLookupString? I want to go through a string of characters and find the keycode and modifier state for each of the characters. For example, the "1" and "!" keys on my keyboard generate the same keycode but the state of the modifier keys determines what is returned from XLookupString. I want to pass a "!" character to a routine and get back the proper keycode and modifier bits. Please, please tell me to RTFM rather than tell me it can't be done. Thanks, Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,nbires,sun}!stan!toml Longmont, CO 80501
rws@EXPO.LCS.MIT.EDU (07/12/89)
Is there some hidden Xlib function that does the inverse of XLookupString? Nope.