Searched defs:scancode (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/content/renderer/pepper/
H A Dusb_key_code_conversion_win.cc16 // 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;
21 return ui::KeycodeConverter::NativeKeycodeToUsbKeycode(scancode);
25 // Extract the scancode and extended bit from the native key event's lParam.
26 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; local
28 scancode |= 0xe000;
30 return ui::KeycodeConverter::NativeKeycodeToCode(scancode);
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_keyboard.h42 * - 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 DSDL_wsconsevents.c98 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 DSDL_aaevents.c36 /* 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 DSDL_atarievents.c53 /* 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 DSDL_svgaevents.c43 /* 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 DSDL_epocevents.cpp27 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 DSDL_vglevents.c40 /* 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 Dinput_injector_win.cc26 void SendKeyboardInput(uint32_t flags, uint16_t scancode) { argument
33 input.ki.wScan = scancode;
42 if ((scancode & 0xFF00) != 0x0000)
224 int scancode = local
227 << " to scancode: " << scancode << std::dec;
230 if (scancode == ui::KeycodeConverter::InvalidNativeKeycode())
234 SendKeyboardInput(flags, scancode);
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocevents.cpp53 /* 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/chromium_org/third_party/angle/util/win32/
H A DWin32Window.cpp13 // Check the scancode to distinguish between left and right shift
17 unsigned int scancode = static_cast<unsigned int>((flags & (0xFF << 16)) >> 16); local
18 return scancode == lShift ? KEY_LSHIFT : KEY_RSHIFT;
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
H A DSDL_gemevents.c280 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 DSDL_macevents.c59 /* 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 DSDL_QWin.cc374 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 DSDL_dibevents.c54 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 DSDL_fbevents.c61 /* 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 DSDL_gsevents.c54 /* 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 DSDL_sysevents.c103 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 DSDL_dx5events.c58 /* 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/uapi/linux/
H A Dkd.h140 unsigned int scancode, keycode; member in struct:kbkeycode
H A Dinput.h78 * @scancode: scancode represented in machine-endian form.
79 * @len: length of the scancode that resides in @scancode buffer.
80 * @index: index in the keymap, may be used instead of scancode
83 * should perform lookup in keymap by @index instead of @scancode
84 * @keycode: key code assigned to this scancode
87 * option of performing lookup either by @scancode itself or by @index
88 * in keymap entry. EVIOCGKEYCODE will also return scancode or index
97 __u8 scancode[3 member in struct:input_keymap_entry
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
H A DSDL_os2fslib.c95 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 Drombios.c4948 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 Dvki-linux.h2226 unsigned int scancode, keycode; member in struct:vki_kbkeycode
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 434 milliseconds

12