How do I create a gradient profile in which I can change each color within the gradient later using WebUSB or manual profile.ini?

For example I tried this, which obviously isn’t giving the right solution

StylePtr<InOutSparkTip<EasyBlade<OnSpark<Gradient<RgbArg<BASE_COLOR_ARG,Magenta>, RgbArg<ALT_COLOR_ARG,HotPink>, RgbArg<ALT_COLOR_ARG,Red>>,White,100>,White>,600,800>>(),

On WebUSB, I can only change the Magenta color and the HotPink color but not the Red Color.

Using different defaults with the same argument won’t work properly.
I think using argument 40, 41, 42, etc. should work (instead of ALT_COLOR_ARG)
It won’t work with edit mode, but I think the ProffieOS workbench can handle numeric arguments.


Arguments 40 and beyond definitely work as far as manually editing presets.ini go. Workbench however did not like it much (stuck on Getting options…).

I might be able to fix that.

1 Like