logitech-led
v0.1.5
Published
Bindings for Logitech's LED Illumination SDK
Downloads
10
Maintainers
Readme
Logitech-Led
NodeJS bindings for Logitech's Illumination SDK
Installation
npm i logitech-led
Example Usage
const logitechLED = require('logitech-led');
const success = logitechLED.LogiLedInit();
if (success) {
logitechLED.LogiLedSetLighting(0, 100, 0);
}
API
LogiLedInit()
- Must be called before everything else
LogiLedSaveCurrentLighting()
LogiLedRestoreCurrentLighting()
LogiLedSetLighting(red, green, blue)
- red, green, blue: integers within the range [0,100]