/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
D | SDL_QWin.cc | 374 int scancode = e->key(); in QueueKey() local 376 if(scancode >= 'A' && scancode <= 'Z') { in QueueKey() 378 keysym.sym = static_cast<SDLKey>(scancode + 32); in QueueKey() 379 } else if(scancode >= 0x1000) { in QueueKey() 381 switch(scancode) { in QueueKey() 382 case Qt::Key_Escape: scancode = SDLK_ESCAPE; break; in QueueKey() 383 case Qt::Key_Tab: scancode = SDLK_TAB; break; in QueueKey() 384 case Qt::Key_Backspace: scancode = SDLK_BACKSPACE; break; in QueueKey() 385 case Qt::Key_Return: scancode = SDLK_RETURN; break; in QueueKey() 386 case Qt::Key_Enter: scancode = SDLK_KP_ENTER; break; in QueueKey() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
D | SDL_epocevents.cpp | 52 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 348 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 355 keysym->scancode = scancode; in TranslateKey() 357 if ((scancode >= MAX_SCANCODE) && in TranslateKey() 358 ((scancode - ENonCharacterKeyBase + 0x0081) >= MAX_SCANCODE)) { in TranslateKey() 360 keysym->scancode = SDLK_UNKNOWN; in TranslateKey() 369 if (scancode >= 'A' && scancode < ('A' + 24)) { /* first 32 alphapet keys */ in TranslateKey() 370 switch(scancode) { in TranslateKey() 371 case 'Q': scancode = EStdKeyF1; break; in TranslateKey() 372 case 'W': scancode = EStdKeyF2; break; in TranslateKey() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
D | SDL_svgaevents.c | 54 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 187 void SVGA_keyboardcallback(int scancode, int pressed) in SVGA_keyboardcallback() argument 193 TranslateKey(scancode, &keysym)); in SVGA_keyboardcallback() 196 TranslateKey(scancode, &keysym)); in SVGA_keyboardcallback() 336 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 339 keysym->scancode = scancode; in TranslateKey() 340 keysym->sym = keymap[scancode]; in TranslateKey() 363 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER ) { in TranslateKey() 368 if ( KTYP(vga_keymap[map][scancode]) == KT_PAD ) { in TranslateKey() 370 keysym->unicode=KVAL(vga_keymap[map][scancode]); in TranslateKey() [all …]
|
D | SDL_svgaevents_c.h | 32 extern void SVGA_keyboardcallback(int scancode, int pressed);
|
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
D | SDL_aaevents.c | 39 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 184 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 187 if ( scancode >= SDL_arraysize(keymap) ) in TranslateKey() 188 scancode = AA_UNKNOWN; in TranslateKey() 191 keysym->scancode = scancode; in TranslateKey() 192 keysym->sym = keymap[scancode]; in TranslateKey() 199 keysym->unicode = scancode; in TranslateKey()
|
D | SDL_aaevents_c.h | 32 extern void AA_keyboardcallback(int scancode, int pressed);
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
D | SDL_vglevents.c | 44 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 75 int c, pressed, scancode; in handle_keyboard() local 78 scancode = c & 0x7F; in handle_keyboard() 86 TranslateKey(scancode, &keysym)); in handle_keyboard() 268 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 271 keysym->scancode = scancode; in TranslateKey() 272 keysym->sym = keymap[scancode]; in TranslateKey() 292 if ( !(vga_keymap->key[scancode].spcl & (0x80 >> map)) ) { in TranslateKey() 293 keysym->unicode = vga_keymap->key[scancode].map[map]; in TranslateKey()
|
D | SDL_vglevents_c.h | 31 extern void VGL_keyboardcallback(int scancode, int pressed);
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
D | 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) in SDL_MapVirtualKey() argument 440 int mvke = MapVirtualKeyEx(scancode & 0xFF, 1, hLayoutUS); in SDL_MapVirtualKey() 442 int mvke = MapVirtualKey(scancode & 0xFF, 1); in SDL_MapVirtualKey() 482 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed) in TranslateKey() argument 485 keysym->scancode = (unsigned char) scancode; in TranslateKey() 497 …if (SDL_ToUnicode((UINT)vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == … in TranslateKey() 504 if ((vkey == VK_RETURN) && (scancode & 0x100)) { in TranslateKey() 509 keysym->sym = VK_keymap[SDL_MapVirtualKey(scancode, vkey)]; in TranslateKey() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
D | SDL_wsconsevents.c | 98 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 100 keysym->scancode = scancode; in TranslateKey() 104 if (scancode < SDL_arraysize(keymap)) in TranslateKey() 105 keysym->sym = keymap[scancode]; in TranslateKey() 108 printf("Unknown mapping for scancode %d\n", scancode); in TranslateKey()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/ |
D | SDL_atarievents.c | 219 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym, in SDL_Atari_TranslateKey() argument 225 keysym->scancode = scancode; in SDL_Atari_TranslateKey() 227 keysym->sym = keymap[scancode]; in SDL_Atari_TranslateKey() 231 keysym->sym = asciicode = keytab_normal[scancode]; in SDL_Atari_TranslateKey()
|
D | SDL_gemdosevents.c | 117 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \ in UpdateSpecialKeys() argument 120 gemdos_currentkeyboard[scancode]=0xFF; \ in UpdateSpecialKeys()
|
D | SDL_biosevents.c | 111 #define UPDATE_SPECIAL_KEYS(numbit,scancode) \ in UpdateSpecialKeys() argument 114 bios_currentkeyboard[scancode]=0xFF; \ in UpdateSpecialKeys()
|
D | SDL_atarievents_c.h | 62 SDL_keysym *SDL_Atari_TranslateKey(int scancode, SDL_keysym *keysym,
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
D | SDL_gsevents.c | 59 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 765 int scancode; in handle_keyboard() local 770 scancode = keybuf[i] & 0x7F; in handle_keyboard() 776 TranslateKey(scancode, &keysym); in handle_keyboard() 936 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 939 keysym->scancode = scancode; in TranslateKey() 940 keysym->sym = keymap[scancode]; in TranslateKey() 963 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER ) { in TranslateKey() 968 if ( KTYP(vga_keymap[map][scancode]) == KT_PAD ) { in TranslateKey() 970 keysym->unicode=KVAL(vga_keymap[map][scancode]); in TranslateKey() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
D | SDL_fbevents.c | 66 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym); 990 int scancode; in handle_keyboard() local 995 scancode = keybuf[i] & 0x7F; in handle_keyboard() 1001 TranslateKey(scancode, &keysym); in handle_keyboard() 1204 static SDL_keysym *TranslateKey(int scancode, SDL_keysym *keysym) in TranslateKey() argument 1207 keysym->scancode = scancode; in TranslateKey() 1208 keysym->sym = keymap[scancode]; in TranslateKey() 1231 if ( KTYP(vga_keymap[map][scancode]) == KT_LETTER ) { in TranslateKey() 1236 if ( KTYP(vga_keymap[map][scancode]) == KT_PAD ) { in TranslateKey() 1238 keysym->unicode=KVAL(vga_keymap[map][scancode]); in TranslateKey() [all …]
|
D | out | 12 /* The translation tables from a console scancode to a SDL keysym */
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
D | SDL_macevents.c | 61 static SDL_keysym *TranslateKey(int scancode, int modifiers, 189 keysym.scancode = 0; in Mac_HandleEvents() 649 static SDL_keysym *TranslateKey(int scancode, int modifiers, in TranslateKey() argument 653 keysym->scancode = scancode; in TranslateKey() 654 keysym->sym = MAC_keymap[keysym->scancode]; in TranslateKey() 669 keysym->scancode|modifiers, &state) & 0xFFFF; in TranslateKey()
|
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
D | SDL_dgaevents.c | 89 keysym.scancode = keycode; in DGA_DispatchEvent() 125 keysym.scancode = keycode; in DGA_DispatchEvent()
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
D | SDL_dx5events.c | 60 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed); 823 static SDL_keysym *TranslateKey(UINT scancode, SDL_keysym *keysym, int pressed) in TranslateKey() argument 826 keysym->scancode = (unsigned char)scancode; in TranslateKey() 827 keysym->sym = DIK_keymap[scancode]; in TranslateKey() 837 vkey = MapVirtualKey(scancode, 1); in TranslateKey() 843 if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1) in TranslateKey()
|
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
D | SDL_gemevents.c | 275 int scancode; in do_keyboard() local 278 scancode=(kc>>8) & (ATARIBIOS_MAXKEYS-1); in do_keyboard() 279 gem_currentkeyboard[scancode]=0xFF; in do_keyboard()
|
/external/qemu/distrib/sdl-1.2.12/include/ |
D | SDL_keyboard.h | 55 Uint8 scancode; /* hardware specific scancode */ member
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
D | 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/x11/ |
D | SDL_x11events.c | 564 keysym.scancode = keycode; in X11_DispatchEvent() 662 keysym.scancode = 0; in X11_DispatchEvent() 672 keysym.scancode = keycode; in X11_DispatchEvent() 692 keysym.scancode = keycode; in X11_DispatchEvent() 725 keysym.scancode = keycode; in X11_DispatchEvent() 764 keysym.scancode = keycode; in X11_DispatchEvent()
|
/external/kernel-headers/original/linux/ |
D | kd.h | 129 unsigned int scancode, keycode; member
|