/external/chromium_org/content/renderer/pepper/ |
usb_key_code_conversion_win.cc | 16 // Extract the scancode and extended bit from the native key event's lParam. 17 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; local 19 scancode |= 0xe000; 22 return key_converter->NativeKeycodeToUsbKeycode(scancode); 26 // Extract the scancode and extended bit from the native key event's lParam. 27 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; local 29 scancode |= 0xe000; 32 return key_converter->NativeKeycodeToCode(scancode);
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
SDL_QWin.cc | 374 int scancode = e->key(); local 376 if(scancode >= 'A' && scancode <= 'Z') { 378 keysym.sym = static_cast<SDLKey>(scancode + 32); 379 } else if(scancode >= 0x1000) { 381 switch(scancode) { 382 case Qt::Key_Escape: scancode = SDLK_ESCAPE; break; 383 case Qt::Key_Tab: scancode = SDLK_TAB; break; 384 case Qt::Key_Backspace: scancode = SDLK_BACKSPACE; break; 385 case Qt::Key_Return: scancode = SDLK_RETURN; break [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
SDL_aaevents_c.h | 32 extern void AA_keyboardcallback(int scancode, int pressed);
|
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); 184 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 187 if ( scancode >= SDL_arraysize(keymap) ) 188 scancode = AA_UNKNOWN; 191 keysym->scancode = scancode; 192 keysym->sym = keymap[scancode]; 199 keysym->unicode = scancode;
|
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
SDL_svgaevents_c.h | 32 extern void SVGA_keyboardcallback(int scancode, int pressed);
|
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); 187 void SVGA_keyboardcallback(int scancode, int pressed) 193 TranslateKey(scancode, &keysym)); 196 TranslateKey(scancode, &keysym)); 336 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 339 keysym->scancode = scancode; 340 keysym->sym = keymap[scancode]; 363 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER ) [all...] |
/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); 440 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym) 443 //SDL_TRACE1("SDL: TranslateKey, scancode=%d", scancode); //!! 447 keysym->scancode = scancode; 449 if ((scancode >= MAX_SCANCODE) && 450 ((scancode - ENonCharacterKeyBase + 0x0081) >= MAX_SCANCODE)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/ |
SDL_atarievents_c.h | 49 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
|
SDL_biosevents.c | 111 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \ 114 bios_currentkeyboard[scancode]=0xFF; \
|
SDL_gemdosevents.c | 112 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \ 115 gemdos_currentkeyboard[scancode]=0xFF; \
|
SDL_atarievents.c | 53 /* The translation tables from a console scancode to a SDL keysym */ 128 /* Read system tables for scancode -> ascii translation */ 214 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym, 220 keysym->scancode = scancode; 222 keysym->sym = keymap[scancode]; 226 keysym->sym = asciicode = keytab_normal[scancode];
|
/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); 546 static SDL_keysym *TranslateKey(_THIS, int scancode, SDL_keysym *keysym) 549 //SDL_TRACE1("SDL: TranslateKey, scancode=%d", scancode); //!! 553 keysym->scancode = scancode; 555 if ((scancode >= MAX_SCANCODE) && 556 ((scancode - ENonCharacterKeyBase + 0x0081) >= MAX_SCANCODE)) { 557 SDL_SetError("Too big 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; 104 if (scancode < SDL_arraysize(keymap)) 105 keysym->sym = keymap[scancode]; 108 printf("Unknown mapping for scancode %d\n", scancode);
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
EventInjector.java | 49 int scancode = event.getScanCode(); local 70 scancode, 81 scancode,
|
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_keyboard.h | 42 * - The scancode is hardware dependent, and should not be used by general 43 * applications. If no hardware scancode is available, it will be 0. 60 Uint8 scancode; /**< hardware specific scancode */ member in struct:SDL_keysym
|
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_keyboard.h | 42 * - The scancode is hardware dependent, and should not be used by general 43 * applications. If no hardware scancode is available, it will be 0. 60 Uint8 scancode; /**< hardware specific scancode */ member in struct:SDL_keysym
|
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_keyboard.h | 42 * - The scancode is hardware dependent, and should not be used by general 43 * applications. If no hardware scancode is available, it will be 0. 60 Uint8 scancode; /**< hardware specific scancode */ member in struct:SDL_keysym
|
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_keyboard.h | 42 * - The scancode is hardware dependent, and should not be used by general 43 * applications. If no hardware scancode is available, it will be 0. 60 Uint8 scancode; /**< hardware specific scancode */ member in struct:SDL_keysym
|
/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); 75 int c, pressed, scancode; local 78 scancode = c & 0x7F; 86 TranslateKey(scancode, &keysym)); 268 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) 271 keysym->scancode = scancode; 272 keysym->sym = keymap[scancode]; 292 if ( !(vga_keymap->key[scancode].spcl & (0x80 >> map)) ) [all...] |
SDL_vglevents_c.h | 31 extern void VGL_keyboardcallback(int scancode, int pressed);
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgaevents.c | 90 keysym.scancode = keycode; 126 keysym.scancode = keycode;
|
/external/chromium_org/remoting/host/ |
input_injector_win.cc | 26 void SendKeyboardInput(uint32_t flags, uint16_t scancode) { 33 input.ki.wScan = scancode; 42 if ((scancode & 0xFF00) != 0x0000) 225 int scancode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); local 227 << " to scancode: " << scancode << std::dec; 230 if (scancode == key_converter->InvalidNativeKeycode()) 234 SendKeyboardInput(flags, scancode);
|
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
SDL_dibevents.c | 54 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed); 539 #define EXTKEYPAD(keypad) ((scancode & 0x100)?(mvke):(keypad)) 541 static int SDL_MapVirtualKey(int scancode, int vkey) 544 int mvke = MapVirtualKeyEx(scancode & 0xFF, 1, hLayoutUS); 546 int mvke = MapVirtualKey(scancode & 0xFF, 1); 586 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed) 589 keysym->scancode = (unsigned char) scancode; 593 if ((vkey == VK_RETURN) && (scancode & 0x100)) { 598 keysym->sym = VK_keymap[SDL_MapVirtualKey(scancode, vkey)] [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
SDL_cacaevents.c | 70 keysym.scancode = key;
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
SDL_ndsevents.c | 44 keysym.scancode=i;
|