/external/qemu/distrib/sdl-1.2.15/src/events/ |
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) 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->sym) [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/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/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/x11/ |
SDL_x11events.c | 29 #include <X11/keysym.h> 55 /* The translation tables from an X11 keysym to a SDL keysym */ 560 SDL_keysym keysym; local 568 /* Get the translated SDL virtual keysym and put it on the queue.*/ 569 keysym.scancode = keycode; 570 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode); 571 keysym.mod = KMOD_NONE; 572 keysym.unicode = 0; 573 posted = SDL_PrivateKeyboard(SDL_PRESSED, &keysym); 753 SDL_keysym keysym; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 259 keysym = event.keysym 264 if keysym != "Tab": 266 if (len(keysym) == 1 or keysym in ("underscore", "BackSpace") 267 or (self.mode == COMPLETE_FILES and keysym in 271 if len(keysym) == 1: 272 self._change_start(self.start + keysym) 273 elif keysym == "underscore": 275 elif keysym == "period" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 259 keysym = event.keysym 264 if keysym != "Tab": 266 if (len(keysym) == 1 or keysym in ("underscore", "BackSpace") 267 or (self.mode == COMPLETE_FILES and keysym in 271 if len(keysym) == 1: 272 self._change_start(self.start + keysym) 273 elif keysym == "underscore": 275 elif keysym == "period" [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
KeyCodeMapping.h | 62 int NativeKeyCodeForWindowsKeyCode(int keysym);
|
/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/ataricommon/ |
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, 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->unicode = SDL_AtariToUnicodeTable[asciicode] [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
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 [all...] |
/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...] |
/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)
|
/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
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) 570 keysym->sym = (SDLKey)(cap&0xFF); 572 if ((keysym->sym >= 'A')&&(keysym->sym <= 'Z') [all...] |
/external/chromium_org/ui/base/keycodes/ |
keyboard_code_conversion_x.cc | 8 #include <X11/keysym.h> 24 KeySym keysym; local 25 XLookupString(&xev->xkey, NULL, 0, &keysym, NULL); 26 KeyboardCode keycode = KeyboardCodeFromXKeysym(keysym); 28 keysym = DefaultXKeysymFromHardwareKeycode(xev->xkey.keycode); 29 keycode = KeyboardCodeFromXKeysym(keysym); 35 KeyboardCode KeyboardCodeFromXKeysym(unsigned int keysym) { 36 // TODO(sad): Have |keysym| go through the X map list? 38 switch (keysym) { [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
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) 588 /* Set the keysym information * [all...] |
/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/chrome/test/webdriver/ |
keycode_text_conversion_x.cc | 8 #include <X11/keysym.h> 161 int keysym = XkbKeycodeToKeysym(display, key, 0, 0); local 163 found = keysym == XK_Alt_L || keysym == XK_Alt_R; 165 found = keysym == XK_Meta_L || keysym == XK_Meta_R; 167 found = keysym == XK_Num_Lock;
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
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) 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->unicode = ch [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
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);
|
checkkeys.c | 129 PrintKey(&event.key.keysym, 1); 132 PrintKey(&event.key.keysym, 0);
|
/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/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
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.mod = static_cast<SDLMod>(keysym.mod | KMOD_LCTRL); [all...] |
/external/chromium_org/third_party/gtk+/gtk/ |
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, file = "n/a", linenum = 0) [all...] |