Added analog button hue control

This commit is contained in:
cschwinne 2021-05-30 02:03:32 +02:00
parent 85489458d8
commit 315d4f225a

View File

@ -118,6 +118,9 @@ void handleAnalog(uint8_t b)
if (!seg.isSelected()) continue;
seg.palette = effectPalette;
}
} else if (macroDoublePress[b] == 200) {
// primary color, hue, full saturation
colorHStoRGB(aRead*256,255,col);
} else {
// otherwise use "double press" for segment selection
//uint8_t mainSeg = strip.getMainSegmentId();