Keymap.getCapsLockState

Returns whether the Caps Lock modifer is locked.

class Keymap
bool
getCapsLockState
()

Return Value

Type: bool

true if Caps Lock is on