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

1 2 3

  /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/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.12/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.12/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.12/src/video/ataricommon/
SDL_atarievents_c.h 62 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 117 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \
120 gemdos_currentkeyboard[scancode]=0xFF; \
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];
  /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;
  /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
  /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...]
SDL_vglevents_c.h 31 extern void VGL_keyboardcallback(int scancode, int pressed);
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyKeyEvent.java 51 int device, int scancode) {
57 mScancode = scancode;
  /external/qemu/distrib/sdl-1.2.12/src/video/dga/
SDL_dgaevents.c 89 keysym.scancode = keycode;
125 keysym.scancode = keycode;
  /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/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...]
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
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);
990 int scancode; local
995 scancode = keybuf[i] & 0x7F;
1001 TranslateKey(scancode, &keysym);
1204 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym)
1207 keysym->scancode = scancode;
1208 keysym->sym = keymap[scancode];
1231 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER )
    [all...]

Completed in 1379 milliseconds

1 2 3