logitech-led
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

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]

Package Sidebar

Install

npm i logitech-led

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

128 kB

Total Files

17

Last publish

Collaborators

  • nicolasn