MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / KeybUpdateCtrlShiftStatus

Function KeybUpdateCtrlShiftStatus

source/Keyboard.cpp:104–109  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

102
103//===========================================================================
104void KeybUpdateCtrlShiftStatus()
105{
106 g_bAltKey = (GetKeyState( VK_MENU ) < 0) ? true : false; // L or R alt
107 g_bCtrlKey = (GetKeyState( VK_CONTROL) < 0) ? true : false; // L or R ctrl
108 g_bShiftKey = (GetKeyState( VK_SHIFT ) < 0) ? true : false; // L or R shift
109}
110
111//===========================================================================
112BYTE KeybGetKeycode () // Used by IORead_C01x() and TapeRead() for Pravets8A

Callers 3

DebuggerMouseClickFunction · 0.85
WndProcMethod · 0.85
ProcessButtonClickMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected