/dports/textproc/goldendict/goldendict-73ec1b5/ |
H A D | keyboardstate.cc | 25 ( mask & Alt && !( GetAsyncKeyState( VK_MENU ) & 0x8000 ) ) || in checkModifiersPressed() 26 ( mask & Ctrl && !( GetAsyncKeyState( VK_CONTROL ) & 0x8000 ) ) || in checkModifiersPressed() 27 ( mask & Shift && !( GetAsyncKeyState( VK_SHIFT ) & 0x8000 ) ) || in checkModifiersPressed() 28 ( mask & LeftAlt && !( GetAsyncKeyState( VK_LMENU ) & 0x8000 ) ) || in checkModifiersPressed() 29 ( mask & RightAlt && !( GetAsyncKeyState( VK_RMENU ) & 0x8000 ) ) || in checkModifiersPressed() 30 ( mask & LeftCtrl && !( GetAsyncKeyState( VK_LCONTROL ) & 0x8000 ) ) || in checkModifiersPressed() 31 ( mask & RightCtrl && !( GetAsyncKeyState( VK_RCONTROL ) & 0x8000 ) ) || in checkModifiersPressed() 32 ( mask & LeftShift && !( GetAsyncKeyState( VK_LSHIFT ) & 0x8000 ) ) || in checkModifiersPressed() 33 ( mask & RightShift && !( GetAsyncKeyState( VK_RSHIFT ) & 0x8000 ) ) ); in checkModifiersPressed()
|
H A D | hotkeys.c | 64 int n = GetAsyncKeyState( VK_MENU ) & 0x8000; in isModifiersPressed() 69 n = GetAsyncKeyState( VK_SHIFT ) & 0x8000; in isModifiersPressed() 74 n = GetAsyncKeyState( VK_CONTROL ) & 0x8000; in isModifiersPressed() 79 n = ( GetAsyncKeyState( VK_LWIN ) & 0x8000 ) | ( GetAsyncKeyState( VK_RWIN ) & 0x8000 ); in isModifiersPressed()
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/IOS/USB/ |
H A D | USB_KBD.cpp | 226 return (GetAsyncKeyState(key) & 0x8000) != 0; in IsKeyPressed() 280 if (GetAsyncKeyState(VK_LCONTROL) & 0x8000) in Update() 282 if (GetAsyncKeyState(VK_LSHIFT) & 0x8000) in Update() 284 if (GetAsyncKeyState(VK_MENU) & 0x8000) in Update() 286 if (GetAsyncKeyState(VK_LWIN) & 0x8000) in Update() 288 if (GetAsyncKeyState(VK_RCONTROL) & 0x8000) in Update() 290 if (GetAsyncKeyState(VK_RSHIFT) & 0x8000) in Update() 293 if (GetAsyncKeyState(VK_MENU) & 0x8000) in Update() 295 if (GetAsyncKeyState(VK_RWIN) & 0x8000) in Update()
|
/dports/graphics/anttweakbar/AntTweakBar/src/ |
H A D | TwEventWin.c | 82 if( GetAsyncKeyState(VK_SHIFT)<0 ) in TwEventWin() 84 if( GetAsyncKeyState(VK_CONTROL)<0 ) in TwEventWin() 90 if( GetAsyncKeyState(VK_MENU)<0 ) in TwEventWin() 103 if( GetAsyncKeyState(VK_SHIFT)<0 ) in TwEventWin() 105 if( GetAsyncKeyState(VK_CONTROL)<0 ) in TwEventWin() 110 if( GetAsyncKeyState(VK_MENU)<0 ) in TwEventWin() 198 if( GetAsyncKeyState(VK_SHIFT)<0 ) in TwEventWin() 200 if( GetAsyncKeyState(VK_CONTROL)<0 ) in TwEventWin() 202 if( GetAsyncKeyState(VK_MENU)<0 ) in TwEventWin()
|
/dports/textproc/qstardict/qstardict-qstardict-1.3/qstardict/ |
H A D | keyboard.cpp | 35 if (GetAsyncKeyState(VK_MENU) & 0x8000) in activeModifiers() 37 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in activeModifiers() 39 if (GetAsyncKeyState(VK_SHIFT) & 0x8000) in activeModifiers() 41 if ((GetAsyncKeyState(VK_LWIN) & 0x8000) || (GetAsyncKeyState(VK_RWIN) & 0x8000)) in activeModifiers()
|
/dports/games/sarien/sarien-0.7.0/src/graphics/win32/ |
H A D | win32.c | 400 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? ':' : ';'; in MainWndProc() 403 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? '+' : '='; in MainWndProc() 406 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? '<' : ','; in MainWndProc() 409 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? '_' : '-'; in MainWndProc() 412 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? '>' : '.'; in MainWndProc() 415 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? '?' : '/'; in MainWndProc() 418 key = GetAsyncKeyState (VK_SHIFT) & 0x8000 ? '{' : '['; in MainWndProc() 438 if (GetAsyncKeyState (VK_SHIFT) & 0x8000) in MainWndProc() 441 if (!(GetAsyncKeyState (VK_SHIFT) & 0x8000)) in MainWndProc() 446 if (GetAsyncKeyState (VK_CONTROL) & 0x8000) in MainWndProc() [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burner/win32/ |
H A D | run.cpp | 370 INT32 shifted = (GetAsyncKeyState(VK_SHIFT) & 0x80000000) ? 0xf0 : 0; in BurnerHandlerKeyCallback() 478 if (GetAsyncKeyState(VK_CONTROL) & 0x80000000) { in RunMessageLoop() 500 if (GetAsyncKeyState(VK_CONTROL) & 0x80000000) { in RunMessageLoop() 577 if (GetAsyncKeyState(VK_CONTROL) & 0x80000000) { in RunMessageLoop() 593 if (((GetAsyncKeyState(VK_CONTROL) | GetAsyncKeyState(VK_SHIFT)) & 0x80000000) == 0) { in RunMessageLoop() 601 …if ((GetAsyncKeyState(VK_SHIFT) & 0x80000000) && !GetAsyncKeyState(VK_CONTROL)) { // Shift-F1: tog… in RunMessageLoop() 612 if ((GetAsyncKeyState(VK_SHIFT) & 0x80000000) && !GetAsyncKeyState(VK_CONTROL)) in RunMessageLoop()
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/platform/win32/ |
H A D | win32frame.cpp | 323 if (GetAsyncKeyState (VK_LBUTTON) < 0) in getCurrentMouseButtons() 325 if (GetAsyncKeyState (VK_MBUTTON) < 0) in getCurrentMouseButtons() 327 if (GetAsyncKeyState (VK_RBUTTON) < 0) in getCurrentMouseButtons() 329 if (GetAsyncKeyState (VK_SHIFT) < 0) in getCurrentMouseButtons() 331 if (GetAsyncKeyState (VK_CONTROL) < 0) in getCurrentMouseButtons() 333 if (GetAsyncKeyState (VK_MENU) < 0) in getCurrentMouseButtons() 743 if (GetAsyncKeyState (VK_SHIFT) < 0) in proc() 745 if (GetAsyncKeyState (VK_CONTROL) < 0) in proc() 747 if (GetAsyncKeyState (VK_MENU) < 0) in proc() 864 if (GetAsyncKeyState (VK_MENU) < 0) in proc() [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/lib/platform/win32/ |
H A D | win32frame.cpp | 323 if (GetAsyncKeyState (VK_LBUTTON) < 0) in getCurrentMouseButtons() 325 if (GetAsyncKeyState (VK_MBUTTON) < 0) in getCurrentMouseButtons() 327 if (GetAsyncKeyState (VK_RBUTTON) < 0) in getCurrentMouseButtons() 329 if (GetAsyncKeyState (VK_SHIFT) < 0) in getCurrentMouseButtons() 331 if (GetAsyncKeyState (VK_CONTROL) < 0) in getCurrentMouseButtons() 333 if (GetAsyncKeyState (VK_MENU) < 0) in getCurrentMouseButtons() 716 if (GetAsyncKeyState (VK_SHIFT) < 0) in proc() 718 if (GetAsyncKeyState (VK_CONTROL) < 0) in proc() 720 if (GetAsyncKeyState (VK_MENU) < 0) in proc() 837 if (GetAsyncKeyState (VK_MENU) < 0) in proc() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/win32/ |
H A D | run.cpp | 444 INT32 shifted = (GetAsyncKeyState(VK_SHIFT) & 0x80000000) ? 0xf0 : 0; in BurnerHandlerKeyCallback() 552 if (GetAsyncKeyState(VK_CONTROL) & 0x80000000) { in RunMessageLoop() 575 if (GetAsyncKeyState(VK_CONTROL) & 0x80000000) { in RunMessageLoop() 678 if (GetAsyncKeyState(VK_CONTROL) & 0x80000000) { in RunMessageLoop() 694 if (((GetAsyncKeyState(VK_CONTROL) | GetAsyncKeyState(VK_SHIFT)) & 0x80000000) == 0) { in RunMessageLoop() 702 …if ((GetAsyncKeyState(VK_SHIFT) & 0x80000000) && !GetAsyncKeyState(VK_CONTROL)) { // Shift-F1: tog… in RunMessageLoop() 713 if ((GetAsyncKeyState(VK_SHIFT) & 0x80000000) && !GetAsyncKeyState(VK_CONTROL)) in RunMessageLoop()
|
/dports/textproc/stardict3/stardict-3.0.6/dict/src/win32/ |
H A D | win32_iskeyspressed.cpp | 65 if (!(GetAsyncKeyState(VK_CONTROL)&0x8000)) in is_pressed() 69 if (!(GetAsyncKeyState(VK_SHIFT)&0x8000)) in is_pressed() 73 if (!(GetAsyncKeyState(VK_MENU)&0x8000)) in is_pressed()
|
/dports/emulators/mess/mame-mame0226/src/osd/modules/debugger/win/ |
H A D | debugwininfo.cpp | 169 if (GetAsyncKeyState(VK_SHIFT) & 0x8000) in handle_key() 176 if (GetAsyncKeyState(VK_MENU) & 0x8000) in handle_key() 205 if ((GetAsyncKeyState(VK_SHIFT) & 0x8000) && ((GetAsyncKeyState(VK_CONTROL) & 0x8000) == 0)) in handle_key() 207 else if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 218 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 226 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 234 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 242 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key()
|
/dports/emulators/mame/mame-mame0226/src/osd/modules/debugger/win/ |
H A D | debugwininfo.cpp | 169 if (GetAsyncKeyState(VK_SHIFT) & 0x8000) in handle_key() 176 if (GetAsyncKeyState(VK_MENU) & 0x8000) in handle_key() 205 if ((GetAsyncKeyState(VK_SHIFT) & 0x8000) && ((GetAsyncKeyState(VK_CONTROL) & 0x8000) == 0)) in handle_key() 207 else if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 218 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 226 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 234 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key() 242 if (GetAsyncKeyState(VK_CONTROL) & 0x8000) in handle_key()
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/video/windows/ |
H A D | SDL_windowsevents.c | 289 keyState = GetAsyncKeyState(VK_LBUTTON); in WIN_CheckAsyncMouseRelease() 293 keyState = GetAsyncKeyState(VK_RBUTTON); in WIN_CheckAsyncMouseRelease() 297 keyState = GetAsyncKeyState(VK_MBUTTON); in WIN_CheckAsyncMouseRelease() 301 keyState = GetAsyncKeyState(VK_XBUTTON1); in WIN_CheckAsyncMouseRelease() 305 keyState = GetAsyncKeyState(VK_XBUTTON2); in WIN_CheckAsyncMouseRelease() 405 if (GetAsyncKeyState(VK_LBUTTON)) { in WIN_WindowProc() 408 if (GetAsyncKeyState(VK_RBUTTON)) { in WIN_WindowProc() 411 if (GetAsyncKeyState(VK_MBUTTON)) { in WIN_WindowProc() 414 if (GetAsyncKeyState(VK_XBUTTON1)) { in WIN_WindowProc() 417 if (GetAsyncKeyState(VK_XBUTTON2)) { in WIN_WindowProc() [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/video/windows/ |
H A D | SDL_windowsevents.c | 289 keyState = GetAsyncKeyState(VK_LBUTTON); in WIN_CheckAsyncMouseRelease() 293 keyState = GetAsyncKeyState(VK_RBUTTON); in WIN_CheckAsyncMouseRelease() 297 keyState = GetAsyncKeyState(VK_MBUTTON); in WIN_CheckAsyncMouseRelease() 301 keyState = GetAsyncKeyState(VK_XBUTTON1); in WIN_CheckAsyncMouseRelease() 305 keyState = GetAsyncKeyState(VK_XBUTTON2); in WIN_CheckAsyncMouseRelease() 405 if (GetAsyncKeyState(VK_LBUTTON)) { in WIN_WindowProc() 408 if (GetAsyncKeyState(VK_RBUTTON)) { in WIN_WindowProc() 411 if (GetAsyncKeyState(VK_MBUTTON)) { in WIN_WindowProc() 414 if (GetAsyncKeyState(VK_XBUTTON1)) { in WIN_WindowProc() 417 if (GetAsyncKeyState(VK_XBUTTON2)) { in WIN_WindowProc() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/video/windows/ |
H A D | SDL_windowsevents.c | 292 keyState = GetAsyncKeyState(VK_LBUTTON); in WIN_CheckAsyncMouseRelease() 296 keyState = GetAsyncKeyState(VK_RBUTTON); in WIN_CheckAsyncMouseRelease() 300 keyState = GetAsyncKeyState(VK_MBUTTON); in WIN_CheckAsyncMouseRelease() 304 keyState = GetAsyncKeyState(VK_XBUTTON1); in WIN_CheckAsyncMouseRelease() 308 keyState = GetAsyncKeyState(VK_XBUTTON2); in WIN_CheckAsyncMouseRelease() 413 if (GetAsyncKeyState(VK_LBUTTON)) { in WIN_WindowProc() 416 if (GetAsyncKeyState(VK_RBUTTON)) { in WIN_WindowProc() 419 if (GetAsyncKeyState(VK_MBUTTON)) { in WIN_WindowProc() 422 if (GetAsyncKeyState(VK_XBUTTON1)) { in WIN_WindowProc() 425 if (GetAsyncKeyState(VK_XBUTTON2)) { in WIN_WindowProc() [all …]
|
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/src/platform_w32_dx9/ |
H A D | Renderer.cpp | 241 …keyEventBuffer[keyEventBufferCount].ctrl = GetAsyncKeyState( VK_LCONTROL ) || GetAsyncKeyState( V… in WndProc() 242 …keyEventBuffer[keyEventBufferCount].alt = GetAsyncKeyState( VK_LMENU ) || GetAsyncKeyState( VK_R… in WndProc() 243 …keyEventBuffer[keyEventBufferCount].shift = GetAsyncKeyState( VK_LSHIFT ) || GetAsyncKeyState( VK_… in WndProc() 254 …keyEventBuffer[keyEventBufferCount].ctrl = GetAsyncKeyState( VK_LCONTROL ) || GetAsyncKeyState( V… in WndProc() 255 …keyEventBuffer[keyEventBufferCount].alt = GetAsyncKeyState( VK_LMENU ) || GetAsyncKeyState( VK_R… in WndProc() 256 …keyEventBuffer[keyEventBufferCount].shift = GetAsyncKeyState( VK_LSHIFT ) || GetAsyncKeyState( VK_… in WndProc()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/win/rfb_win32/ |
H A D | SInput.cxx | 283 if (!(GetAsyncKeyState(vkCode) & 0x8000)) { in press() 289 if (GetAsyncKeyState(vkCode) & 0x8000) { in release() 373 if ((keycode == 0xc6) && !(GetAsyncKeyState(VK_CONTROL) & 0x8000)) in keyEvent() 377 if ((keycode == 0x54) && !(GetAsyncKeyState(VK_MENU) & 0x8000)) in keyEvent() 381 ((GetAsyncKeyState(VK_CONTROL) & 0x8000) != 0) && in keyEvent() 382 ((GetAsyncKeyState(VK_MENU) & 0x8000) != 0)) in keyEvent() 481 ((GetAsyncKeyState(VK_CONTROL) & 0x8000) != 0) && in keyEvent() 482 ((GetAsyncKeyState(VK_MENU) & 0x8000) != 0)) in keyEvent()
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/win/rfb_win32/ |
H A D | SInput.cxx | 283 if (!(GetAsyncKeyState(vkCode) & 0x8000)) { in press() 289 if (GetAsyncKeyState(vkCode) & 0x8000) { in release() 373 if ((keycode == 0xc6) && !(GetAsyncKeyState(VK_CONTROL) & 0x8000)) in keyEvent() 377 if ((keycode == 0x54) && !(GetAsyncKeyState(VK_MENU) & 0x8000)) in keyEvent() 381 ((GetAsyncKeyState(VK_CONTROL) & 0x8000) != 0) && in keyEvent() 382 ((GetAsyncKeyState(VK_MENU) & 0x8000) != 0)) in keyEvent() 481 ((GetAsyncKeyState(VK_CONTROL) & 0x8000) != 0) && in keyEvent() 482 ((GetAsyncKeyState(VK_MENU) & 0x8000) != 0)) in keyEvent()
|
/dports/games/OpenLara/OpenLara-b4b19f2/src/platform/gba/ |
H A D | main.cpp | 125 if (GetAsyncKeyState(VK_LEFT)) dx--; in drawTest() 126 if (GetAsyncKeyState(VK_RIGHT)) dx++; in drawTest() 127 if (GetAsyncKeyState(VK_UP)) dy--; in drawTest() 128 if (GetAsyncKeyState(VK_DOWN)) dy++; in drawTest() 130 if (GetAsyncKeyState('T')) { in drawTest() 135 if (GetAsyncKeyState('B')) { in drawTest() 140 if (GetAsyncKeyState('U')) { in drawTest()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/hw/xwin/ |
H A D | winkeybd.c | 271 BOOL lctrl = (GetAsyncKeyState(VK_LCONTROL) < 0); in winRestoreModeKeyStates() 272 BOOL rctrl = (GetAsyncKeyState(VK_RCONTROL) < 0); in winRestoreModeKeyStates() 273 BOOL lshift = (GetAsyncKeyState(VK_LSHIFT) < 0); in winRestoreModeKeyStates() 274 BOOL rshift = (GetAsyncKeyState(VK_RSHIFT) < 0); in winRestoreModeKeyStates() 275 BOOL alt = (GetAsyncKeyState(VK_LMENU) < 0); in winRestoreModeKeyStates() 276 BOOL altgr = (GetAsyncKeyState(VK_RMENU) < 0); in winRestoreModeKeyStates()
|
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/hw/xwin/ |
H A D | winkeybd.c | 271 BOOL lctrl = (GetAsyncKeyState(VK_LCONTROL) < 0); in winRestoreModeKeyStates() 272 BOOL rctrl = (GetAsyncKeyState(VK_RCONTROL) < 0); in winRestoreModeKeyStates() 273 BOOL lshift = (GetAsyncKeyState(VK_LSHIFT) < 0); in winRestoreModeKeyStates() 274 BOOL rshift = (GetAsyncKeyState(VK_RSHIFT) < 0); in winRestoreModeKeyStates() 275 BOOL alt = (GetAsyncKeyState(VK_LMENU) < 0); in winRestoreModeKeyStates() 276 BOOL altgr = (GetAsyncKeyState(VK_RMENU) < 0); in winRestoreModeKeyStates()
|
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/hw/xwin/ |
H A D | winkeybd.c | 271 BOOL lctrl = (GetAsyncKeyState(VK_LCONTROL) < 0); in winRestoreModeKeyStates() 272 BOOL rctrl = (GetAsyncKeyState(VK_RCONTROL) < 0); in winRestoreModeKeyStates() 273 BOOL lshift = (GetAsyncKeyState(VK_LSHIFT) < 0); in winRestoreModeKeyStates() 274 BOOL rshift = (GetAsyncKeyState(VK_RSHIFT) < 0); in winRestoreModeKeyStates() 275 BOOL alt = (GetAsyncKeyState(VK_LMENU) < 0); in winRestoreModeKeyStates() 276 BOOL altgr = (GetAsyncKeyState(VK_RMENU) < 0); in winRestoreModeKeyStates()
|
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/hw/xwin/ |
H A D | winkeybd.c | 271 BOOL lctrl = (GetAsyncKeyState(VK_LCONTROL) < 0); in winRestoreModeKeyStates() 272 BOOL rctrl = (GetAsyncKeyState(VK_RCONTROL) < 0); in winRestoreModeKeyStates() 273 BOOL lshift = (GetAsyncKeyState(VK_LSHIFT) < 0); in winRestoreModeKeyStates() 274 BOOL rshift = (GetAsyncKeyState(VK_RSHIFT) < 0); in winRestoreModeKeyStates() 275 BOOL alt = (GetAsyncKeyState(VK_LMENU) < 0); in winRestoreModeKeyStates() 276 BOOL altgr = (GetAsyncKeyState(VK_RMENU) < 0); in winRestoreModeKeyStates()
|
/dports/x11-servers/xwayland/xorg-server-1.20.13/hw/xwin/ |
H A D | winkeybd.c | 271 BOOL lctrl = (GetAsyncKeyState(VK_LCONTROL) < 0); in winRestoreModeKeyStates() 272 BOOL rctrl = (GetAsyncKeyState(VK_RCONTROL) < 0); in winRestoreModeKeyStates() 273 BOOL lshift = (GetAsyncKeyState(VK_LSHIFT) < 0); in winRestoreModeKeyStates() 274 BOOL rshift = (GetAsyncKeyState(VK_RSHIFT) < 0); in winRestoreModeKeyStates() 275 BOOL alt = (GetAsyncKeyState(VK_LMENU) < 0); in winRestoreModeKeyStates() 276 BOOL altgr = (GetAsyncKeyState(VK_RMENU) < 0); in winRestoreModeKeyStates()
|