Resizable Effects-Only Zones

We need a way to be able to mark a zone as resizable, but only for built-in effect modes. My plan here is to add a zone flags field to each zone. The first of which will designate a zone as resizable for effects only. The normal min/max/count fields are used, but are not used in the creation of LEDs. In this case, you could say define a zone of 30 LEDs but it will only create a single LED for the zone in the leds/colors vectors because the zones affected by this flag only support direct/static control of a single color while having ARGB patterns for the built-in effects.

BACKWARDS COMPATIBILITY NOTE

The RGBController API must be selective about parsing this when serving an older API level. It must force the min/max/count fields sent to the old API to 1 so that the zone looks to be a plain old single LED zone to the old API clients!

Merge request reports

Loading
Loading