/external/chromium_org/ui/events/keycodes/ |
H A D | keyboard_code_conversion_x.h | 19 EVENTS_BASE_EXPORT KeyboardCode KeyboardCodeFromXKeysym(unsigned int keysym);
|
H A D | keyboard_code_conversion_x.cc | 14 #include <X11/keysym.h> 35 // ch0: the keysym without modifier states. 36 // ch1: the keysym with shift state. 37 // ch2: the keysym with altgr state. 467 // 1. Gets the keysym without modifier states. 469 // 3. Find keysym in map0. 470 // 4. If not found, fallback to find keysym + hardware_code in map1. 471 // 5. If not found, fallback to find keysym + keysym_shift + hardware_code 473 // 6. If not found, fallback to find keysym + keysym_shift + keysym_altgr + 479 KeySym keysym local 557 KeyboardCodeFromXKeysym(unsigned int keysym) argument 860 KeySym keysym = XK_VoidSymbol; local 861 XLookupString(const_cast<XKeyEvent*>(xkey), NULL, 0, &keysym, NULL); local [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...] |
/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/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/chromium_org/third_party/gtk+/gtk/ |
H A D | compose-parse.py | 270 print "Was expecting a keysym starting with GDK_KEY_" 286 """ This is for a missing keysym from the currently upstream file """ 289 """ This is for a missing keysym from the currently upstream file """ 342 """ This is for a missing keysym from the currently upstream file """ 356 """ This is for a missing keysym from Markus Kuhn's db """ 358 """ This is for a missing keysym from Markus Kuhn's db """ 360 """ This is for a missing keysym from Markus Kuhn's db """ 363 """ This is for a missing (recently added) keysym """ 365 """ This is for a missing (recently added) keysym """ 386 def keysymvalue(keysym, fil [all...] |
/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/vgl/ |
H A D | 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) argument 270 /* Set the keysym information */ 271 keysym->scancode = scancode; 272 keysym->sym = keymap[scancode]; 273 keysym [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/windib/ |
H A D | SDL_dibevents.c | 52 /* The translation table from a Microsoft VK keysym to a SDL keysym */ 54 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed); 139 SDL_keysym keysym; local 208 TranslateKey(wParam,HIWORD(lParam),&keysym,1)); 214 SDL_keysym keysym; local 266 TranslateKey(wParam,HIWORD(lParam),&keysym,1)); 269 TranslateKey(wParam,HIWORD(lParam),&keysym,0)); 586 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed) argument 588 /* Set the keysym informatio [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | SDL_riscosevents.c | 47 /* The translation table from a RISC OS internal key numbers to a SDL keysym */ 73 static SDL_keysym *TranslateKey(int intkey, SDL_keysym *keysym, int pressed); 426 static SDL_keysym *TranslateKey(int intkey, SDL_keysym *keysym, int pressed) argument 428 /* Set the keysym information */ 429 keysym->scancode = (unsigned char) intkey; 430 keysym->sym = RO_keymap[intkey]; 431 keysym->mod = KMOD_NONE; 432 keysym->unicode = 0; 442 ch = keysym->sym; /* This should handle most unshifted keys */ 543 keysym [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testwm.c | 285 PrintKey(&event->key.keysym, 1); 286 if ( event->key.keysym.sym == SDLK_ESCAPE ) { 289 if ( (event->key.keysym.sym == SDLK_g) && 290 (event->key.keysym.mod & KMOD_CTRL) ) { 293 if ( (event->key.keysym.sym == SDLK_z) && 294 (event->key.keysym.mod & KMOD_CTRL) ) { 297 if ( (event->key.keysym.sym == SDLK_RETURN) && 298 (event->key.keysym.mod & KMOD_ALT) ) { 304 PrintKey(&event->key.keysym, 0);
|
H A D | checkkeys.c | 129 PrintKey(&event.key.keysym, 1); 132 PrintKey(&event.key.keysym, 0);
|
H A D | threadwin.c | 182 printf("Key '%c' (keysym==%d) has been %s\n", 183 events[i].key.keysym.unicode, 184 (int) events[i].key.keysym.sym, 189 if ( events[i].key.keysym.sym == SDLK_ESCAPE ) { 197 if ( events[i].key.keysym.sym == SDLK_f ) { 204 if ( events[i].key.keysym.sym == SDLK_g ) {
|
H A D | graywin.c | 208 if ( (event.key.keysym.sym == SDLK_LALT) || 209 (event.key.keysym.sym == SDLK_TAB) ) { 213 if ( event.key.keysym.sym == SDLK_SPACE ) { 218 if ( event.key.keysym.sym == SDLK_RETURN ) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A D | SDL_QWin.cc | 373 SDL_keysym keysym; local 375 /* Set the keysym information */ 378 keysym.sym = static_cast<SDLKey>(scancode + 32); 455 keysym.sym = static_cast<SDLKey>(scancode); 457 keysym.sym = static_cast<SDLKey>(scancode); 459 keysym.scancode = scancode; 460 keysym.mod = KMOD_NONE; 462 if( (st & ShiftButton) ) { keysym.mod = static_cast<SDLMod>(keysym.mod | KMOD_LSHIFT); } 463 if( (st & ControlButton) ) { keysym [all...] |
/external/chromium_org/ui/aura/test/ |
H A D | ui_controls_factory_aurax11.cc | 5 #include <X11/keysym.h> 205 KeySym keysym, 208 XKeysymToKeycode(gfx::GetXDisplay(), keysym); 215 KeySym keysym) { 218 XKeysymToKeycode(gfx::GetXDisplay(), keysym); 204 SetKeycodeAndSendThenMask(XEvent* xevent, KeySym keysym, unsigned int mask) argument 213 UnmaskAndSetKeycodeThenSend(XEvent* xevent, unsigned int mask, KeySym keysym) argument
|
/external/deqp/framework/platform/X11/ |
H A D | tcuX11.hpp | 33 #include <X11/keysym.h>
|
/external/chromium_org/ui/views/test/ |
H A D | ui_controls_factory_desktop_aurax11.cc | 5 #include <X11/keysym.h> 256 KeySym keysym, 258 xevent->xkey.keycode = XKeysymToKeycode(x_display_, keysym); 266 KeySym keysym) { 268 xevent->xkey.keycode = XKeysymToKeycode(x_display_, keysym); 254 SetKeycodeAndSendThenMask(aura::WindowTreeHost* host, XEvent* xevent, KeySym keysym, unsigned int mask) argument 263 UnmaskAndSetKeycodeThenSend(aura::WindowTreeHost* host, XEvent* xevent, unsigned int mask, KeySym keysym) argument
|
/external/chromium_org/ui/events/x/ |
H A D | keysym_to_unicode.cc | 7 // Define XK_xxx before the #include of <X11/keysym.h> so that <X11/keysym.h> 36 #include <X11/keysym.h> 46 KeySym keysym; member in struct:ui::__anon16795 809 keysym_to_unicode_map_[g_keysym_to_unicode_table[i].keysym] = 814 uint16_t UnicodeFromKeySym(KeySym keysym) const { 816 if ((0x0020 <= keysym && keysym <= 0x007e) || 817 (0x00a0 <= keysym && keysym < 844 GetUnicodeCharacterFromXKeySym(unsigned long keysym) argument [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/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/chromium_org/third_party/skia/src/views/unix/ |
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/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
H A D | SDL_dx5events.c | 58 /* The translation table from a DirectInput scancode to an SDL keysym */ 60 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed); 282 SDL_keysym keysym; local 288 TranslateKey(keybuf[i].dwOfs, &keysym, 1)); 291 TranslateKey(keybuf[i].dwOfs, &keysym, 0)); 899 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed) argument 901 /* Set the keysym information */ 902 keysym->scancode = (unsigned char)scancode; 903 keysym->sym = DIK_keymap[scancode]; 904 keysym [all...] |