aboutsummaryrefslogtreecommitdiff
path: root/hwdef-emisar-d4k-3ch.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* emisar-d4k-3ch auto-tint mode: fixed issue with LEDs turning off at moon,Selene ToyKeeper2023-08-251-5/+12
| | | | | | | | | | and changed algorithm to two simple crossfades instead of one funky and probably incorrect crossfade with an extra triangle in the middle (but it may be best to convert to sine-shaped crossfades instead of linear) (I can't really test this one very will since I don't have D4K hardware with red+warm+cool LEDs, so I'm guessing based on my unbalanced RGB model with the LEDs in the wrong order)
* started splitting set_level(0) into its own set_level_zero(), andSelene ToyKeeper2023-08-251-101/+31
| | | | | | | | | | | made USE_AUX_RGB_LEDS_WHILE_ON work more like the old indicator LEDs, where it gets set automatically with set_level() Using set_level_zero() reduces space used by channel modes, and simplifies code for each mode's set_level_*() functions. I measured about 220 bytes less in the emisar-d4k-3ch build this way, while also reducing the chance of bugs.
* made custom 3H handler system work, added circular HSV ramping,Selene ToyKeeper2023-08-251-11/+22
| | | | | | fixed some minor issues with LEDs not getting turned off in corner cases (strobe on channel 1 -> strobe on channel 2, 1 might not get turned off)
* added emisar-d4k-3ch buildSelene ToyKeeper2023-08-241-0/+421