Home | History | Annotate | Download | only in x11vnc

Lines Matching refs:keycode

76 static void delete_keycode(KeyCode kc, int bequiet);
129 static KeyCode keycodes[256];
137 KeyCode keycode;
159 keycode = XKeysymToKeycode(dpy, keysym);
160 if (keycode == NoSymbol) {
163 keycodes[kcount] = keycode;
181 keycode = keycodes[i];
183 if (! keystate[(int) keycode]) {
189 "keycode=0x%x\n", keystrs[i], keysym, keycode);
191 XTestFakeKeyEvent_wr(dpy, keycode, False, CurrentTime);
278 KeyCode keycode = (KeyCode) k;
279 rfbLog("clear_keys: keycode=%d\n", keycode);
280 XTestFakeKeyEvent_wr(dpy, keycode, False, CurrentTime);
329 KeyCode key = map->modifiermap[k];
579 static void delete_keycode(KeyCode kc, int bequiet) {
605 rfbLog("deleted keycode from X display: %03d 0x%x \"%s\"\n",
884 KeyCode code;
902 * *first* keycode bound to it. kc_vec will be a permutation
934 KeyCode k = XKeysymToKeycode(dpy, ksym);
943 * the keycode is already up... look for a single one
1093 KeyCode kc = XKeysymToKeycode(dpy, must);
1121 rfbLog("XKEYBOARD: number of keysyms per keycode %d is greater\n", syms_per_keycode);
1274 xkbkeysyms[] For a (keycode,group,level) holds the KeySym (0 for none)
1275 xkbstate[] For a (keycode,group,level) holds the corresponding
1277 xkbignore[] For a (keycode,group,level) which modifiers can be
1279 xkbmodifiers[] For the KeySym bound to this (keycode,group,level) store
1311 /* first keycode for a modifier type (multi_key too) */
1325 * loop over all possible (keycode, group, level) triples
1329 rfbLog("initialize_xkb_modtweak: XKB keycode -> keysyms "
1419 * and keycode range:
1446 * keycode (simulating Key "events") and ask
1448 * matches the Keysym we have for this (keycode,
1542 * ambiguities in the reverse map: Keysym -> KeyCode + Modstate,
1571 * problem: KeySym (from VNC client) => KeyCode(s) to press to generate
1572 * it. The one-to-many KeySym => KeyCode mapping makes it difficult, as
1657 * one-to-many Keysym -> Keycode issue. we set the size at 256,
1670 * loop over all (keycode, group, level) triples looking for
1673 * (keycode,grp,lvl) triples would be the way to improve this
1706 fprintf(stderr, " xxx skipping keycode: %d "
1713 /* ignore repeats for same keycode */
1823 * keycode = 125 on my keyboard.
1829 "keycode %03d: %4d\n",
1997 fprintf(stderr, " *** found more than one keycode: ");
2051 * sentmods[] is the corresponding keycode to use
2063 * be changed (by us sending some keycode event)
2109 fprintf(stderr, " xxx skipping keycode: "
2123 * keycode presses/release require to match the desired
2166 fprintf(stderr, " xxx skipping keycode:"
2317 * With the above modifier work done, send the actual keycode:
2360 static KeyCode keycodes[0x100];
2361 static KeyCode left_shift_code, right_shift_code, altgr_code, iso_level3_code;
2547 rfbLog("initialize_modtweak: keycode -> "
2607 KeyCode altgr = altgr_code;
2665 KeyCode k;
2725 k = (KeyCode) new_kc;
2732 "KeyCode 0x%x%s\n", (int) keysym, str ? str : "null",
3051 KeyCode k;
3404 rfbLog("keyboard(): KeySym 0x%x \"%s\" -> KeyCode 0x%x%s\n",