hammerspoon2-docs
    Preparing search index...

    Namespace keyboard

    Module for querying and controlling CapsLock state, and for enumerating attached keyboards and controlling their LEDs individually.

    attachedKeyboards
    capsLockState
    keyboardCapsLockState
    setCapsLockState
    setKeyboardLED
    setLED
    toggleCapsLockState