/external/skia/src/views/unix/ |
H A D | SkOSWindow_Unix.cpp | 236 KeySym keysym = XkbKeycodeToKeysym(dsp, evt.xkey.keycode, local 238 if (keysym == XK_Escape) { 241 this->handleKey(XKeyToSkKey(keysym)); 242 long uni = keysym2ucs(keysym);
|
H A D | 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 818 long keysym2ucs(KeySym keysym) argument 825 if ((keysym > [all...] |
/external/skia/include/views/unix/ |
H A D | XkeysToSkKeys.h | 9 #include "X11/keysym.h" 16 SkKey XKeyToSkKey(KeySym keysym) { argument 17 switch (keysym) {
|
/external/qemu/distrib/sdl-1.2.15/include/ |
H A D | SDL_events.h | 130 SDL_keysym keysym; member in struct:SDL_KeyboardEvent
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
H A D | SDL_keyboard.c | 344 SDL_keysym keysym; local 347 SDL_memset(&keysym, 0, (sizeof keysym)); 350 keysym.sym = key; 351 SDL_PrivateKeyboard(SDL_RELEASED, &keysym); 399 int SDL_PrivateKeyboard(Uint8 state, SDL_keysym *keysym) argument 408 printf("The '%s' key has been %s\n", SDL_GetKeyName(keysym->sym), 411 /* Set up the keysym */ 417 keysym->mod = (SDLMod)modstate; 418 switch (keysym [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
H A D | 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) argument 190 /* Set the keysym information */ 191 keysym->scancode = scancode; 192 keysym->sym = keymap[scancode]; 193 keysym [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/ |
H A D | SDL_atarievents.c | 53 /* The translation tables from a console scancode to a SDL keysym */ 214 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym, argument 219 /* Set the keysym information */ 220 keysym->scancode = scancode; 221 keysym->mod = KMOD_NONE; 222 keysym->sym = keymap[scancode]; 223 keysym->unicode = 0; 225 if (keysym->sym == SDLK_UNKNOWN) { 226 keysym->sym = asciicode = keytab_normal[scancode]; 230 keysym [all...] |
H A D | SDL_biosevents.c | 72 SDL_keysym keysym; local 91 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE)); 96 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
|
H A D | SDL_gemdosevents.c | 73 SDL_keysym keysym; local 92 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE)); 97 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
|
H A D | 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/bwindow/ |
H A D | 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 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/video/dc/ |
H A D | 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/dga/ |
H A D | 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/ |
H A D | 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) argument 193 /* Set the keysym information */ 194 keysym->scancode = ev->key_id; 195 keysym->mod = KMOD_NONE; /* FIXME */ 196 keysym [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbevents.c | 61 /* The translation tables from a console scancode to a SDL keysym */ 66 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 68 /* Ugh, we have to duplicate the kernel's keysym mapping code... 83 /* Load all the keysym mappings */ 1000 SDL_keysym keysym; local 1010 TranslateKey(scancode, &keysym); 1012 switch (keysym.sym) { 1028 switch_vt(this, (keysym.sym-SDLK_F1)+1); 1034 posted += SDL_PrivateKeyboard(pressed, &keysym); 1213 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
H A D | SDL_gemevents.c | 74 SDL_keysym keysym; local 149 SDL_Atari_TranslateKey(i, &keysym, SDL_TRUE)); 154 SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
H A D | 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) argument 251 /* Set the keysym information */ 252 keysym->scancode = ev->key.button; 253 keysym->sym = keymap[ev->key.button]; 254 keysym [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
H A D | SDL_ipodvideo.c | 448 SDL_keysym keysym; local 451 keysym.mod = 0; 452 keysym.scancode = 0xff; 461 keysym.sym = keysym.unicode = ascii; 464 ev.key.keysym = keysym;
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
H A D | SDL_macevents.c | 59 /* The translation table from a macintosh key scancode to a SDL keysym */ 62 SDL_keysym *keysym, int pressed); 183 SDL_keysym keysym; local 189 keysym.scancode = 0; 190 keysym.sym = SDLK_UNKNOWN; 191 keysym.mod = KMOD_NONE; 192 keysym.unicode = 0; 199 keysym.sym = mods[i].key; 206 SDL_PrivateKeyboard(mode, &keysym); 223 SDL_keysym keysym; local 649 TranslateKey(int scancode, int modifiers, SDL_keysym *keysym, int pressed) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
H A D | 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) argument 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 281 SDL_keysym keysym ; local 291 SDL_keysym keysym ; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/video/os2fslib/ |
H A D | SDL_os2fslib.c | 93 /* The translation table from a VK keysym to a SDL keysym */ 95 static SDL_keysym *TranslateKey(int vkey, int chcode, int scancode, SDL_keysym *keysym, int iPressed); 236 static SDL_keysym *TranslateKey(int vkey, int chcode, int scancode, SDL_keysym *keysym, int iPressed) argument 238 keysym->scancode = (unsigned char) scancode; 239 keysym->mod = KMOD_NONE; 240 keysym->unicode = 0; 245 keysym->unicode = NativeCharToUniChar(chcode); 247 keysym->unicode = vkey; 250 keysym 412 SDL_keysym keysym; local 441 SDL_keysym keysym; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
H A D | SDL_ph_events.c | 44 /* The translation tables from a photon keysym to a SDL keysym */ 47 SDL_keysym *ph_TranslateKey(PhKeyEvent_t *key, SDL_keysym *keysym); 339 SDL_keysym keysym; local 358 posted = SDL_PrivateKeyboard(SDL_PRESSED, ph_TranslateKey(keyEvent, &keysym)); 373 posted = SDL_PrivateKeyboard(SDL_RELEASED, ph_TranslateKey( keyEvent, &keysym)); 546 SDL_keysym *ph_TranslateKey(PhKeyEvent_t *key, SDL_keysym *keysym) argument 570 keysym->sym = (SDLKey)(cap&0xFF); 572 if ((keysym->sym >= 'A')&&(keysym [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsevents.c | 54 /* The translation tables from a console scancode to a SDL keysym */ 59 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 61 /* Ugh, we have to duplicate the kernel's keysym mapping code... 76 /* Load all the keysym mappings */ 766 SDL_keysym keysym; local 776 TranslateKey(scancode, &keysym); 777 posted += SDL_PrivateKeyboard(pressed, &keysym); 936 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 938 /* Set the keysym information */ 939 keysym [all...] |