Skip to content
/ clkb Public

My Corsair K70 RGB keyboard controller and API using linux ckb driver

Notifications You must be signed in to change notification settings

Chlorek/clkb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clkb

This project is nothing but my experiment with ckb driver.
It attempts to deliver simple API to control Corsair K70 RGB (Lux) keyboard leds.
I use it for hard-coded effects and easy command-line live (like daemon) control from scripts, but it could be used to make CLI controller instead of GUI one.

Features

  • extensive methods to provide convenient control from code
  • mapping keys to 2D
  • works with different frame-rates
  • supports effects stack
  • some pre-made effects (e.g. breathing, slowly changing colors, bitmap animations, raindrops)
  • signal-interface allowing to easily bind RTMIN signals to commands
  • supports Corsair K70 RGB

Dependencies

You need K70 (can be different model if you alter key tables a little) keyboard, Linux and ckb driver.
It is C++14, almost C++11, but I had some more than usual fun with std::chrono here, great modern API, if you decide to use it I hope you will like chrono as well. I think it should be fine with C++11 if time literals are removed.
It requires easybmp library for AnimationEffect. It is tiny lib so I included it along.

License

MIT license

About

My Corsair K70 RGB keyboard controller and API using linux ckb driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published