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

1 2 3 4

  /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];
  /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
  /prebuilts/tools/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
  /prebuilts/tools/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
  /prebuilts/tools/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
  /prebuilts/tools/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);
  /external/qemu/distrib/sdl-1.2.12/src/video/dga/
SDL_dgaevents.c 89 keysym.scancode = keycode;
125 keysym.scancode = keycode;
  /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...]
  /external/qemu/distrib/sdl-1.2.12/src/video/gem/
SDL_gemevents.c 275 int scancode; local
278 scancode=(kc>>8) & (ATARIBIOS_MAXKEYS-1);
279 gem_currentkeyboard[scancode]=0xFF;
  /external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
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)
939 keysym->scancode = scancode;
940 keysym->sym = keymap[scancode];
963 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER )
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzEvents.m 195 Up there we setup a static scancode->keysym map. However, it will not
267 the scancode/keysym.
280 key.scancode = [ event keyCode ];
281 key.sym = keymap [ key.scancode ];
289 key.scancode = [ event keyCode ];
290 key.sym = keymap [ key.scancode ];
298 key.scancode = 0;
325 key.scancode = 0;
367 key.scancode = 0;
398 key.scancode = 0
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
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;
237 fprintf(stderr,"Scancode: 0x%2.2X\n",i);
590 /* Up there we setup a static scancode->keysym map. However, it will not
649 static SDL_keysym *TranslateKey(int scancode, int modifiers,
653 keysym->scancode = scancode;
654 keysym->sym = MAC_keymap[keysym->scancode];
669 keysym->scancode|modifiers, &state) & 0xFFFF
    [all...]

Completed in 155 milliseconds

1 2 3 4