/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
SDL_ndsevents.c | 40 SDL_keysym keysym; local 41 keysym.mod=KMOD_NONE; 44 keysym.scancode=i; 45 keysym.sym=keymap[i]; 50 SDL_PrivateKeyboard(SDL_RELEASED, &keysym); 56 SDL_PrivateKeyboard(SDL_PRESSED, &keysym);
|
/external/chromium_org/content/browser/renderer_host/ |
web_input_event_aurax11.cc | 40 #include <X11/keysym.h> 66 // To support DOM3 'location' attribute, we need to lookup an X KeySym and 68 KeySym keysym = XK_VoidSymbol; local 69 XLookupString(event, NULL, 0, &keysym, NULL); 70 switch (keysym) {
|
/external/chromium_org/third_party/skia/src/views/unix/ |
keysym2ucs.c | 2 * This module converts keysym values into the corresponding ISO 10646 5 * The array keysymtab[] contains pairs of X11 keysym values for graphical 7 * keysym2ucs() maps a keysym onto a Unicode value using a binary search, 8 * therefore keysymtab[] must remain SORTED by keysym value. 10 * The keysym -> UTF-8 conversion will hopefully one day be provided 15 * U-00FFFFFF by a keysym value in the range 0x01000000 to 0x01ffffff. 20 * U+ABCD you can directly use keysym 0x0100abcd. 40 unsigned short keysym; member in struct:codepair [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
SDL_cacaevents.c | 45 SDL_keysym keysym; local 70 keysym.scancode = key; 71 keysym.sym = key; 72 keysym.mod = KMOD_NONE; 73 keysym.unicode = 0; 75 keysym.unicode = key; 77 posted += SDL_PrivateKeyboard((event & CACA_EVENT_KEY_PRESS) ? SDL_PRESSED : SDL_RELEASED, &keysym);
|
/external/skia/src/views/unix/ |
keysym2ucs.c | 2 * This module converts keysym values into the corresponding ISO 10646 5 * The array keysymtab[] contains pairs of X11 keysym values for graphical 7 * keysym2ucs() maps a keysym onto a Unicode value using a binary search, 8 * therefore keysymtab[] must remain SORTED by keysym value. 10 * The keysym -> UTF-8 conversion will hopefully one day be provided 15 * U-00FFFFFF by a keysym value in the range 0x01000000 to 0x01ffffff. 20 * U+ABCD you can directly use keysym 0x0100abcd. 40 unsigned short keysym; member in struct:codepair [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
SDL_aaevents.c | 36 /* The translation tables from a console scancode to a SDL keysym */ 39 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 47 SDL_keysym keysym; local 109 posted += SDL_PrivateKeyboard(SDL_PRESSED, TranslateKey(evt, &keysym)); 114 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(evt, &keysym)); 184 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 190 /* Set the keysym information */ 191 keysym->scancode = scancode; 192 keysym->sym = keymap[scancode]; 193 keysym->mod = KMOD_NONE [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/ |
SDL_biosevents.c | 72 SDL_keysym keysym; local 91 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE)); 96 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
|
SDL_gemdosevents.c | 73 SDL_keysym keysym; local 92 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE)); 97 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
|
SDL_ikbdevents.c | 74 SDL_keysym keysym; local 82 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE)); 89 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgaevents.c | 80 SDL_keysym keysym; local 89 /* Get the translated SDL virtual keysym */ 90 keysym.scancode = keycode; 91 keysym.sym = X11_TranslateKeycode(DGA_Display, keycode); 92 keysym.mod = KMOD_NONE; 93 keysym.unicode = 0; 107 keysym.unicode = (Uint8)keybuf[0]; 110 posted = SDL_PrivateKeyboard(SDL_PRESSED, &keysym); 116 SDL_keysym keysym; local 125 /* Get the translated SDL virtual keysym */ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
SDL_DirectFB_events.c | 41 /* The translation tables from a DirectFB keycode to a SDL keysym */ 43 static SDL_keysym *DirectFB_TranslateKey (DFBInputEvent *ev, SDL_keysym *keysym); 56 SDL_keysym keysym; local 69 posted += SDL_PrivateKeyboard(SDL_PRESSED, DirectFB_TranslateKey(&evt, &keysym)); 72 posted += SDL_PrivateKeyboard(SDL_RELEASED, DirectFB_TranslateKey(&evt, &keysym)); 191 static SDL_keysym *DirectFB_TranslateKey (DFBInputEvent *ev, SDL_keysym *keysym) 193 /* Set the keysym information */ 194 keysym->scancode = ev->key_id; 195 keysym->mod = KMOD_NONE; /* FIXME */ 196 keysym->unicode = (DFB_KEY_TYPE (ev->key_symbol) == DIKT_UNICODE) ? ev->key_symbol : 0 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nxevents.c | 35 // The translation tables from a nanox keysym to a SDL keysym 112 SDL_keysym * NX_TranslateKey (GR_EVENT_KEYSTROKE * keystroke, SDL_keysym * keysym) 118 keysym -> scancode = keystroke -> scancode ; 119 keysym -> sym = SDLK_UNKNOWN ; 122 keysym -> sym = NX_NONASCII_keymap [ch & 0xFF] ; 124 keysym -> sym = ch & 0x7F ; 127 keysym -> mod = KMOD_NONE ; 134 keysym -> mod |= KMOD_LSHIFT ; 136 keysym -> mod |= KMOD_RSHIFT 281 SDL_keysym keysym ; local 291 SDL_keysym keysym ; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
SDL_svgaevents.c | 43 /* The translation tables from a console scancode to a SDL keysym */ 54 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 56 /* Ugh, we have to duplicate the kernel's keysym mapping code... 67 /* Load all the keysym mappings */ 189 SDL_keysym keysym; local 193 TranslateKey(scancode, &keysym)); 196 TranslateKey(scancode, &keysym)); 336 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 338 /* Set the keysym information */ 339 keysym->scancode = scancode [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsevents.c | 98 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 100 keysym->scancode = scancode; 101 keysym->sym = SDLK_UNKNOWN; 102 keysym->mod = KMOD_NONE; 105 keysym->sym = keymap[scancode]; 107 if (keysym->sym == SDLK_UNKNOWN) 110 return keysym; 116 SDL_keysym keysym; local 125 TranslateKey(c, &keysym));
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
SDL_epocevents.cpp | 27 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym); 31 /* The translation tables from a console scancode to a SDL keysym */ 33 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym); 250 SDL_keysym keysym; local 317 (void*)TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym); 321 switch((int)keysym.sym) { 335 posted += SDL_PrivateKeyboard(SDL_PRESSED, &keysym); 348 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym)); 440 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym) 445 /* Set the keysym information */ [all...] |
/external/qemu/ui/ |
keymaps.c | 2 * QEMU keysym to keycode conversion using rdesktop keymaps 34 return p->keysym; 105 int keysym; local 107 keysym = get_keysym(table, line); 108 if (keysym == 0) { 109 // fprintf(stderr, "Warning: unknown keysym %s\n", line); 117 add_to_key_range(&k->numlock_range, keysym); 118 //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode); 123 if (keysym < MAX_NORMAL_KEYCODE) [all...] |
keymaps.h | 2 * QEMU keysym to keycode conversion using rdesktop keymaps 32 int keysym; member in struct:__anon33967 46 int keysym; member in struct:__anon33968::__anon33969 56 int keysym2scancode(void *kbd_layout, int keysym); 58 int keysym_is_numlock(void *kbd_layout, int keysym);
|
/external/chromium_org/chrome/test/chromedriver/ |
keycode_text_conversion_x.cc | 8 #include <X11/keysym.h> 159 int keysym = XkbKeycodeToKeysym(display, key, 0, 0); local 161 found = keysym == XK_Alt_L || keysym == XK_Alt_R; 163 found = keysym == XK_Meta_L || keysym == XK_Meta_R; 165 found = keysym == XK_Num_Lock;
|
/external/chromium_org/remoting/host/linux/ |
unicode_to_keysym.cc | 36 int keysym; member in struct:remoting::__anon14429::CodePair 43 // have 1-to-1 mapping between keysym and unicode), but includes some [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysevents.cc | 329 SDL_keysym keysym; local 330 keysym.scancode = key; 332 keysym.sym = keymap[key]; 334 keysym.sym = SDLK_UNKNOWN; 339 keysym.mod = KMOD_NONE; 340 keysym.unicode = 0; 348 keysym.unicode = Translate2Unicode(bytes); 351 SDL_PrivateKeyboard(SDL_PRESSED, &keysym); 362 SDL_keysym keysym; local 363 keysym.scancode = key [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
SDL_dcevents.c | 101 SDL_keysym keysym; local 122 keysym.sym = sdl_shift[i]; 123 SDL_PrivateKeyboard(((state->shift_keys>>i)&1)?SDL_PRESSED:SDL_RELEASED,&keysym); 131 keysym.sym = key; 132 SDL_PrivateKeyboard(state->matrix[i]?SDL_PRESSED:SDL_RELEASED,&keysym);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
SDL_ggievents.c | 43 /* The translation tables from a GGI keycode to a SDL keysym */ 45 static SDL_keysym *GGI_TranslateKey(ggi_event *ev, SDL_keysym *keysym); 66 SDL_keysym keysym; local 105 posted += SDL_PrivateKeyboard(SDL_PRESSED, GGI_TranslateKey(&ev, &keysym)); 108 posted += SDL_PrivateKeyboard(SDL_RELEASED, GGI_TranslateKey(&ev, &keysym)); 249 static SDL_keysym *GGI_TranslateKey(gii_event *ev, SDL_keysym *keysym) 251 /* Set the keysym information */ 252 keysym->scancode = ev->key.button; 253 keysym->sym = keymap[ev->key.button]; 254 keysym->mod = KMOD_NONE [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/ |
SDL_epocevents.cpp | 53 /* The translation tables from a console scancode to a SDL keysym */ 55 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym); 64 SDL_keysym keysym; local 131 (void*)TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym); 135 switch((int)keysym.sym) { 149 posted += SDL_PrivateKeyboard(SDL_PRESSED, &keysym); 162 posted += SDL_PrivateKeyboard(SDL_RELEASED, TranslateKey(_this, aWsEvent.Key()->iScanCode, &keysym)); 546 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym) 551 /* Set the keysym information */ 553 keysym->scancode = scancode [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
SDL_vglevents.c | 40 /* The translation tables from a console scancode to a SDL keysym */ 44 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 51 /* Ugh, we have to duplicate the kernel's keysym mapping code... 74 SDL_keysym keysym; local 86 TranslateKey(scancode, &keysym)); 268 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 270 /* Set the keysym information */ 271 keysym->scancode = scancode; 272 keysym->sym = keymap[scancode]; 273 keysym->mod = KMOD_NONE [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-linux.c | 53 #include <X11/keysym.h> 222 unsigned int keycode, keysym; local 224 keysym = XKeycodeToKeysym(sDisplay, keycode, 0); 225 if (keysym == XK_Return || keysym == XK_Escape)
|