HomeSort by relevance Sort by last modified time
    Searched full:scancode (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /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/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/docs/man3/
SDL_keysym.3 8 Uint8 scancode;
18 Hardware specific scancode
32 The \fBscancode\fR field should generally be left alone, it is the hardware dependent scancode returned by the keyboard\&. The \fBsym\fR field is extremely useful\&. It is the SDL-defined value of the key (see \fISDL Key Syms\fR\&. This field is very useful when you are checking for certain key presses, like so:
  /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...]
  /frameworks/native/libs/input/
KeyLayoutMap.cpp 84 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode,
86 const Key* key = getKey(scanCode, usageCode);
89 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Failed.", scanCode, usageCode);
100 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Result keyCode=%d, outFlags=0x%08x.",
101 scanCode, usageCode, *outKeyCode, *outFlags);
106 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const {
113 if (scanCode) {
114 ssize_t index = mKeysByScanCode.indexOfKey(scanCode);
132 status_t KeyLayoutMap::mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const
    [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);
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...]
SDL_svgaevents_c.h 32 extern void SVGA_keyboardcallback(int scancode, int pressed);
  /external/qemu/distrib/sdl-1.2.15/src/video/aalib/
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;
SDL_aaevents_c.h 32 extern void AA_keyboardcallback(int scancode, int pressed);
  /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...]
  /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);
  /external/chromium_org/ui/events/keycodes/dom4/
keycode_converter.h 26 // On Linux: XKB scancode
27 // On Windows: Windows OEM scancode
36 // A class to convert between the current platform's native keycode (scancode)
  /frameworks/native/include/input/
KeyLayoutMap.h 67 status_t mapKey(int32_t scanCode, int32_t usageCode,
71 status_t mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const;
88 const Key* getKey(int32_t scanCode, int32_t usageCode) const;
  /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/ataricommon/
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];
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.h 49 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
  /external/qemu/distrib/sdl-1.2.15/docs/html/
sdlkeysym.html 94 Uint8 scancode;
125 >scancode</I
131 >Hardware specific scancode</TD
206 >scancode</I
208 > field should generally be left alone, it is the hardware dependent scancode returned by the keyboard. The <TT
  /frameworks/base/services/input/
InputListener.cpp 47 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
50 action(action), flags(flags), keyCode(keyCode), scanCode(scanCode),
58 keyCode(other.keyCode), scanCode(other.scanCode),
  /external/chromium_org/remoting/host/
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)

Completed in 581 milliseconds

1 2 3 4 5 6