Skip to content

ebenoist/libblinkstick

Repository files navigation

libblinkstick

A blinkstick library written in portable C. libblinkstick is packaged as a linkable library and a CLI tool. The following implementation is known to work in linux and macOS environments and likely works anywhere hidapi runs.

Requirements

Getting Started

  • cmake . to generate the Makefiles for your system
  • make install to install the shared library and cli tool

CLI tool

The blinkstick CLI allows you to turn on and off any number of connected devices, set their colors, or target specific LEDs.

After running make, you'll have a blinkstick binary in target/

$ blinkstick --help
USAGE:
  blinkstick [options...]
OPTIONS
  --color set the color using a three rgb values
  --count set the number of blinkstick devices to address
  --index which led should be set
  --channel which channel to use (BlinkStick Pro)
  --debug turn on debug logging

Contributors

Many thanks to the contributors who have helped out over the years.

And many thanks to @arvydas!

Need a C++ Version?

About

A blinkstick library in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published