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

1 2 3 4

  /external/qemu/distrib/sdl-1.2.12/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...]
  /frameworks/base/libs/ui/
KeyLayoutMap.cpp 108 int32_t scancode = -1; local
116 enum { BEGIN, SCANCODE, KEYCODE, FLAG } state = BEGIN;
126 state = SCANCODE;
134 case SCANCODE:
135 scancode = strtol(token.string(), &end, 0);
137 LOGE("%s:%d: expected scancode (a number), got '%s'\n",
141 //LOGI("%s:%d: got scancode %d\n", filename, line, scancode );
156 if (scancode != -1) {
157 //LOGI("got key decl scancode=%d keycode=%d
    [all...]
KeyLayoutMap.h 16 status_t map(int32_t scancode, int32_t *keycode, uint32_t *flags) const;
InputReader.cpp 218 LOGD("Input event: device=0x%x type=0x%x scancode=%d keycode=%d value=%d",
219 rawEvent.deviceId, rawEvent.type, rawEvent.scanCode, rawEvent.keyCode,
505 int32_t scanCode) {
506 return getState(deviceId, sourceMask, scanCode, & InputDevice::getScanCodeState);
708 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
709 return getState(sourceMask, scanCode, & InputMapper::getScanCodeState);
781 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) {
815 processSwitch(rawEvent->when, rawEvent->scanCode, rawEvent->value);
870 int32_t keyCode, scanCode;
882 scanCode = keyDown.scanCode
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/epoc/
SDL_epocevents.cpp 50 /* The translation tables from a console scancode to a SDL keysym */
52 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym);
348 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym)
351 //SDL_TRACE1("SDL: TranslateKey, scancode=%d", scancode); //!!
355 keysym->scancode = scancode;
357 if ((scancode >= MAX_SCANCODE) &&
358 ((scancode - ENonCharacterKeyBase + 0x0081) >= MAX_SCANCODE)) {
359 SDL_SetError("Too big scancode");
    [all...]
  /external/qemu/distrib/sdl-1.2.12/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...]
  /external/qemu/distrib/sdl-1.2.12/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.12/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/quake/standalone/
main.cpp 74 int32_t scancode; member in struct:EventQueue::Event
138 event.scancode = rawEvent.scanCode;
245 printf("Event deviceId: %d, type: %d, scancode: %d, keyCode: %d, flags: %d, value: %d, when: %llu\n",
246 pEvent->deviceId, pEvent->type, pEvent->scancode,
251 if (pEvent->scancode == BTN_TOUCH) {
261 if (pEvent->scancode == ABS_X) {
264 } else if (pEvent->scancode == ABS_Y) {
267 } else if (pEvent->scancode == ABS_PRESSURE) {
270 } else if (pEvent->scancode == ABS_TOOL_WIDTH)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/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/qemu/distrib/sdl-1.2.12/include/
SDL_keyboard.h 39 - The scancode is hardware dependent, and should not be used by general
40 applications. If no hardware scancode is available, it will be 0.
55 Uint8 scancode; /* hardware specific scancode */ member in struct:SDL_keysym
  /prebuilt/darwin-x86/sdl/include/SDL/
SDL_keyboard.h 39 - The scancode is hardware dependent, and should not be used by general
40 applications. If no hardware scancode is available, it will be 0.
55 Uint8 scancode; /* hardware specific scancode */ member in struct:SDL_keysym
  /prebuilt/linux-x86/sdl/include/SDL/
SDL_keyboard.h 39 - The scancode is hardware dependent, and should not be used by general
40 applications. If no hardware scancode is available, it will be 0.
55 Uint8 scancode; /* hardware specific scancode */ member in struct:SDL_keysym
  /prebuilt/windows/sdl/host/include/SDL/
SDL_keyboard.h 43 - The scancode is hardware dependent, and should not be used by general
44 applications. If no hardware scancode is available, it will be 0.
59 Uint8 scancode; /* hardware specific scancode */ member in struct:SDL_keysym
  /prebuilt/windows/sdl/include/SDL/
SDL_keyboard.h 39 - The scancode is hardware dependent, and should not be used by general
40 applications. If no hardware scancode is available, it will be 0.
55 Uint8 scancode; /* hardware specific scancode */ member in struct:SDL_keysym
  /frameworks/base/include/ui/
EventHub.h 53 #define BTN_FIRST 0x100 // first button scancode
54 #define BTN_LAST 0x15f // last button scancode
69 int32_t scanCode;
161 virtual status_t scancodeToKeycode(int32_t deviceId, int scancode,
180 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const = 0;
207 virtual status_t scancodeToKeycode(int32_t deviceId, int scancode,
212 virtual int32_t getScanCodeState(int32_t deviceId, int32_t scanCode) const;
254 int32_t getScanCodeStateLocked(device_t* device, int32_t scanCode) const;
  /external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/
SDL_atarievents.c 58 /* The translation tables from a console scancode to a SDL keysym */
133 /* Read system tables for scancode -> ascii translation */
219 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
225 keysym->scancode = scancode;
227 keysym->sym = keymap[scancode];
231 keysym->sym = asciicode = keytab_normal[scancode];
SDL_biosevents.c 111 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \
114 bios_currentkeyboard[scancode]=0xFF; \
SDL_gemdosevents.c 117 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \
120 gemdos_currentkeyboard[scancode]=0xFF; \
SDL_atarievents_c.h 62 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
  /external/qemu/distrib/sdl-1.2.12/src/video/windib/
SDL_dibevents.c 46 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed);
435 #define EXTKEYPAD(keypad) ((scancode & 0x100)?(mvke):(keypad))
437 static int SDL_MapVirtualKey(int scancode, int vkey)
440 int mvke = MapVirtualKeyEx(scancode & 0xFF, 1, hLayoutUS);
442 int mvke = MapVirtualKey(scancode & 0xFF, 1);
482 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed)
485 keysym->scancode = (unsigned char) scancode;
497 if (SDL_ToUnicode((UINT)vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
504 if ((vkey == VK_RETURN) && (scancode & 0x100))
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyKeyEvent.java 51 int device, int scancode) {
57 mScancode = scancode;
  /external/quake/quake/src/QW/scitech/include/
mgldos.h 75 /* Determine if a specific scancode'ed key is held down (PC specific) */
77 bool MGLAPI EVT_isKeyDown(uchar scanCode);
  /external/quake/quake/src/WinQuake/scitech/INCLUDE/
MGLDOS.H 75 /* Determine if a specific scancode'ed key is held down (PC specific) */
77 bool MGLAPI EVT_isKeyDown(uchar scanCode);

Completed in 1656 milliseconds

1 2 3 4