@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
32 lines • 1.09 kB
TypeScript
/**
* BlinkStick modes.
* @category Constants
*/
export declare const BlinkStickProMode: {
/**
* Normal mode, used by original BlinkStick,
*/
readonly 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.
*/
readonly 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
*/
readonly 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
*/
readonly MULTI_LED_MIRROR: 3;
};
/**
* @category Constants
*/
export type BlinkStickProMode = (typeof BlinkStickProMode)[keyof typeof BlinkStickProMode];
//# sourceMappingURL=mode.d.ts.map