/external/chromium_org/content/renderer/pepper/ |
H A D | 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/include/ |
H A D | 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/wscons/ |
H A D | SDL_wsconsevents.c | 98 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 100 keysym->scancode = scancode; 104 if (scancode < SDL_arraysize(keymap)) 105 keysym->sym = keymap[scancode]; 108 printf("Unknown mapping for scancode %d\n", scancode);
|
/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); 184 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 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/ataricommon/ |
H A D | 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, argument 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/svga/ |
H A D | 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) argument 193 TranslateKey(scancode, &keysym)); 196 TranslateKey(scancode, &keysym)); 336 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 339 keysym->scancode = scancode; 340 keysym->sym = keymap[scancode]; 363 if ( KTYP(vga_keymap[map][scancode]) 379 TranslateKey(int scancode, SDL_keysym *keysym) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
H A D | 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) argument 443 //SDL_TRACE1("SDL: TranslateKey, scancode=%d", scancode); //!! 447 keysym->scancode = scancode; 449 if ((scancode >= MAX_SCANCODE) && 450 ((scancode [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); 75 int c, pressed, scancode; local 78 scancode = c & 0x7F; 86 TranslateKey(scancode, &keysym)); 268 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 271 keysym->scancode = scancode; 272 keysym->sym = keymap[scancode]; 292 if ( !(vga_keymap->key[scancode] [all...] |
/external/chromium_org/remoting/host/ |
H A D | input_injector_win.cc | 182 int scancode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); local 184 << " to scancode: " << scancode << std::dec; 187 if (scancode == key_converter->InvalidNativeKeycode()) 203 input.ki.wScan = scancode & 0xFF; 204 if ((scancode & 0xFF00) != 0x0000)
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/ |
H A D | 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) argument 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/gem/ |
H A D | SDL_gemevents.c | 280 int scancode; local 283 scancode=(kc>>8) & (ATARIBIOS_MAXKEYS-1); 284 gem_currentkeyboard[scancode]=0xFF;
|
/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 */ 61 static SDL_keysym *TranslateKey(int scancode, int modifiers, 189 keysym.scancode = 0; 590 /* Up there we setup a static scancode->keysym map. However, it will not 649 static SDL_keysym *TranslateKey(int scancode, int modifiers, argument 653 keysym->scancode = scancode; 654 keysym->sym = MAC_keymap[keysym->scancode]; 669 keysym->scancode|modifiers, &state) & 0xFFFF;
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A D | 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 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
H A D | 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) argument 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) argument 589 keysym->scancode = (unsigned char) scancode; 593 if ((vkey == VK_RETURN) && (scancode & 0x100)) { 598 keysym->sym = VK_keymap[SDL_MapVirtualKey(scancode, vke [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); 999 int scancode; local 1004 scancode = keybuf[i] & 0x7F; 1010 TranslateKey(scancode, &keysym); 1213 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 1216 keysym->scancode = scancode; 1217 keysym->sym = keymap[scancode]; 1240 if ( KTYP(vga_keymap[map][scancode]) [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); 765 int scancode; local 770 scancode = keybuf[i] & 0x7F; 776 TranslateKey(scancode, &keysym); 936 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) argument 939 keysym->scancode = scancode; 940 keysym->sym = keymap[scancode]; 963 if ( KTYP(vga_keymap[map][scancode]) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
H A D | SDL_sysevents.c | 103 static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, const BYTE *keystate, LPWSTR wchars, int wsize, UINT flags); 844 static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, const BYTE *keystate, LPWSTR wchars, int wsize, UINT flags) argument 849 if (ToAsciiEx(vkey, scancode, (PBYTE) keystate, (WORD*)chars, 0, GetKeyboardLayout(0)) == 1) {
|
/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); 899 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed) argument 902 keysym->scancode = (unsigned char)scancode; 903 keysym->sym = DIK_keymap[scancode]; 913 vkey = MapVirtualKey(scancode, 1); 925 else if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) > 0)
|
/external/kernel-headers/original/linux/ |
H A D | kd.h | 129 unsigned int scancode, keycode; member in struct:kbkeycode
|
H A D | input.h | 80 * @scancode: scancode represented in machine-endian form. 81 * @len: length of the scancode that resides in @scancode buffer. 82 * @index: index in the keymap, may be used instead of scancode 85 * should perform lookup in keymap by @index instead of @scancode 86 * @keycode: key code assigned to this scancode 89 * option of performing lookup either by @scancode itself or by @index 90 * in keymap entry. EVIOCGKEYCODE will also return scancode or index 99 __u8 scancode[3 member in struct:input_keymap_entry [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/ |
H A D | SDL_os2fslib.c | 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; 250 keysym->sym = HWScanKeyMap[scancode];
|
/external/qemu-pc-bios/bochs/bios/ |
H A D | rombios.c | 4948 Bit8u scancode, asciicode, shift_flags; local 4956 scancode = GET_AL(); 4958 if (scancode == 0) { 4969 switch (scancode) { 5077 if (scancode & 0x80) { 5080 if (scancode > MAX_SCAN_CODE) { 5081 BX_INFO("KBD: int09h_handler(): unknown scancode read: 0x%02x!\n", scancode); 5085 asciicode = scan_to_scanascii[scancode].alt; 5086 scancode [all...] |
/external/valgrind/main/include/vki/ |
H A D | vki-linux.h | 2201 unsigned int scancode, keycode; member in struct:vki_kbkeycode
|