libusb based discovery module for BlinkStick devices.
A function used to filter devices during discovery.
A filter used during device discovery to select specific devices.
This function creates a BlinkstickAsync instance from a USB device.
Creates a BlinkStickSync instance from a USB device.
Creates a discovery filter function from a given filter.
Find BlinkSticks using a filter, using asynchronous USB device enumeration.
Find BlinkSticks using a filter, using synchronous USB device enumeration.
Finds a blinkstick by its ID.
Find first attached BlinkStick asynchronously and create a BlinkStickAsync instance.
Find first attached BlinkStick and create a BlinkStickSync object.
Find raw USB devices using asynchronous USB device enumeration.
Find raw USB devices using synchronous USB device enumeration.
Main class responsible for controlling BlinkStick devices.
Class to manage IDs on BlinkStick devices.
Bag of static methods for creating animations.
Class to build complex animations.
Class to run animations on a Blinkstick device.
ComplexFrame instance represents a single frame of animation with multiple colors and a specific duration.
SimpleFrame represents a single frame of animation with a specific color and duration.
Null frame doesn't change the state of the LEDs. It just waits.
Any frame type.
Callback function to transform each frame.
Combines multiple asynchronous animations into a single async iterable.
Combines multiple synchronous animations into a single iterable.
Converts multiple simple frame iterables (one per LED) into a single complex frame iterable.
Sets maximum duration for an animation. The last frame can be shortened to fit the maximum duration. Frames beyond the maximum duration are dropped
Generates intermediate frames between two RGB colors. These don't include the start and end frames.
Morphs between two complex frames.
Smooth transition between two animations.
Smooth transition between multiple RGB colors.
Pulses a color and backs off to black.
Repeats an animation a specified number of times.
Streaming FPS smoother.
Applies a transformation to each frame in the animation.
Build wave effect
Collects all items from an iterable or async iterable into an array.
Gets a random RGB color object.
Gets a random RGB color tuple.
Wrap a generator function into an object implementing Iterable or AsyncIterable. A common mistake is to pass a generator object to a function that expects an iterable. While generators are iterable, they behave very differently from other iterables. In particular, they are not reusable - you can iterate over them only once, unlike arrays or sets.
UsbTransport implementation using the 'usb' (libusb) library.
UsbTransport implementation using the 'node-hid' library with asynchronous methods.
UsbTransport implementation using the 'node-hid' library with synchronous methods.
Abstract class representing a USB transport layer.
BlinkStick modes (applicable to BlinkStick Pro).
Channel for BlinkStick Pro devices.
Color keywords, taken as-is from original library.
Type used to describe a Blinkstick device.
Known Blinkstick devices and their LED counts.
Descriptions of HID feature reports for BlinkStick devices.
Product ID for BlinkStick devices.
Vendor ID for BlinkStick devices.
Async and recommended version of BlinkStick class using node-hid for communication.
Version of BlinkStick that uses libusb for communication.
Synchronous version of BlinkStick class using node-hid for smoother migration from old API.
Type representing a color input that can be a tuple of RGB values, an object with RGB properties, or a color keyword.
Represents a color using its red, green, and blue components.
Legacy list of all possible ways to specify a color along with additional options.
Legacy options for setting color on LEDs.
Limited version of BlinkStick that only includes schedulable operations and properties.
A filter function for Node-HID devices.
node-hidbased discovery module for BlinkStick devices.