_CAPSLOCK (function) - QB64Official/qb64 GitHub Wiki

The _CAPSLOCK (function) function returns the current state of the Caps Lock key as on (-1) or off (0).

Syntax

keyStatus%% = _CAPSLOCK (function)

Availability

See Also