Device.getCapsLockState

Retrieves whether the Caps Lock modifier of the keyboard is locked.

This is only relevant for keyboard devices.

class Device
bool
getCapsLockState
()

Return Value

Type: bool

%TRUE if Caps Lock is on for @device

Meta