Cycle LED effects in reverse

Q: Is there an easy way to define an LEDEffectPrev key, dual to LEDEffectNext? (I’d like a shift-press of the LED key to cycle through the LED effects in reverse.)

For some value of “easy”: Fork Kaleidoscope-LEDControl, add a function like ‘next_mode’ here that goes back a mode, then probably make a macro that calls that…would also need to make the method public, I guess.

2 Likes

Thanks! I tried that the obvious way, and ran into a bit of trouble, discussed here: https://github.com/keyboardio/Kaleidoscope-LEDControl/pull/17. Any tips?

commented on the pull request

1 Like