Added Pixel Rain and Fractal to VIALRGB effects (#109)

* Added Pixel Rain and Fractal to VIALRGB effects

* Move those 2 effects, into last enum list
This commit is contained in:
HorrorTroll 2022-02-02 19:45:46 +07:00 committed by GitHub
parent 1929773f11
commit 632456285d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,7 @@
// Inspired from 4x12 fractal created by @schwarzgrau
#ifdef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
#define RGB_MATRIX_EFFECT_PIXEL_FRACTAL
RGB_MATRIX_EFFECT(PIXEL_FRACTAL)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

View File

@ -15,6 +15,7 @@
*/
#ifdef ENABLE_RGB_MATRIX_PIXEL_RAIN
#define RGB_MATRIX_EFFECT_PIXEL_RAIN
RGB_MATRIX_EFFECT(PIXEL_RAIN)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

View File

@ -45,6 +45,8 @@ enum {
VIALRGB_EFFECT_MULTISPLASH,
VIALRGB_EFFECT_SOLID_SPLASH,
VIALRGB_EFFECT_SOLID_MULTISPLASH,
VIALRGB_EFFECT_PIXEL_RAIN,
VIALRGB_EFFECT_PIXEL_FRACTAL,
};
static const PROGMEM vialrgb_supported_mode_t supported_modes[] = {
@ -175,4 +177,10 @@ static const PROGMEM vialrgb_supported_mode_t supported_modes[] = {
#ifdef RGB_MATRIX_EFFECT_SOLID_MULTISPLASH
{ VIALRGB_EFFECT_SOLID_MULTISPLASH, RGB_MATRIX_SOLID_MULTISPLASH },
#endif
#ifdef RGB_MATRIX_EFFECT_PIXEL_RAIN
{ VIALRGB_EFFECT_PIXEL_RAIN, RGB_MATRIX_PIXEL_RAIN },
#endif
#ifdef RGB_MATRIX_EFFECT_PIXEL_FRACTAL
{ VIALRGB_EFFECT_PIXEL_FRACTAL, RGB_MATRIX_PIXEL_FRACTAL },
#endif
};