1. NAME▲
XkbTranslateKeySym - Find the string and symbol associated with a keysym for a given keyboard state
2. SYNOPSIS ▲
int XkbTranslateKeySym (Display * dpy , KeySym * sym_inout , unsigned int mods , char * buf , int nbytes , int * extra_rtrn );
3. ARGUMENTS ▲
- - dpy
connection to X server - - sym_inout
symbol to be translated; result of translation - - mods
modifiers to apply to sym_inout - - buf
buffer into which returned string is written - - nbytes
size of buffer in bytes - - extra_rtrn
number of bytes overflow
4. DESCRIPTION ▲
XkbTranslateKeySymapplies the transformations specified in modsto the symbol specified by sym_inout.It returns in bufthe string, if any, associated with the keysym for the current locale. If the transformations in modschanges the keysym, sym_inoutis updated accordingly. If the string returned is larger than nbytes,a count of bytes that does not fit into the buffer is returned in extra_rtrn. XkbTranslateKeySymreturns the number of bytes it placed into buf.
5. RETURN VALUES ▲
- buf
Returns the string, if any, associated with the keysym for the current locale.