CustomEffects as usermod: step 4: modify wledv123.json, add drawLine/Arc
General (for CE, but also used by M12_pArc) - add drawArc Custom Effects - add WLEDSR Custom Effects comment to places in WLED where it is hooked in - move from wled.json to wledv123.json - rename matrixWidth/Heigth to width/height and use virtualWidth/Height - remove setPixels - add drawLine / drawArc
This commit is contained in:
@@ -41,7 +41,7 @@ uint16_t mode_customEffect(void) {
|
||||
strcat(programFileName, currentEffect);
|
||||
strcat(programFileName, ".wled");
|
||||
|
||||
succesful = arti->setup("/wled.json", programFileName);
|
||||
succesful = arti->setup("/wledv032.json", programFileName);
|
||||
|
||||
if (!succesful)
|
||||
ERROR_ARTI("Setup not succesful\n");
|
||||
@@ -89,7 +89,7 @@ uint16_t mode_customEffect(void) {
|
||||
return FRAMETIME;
|
||||
}
|
||||
|
||||
static const char _data_FX_MODE_CUSTOMEFFECT[] PROGMEM = " ⚙️ Custom Effect@Speed,Intensity,Custom 1, Custom 2, Custom 3;!;!";
|
||||
static const char _data_FX_MODE_CUSTOMEFFECT[] PROGMEM = "⚙️ Custom Effect@Speed,Intensity,Custom 1, Custom 2, Custom 3;!;!;mp12=0,1d";
|
||||
|
||||
class CustomEffectsUserMod : public Usermod {
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user