Home
last modified time | relevance | path

Searched refs:keystate (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/base/ime/win/
Dimm32_manager.cc572 uint8_t keystate[256]; in IsCtrlShiftPressed() local
573 if (!::GetKeyboardState(&keystate[0])) in IsCtrlShiftPressed()
585 if ((keystate[VK_CONTROL] & kKeyDownMask) == 0) in IsCtrlShiftPressed()
588 if (keystate[VK_RSHIFT] & kKeyDownMask) { in IsCtrlShiftPressed()
589 keystate[VK_RSHIFT] = 0; in IsCtrlShiftPressed()
591 } else if (keystate[VK_LSHIFT] & kKeyDownMask) { in IsCtrlShiftPressed()
592 keystate[VK_LSHIFT] = 0; in IsCtrlShiftPressed()
604 keystate[VK_SHIFT] = 0; in IsCtrlShiftPressed()
605 keystate[VK_CONTROL] = 0; in IsCtrlShiftPressed()
606 keystate[VK_RCONTROL] = 0; in IsCtrlShiftPressed()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibevents.c607 BYTE keystate[256]; in TranslateKey()
610 GetKeyboardState(keystate); in TranslateKey()
613 if ((keystate[VK_NUMLOCK] & 1) && vkey >= VK_NUMPAD0 && vkey <= VK_NUMPAD9) in TranslateKey()
617 …else if (SDL_ToUnicode((UINT)vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0… in TranslateKey()
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
DSDL_sysevents.c103 static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, const BYTE *keystate, LPWSTR wchars, int …
844 static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, const BYTE *keystate, LPWSTR wchars, int … in ToUnicode9xME() argument
849 if (ToAsciiEx(vkey, scancode, (PBYTE) keystate, (WORD*)chars, 0, GetKeyboardLayout(0)) == 1) { in ToUnicode9xME()
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5events.c909 BYTE keystate[256]; in TranslateKey() local
918 GetKeyboardState(keystate); in TranslateKey()
921 if ((keystate[VK_NUMLOCK] & 1) && vkey >= VK_NUMPAD0 && vkey <= VK_NUMPAD9) in TranslateKey()
925 else if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) > 0) in TranslateKey()
/external/chromium_org/ui/views/win/
Dhwnd_message_handler.h389 BOOL OnAppCommand(HWND window, short command, WORD device, int keystate);
Dhwnd_message_handler.cc1315 int keystate) { in OnAppCommand() argument