Skip to content

Added visualizer modes for Firefly and Blackwidow Chroma + Settings saving/reloading

Adam Honse requested to merge helionmusic:master into master

Created by: helionmusic

First time contributing to a project on github, please lemme know if I'm doing anything wrong.

I've decided to contribute to this and add the extra visualization modes I've been using for myself for both the blackwidow chroma keyboard and firefly mouse pad, as well as the super basic settings saving I've implemented just so I don't need to reset everything every time, and finally a setting to control which piece of the spectrum to use for single-color and bar visualizations because I didn't always want the 5th horizontal column of pixels to be it.

With this pull request you get basically the following: Blackwidow chroma visualization new modes:

  • Single color brightness based mode. (whole keyboard)
  • Down to up bar mode (just like the already existing firefly visualization except all across the keyboard)
  • Up to down bar mode. Reverse of the above
  • Mid to side bar mode. From the center to the right and left as a mirror bar mode on the horizontal
  • Side to mid bar mode. From both sides coming into the middle of the keyboard, basically reversed of the mid to side.

Firefly mousepad visualization new modes:

  • Single color brightness based mode (whole mousepad)
  • Up to down bar mode. Basically a reverse of the pre-existing firefly visualization mode.

App settings saving:

  • Click the button at the bottom right to save settings and next time the app is run, they are loaded in and auto-populate the entries.
  • If no settings file is found, it'll just load defaults and auto-populate as well.

Control over bar and single-color visualization modes section of the spectrum:

  • Can be selected from anywhere without being limited to 5th pixel of the visualization preview
  • Draws a red vertical line on the visualization preview to show where it will pull data from.

I've attached below a screenshot of the dialog window to show what I've added in (I'm the worst at UI, you could probably fit them better than me), and below it is an unlisted youtube video I've taken a while back showing the blackwidow and firefly extra modes in action.

keyboardvisualizervc_2016-11-18_16-39-38

https://www.youtube.com/watch?v=BJfMwDKJ3Hs

That's about it. :)

Merge request reports