Home
last modified time | relevance | path

Searched refs:vkey (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/windib/
DSDL_dibevents.c46 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed);
437 static int SDL_MapVirtualKey(int scancode, int vkey) in SDL_MapVirtualKey() argument
445 switch(vkey) { in SDL_MapVirtualKey()
463 return vkey; in SDL_MapVirtualKey()
479 return mvke?mvke:vkey; in SDL_MapVirtualKey()
482 static SDL_keysym *TranslateKey(WPARAM vkey, UINT scancode, SDL_keysym *keysym, int pressed) in TranslateKey() argument
491 keysym->unicode = vkey; 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/windx5/
DSDL_dx5events.c831 UINT vkey; in TranslateKey() local
837 vkey = MapVirtualKey(scancode, 1); in TranslateKey()
840 keysym->unicode = vkey; 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/wincommon/
DSDL_sysevents.c98 static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, BYTE *keystate, LPWSTR wchars, int wsize,…
914 static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, PBYTE keystate, LPWSTR wchars, int wsize,… in ToUnicode9xME() argument
918 if (ToAsciiEx(vkey, scancode, keystate, (WORD*)chars, 0, GetKeyboardLayout(0)) == 1) { in ToUnicode9xME()
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/
DSDL_os2fslib.c95 static SDL_keysym *TranslateKey(int vkey, int chcode, int scancode, SDL_keysym *keysym, int iPresse…
236 static SDL_keysym *TranslateKey(int vkey, int chcode, int scancode, SDL_keysym *keysym, int iPresse… in TranslateKey() argument
247 keysym->unicode = vkey; in TranslateKey()
253 if (vkey == VK_SHIFT) in TranslateKey()