Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new VIALRGB effects #657

Open
wants to merge 2 commits into
base: vial
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions quantum/rgb_matrix/animations/flower_blooming_anim.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

#ifdef ENABLE_RGB_MATRIX_FLOWER_BLOOMING
#define RGB_MATRIX_EFFECT_FLOWER_BLOOMING
RGB_MATRIX_EFFECT(FLOWER_BLOOMING)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

Expand Down
1 change: 1 addition & 0 deletions quantum/rgb_matrix/animations/pixel_flow_anim.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0+

#ifdef ENABLE_RGB_MATRIX_PIXEL_FLOW
#define RGB_MATRIX_EFFECT_PIXEL_FLOW
RGB_MATRIX_EFFECT(PIXEL_FLOW)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

Expand Down
1 change: 1 addition & 0 deletions quantum/rgb_matrix/animations/riverflow_anim.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#ifdef ENABLE_RGB_MATRIX_RIVERFLOW
#define RGB_MATRIX_EFFECT_RIVERFLOW
RGB_MATRIX_EFFECT(RIVERFLOW)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

Expand Down
1 change: 1 addition & 0 deletions quantum/rgb_matrix/animations/starlight_anim.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#ifdef ENABLE_RGB_MATRIX_STARLIGHT
#define RGB_MATRIX_EFFECT_STARLIGHT
RGB_MATRIX_EFFECT(STARLIGHT)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

Expand Down
1 change: 1 addition & 0 deletions quantum/rgb_matrix/animations/starlight_dual_hue_anim.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#ifdef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_HUE
#define RGB_MATRIX_EFFECT_STARLIGHT_DUAL_HUE
RGB_MATRIX_EFFECT(STARLIGHT_DUAL_HUE)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

Expand Down
1 change: 1 addition & 0 deletions quantum/rgb_matrix/animations/starlight_dual_sat_anim.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#ifdef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_SAT
#define RGB_MATRIX_EFFECT_STARLIGHT_DUAL_SAT
RGB_MATRIX_EFFECT(STARLIGHT_DUAL_SAT)
# ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

Expand Down
24 changes: 24 additions & 0 deletions quantum/vialrgb_effects.inc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ enum {
VIALRGB_EFFECT_SOLID_MULTISPLASH,
VIALRGB_EFFECT_PIXEL_RAIN,
VIALRGB_EFFECT_PIXEL_FRACTAL,
VIALRGB_EFFECT_PIXEL_FLOW,
VIALRGB_EFFECT_FLOWER_BLOOMING,
VIALRGB_EFFECT_STARLIGHT,
VIALRGB_EFFECT_STARLIGHT_DUAL_HUE,
VIALRGB_EFFECT_STARLIGHT_DUAL_SAT,
VIALRGB_EFFECT_RIVERFLOW
};

static const PROGMEM vialrgb_supported_mode_t supported_modes[] = {
Expand Down Expand Up @@ -183,4 +189,22 @@ static const PROGMEM vialrgb_supported_mode_t supported_modes[] = {
#ifdef RGB_MATRIX_EFFECT_PIXEL_FRACTAL
{ VIALRGB_EFFECT_PIXEL_FRACTAL, RGB_MATRIX_PIXEL_FRACTAL },
#endif
#ifdef RGB_MATRIX_EFFECT_PIXEL_FLOW
{ VIALRGB_EFFECT_PIXEL_FLOW, RGB_MATRIX_PIXEL_FLOW },
#endif
#ifdef RGB_MATRIX_EFFECT_FLOWER_BLOOMING
{ VIALRGB_EFFECT_FLOWER_BLOOMING, RGB_MATRIX_FLOWER_BLOOMING },
#endif
#ifdef RGB_MATRIX_EFFECT_STARLIGHT
{ VIALRGB_EFFECT_STARLIGHT, RGB_MATRIX_STARLIGHT },
#endif
#ifdef RGB_MATRIX_EFFECT_STARLIGHT_DUAL_HUE
{ VIALRGB_EFFECT_STARLIGHT_DUAL_HUE, RGB_MATRIX_STARLIGHT_DUAL_HUE },
#endif
#ifdef RGB_MATRIX_EFFECT_STARLIGHT_DUAL_SAT
{ VIALRGB_EFFECT_STARLIGHT_DUAL_SAT, RGB_MATRIX_STARLIGHT_DUAL_SAT },
#endif
#ifdef RGB_MATRIX_EFFECT_RIVERFLOW
{ VIALRGB_EFFECT_RIVERFLOW, RGB_MATRIX_RIVERFLOW },
#endif
};