NAME
XRebindKeysym — rebind a keysym to a string for client.
SYNOPSIS
XRebindKeysym(display, keysym, mod_list, mod_count, string,
num_bytes) Display ∗display; KeySym keysym; KeySym ∗mod_list; int mod_count; unsigned char ∗string; int num_bytes;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
keysymSpecifies the keysym to be rebound.
mod_listSpecifies a pointer to an array of keysyms that are being used as modifiers.
mod_countSpecifies the number of modifiers in the modifier list.
stringSpecifies a pointer to the string that is to be copied and returned by XLookupString() in response to later events.
num_bytesSpecifies the length of the string.
DESCRIPTION
XRebindKeysym() binds the string to the specified keysym, so that string and keysym are returned by XLookukpString when that key is pressed and the modifiers specified in mod_list are also being held down. This function rebinds the meaning of a keysym for a client. It does not redefine the keycode in the server but merely provides an easy way for long strings to be attached to keys. No text conversions are performed; the client is responsible for supplying appropriately encoded strings. Note that you are allowed to rebind a keysym that may not exist.
See Volume One, Chapter 9, The Keyboard and Pointer, for a description of keysyms and keyboard mapping.
SEE ALSO
XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XFreeModifiermap(), XGetKeyboardMapping(), XGetModifierMapping(), XInsertModifiermapEntry(), XKeycodeToKeysym(), XKeysymToKeycode(), XKeysymToString(), XLookupKeysym(), XLookupString(), XNewModifiermap(), XQueryKeymap(), XRefreshKeyboardMapping(), XSetModifierMapping(), XStringToKeysym().
Xlib Reference Manual