Home | History | Annotate | Download | only in ximcp

Lines Matching refs:KeySym

71 #include <X11/keysym.h>
470 static int IsCancelComposeKey(KeySym *symbol, XKeyEvent *event);
481 static KeySym HexIMNormalKey(
483 KeySym symbol,
485 static KeySym HexIMFirstComposeKey(
487 KeySym symbol,
489 static KeySym HexIMSecondComposeKey(
491 KeySym symbol
493 static KeySym HexIMComposeSequence(KeySym ks1, KeySym ks2);
497 KeySym insym,
498 KeySym *outsym, KeySym *lower, KeySym *upper);
670 typedef KeySym (*StateProc)(
672 KeySym symbol,
717 KeySym from;
718 KeySym to;
736 KeySym key; /* keysym rebound */
738 KeySym *modifiers; /* modifier keysyms you want */
743 /* Convert keysym to 'Thai Compose' keysym */
748 KeySym insym,
749 KeySym *outsym, KeySym *lower, KeySym *upper)
771 KeySym *keysym_return,
772 KeySym *lsym_return,
773 KeySym *usym_return)
776 register KeySym *syms;
777 KeySym sym = 0, lsym = 0, usym = 0;
845 * Translate KeySym to TACTIS code output.
846 * The current implementation uses ISO latin-1 keysym.
853 register KeySym symbol,
854 register KeySym lsym,
855 register KeySym usym,
860 KeySym ckey = 0;
903 /* if X keysym, convert to ascii by grabbing low 7 bits */
936 * It is represented by the latin-1 keysym XK_thorn (0xfe).
955 * given a KeySym, returns the first keycode containing it, if any.
960 register KeySym code)
963 register KeySym *kmax = dpy->keysyms +
965 register KeySym *k = dpy->keysyms;
979 * can't map some keysym to a modifier.
1022 KeySym HexIMNormalKey(
1024 KeySym symbol,
1038 KeySym HexIMFirstComposeKey(
1040 KeySym symbol,
1055 thai_part->keysym = symbol; /* save key pressed */
1061 KeySym HexIMSecondComposeKey(
1063 KeySym symbol,
1079 if ((symbol = HexIMComposeSequence (thai_part->keysym, symbol))
1090 * Interprets two keysyms entered as hex digits and return the Thai keysym
1096 KeySym HexIMComposeSequence(KeySym ks1, KeySym ks2)
1122 return (KeySym)tactis_code;
1134 KeySym *symbol,
1215 ThaiFltAcceptInput(Xic ic, unsigned char new_char, KeySym symbol)
1222 b->tree[ic->private.local.composed].keysym = symbol;
1224 b->tree[ic->private.local.composed].keysym = NoSymbol;
1238 b->tree[ic->private.local.composed].keysym = NoSymbol;
1244 ThaiFltReplaceInput(Xic ic, unsigned char new_char, KeySym symbol)
1252 b->tree[ic->private.local.composed].keysym = symbol;
1254 b->tree[ic->private.local.composed].keysym = NoSymbol;
1289 KeySym symbol;
1295 KeySym lsym,usym;
1357 * Translate KeySym into mb.