0.1.5 • Published 3 years ago

logitech-led v0.1.5

Weekly downloads
15
License
MIT
Repository
github
Last release
3 years ago

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