ah- / anne-key

Firmware for Anne Pro Keyboard written in Rust
Apache License 2.0
567 stars 32 forks source link

Cycle through custom LED themes #17

Open ah- opened 6 years ago

ah- commented 6 years ago

With the original firmware 1.4 you can't cycle through custom LED themes. If you set up a custom theme and then switch another one you can't get back to your custom theme without using the app.

From what I can tell this is due to custom themes having id 128, and the LED firmware seems to cycle back to theme id 0 before reaching 128.

To fix this nicely we probably need to have our own LED firmware, which might be a while.

MvEerd commented 6 years ago

Good to know, thanks! Until we can flash the LED firmware perhaps we could add a dedicated key to switch to the custom theme by using set_theme(128) ? That would be an improvement over 1.4 already

ah- commented 6 years ago

That should work, even with existing Actions, so all it needs is mapping to a key?

Not sure how to test though given that we can't yet upload custom themes :)