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

Remove RGBLIGHT_ANIMATIONS from core (+cleanup) #19216

Merged
merged 1 commit into from
Dec 1, 2022
Merged
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
2 changes: 1 addition & 1 deletion data/mappings/info_config.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"DEBOUNCING_DELAY": {"info_key": "_invalid.debouncing_delay", "invalid": true, "replace_with": "DEBOUNCE"},
"PREVENT_STUCK_MODIFIERS": {"info_key": "_invalid.prevent_stuck_mods", "invalid": true},
"UNUSED_PINS": {"info_key": "_invalid.unused_pins", "deprecated": true},
"RGBLIGHT_ANIMATIONS": {"info_key": "rgblight.animations.all", "value_type": "bool", "deprecated": true},
"RGBLIGHT_ANIMATIONS": {"info_key": "_invalid.rgblight.animations.all", "value_type": "bool", "invalid": true},
"QMK_KEYS_PER_SCAN": {"info_key": "qmk.keys_per_scan", "value_type": "int", "deprecated": true},

// USB params, need to mark as failure when specified in config.h, rather than deprecated
Expand Down
2 changes: 1 addition & 1 deletion keyboards/bioi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern keymap_config_t keymap_config;
#include "virtser.h"
#endif

#if (defined(RGB_MIDI) | defined(RGBLIGHT_ANIMATIONS)) & defined(RGBLIGHT_ENABLE)
#if defined(RGBLIGHT_ENABLE)
#include "rgblight.h"
#endif

Expand Down
1 change: 0 additions & 1 deletion keyboards/idobao/id75/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define RGB_DI_PIN F0
#ifdef RGB_DI_PIN
// RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
Expand Down
1 change: 0 additions & 1 deletion keyboards/idobao/id80/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LIMIT_VAL 180 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */

// RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
Expand Down
1 change: 0 additions & 1 deletion keyboards/idobao/id87/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
// RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
Expand Down
1 change: 0 additions & 1 deletion keyboards/idobao/montex/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@

#define RGB_DI_PIN B1
#ifdef RGB_DI_PIN
// RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/nyquist/keymaps/danielhklein/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ enum custom_keycodes {

// Underglow setup
#define RGBLIGHT_SLEEP
#define RGBLIGHT_ANIMATIONS

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

Expand Down
17 changes: 0 additions & 17 deletions quantum/rgblight/rgblight.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,6 @@
|-----------------|-----------------------------------|
*****/

#ifdef RGBLIGHT_ANIMATIONS
// for backward compatibility
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
# define RGBLIGHT_EFFECT_SNAKE
# define RGBLIGHT_EFFECT_KNIGHT
# define RGBLIGHT_EFFECT_CHRISTMAS
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_RGB_TEST
# define RGBLIGHT_EFFECT_ALTERNATING
#endif

#ifdef RGBLIGHT_STATIC_PATTERNS
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
#endif

// clang-format off

// check dynamic animation effects chose ?
Expand Down
3 changes: 0 additions & 3 deletions users/sethBarberee/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
# endif

// Trim animations I don't use/like
# ifdef RGBLIGHT_ANIMATIONS
# undef RGBLIGHT_ANIMATIONS
# endif
# ifndef RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_BREATHING
# endif
Expand Down