@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
31 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BlinkStickProMode = void 0;
/**
* BlinkStick modes.
* @category Constants
*/
exports.BlinkStickProMode = {
/**
* Normal mode, used by original BlinkStick,
*/
NORMAL: 0,
/**
* Inverse mode, where [0,0,0] is white and [255,255,255] is black.
* Used by some devices like "BlinkStick Pro" connected to IKEA Dioder.
*/
INVERSE: 1,
/**
* WS2812 mode, where each LED is a WS2812 LED.
* This seems to be a default mode for all devices but BlinkStick Pro and original BlinkStick
*/
WS2812: 2,
/**
* This mode is not documented in the official API nor in open-source firmware, but it is used in the
* BlinkStickClient .NET library:
* @see https://github.com/arvydas/blinkstick-client/blob/5f32a3d8c812abf521f99d54196784ab38c80ba7/BlinkStickClient/Widgets/BlinkStickInfoWidget.cs#L72
* @experimental
*/
MULTI_LED_MIRROR: 3,
};
//# sourceMappingURL=mode.js.map