Rename RGB fractal (#15174)
Co-authored-by: filterpaper <filterpaper@localhost>
This commit is contained in:
parent
f817c2e12d
commit
557e5ddf99
3 changed files with 7 additions and 7 deletions
|
@ -453,7 +453,7 @@ enum rgb_matrix_effects {
|
|||
RGB_MATRIX_HUE_BREATHING, // Hue shifts up a slight ammount at the same time, then shifts back
|
||||
RGB_MATRIX_HUE_PENDULUM, // Hue shifts up a slight ammount in a wave to the right, then back to the left
|
||||
RGB_MATRIX_HUE_WAVE, // Hue shifts up a slight ammount and then back down in a wave to the right
|
||||
RGB_MATRIX_FRACTAL, // Single hue fractal filled keys pulsing horizontally out to edges
|
||||
RGB_MATRIX_PIXEL_FRACTAL, // Single hue fractal filled keys pulsing horizontally out to edges
|
||||
RGB_MATRIX_PIXEL_RAIN, // Randomly light keys with random hues
|
||||
#if define(RGB_MATRIX_FRAMEBUFFER_EFFECTS)
|
||||
RGB_MATRIX_TYPING_HEATMAP, // How hot is your WPM!
|
||||
|
@ -508,7 +508,7 @@ You can enable a single effect by defining `ENABLE_[EFFECT_NAME]` in your `confi
|
|||
|`#define ENABLE_RGB_MATRIX_HUE_BREATHING` |Enables `RGB_MATRIX_HUE_BREATHING` |
|
||||
|`#define ENABLE_RGB_MATRIX_HUE_PENDULUM` |Enables `RGB_MATRIX_HUE_PENDULUM` |
|
||||
|`#define ENABLE_RGB_MATRIX_HUE_WAVE` |Enables `RGB_MATRIX_HUE_WAVE ` |
|
||||
|`#define ENABLE_RGB_MATRIX_FRACTAL` |Enables `RGB_MATRIX_FRACTAL` |
|
||||
|`#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL` |Enables `RGB_MATRIX_PIXEL_FRACTAL` |
|
||||
|`#define ENABLE_RGB_MATRIX_PIXEL_RAIN` |Enables `RGB_MATRIX_PIXEL_RAIN` |
|
||||
|
||||
?> These modes don't require any additional defines.
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
|
||||
// Inspired from 4x12 fractal created by @schwarzgrau
|
||||
|
||||
#ifdef ENABLE_RGB_MATRIX_FRACTAL
|
||||
RGB_MATRIX_EFFECT(FRACTAL)
|
||||
#ifdef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
||||
RGB_MATRIX_EFFECT(PIXEL_FRACTAL)
|
||||
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
|
||||
|
||||
static bool FRACTAL(effect_params_t* params) {
|
||||
static bool PIXEL_FRACTAL(effect_params_t* params) {
|
||||
# define MID_COL MATRIX_COLS / 2
|
||||
static bool led[MATRIX_ROWS][MATRIX_COLS];
|
||||
|
||||
|
@ -71,4 +71,4 @@ static bool FRACTAL(effect_params_t* params) {
|
|||
return false;
|
||||
}
|
||||
# endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS
|
||||
#endif // ENABLE_RGB_MATRIX_FRACTAL
|
||||
#endif // ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
@ -26,8 +26,8 @@
|
|||
#include "hue_breathing_anim.h"
|
||||
#include "hue_pendulum_anim.h"
|
||||
#include "hue_wave_anim.h"
|
||||
#include "fractal_anim.h"
|
||||
#include "pixel_rain_anim.h"
|
||||
#include "pixel_fractal_anim.h"
|
||||
#include "typing_heatmap_anim.h"
|
||||
#include "digital_rain_anim.h"
|
||||
#include "solid_reactive_simple_anim.h"
|
||||
|
|
Loading…
Reference in a new issue