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

Function KeybToggleCapsLock

source/Keyboard.cpp:451–458  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

449
450//===========================================================================
451void KeybToggleCapsLock ()
452{
453 if (!IS_APPLE2)
454 {
455 g_bCapsLock = (GetKeyState(VK_CAPITAL) & 1);
456 GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_DISK_STATUS);
457 }
458}
459
460//===========================================================================
461

Callers 1

WndProcMethod · 0.85

Calls 1

FrameRefreshStatusMethod · 0.80

Tested by

no test coverage detected