Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 1.02 KB

hs.hid.led.md

File metadata and controls

21 lines (15 loc) · 1.02 KB

docs » hs.hid.led


HID LED interface for Hammerspoon, controls the state of keyboard LEDs

API Overview

  • Functions - API calls offered directly by the extension
  • set

API Documentation

Functions

Signature hs.hid.led.set(name, state) -> bool
Type Function
Description Assigns HID LED to the desired state
Parameters
  • name - LED name: "caps", "scroll" or "num"
  • state - A boolean indicating desired state
Returns
  • true if success, false if error