Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.22 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.22 KB

Firefly-cli

CLI for managing colors and effects for CosmicByte Firefly keyboard.

About

This project was done by reverse engineering the firefly software on windows. On Windows, The packets were sniffed using WireShark while running the firefly GUI software. Then packets were analysed and the logic written in rust using rusb crate.

Features

  • 10 different Effects

    • Setting loop/individual color of effects
  • 7 different colors

  • Individual key paint

  • Brightness control (This can already be modified via keybind Fn + {up,down} arrow)

  • Speed control (This can already be modified via keybind Fn + {left,right} arrow)

Usage

  1. Requires user to have permission to access usb devices, otherwise sudo can be used (not recommended). Ref: this stackoverflow link
  2. git clone
  3. cargo run

Acknowledgements

  • This stackoverflow answer which came in clutch, while I was breaking my head over why HIDAPI was not working.
  • Low Byte Productions Video