Home
last modified time | relevance | path

Searched refs:keysym (Results 1 – 25 of 45) sorted by relevance

12

/external/libvncserver/webclients/novnc/include/
Dinput.js41 var keysym = null;
45 case 8 : keysym = 0xFF08; break; // BACKSPACE
46 case 13 : keysym = 0xFF0D; break; // ENTER
49 case 9 : keysym = 0xFF09; break; // TAB
55 case 27 : keysym = 0xFF1B; break; // ESCAPE
56 case 46 : keysym = 0xFFFF; break; // DELETE
58 case 36 : keysym = 0xFF50; break; // HOME
59 case 35 : keysym = 0xFF57; break; // END
60 case 33 : keysym = 0xFF55; break; // PAGE_UP
61 case 34 : keysym = 0xFF56; break; // PAGE_DOWN
[all …]
/external/libvncserver/x11vnc/
Dlinuxfb.c54 void console_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
272 void console_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { in console_key_command() argument
276 …if (debug_keyboard) fprintf(stderr, "console_key_command: %d %s\n", (int) keysym, down ? "down" : … in console_key_command()
290 if (keysym == XK_Control_L || keysym == XK_Control_R) { in console_key_command()
300 if (keysym == XK_Alt_L || keysym == XK_Alt_R) { in console_key_command()
313 if (keysym == XK_Escape) { in console_key_command()
314 keysym = 27; in console_key_command()
318 if (keysym >= 'a' && keysym <= 'z') { in console_key_command()
319 keysym -= ('a' - 1); in console_key_command()
320 } else if (keysym >= 'A' && keysym <= 'Z') { in console_key_command()
[all …]
Dkeyboard.c54 int track_mod_state(rfbKeySym keysym, rfbBool down, rfbBool set);
61 int add_keysym(KeySym keysym);
64 int sloppy_key_check(int key, rfbBool down, rfbKeySym keysym, int *new_kc);
73 void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
81 static void xkb_tweak_keyboard(rfbBool down, rfbKeySym keysym,
84 static void modifier_tweak_keyboard(rfbBool down, rfbKeySym keysym,
86 static void pipe_keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
136 KeySym keysym; in clear_modifiers()
155 keysym = keymap[ (i - minkey) * syms_per_keycode + j ]; in clear_modifiers()
156 if (keysym == NoSymbol || ! ismodkey(keysym)) { in clear_modifiers()
[all …]
Dkeyboard.h41 extern int track_mod_state(rfbKeySym keysym, rfbBool down, rfbBool set);
48 extern int add_keysym(KeySym keysym);
51 extern int sloppy_key_check(int key, rfbBool down, rfbKeySym keysym, int *new_kc);
60 extern void keyboard(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
Dunixpw.c97 void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init);
1666 void unixpw_keystroke(rfbBool down, rfbKeySym keysym, int init) { argument
1723 rfbLog("unixpw_keystroke: unixpw_denied state: 0x%x\n", (int) keysym);
1726 if (keysym <= 0) {
1727 rfbLog("unixpw_keystroke: bad keysym1: 0x%x\n", (int) keysym);
1734 str = XKeysymToString(keysym);
1737 rfbLog("unixpw_keystroke: bad keysym2: 0x%x\n", (int) keysym);
1743 rfbLog("unixpw_keystroke: bad keysym3: 0x%x\n", (int) keysym);
1749 down ? "down":"up ", keysym, keystr);
1752 if (keysym == XK_Return || keysym == XK_Linefeed || keysym == XK_Tab) {
[all …]
Dutil.h94 #define ismodkey(keysym) \ argument
95 ((((KeySym)(keysym) >= XK_Shift_L) && ((KeySym)(keysym) <= XK_Hyper_R) && \
96 ((KeySym)(keysym) != XK_Caps_Lock) && ((KeySym)(keysym) != XK_Shift_Lock)))
Dv4l.c59 void v4l_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
621 void v4l_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { in v4l_key_command() argument
638 if (keysym == XK_b) { in v4l_key_command()
640 } else if (keysym == XK_B) { in v4l_key_command()
642 } else if (keysym == XK_h) { in v4l_key_command()
644 } else if (keysym == XK_H) { in v4l_key_command()
646 } else if (keysym == XK_c) { in v4l_key_command()
648 } else if (keysym == XK_C) { in v4l_key_command()
650 } else if (keysym == XK_n) { in v4l_key_command()
652 } else if (keysym == XK_N) { in v4l_key_command()
[all …]
Dxrecord.h62 extern int xrecord_skip_keysym(rfbKeySym keysym);
64 extern int xrecord_scroll_keysym(rfbKeySym keysym);
Dnox11.h2145 KeySym keysym; member
5835 #define IsKeypadKey(keysym) \ argument
5836 (((KeySym)(keysym) >= XK_KP_Space) && ((KeySym)(keysym) <= XK_KP_Equal))
5838 #define IsPrivateKeypadKey(keysym) \ argument
5839 (((KeySym)(keysym) >= 0x11000000) && ((KeySym)(keysym) <= 0x1100FFFF))
5841 #define IsCursorKey(keysym) \ argument
5842 (((KeySym)(keysym) >= XK_Home) && ((KeySym)(keysym) < XK_Select))
5844 #define IsPFKey(keysym) \ argument
5845 (((KeySym)(keysym) >= XK_KP_F1) && ((KeySym)(keysym) <= XK_KP_F4))
5847 #define IsFunctionKey(keysym) \ argument
[all …]
Dxrecord.c75 int xrecord_skip_keysym(rfbKeySym keysym);
77 int xrecord_scroll_keysym(rfbKeySym keysym);
96 static int xrecord_vi_scroll_keysym(rfbKeySym keysym);
97 static int xrecord_emacs_scroll_keysym(rfbKeySym keysym);
342 int xrecord_skip_keysym(rfbKeySym keysym) { in xrecord_skip_keysym() argument
343 KeySym sym = (KeySym) keysym; in xrecord_skip_keysym()
420 static int xrecord_vi_scroll_keysym(rfbKeySym keysym) { in xrecord_vi_scroll_keysym() argument
421 KeySym sym = (KeySym) keysym; in xrecord_vi_scroll_keysym()
434 static int xrecord_emacs_scroll_keysym(rfbKeySym keysym) { in xrecord_emacs_scroll_keysym() argument
435 KeySym sym = (KeySym) keysym; in xrecord_emacs_scroll_keysym()
[all …]
Dmacosx.c61 void macosx_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
94 void macosx_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { in macosx_key_command() argument
95 if (!down || !keysym || !client) {} in macosx_key_command()
343 void macosx_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client) { in macosx_key_command() argument
345 …if (debug_keyboard) fprintf(stderr, "macosx_key_command: %d %s\n", (int) keysym, down ? "down" : "… in macosx_key_command()
356 macosxCG_keysym_inject((int) down, (unsigned int) keysym); in macosx_key_command()
DmacosxCG.c65 void macosxCG_keysym_inject(int down, unsigned int keysym);
963 void macosxCG_keysym_inject(int down, unsigned int keysym) { in macosxCG_keysym_inject() argument
964 CGKeyCode keyCode = keyTable[(unsigned short)keysym]; in macosxCG_keysym_inject()
968 UInt32 modsForKey = keyTableMods[keysym] << 8; in macosxCG_keysym_inject()
973 …ebug_keyboard) fprintf(stderr, "macosxCG_keysym_inject(down=%d, keysym=%d)\n", down, (int) keysym); in macosxCG_keysym_inject()
975 if (keysym < 0xFF && macosx_us_kbd) { in macosxCG_keysym_inject()
976 keyChar = (CGCharCode) keysym; in macosxCG_keysym_inject()
Dv4l.h38 extern void v4l_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
Dlinuxfb.h38 extern void console_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
Dpointer.c71 KeySym keysym; member
145 pointer_map[from][n].keysym = NoSymbol; in buttonparse()
168 pointer_map[from][n].keysym = ksym; in buttonparse()
208 pointer_map[from][n].keysym = NoSymbol; in buttonparse()
235 pointer_map[from][0].keysym = NoSymbol; in buttonparse()
284 pointer_map[i][0].keysym = NoSymbol; in initialize_pointer_map()
DmacosxCG.h54 extern void macosxCG_keysym_inject(int down, unsigned int keysym);
Duinput.h55 extern void uinput_key_command(int down, int keysym, rfbClientPtr client);
/external/skia/src/views/unix/
Dkeysym2ucs.c40 unsigned short keysym; member
818 long keysym2ucs(KeySym keysym) in keysym2ucs() argument
825 if ((keysym >= 0x0020 && keysym <= 0x007e) || in keysym2ucs()
826 (keysym >= 0x00a0 && keysym <= 0x00ff)) in keysym2ucs()
827 return keysym; in keysym2ucs()
830 if ((keysym & 0xff000000) == 0x01000000) in keysym2ucs()
831 return keysym & 0x00ffffff; in keysym2ucs()
836 if (keysymtab[mid].keysym < keysym) in keysym2ucs()
838 else if (keysymtab[mid].keysym > keysym) in keysym2ucs()
DXkeysToSkKeys.h16 SkKey XKeyToSkKey(KeySym keysym) { in XKeyToSkKey() argument
17 switch (keysym) { in XKeyToSkKey()
DSkOSWindow_Unix.cpp238 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, in nextXEvent() local
240 if (keysym == XK_Escape) { in nextXEvent()
243 this->handleKey(XKeyToSkKey(keysym)); in nextXEvent()
244 long uni = keysym2ucs(keysym); in nextXEvent()
Dkeysym2ucs.h15 long keysym2ucs(KeySym keysym);
/external/libvncserver/VisualNaCro/
Drecorder.pl144 $keysym=nacro::getkeysym($vnc);
146 if(nacro::sendkey($vnc,$keysym,$keydown)) {
148 if ($symbolic and exists $sym_name{$keysym}) {
149 print OUT 'nacro::sendkey($vnc,$sym{'.$sym_name{$keysym}."},$keydown);\n";
151 print OUT "nacro::sendkey(\$vnc,$keysym,$keydown);\n";
154 if($keysym==0xffe3 || $keysym==0xffe4) {
204 $keysym=nacro::getkeysym($vnc);
206 if($keysym==ord('q')) {
211 } elsif ($keysym == ord('d')) {
220 } elsif ($keysym == ord('i')) {
[all …]
Dnacro.c20 uint32_t keysym; member
75 static void got_key(rfbBool down,rfbKeySym keysym,rfbClientRec* cl) in got_key() argument
80 res->keysym=keysym; in got_key()
624 return r->keysym; in getkeysym()
714 bool_t sendkey(resource_t res,keysym_t keysym,bool_t keydown) in sendkey() argument
719 return SendKeyEvent(r->client,keysym,keydown); in sendkey()
730 int keysym = *string; in sendascii() local
733 if (keysym >= 8 && keysym < ' ') in sendascii()
734 keysym += 0xff00; in sendascii()
735 else if (keysym >= 'A' && keysym <= 'Z') in sendascii()
[all …]
/external/libvncserver/x11vnc/misc/
Dvcinject.pl99 my ($j, $id, $down, $k, $keysym, $rest) = split(' ', $_);
101 $n = lookup($down, $k, $keysym);
103 print STDERR "skip: '$keysym' -> $n\n" if $down && $debug;
110 print STDERR "ctrl=$control $keysym/$k syscall(" .
/external/libvncserver/client_examples/
DSDLvncviewer.c81 SDLKey sym = e->keysym.sym; in SDL_key2rfbKeySym()
159 if (e->keysym.mod & (KMOD_LSHIFT | KMOD_RSHIFT)) { in SDL_key2rfbKeySym()
167 if (e->keysym.unicode < 0x100) in SDL_key2rfbKeySym()
168 k = e->keysym.unicode; in SDL_key2rfbKeySym()
424 if (e->key.keysym.sym == SDLK_RALT) in handleSDLEvent()
426 if (e->key.keysym.sym == SDLK_LALT) in handleSDLEvent()

12