Sets a specific keyboard's LED, leaving all other attached keyboards untouched.
A keyboard identifier, as returned by attachedKeyboards()
attachedKeyboards()
The LED to set — one of "caps", "scroll", or "num"
"caps"
"scroll"
"num"
true to turn the LED on, false to turn it off
true if the LED was successfully set
Requires Input Monitoring permission — see hs.permissions.requestInputMonitoring().
hs.permissions.requestInputMonitoring()
Sets a specific keyboard's LED, leaving all other attached keyboards untouched.