From 2f37a7854ddb0055eff7cb605492a57ff5061eb2 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 1 Feb 2024 18:10:14 +0000 Subject: [PATCH] Migrate lighting defaults to info.json (#22920) --- keyboards/0xcb/1337/config.h | 11 ++-------- keyboards/0xcb/1337/info.json | 5 +++++ keyboards/anavi/arrows/config.h | 2 -- keyboards/anavi/arrows/info.json | 3 +++ keyboards/anavi/knob1/config.h | 3 --- keyboards/anavi/knob1/info.json | 6 ++--- keyboards/anavi/macropad12/config.h | 2 -- keyboards/anavi/macropad12/info.json | 3 +++ keyboards/dztech/duo_s/config.h | 1 - keyboards/dztech/duo_s/info.json | 3 +++ keyboards/dztech/endless80/config.h | 1 - keyboards/dztech/endless80/info.json | 3 +++ keyboards/ffkeebs/puca/config.h | 2 -- keyboards/fjlabs/avalon/config.h | 4 ---- keyboards/fjlabs/avalon/info.json | 4 ++++ keyboards/fjlabs/kyuu/config.h | 3 --- keyboards/fjlabs/kyuu/info.json | 4 ++++ keyboards/fjlabs/mk61rgbansi/config.h | 3 --- keyboards/fjlabs/mk61rgbansi/info.json | 4 ++++ keyboards/fjlabs/tf60ansi/config.h | 3 --- keyboards/fjlabs/tf60ansi/info.json | 4 ++++ keyboards/fjlabs/tf60v2/config.h | 3 --- keyboards/fjlabs/tf60v2/info.json | 4 ++++ keyboards/fjlabs/tf65rgbv2/config.h | 3 --- keyboards/fjlabs/tf65rgbv2/info.json | 4 ++++ keyboards/frooastboard/nano/config.h | 4 ---- keyboards/frooastboard/nano/info.json | 4 ++++ keyboards/gray_studio/aero75/config.h | 4 ---- keyboards/gray_studio/aero75/info.json | 7 ++++++ keyboards/gray_studio/apollo80/config.h | 19 ---------------- keyboards/gray_studio/apollo80/info.json | 3 +++ keyboards/gray_studio/space65r3/config.h | 4 ---- keyboards/gray_studio/space65r3/info.json | 7 ++++++ keyboards/gray_studio/think65v3/config.h | 2 +- keyboards/gray_studio/think65v3/info.json | 3 +++ keyboards/handwired/uthol/rev2/config.h | 21 ------------------ keyboards/handwired/uthol/rev2/info.json | 5 ++++- keyboards/handwired/uthol/rev3/config.h | 2 -- keyboards/handwired/uthol/rev3/info.json | 3 +++ keyboards/jacky_studio/bear_65/config.h | 2 -- keyboards/jacky_studio/bear_65/rev1/info.json | 3 +++ keyboards/jacky_studio/bear_65/rev2/info.json | 3 +++ keyboards/jels/jels60/v2/config.h | 2 -- keyboards/jels/jels60/v2/info.json | 3 +++ keyboards/jels/jels88/config.h | 2 -- keyboards/jels/jels88/info.json | 3 +++ keyboards/jpe230/big_knob/config.h | 1 - keyboards/jpe230/big_knob/info.json | 4 +++- keyboards/kbdfans/bounce/75/hotswap/config.h | 1 - keyboards/kbdfans/bounce/75/hotswap/info.json | 3 +++ keyboards/kbdfans/bounce/75/soldered/config.h | 1 - .../kbdfans/bounce/75/soldered/info.json | 3 +++ keyboards/kbdfans/kbd75hs/config.h | 1 - keyboards/kbdfans/kbd75hs/info.json | 3 +++ keyboards/kbdfans/odin/v2/config.h | 19 ---------------- keyboards/kbdfans/odin/v2/info.json | 3 +++ keyboards/kbdfans/phaseone/config.h | 1 - keyboards/kbdfans/phaseone/info.json | 3 +++ keyboards/kbdfans/tiger80/config.h | 1 - keyboards/kbdfans/tiger80/info.json | 3 +++ keyboards/keebio/bamfk4/config.h | 1 - keyboards/keebio/bamfk4/info.json | 3 +++ keyboards/keebio/iris/rev5/config.h | 3 --- keyboards/keebio/iris/rev5/info.json | 8 ++++++- keyboards/keebio/iris/rev6/config.h | 1 - keyboards/keebio/iris/rev6/info.json | 3 +++ keyboards/keebio/iris/rev7/config.h | 1 - keyboards/keebio/iris/rev7/info.json | 3 +++ keyboards/keygem/kg60ansi/config.h | 3 --- keyboards/keygem/kg60ansi/info.json | 4 ++++ keyboards/keygem/kg65rgbv2/config.h | 3 --- keyboards/keygem/kg65rgbv2/info.json | 4 ++++ keyboards/kprepublic/bm60hsrgb/rev2/config.h | 2 -- keyboards/kprepublic/bm60hsrgb/rev2/info.json | 3 +++ .../kprepublic/bm60hsrgb_ec/rev2/config.h | 2 -- .../kprepublic/bm60hsrgb_ec/rev2/info.json | 5 ++++- .../kprepublic/bm60hsrgb_iso/rev2/config.h | 2 -- .../kprepublic/bm60hsrgb_iso/rev2/info.json | 3 +++ .../kprepublic/bm60hsrgb_poker/rev2/config.h | 2 -- .../kprepublic/bm60hsrgb_poker/rev2/info.json | 3 +++ keyboards/kprepublic/bm68hsrgb/rev2/config.h | 2 -- keyboards/kprepublic/bm68hsrgb/rev2/info.json | 3 +++ keyboards/melgeek/mj6xy/rev3/config.h | 3 +-- keyboards/melgeek/mj6xy/rev3/info.json | 3 +++ keyboards/mlego/m60_split/rev1/config.h | 3 --- keyboards/mlego/m60_split/rev1/info.json | 6 +++++ keyboards/mode/m60h/config.h | 2 -- keyboards/mode/m60h/info.json | 3 +++ keyboards/mode/m60h_f/config.h | 2 -- keyboards/mode/m60h_f/info.json | 3 +++ keyboards/mode/m60s/config.h | 2 -- keyboards/mode/m60s/info.json | 3 +++ keyboards/mode/m75s/config.h | 1 - keyboards/mtbkeys/mtb60/hotswap/config.h | 2 -- keyboards/mtbkeys/mtb60/hotswap/info.json | 3 +++ keyboards/mtbkeys/mtb60/solder/config.h | 2 -- keyboards/mtbkeys/mtb60/solder/info.json | 3 +++ keyboards/owlab/spring/config.h | 21 ------------------ keyboards/owlab/spring/info.json | 4 ++++ keyboards/prototypist/oceanographer/config.h | 6 ----- keyboards/prototypist/oceanographer/info.json | 7 ++++++ keyboards/qpockets/space_space/rev2/config.h | 2 -- keyboards/qpockets/space_space/rev2/info.json | 5 ++++- keyboards/qvex/lynepad2/config.h | 6 ----- keyboards/qvex/lynepad2/info.json | 10 +++++++-- keyboards/qwertykeys/qk100/ansi/config.h | 15 +++++-------- keyboards/qwertykeys/qk100/info.json | 11 ++++++++-- keyboards/qwertykeys/qk100/solder/config.h | 15 +++++-------- .../salicylic_acid3/naked48/rev1/config.h | 2 -- .../salicylic_acid3/naked48/rev1/info.json | 3 +++ .../skippys_custom_pcs/rooboard65/config.h | 3 --- .../skippys_custom_pcs/rooboard65/info.json | 4 ++++ .../smithrune/iron160/iron160_h/config.h | 18 --------------- .../smithrune/iron160/iron160_h/info.json | 9 +++++--- keyboards/smithrune/iron165r2/config.h | 2 -- keyboards/smithrune/iron165r2/f072/info.json | 3 +++ keyboards/smithrune/iron165r2/f411/info.json | 3 +++ keyboards/tweetydabird/lotus58/config.h | 9 -------- keyboards/tweetydabird/lotus58/info.json | 6 +++++ keyboards/viendi8l/config.h | 2 -- keyboards/viendi8l/info.json | 5 ++++- keyboards/wolf/ts60/config.h | 22 ------------------- keyboards/wolf/ts60/info.json | 3 +++ keyboards/work_louder/loop/config.h | 3 --- keyboards/work_louder/loop/info.json | 3 +++ keyboards/work_louder/micro/config.h | 1 - keyboards/work_louder/micro/info.json | 3 +++ keyboards/work_louder/nano/config.h | 3 --- keyboards/work_louder/nano/info.json | 3 +++ keyboards/work_louder/numpad/config.h | 1 - keyboards/work_louder/numpad/info.json | 3 +++ keyboards/work_louder/work_board/config.h | 1 - keyboards/work_louder/work_board/info.json | 3 +++ keyboards/yandrstudio/eau_r2/config.h | 14 ++++-------- keyboards/yandrstudio/eau_r2/info.json | 3 +++ keyboards/yandrstudio/nightstar75/config.h | 16 +++++--------- keyboards/yandrstudio/nightstar75/info.json | 7 ++++++ keyboards/yandrstudio/yr6095/config.h | 14 +++++------- keyboards/yandrstudio/yr6095/info.json | 7 ++++++ keyboards/yandrstudio/yr80/config.h | 16 +++++--------- keyboards/yandrstudio/yr80/info.json | 7 ++++++ 141 files changed, 312 insertions(+), 338 deletions(-) delete mode 100644 keyboards/gray_studio/apollo80/config.h delete mode 100644 keyboards/handwired/uthol/rev2/config.h delete mode 100644 keyboards/kbdfans/odin/v2/config.h delete mode 100644 keyboards/owlab/spring/config.h delete mode 100644 keyboards/smithrune/iron160/iron160_h/config.h delete mode 100644 keyboards/tweetydabird/lotus58/config.h delete mode 100644 keyboards/wolf/ts60/config.h diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h index 9527d6abae2..5791b324b65 100644 --- a/keyboards/0xcb/1337/config.h +++ b/keyboards/0xcb/1337/config.h @@ -16,15 +16,8 @@ along with this program. If not, see . */ #pragma once -// clang-format off - - /* default setup after eeprom reset */ - #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2 - #define RGBLIGHT_DEFAULT_HUE 152 - #define RGBLIGHT_DEFAULT_SAT 232 - #define RGBLIGHT_DEFAULT_VAR 255 - #define RGBLIGHT_DEFAULT_SPD 2 -// clang-format on +/* default setup after eeprom reset */ +#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json index 30b806aedc7..d492f8e3bed 100644 --- a/keyboards/0xcb/1337/info.json +++ b/keyboards/0xcb/1337/info.json @@ -40,6 +40,11 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "hue": 152, + "sat": 232, + "speed": 2 } }, "ws2812": { diff --git a/keyboards/anavi/arrows/config.h b/keyboards/anavi/arrows/config.h index 02e7781e570..59b2a11aaea 100644 --- a/keyboards/anavi/arrows/config.h +++ b/keyboards/anavi/arrows/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - /* Double tap reset button to enter bootloader */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/anavi/arrows/info.json b/keyboards/anavi/arrows/info.json index bdda15695ac..48dae7b2eab 100644 --- a/keyboards/anavi/arrows/info.json +++ b/keyboards/anavi/arrows/info.json @@ -35,6 +35,9 @@ "snake": true, "static_gradient": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "ws2812": { diff --git a/keyboards/anavi/knob1/config.h b/keyboards/anavi/knob1/config.h index 338f5d8dbe4..07cea802b30 100644 --- a/keyboards/anavi/knob1/config.h +++ b/keyboards/anavi/knob1/config.h @@ -3,14 +3,11 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE 9 - /* Double tap reset button to enter bootloader */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U - #define I2C_DRIVER I2CD1 #define I2C1_SDA_PIN GP6 #define I2C1_SCL_PIN GP7 diff --git a/keyboards/anavi/knob1/info.json b/keyboards/anavi/knob1/info.json index 06acec583fe..551d059badf 100644 --- a/keyboards/anavi/knob1/info.json +++ b/keyboards/anavi/knob1/info.json @@ -17,9 +17,6 @@ "rgblight": { "led_count": 1, "hue_steps": 10, - "saturation_steps": 17, - "brightness_steps": 17, - "max_brightness": 255, "animations": { "alternating": true, "breathing": true, @@ -31,6 +28,9 @@ "snake": true, "static_gradient": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl" } }, "ws2812": { diff --git a/keyboards/anavi/macropad12/config.h b/keyboards/anavi/macropad12/config.h index 02e7781e570..59b2a11aaea 100644 --- a/keyboards/anavi/macropad12/config.h +++ b/keyboards/anavi/macropad12/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - /* Double tap reset button to enter bootloader */ #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 diff --git a/keyboards/anavi/macropad12/info.json b/keyboards/anavi/macropad12/info.json index f0f6d6ca60a..3a1a07a0a1c 100644 --- a/keyboards/anavi/macropad12/info.json +++ b/keyboards/anavi/macropad12/info.json @@ -34,6 +34,9 @@ "snake": true, "static_gradient": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "ws2812": { diff --git a/keyboards/dztech/duo_s/config.h b/keyboards/dztech/duo_s/config.h index 361706e5764..14d66caf12a 100644 --- a/keyboards/dztech/duo_s/config.h +++ b/keyboards/dztech/duo_s/config.h @@ -17,7 +17,6 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) -#define RGBLIGHT_DEFAULT_SPD 15 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/dztech/duo_s/info.json b/keyboards/dztech/duo_s/info.json index 02776750185..ef5af799be5 100644 --- a/keyboards/dztech/duo_s/info.json +++ b/keyboards/dztech/duo_s/info.json @@ -25,6 +25,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 15 } }, "ws2812": { diff --git a/keyboards/dztech/endless80/config.h b/keyboards/dztech/endless80/config.h index a8851d89138..8d6b35eae43 100644 --- a/keyboards/dztech/endless80/config.h +++ b/keyboards/dztech/endless80/config.h @@ -16,4 +16,3 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) -#define RGBLIGHT_DEFAULT_SPD 10 diff --git a/keyboards/dztech/endless80/info.json b/keyboards/dztech/endless80/info.json index 2391faf4955..4572b091fa6 100644 --- a/keyboards/dztech/endless80/info.json +++ b/keyboards/dztech/endless80/info.json @@ -37,6 +37,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 10 } }, "processor": "atmega32u4", diff --git a/keyboards/ffkeebs/puca/config.h b/keyboards/ffkeebs/puca/config.h index 19b030cdc1a..ced239c8334 100644 --- a/keyboards/ffkeebs/puca/config.h +++ b/keyboards/ffkeebs/puca/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once - #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/fjlabs/avalon/config.h b/keyboards/fjlabs/avalon/config.h index d1875f650f6..46df2a0d6af 100644 --- a/keyboards/fjlabs/avalon/config.h +++ b/keyboards/fjlabs/avalon/config.h @@ -21,7 +21,3 @@ along with this program. If not, see . #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - diff --git a/keyboards/fjlabs/avalon/info.json b/keyboards/fjlabs/avalon/info.json index 96f969146fd..77b5fbe9566 100644 --- a/keyboards/fjlabs/avalon/info.json +++ b/keyboards/fjlabs/avalon/info.json @@ -30,6 +30,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "ws2812": { diff --git a/keyboards/fjlabs/kyuu/config.h b/keyboards/fjlabs/kyuu/config.h index 9bee3167926..084c49212ca 100644 --- a/keyboards/fjlabs/kyuu/config.h +++ b/keyboards/fjlabs/kyuu/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/fjlabs/kyuu/info.json b/keyboards/fjlabs/kyuu/info.json index 9028c3dc8d9..ed02d7d3b42 100644 --- a/keyboards/fjlabs/kyuu/info.json +++ b/keyboards/fjlabs/kyuu/info.json @@ -26,6 +26,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "ws2812": { diff --git a/keyboards/fjlabs/mk61rgbansi/config.h b/keyboards/fjlabs/mk61rgbansi/config.h index afdacdd0803..b352868d2d4 100644 --- a/keyboards/fjlabs/mk61rgbansi/config.h +++ b/keyboards/fjlabs/mk61rgbansi/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/fjlabs/mk61rgbansi/info.json b/keyboards/fjlabs/mk61rgbansi/info.json index 01a859e0ba9..8c42aa97b64 100644 --- a/keyboards/fjlabs/mk61rgbansi/info.json +++ b/keyboards/fjlabs/mk61rgbansi/info.json @@ -30,6 +30,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "processor": "atmega32u4", diff --git a/keyboards/fjlabs/tf60ansi/config.h b/keyboards/fjlabs/tf60ansi/config.h index afdacdd0803..b352868d2d4 100644 --- a/keyboards/fjlabs/tf60ansi/config.h +++ b/keyboards/fjlabs/tf60ansi/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/fjlabs/tf60ansi/info.json b/keyboards/fjlabs/tf60ansi/info.json index b45f7258b6a..f161284ae01 100644 --- a/keyboards/fjlabs/tf60ansi/info.json +++ b/keyboards/fjlabs/tf60ansi/info.json @@ -30,6 +30,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "processor": "atmega32u4", diff --git a/keyboards/fjlabs/tf60v2/config.h b/keyboards/fjlabs/tf60v2/config.h index afdacdd0803..b352868d2d4 100644 --- a/keyboards/fjlabs/tf60v2/config.h +++ b/keyboards/fjlabs/tf60v2/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/fjlabs/tf60v2/info.json b/keyboards/fjlabs/tf60v2/info.json index 7f6b3ce970e..e3051c0da7b 100644 --- a/keyboards/fjlabs/tf60v2/info.json +++ b/keyboards/fjlabs/tf60v2/info.json @@ -30,6 +30,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "processor": "atmega32u4", diff --git a/keyboards/fjlabs/tf65rgbv2/config.h b/keyboards/fjlabs/tf65rgbv2/config.h index afdacdd0803..b352868d2d4 100644 --- a/keyboards/fjlabs/tf65rgbv2/config.h +++ b/keyboards/fjlabs/tf65rgbv2/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/fjlabs/tf65rgbv2/info.json b/keyboards/fjlabs/tf65rgbv2/info.json index 2101e17f032..ab105ff4a9f 100644 --- a/keyboards/fjlabs/tf65rgbv2/info.json +++ b/keyboards/fjlabs/tf65rgbv2/info.json @@ -30,6 +30,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "processor": "atmega32u4", diff --git a/keyboards/frooastboard/nano/config.h b/keyboards/frooastboard/nano/config.h index d28c057500a..b316a918d4a 100644 --- a/keyboards/frooastboard/nano/config.h +++ b/keyboards/frooastboard/nano/config.h @@ -16,8 +16,4 @@ #pragma once -#define RGBLIGHT_DEFAULT_HUE 234 - -#define RGBLIGHT_DEFAULT_VAL 190 - #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD + 2 diff --git a/keyboards/frooastboard/nano/info.json b/keyboards/frooastboard/nano/info.json index 6112c4832c1..c81d7a3dfb0 100644 --- a/keyboards/frooastboard/nano/info.json +++ b/keyboards/frooastboard/nano/info.json @@ -35,6 +35,10 @@ "rainbow_swirl": true, "snake": true, "twinkle": true + }, + "default": { + "hue": 234, + "val": 190 } }, "ws2812": { diff --git a/keyboards/gray_studio/aero75/config.h b/keyboards/gray_studio/aero75/config.h index d00df8f11f6..57da6a8ac13 100644 --- a/keyboards/gray_studio/aero75/config.h +++ b/keyboards/gray_studio/aero75/config.h @@ -3,10 +3,6 @@ #pragma once -#define RGBLIGHT_LAYERS -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/gray_studio/aero75/info.json b/keyboards/gray_studio/aero75/info.json index 476ee33d617..06d11e8467b 100644 --- a/keyboards/gray_studio/aero75/info.json +++ b/keyboards/gray_studio/aero75/info.json @@ -28,6 +28,13 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" + }, + "layers": { + "enabled": true, + "override_rgb": true } }, "matrix_pins": { diff --git a/keyboards/gray_studio/apollo80/config.h b/keyboards/gray_studio/apollo80/config.h deleted file mode 100644 index d8a6abbc38c..00000000000 --- a/keyboards/gray_studio/apollo80/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2020 Demo Studio - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - - #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD diff --git a/keyboards/gray_studio/apollo80/info.json b/keyboards/gray_studio/apollo80/info.json index bbaa577c923..21fa7c72d25 100644 --- a/keyboards/gray_studio/apollo80/info.json +++ b/keyboards/gray_studio/apollo80/info.json @@ -28,6 +28,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "matrix_pins": { diff --git a/keyboards/gray_studio/space65r3/config.h b/keyboards/gray_studio/space65r3/config.h index 27d4b4a6e56..67315123e53 100644 --- a/keyboards/gray_studio/space65r3/config.h +++ b/keyboards/gray_studio/space65r3/config.h @@ -2,10 +2,6 @@ // SPDX-License-Identifier: GPL-2.0 #pragma once -#define RGBLIGHT_LAYERS -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/gray_studio/space65r3/info.json b/keyboards/gray_studio/space65r3/info.json index 85e0978a598..7e559ab3fa8 100644 --- a/keyboards/gray_studio/space65r3/info.json +++ b/keyboards/gray_studio/space65r3/info.json @@ -28,6 +28,13 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" + }, + "layers": { + "enabled": true, + "override_rgb": true } }, "matrix_pins": { diff --git a/keyboards/gray_studio/think65v3/config.h b/keyboards/gray_studio/think65v3/config.h index 0a0596e64c6..6b1f49b5925 100644 --- a/keyboards/gray_studio/think65v3/config.h +++ b/keyboards/gray_studio/think65v3/config.h @@ -1,7 +1,7 @@ // Copyright 2023 Yizhen Liu (@edwardslau) // SPDX-License-Identifier: GPL-2.0 #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD + /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/gray_studio/think65v3/info.json b/keyboards/gray_studio/think65v3/info.json index 8fba691fa48..a61dd5efe1d 100644 --- a/keyboards/gray_studio/think65v3/info.json +++ b/keyboards/gray_studio/think65v3/info.json @@ -46,6 +46,9 @@ "snake": true, "static_gradient": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "layout_aliases": { diff --git a/keyboards/handwired/uthol/rev2/config.h b/keyboards/handwired/uthol/rev2/config.h deleted file mode 100644 index f4c4fda7cf6..00000000000 --- a/keyboards/handwired/uthol/rev2/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2022 Uthol - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -//RGB Stuff -#define RGBLIGHT_DEFAULT_HUE 201 diff --git a/keyboards/handwired/uthol/rev2/info.json b/keyboards/handwired/uthol/rev2/info.json index 89515a8fefb..9185e97c432 100644 --- a/keyboards/handwired/uthol/rev2/info.json +++ b/keyboards/handwired/uthol/rev2/info.json @@ -4,7 +4,10 @@ "device_version": "0.0.2" }, "rgblight": { - "led_count": 39 + "led_count": 39, + "default": { + "hue": 201 + } }, "ws2812": { "pin": "E6" diff --git a/keyboards/handwired/uthol/rev3/config.h b/keyboards/handwired/uthol/rev3/config.h index a3a2eb1ca09..569a38c699d 100644 --- a/keyboards/handwired/uthol/rev3/config.h +++ b/keyboards/handwired/uthol/rev3/config.h @@ -32,5 +32,3 @@ #define LOCKING_RESYNC_ENABLE #define PERMISSIVE_HOLD - -#define RGBLIGHT_DEFAULT_HUE 201 diff --git a/keyboards/handwired/uthol/rev3/info.json b/keyboards/handwired/uthol/rev3/info.json index 79818d46704..dbbce9139dc 100644 --- a/keyboards/handwired/uthol/rev3/info.json +++ b/keyboards/handwired/uthol/rev3/info.json @@ -16,6 +16,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "hue": 201 } }, "tapping": { diff --git a/keyboards/jacky_studio/bear_65/config.h b/keyboards/jacky_studio/bear_65/config.h index 17cd8ea9ab0..805f9ad0542 100644 --- a/keyboards/jacky_studio/bear_65/config.h +++ b/keyboards/jacky_studio/bear_65/config.h @@ -8,5 +8,3 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define RGBLIGHT_DEFAULT_VAL 50 diff --git a/keyboards/jacky_studio/bear_65/rev1/info.json b/keyboards/jacky_studio/bear_65/rev1/info.json index 325bc3c6d77..098817dedb1 100644 --- a/keyboards/jacky_studio/bear_65/rev1/info.json +++ b/keyboards/jacky_studio/bear_65/rev1/info.json @@ -41,6 +41,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 50 } }, "indicators": { diff --git a/keyboards/jacky_studio/bear_65/rev2/info.json b/keyboards/jacky_studio/bear_65/rev2/info.json index d853b3a3208..52e8354fabd 100644 --- a/keyboards/jacky_studio/bear_65/rev2/info.json +++ b/keyboards/jacky_studio/bear_65/rev2/info.json @@ -41,6 +41,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 50 } }, "indicators": { diff --git a/keyboards/jels/jels60/v2/config.h b/keyboards/jels/jels60/v2/config.h index c9c1ba2c0e2..274e7fcf628 100644 --- a/keyboards/jels/jels60/v2/config.h +++ b/keyboards/jels/jels60/v2/config.h @@ -16,8 +16,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_VAL 0 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/jels/jels60/v2/info.json b/keyboards/jels/jels60/v2/info.json index 1945b101cfc..69ec00193a0 100644 --- a/keyboards/jels/jels60/v2/info.json +++ b/keyboards/jels/jels60/v2/info.json @@ -31,6 +31,9 @@ "snake": true, "static_gradient": true, "twinkle": true + }, + "default": { + "val": 0 } }, "indicators": { diff --git a/keyboards/jels/jels88/config.h b/keyboards/jels/jels88/config.h index 0b1d1154951..2d5641fa699 100644 --- a/keyboards/jels/jels88/config.h +++ b/keyboards/jels/jels88/config.h @@ -16,8 +16,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_VAL 0 // start off - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/jels/jels88/info.json b/keyboards/jels/jels88/info.json index cc8e525525c..598075fd424 100644 --- a/keyboards/jels/jels88/info.json +++ b/keyboards/jels/jels88/info.json @@ -34,6 +34,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 0 } }, "processor": "atmega32u4", diff --git a/keyboards/jpe230/big_knob/config.h b/keyboards/jpe230/big_knob/config.h index a7d6b2382c1..c4001447d25 100644 --- a/keyboards/jpe230/big_knob/config.h +++ b/keyboards/jpe230/big_knob/config.h @@ -30,7 +30,6 @@ // Backlight configuration #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 2 -#define BACKLIGHT_DEFAULT_LEVEL 6 // Timeout configuration #define QUANTUM_PAINTER_DISPLAY_TIMEOUT 10000 diff --git a/keyboards/jpe230/big_knob/info.json b/keyboards/jpe230/big_knob/info.json index 4f72cfca487..083a1ae690a 100644 --- a/keyboards/jpe230/big_knob/info.json +++ b/keyboards/jpe230/big_knob/info.json @@ -31,7 +31,9 @@ "backlight": { "pin": "GP7", "levels": 7, - "breathing": false + "default": { + "brightness": 6 + } }, "rgblight": { "driver": "ws2812", diff --git a/keyboards/kbdfans/bounce/75/hotswap/config.h b/keyboards/kbdfans/bounce/75/hotswap/config.h index 79f79fdf505..56a23d83219 100644 --- a/keyboards/kbdfans/bounce/75/hotswap/config.h +++ b/keyboards/kbdfans/bounce/75/hotswap/config.h @@ -17,6 +17,5 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) -#define RGBLIGHT_DEFAULT_SPD 15 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/bounce/75/hotswap/info.json b/keyboards/kbdfans/bounce/75/hotswap/info.json index ee6f380e4e0..f467e2a909e 100644 --- a/keyboards/kbdfans/bounce/75/hotswap/info.json +++ b/keyboards/kbdfans/bounce/75/hotswap/info.json @@ -33,6 +33,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 15 } }, "ws2812": { diff --git a/keyboards/kbdfans/bounce/75/soldered/config.h b/keyboards/kbdfans/bounce/75/soldered/config.h index 79f79fdf505..56a23d83219 100644 --- a/keyboards/kbdfans/bounce/75/soldered/config.h +++ b/keyboards/kbdfans/bounce/75/soldered/config.h @@ -17,6 +17,5 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) -#define RGBLIGHT_DEFAULT_SPD 15 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/bounce/75/soldered/info.json b/keyboards/kbdfans/bounce/75/soldered/info.json index 8dd809d5c83..5fc246655d7 100644 --- a/keyboards/kbdfans/bounce/75/soldered/info.json +++ b/keyboards/kbdfans/bounce/75/soldered/info.json @@ -34,6 +34,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 15 } }, "ws2812": { diff --git a/keyboards/kbdfans/kbd75hs/config.h b/keyboards/kbdfans/kbd75hs/config.h index 6a5b35b5b65..05ad34d3f57 100644 --- a/keyboards/kbdfans/kbd75hs/config.h +++ b/keyboards/kbdfans/kbd75hs/config.h @@ -17,6 +17,5 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) -#define RGBLIGHT_DEFAULT_SPD 15 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/kbd75hs/info.json b/keyboards/kbdfans/kbd75hs/info.json index fc2310993ce..097bb6003ad 100644 --- a/keyboards/kbdfans/kbd75hs/info.json +++ b/keyboards/kbdfans/kbd75hs/info.json @@ -33,6 +33,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 15 } }, "ws2812": { diff --git a/keyboards/kbdfans/odin/v2/config.h b/keyboards/kbdfans/odin/v2/config.h deleted file mode 100644 index e47ec47523b..00000000000 --- a/keyboards/kbdfans/odin/v2/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2022 lexbrugman - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - - #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL diff --git a/keyboards/kbdfans/odin/v2/info.json b/keyboards/kbdfans/odin/v2/info.json index 7714d2407f2..94255371250 100644 --- a/keyboards/kbdfans/odin/v2/info.json +++ b/keyboards/kbdfans/odin/v2/info.json @@ -34,6 +34,9 @@ "snake": true, "christmas": true, "static_gradient": true + }, + "default": { + "animation": "rainbow_swirl" } }, "processor": "STM32F072", diff --git a/keyboards/kbdfans/phaseone/config.h b/keyboards/kbdfans/phaseone/config.h index 2dba9f5d357..b090729a50d 100644 --- a/keyboards/kbdfans/phaseone/config.h +++ b/keyboards/kbdfans/phaseone/config.h @@ -22,6 +22,5 @@ #define LOCKING_RESYNC_ENABLE #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) -#define RGBLIGHT_DEFAULT_SPD 15 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 \ No newline at end of file diff --git a/keyboards/kbdfans/phaseone/info.json b/keyboards/kbdfans/phaseone/info.json index 14150a1cdd1..aea255aaf44 100644 --- a/keyboards/kbdfans/phaseone/info.json +++ b/keyboards/kbdfans/phaseone/info.json @@ -35,6 +35,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 15 } }, "ws2812": { diff --git a/keyboards/kbdfans/tiger80/config.h b/keyboards/kbdfans/tiger80/config.h index b2ffcbfd275..b58aa329ecc 100644 --- a/keyboards/kbdfans/tiger80/config.h +++ b/keyboards/kbdfans/tiger80/config.h @@ -17,6 +17,5 @@ #pragma once #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) -#define RGBLIGHT_DEFAULT_SPD 15 #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/kbdfans/tiger80/info.json b/keyboards/kbdfans/tiger80/info.json index 9bdccc58179..1a2258deea8 100644 --- a/keyboards/kbdfans/tiger80/info.json +++ b/keyboards/kbdfans/tiger80/info.json @@ -42,6 +42,9 @@ "snake": true, "static_gradient": true, "twinkle": true + }, + "default": { + "speed": 15 } }, "ws2812": { diff --git a/keyboards/keebio/bamfk4/config.h b/keyboards/keebio/bamfk4/config.h index 6c07504e748..21ce4672bf5 100644 --- a/keyboards/keebio/bamfk4/config.h +++ b/keyboards/keebio/bamfk4/config.h @@ -3,7 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_VAL 120 #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/keebio/bamfk4/info.json b/keyboards/keebio/bamfk4/info.json index b6ac353d0a4..769f288c512 100644 --- a/keyboards/keebio/bamfk4/info.json +++ b/keyboards/keebio/bamfk4/info.json @@ -70,6 +70,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 120 } }, "matrix_pins": { diff --git a/keyboards/keebio/iris/rev5/config.h b/keyboards/keebio/iris/rev5/config.h index 63610ecac50..4b67b6632f4 100644 --- a/keyboards/keebio/iris/rev5/config.h +++ b/keyboards/keebio/iris/rev5/config.h @@ -19,7 +19,4 @@ along with this program. If not, see . #define SPLIT_HAND_PIN D5 -#define BACKLIGHT_DEFAULT_LEVEL 3 - -#define RGBLIGHT_DEFAULT_VAL 128 #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/keebio/iris/rev5/info.json b/keyboards/keebio/iris/rev5/info.json index 72b8da80d09..4bb4554f7c0 100644 --- a/keyboards/keebio/iris/rev5/info.json +++ b/keyboards/keebio/iris/rev5/info.json @@ -16,7 +16,10 @@ }, "backlight": { "pin": "B5", - "levels": 5 + "levels": 5, + "default": { + "brightness": 3 + } }, "rgblight": { "led_count": 12, @@ -32,6 +35,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 128 } }, "ws2812": { diff --git a/keyboards/keebio/iris/rev6/config.h b/keyboards/keebio/iris/rev6/config.h index 519316fcdf8..f52c020dee5 100644 --- a/keyboards/keebio/iris/rev6/config.h +++ b/keyboards/keebio/iris/rev6/config.h @@ -19,5 +19,4 @@ along with this program. If not, see . #define SPLIT_HAND_PIN D5 -#define RGBLIGHT_DEFAULT_VAL 120 #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/keebio/iris/rev6/info.json b/keyboards/keebio/iris/rev6/info.json index b9b13d30d70..8563ba64ab7 100644 --- a/keyboards/keebio/iris/rev6/info.json +++ b/keyboards/keebio/iris/rev6/info.json @@ -78,6 +78,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 120 } }, "split": { diff --git a/keyboards/keebio/iris/rev7/config.h b/keyboards/keebio/iris/rev7/config.h index 7d0b85ca376..eec56a26203 100644 --- a/keyboards/keebio/iris/rev7/config.h +++ b/keyboards/keebio/iris/rev7/config.h @@ -19,5 +19,4 @@ along with this program. If not, see . #define SPLIT_HAND_PIN D5 -#define RGBLIGHT_DEFAULT_VAL 120 #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/keebio/iris/rev7/info.json b/keyboards/keebio/iris/rev7/info.json index 2f5798df14f..a7b81f9224b 100644 --- a/keyboards/keebio/iris/rev7/info.json +++ b/keyboards/keebio/iris/rev7/info.json @@ -77,6 +77,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 120 } }, "split": { diff --git a/keyboards/keygem/kg60ansi/config.h b/keyboards/keygem/kg60ansi/config.h index 388a273f7c2..13c17d597d1 100644 --- a/keyboards/keygem/kg60ansi/config.h +++ b/keyboards/keygem/kg60ansi/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/keygem/kg60ansi/info.json b/keyboards/keygem/kg60ansi/info.json index 9d8cbd485e0..73d31b8da1c 100644 --- a/keyboards/keygem/kg60ansi/info.json +++ b/keyboards/keygem/kg60ansi/info.json @@ -25,6 +25,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "matrix_pins": { diff --git a/keyboards/keygem/kg65rgbv2/config.h b/keyboards/keygem/kg65rgbv2/config.h index 388a273f7c2..13c17d597d1 100644 --- a/keyboards/keygem/kg65rgbv2/config.h +++ b/keyboards/keygem/kg65rgbv2/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/keygem/kg65rgbv2/info.json b/keyboards/keygem/kg65rgbv2/info.json index 674b6295775..e7b48dcbb08 100644 --- a/keyboards/keygem/kg65rgbv2/info.json +++ b/keyboards/keygem/kg65rgbv2/info.json @@ -25,6 +25,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "matrix_pins": { diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/config.h b/keyboards/kprepublic/bm60hsrgb/rev2/config.h index 5644300e939..1d2b071fc16 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb/rev2/config.h @@ -15,8 +15,6 @@ */ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - #define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND #define IS31FL3733_LED_COUNT 63 diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/info.json b/keyboards/kprepublic/bm60hsrgb/rev2/info.json index 27aace1f7b7..9a77549e685 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb/rev2/info.json @@ -71,6 +71,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "matrix_pins": { diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h index 2bc8f047790..5edcec6eb4a 100644 --- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h @@ -15,8 +15,6 @@ */ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - #define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND #if defined(RGB_MATRIX_ENABLE) && defined(RGBLIGHT_ENABLE) diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json index b1c79d2854d..3b97f904ab7 100644 --- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json @@ -56,7 +56,10 @@ "rgb_test": true, "alternating": true, "twinkle": true - } + }, + "default": { + "animation": "rainbow_mood" + } }, "matrix_pins": { "cols": ["B2", "B3", "B7", "B0", "B1", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h index e665916defb..ea594e53cf7 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h @@ -17,8 +17,6 @@ */ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - #define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND #define IS31FL3733_LED_COUNT 64 diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json index b8a7ed73f17..111534b0f81 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json @@ -79,6 +79,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "matrix_pins": { diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h index c2184ee0f84..b5ff897b188 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h @@ -15,8 +15,6 @@ */ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - #define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND #define IS31FL3733_LED_COUNT 61 diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json index 69cb814cae6..9f16eb21210 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json @@ -75,6 +75,9 @@ "static_gradient": true, "rgb_test": true, "alternating": true + }, + "default": { + "animation": "rainbow_mood" } }, "matrix_pins": { diff --git a/keyboards/kprepublic/bm68hsrgb/rev2/config.h b/keyboards/kprepublic/bm68hsrgb/rev2/config.h index aa11c68d147..df6f089922f 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev2/config.h +++ b/keyboards/kprepublic/bm68hsrgb/rev2/config.h @@ -16,8 +16,6 @@ */ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - #define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND #if defined(RGB_MATRIX_ENABLE) && defined(RGBLIGHT_ENABLE) diff --git a/keyboards/kprepublic/bm68hsrgb/rev2/info.json b/keyboards/kprepublic/bm68hsrgb/rev2/info.json index c732137cf75..41cb0fc4ee2 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev2/info.json +++ b/keyboards/kprepublic/bm68hsrgb/rev2/info.json @@ -62,6 +62,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "matrix_pins": { diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h index 288c8e3a3e7..b3932491c1b 100755 --- a/keyboards/melgeek/mj6xy/rev3/config.h +++ b/keyboards/melgeek/mj6xy/rev3/config.h @@ -16,5 +16,4 @@ #pragma once -# define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) -# define RGBLIGHT_DEFAULT_SPD 10 +#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/info.json index dba086e493b..e6900656398 100644 --- a/keyboards/melgeek/mj6xy/rev3/info.json +++ b/keyboards/melgeek/mj6xy/rev3/info.json @@ -24,6 +24,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "speed": 10 } }, "ws2812": { diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h index 90ea0bd56c3..564add296d3 100644 --- a/keyboards/mlego/m60_split/rev1/config.h +++ b/keyboards/mlego/m60_split/rev1/config.h @@ -18,6 +18,3 @@ #define SPLIT_HAND_PIN B9 #define SERIAL_USART_TX_PIN B6 #define SERIAL_USART_SPEED 921600 - -#define RGBLIGHT_LAYERS -#define RGBLIGHT_DEFAULT_HUE 213 diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json index 89744c8b861..8280ffa022b 100644 --- a/keyboards/mlego/m60_split/rev1/info.json +++ b/keyboards/mlego/m60_split/rev1/info.json @@ -36,6 +36,12 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "hue": 213 + }, + "layers": { + "enabled": true } }, "split": { diff --git a/keyboards/mode/m60h/config.h b/keyboards/mode/m60h/config.h index 04fda276e63..f984cf28de9 100644 --- a/keyboards/mode/m60h/config.h +++ b/keyboards/mode/m60h/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6 diff --git a/keyboards/mode/m60h/info.json b/keyboards/mode/m60h/info.json index 5fee9791497..b33ea3a9c3b 100644 --- a/keyboards/mode/m60h/info.json +++ b/keyboards/mode/m60h/info.json @@ -31,6 +31,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "animation": "rainbow_swirl" + }, "driver": "ws2812", "led_count": 20, "max_brightness": 120, diff --git a/keyboards/mode/m60h_f/config.h b/keyboards/mode/m60h_f/config.h index 04fda276e63..f984cf28de9 100644 --- a/keyboards/mode/m60h_f/config.h +++ b/keyboards/mode/m60h_f/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6 diff --git a/keyboards/mode/m60h_f/info.json b/keyboards/mode/m60h_f/info.json index f4bcddfe751..014472bc68c 100644 --- a/keyboards/mode/m60h_f/info.json +++ b/keyboards/mode/m60h_f/info.json @@ -31,6 +31,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "animation": "rainbow_swirl" + }, "driver": "ws2812", "led_count": 20, "max_brightness": 120, diff --git a/keyboards/mode/m60s/config.h b/keyboards/mode/m60s/config.h index 04fda276e63..f984cf28de9 100644 --- a/keyboards/mode/m60s/config.h +++ b/keyboards/mode/m60s/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6 diff --git a/keyboards/mode/m60s/info.json b/keyboards/mode/m60s/info.json index 368f2fff824..6a03219427f 100644 --- a/keyboards/mode/m60s/info.json +++ b/keyboards/mode/m60s/info.json @@ -31,6 +31,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "animation": "rainbow_swirl" + }, "driver": "ws2812", "led_count": 20, "max_brightness": 120, diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h index 4d3a7d5ca4c..5672c10fc59 100644 --- a/keyboards/mode/m75s/config.h +++ b/keyboards/mode/m75s/config.h @@ -17,6 +17,5 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_DEFAULT_LEVEL 20 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h index 56a9edf0aab..19881718ef2 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/config.h +++ b/keyboards/mtbkeys/mtb60/hotswap/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */ - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json index deb6f6a0fe8..554587e8163 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/info.json +++ b/keyboards/mtbkeys/mtb60/hotswap/info.json @@ -24,6 +24,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl" } }, "ws2812": { diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h index 56a9edf0aab..19881718ef2 100644 --- a/keyboards/mtbkeys/mtb60/solder/config.h +++ b/keyboards/mtbkeys/mtb60/solder/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */ - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json index 9fdca32a3e4..dae43e69697 100644 --- a/keyboards/mtbkeys/mtb60/solder/info.json +++ b/keyboards/mtbkeys/mtb60/solder/info.json @@ -24,6 +24,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl" } }, "ws2812": { diff --git a/keyboards/owlab/spring/config.h b/keyboards/owlab/spring/config.h deleted file mode 100644 index 461903ea2ee..00000000000 --- a/keyboards/owlab/spring/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2021 OwLab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL -# define RGBLIGHT_DEFAULT_VAL 127 diff --git a/keyboards/owlab/spring/info.json b/keyboards/owlab/spring/info.json index d5813e78c88..f55f08addc5 100644 --- a/keyboards/owlab/spring/info.json +++ b/keyboards/owlab/spring/info.json @@ -29,6 +29,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "val": 127 } }, "ws2812": { diff --git a/keyboards/prototypist/oceanographer/config.h b/keyboards/prototypist/oceanographer/config.h index e5719bb1377..ed9c00df908 100644 --- a/keyboards/prototypist/oceanographer/config.h +++ b/keyboards/prototypist/oceanographer/config.h @@ -3,12 +3,6 @@ #pragma once -// RGB Light settings -#define RGBLIGHT_LAYERS - -#define RGBLIGHT_MAX_LAYERS 4 -#define RGBLIGHT_DEFAULT_VAL 155 - // Audio Settings #ifdef AUDIO_ENABLE diff --git a/keyboards/prototypist/oceanographer/info.json b/keyboards/prototypist/oceanographer/info.json index 488f17eeb99..d7117d6abc3 100644 --- a/keyboards/prototypist/oceanographer/info.json +++ b/keyboards/prototypist/oceanographer/info.json @@ -30,6 +30,13 @@ "animations": { "alternating": true, "breathing": true + }, + "default": { + "val": 155 + }, + "layers": { + "enabled": true, + "max": 4 } }, "matrix_pins": { diff --git a/keyboards/qpockets/space_space/rev2/config.h b/keyboards/qpockets/space_space/rev2/config.h index 02bd670f713..9f86bdabd72 100644 --- a/keyboards/qpockets/space_space/rev2/config.h +++ b/keyboards/qpockets/space_space/rev2/config.h @@ -17,5 +17,3 @@ #pragma once #define LOCKING_SUPPORT_ENABLE - -#define RGBLIGHT_DEFAULT_HUE 130 diff --git a/keyboards/qpockets/space_space/rev2/info.json b/keyboards/qpockets/space_space/rev2/info.json index 45cdb5870ac..3fe0f71497c 100644 --- a/keyboards/qpockets/space_space/rev2/info.json +++ b/keyboards/qpockets/space_space/rev2/info.json @@ -20,7 +20,10 @@ ] }, "rgblight": { - "led_count": 4 + "led_count": 4, + "default": { + "hue": 130 + } }, "ws2812": { "pin": "F0" diff --git a/keyboards/qvex/lynepad2/config.h b/keyboards/qvex/lynepad2/config.h index 9e1f70b38bc..c6fad65c978 100644 --- a/keyboards/qvex/lynepad2/config.h +++ b/keyboards/qvex/lynepad2/config.h @@ -25,9 +25,3 @@ along with this program. If not, see . //Thumbwheel #define PIN_TC D2 - -//Backlighting -#define BACKLIGHT_DEFAULT_LEVEL 5 - -//RGB arc -#define RGBLIGHT_DEFAULT_VAL 64 \ No newline at end of file diff --git a/keyboards/qvex/lynepad2/info.json b/keyboards/qvex/lynepad2/info.json index 7919c2adc2a..31076407924 100644 --- a/keyboards/qvex/lynepad2/info.json +++ b/keyboards/qvex/lynepad2/info.json @@ -35,7 +35,10 @@ "rgblight": { "led_count": 5, "max_brightness": 192, - "sleep": true + "sleep": true, + "default": { + "val": 64 + } }, "ws2812": { "pin": "D3" @@ -44,7 +47,10 @@ "breathing": true, "levels": 8, "max_brightness": 192, - "pin": "B7" + "pin": "B7", + "default": { + "brightness": 5 + } }, "layouts": { "LAYOUT": { diff --git a/keyboards/qwertykeys/qk100/ansi/config.h b/keyboards/qwertykeys/qk100/ansi/config.h index c179795b1f7..041dbdb928f 100644 --- a/keyboards/qwertykeys/qk100/ansi/config.h +++ b/keyboards/qwertykeys/qk100/ansi/config.h @@ -17,16 +17,13 @@ along with this program. If not, see . #pragma once -# define RGBLIGHT_LAYERS -# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -# define RGBLIGHT_LAYERS_RETAIN_VAL -# define RGBLIGHT_DEFAULT_VAL 10 -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 -# define RGBLIGHT_SLEEP +#define RGBLIGHT_LAYERS_RETAIN_VAL +#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 + /*== customize breathing effect ==*/ -# define RGBLIGHT_BREATHE_TABLE_SIZE 128 -# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 -# define RGBLIGHT_EFFECT_BREATHE_MAX 60 +#define RGBLIGHT_BREATHE_TABLE_SIZE 128 +#define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 +#define RGBLIGHT_EFFECT_BREATHE_MAX 60 /* RGB matrix */ #define I2C1_CLOCK_SPEED 400000 diff --git a/keyboards/qwertykeys/qk100/info.json b/keyboards/qwertykeys/qk100/info.json index c8498f3eafc..d020ca8ad20 100644 --- a/keyboards/qwertykeys/qk100/info.json +++ b/keyboards/qwertykeys/qk100/info.json @@ -34,8 +34,15 @@ "brightness_steps": 10, "saturation_steps": 8, "led_count": 6, - "max_brightness": 120 - + "max_brightness": 120, + "default": { + "val": 10 + }, + "layers": { + "enabled": true, + "override_rgb": true + }, + "sleep": true }, "dynamic_keymap": { "layer_count": 2 diff --git a/keyboards/qwertykeys/qk100/solder/config.h b/keyboards/qwertykeys/qk100/solder/config.h index 714f01a1daa..6a16c99f05f 100644 --- a/keyboards/qwertykeys/qk100/solder/config.h +++ b/keyboards/qwertykeys/qk100/solder/config.h @@ -17,13 +17,10 @@ along with this program. If not, see . #pragma once -# define RGBLIGHT_LAYERS -# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -# define RGBLIGHT_LAYERS_RETAIN_VAL -# define RGBLIGHT_DEFAULT_VAL 10 -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 -# define RGBLIGHT_SLEEP +#define RGBLIGHT_LAYERS_RETAIN_VAL +#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 + /*== customize breathing effect ==*/ -# define RGBLIGHT_BREATHE_TABLE_SIZE 128 -# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 -# define RGBLIGHT_EFFECT_BREATHE_MAX 60 \ No newline at end of file +#define RGBLIGHT_BREATHE_TABLE_SIZE 128 +#define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 +#define RGBLIGHT_EFFECT_BREATHE_MAX 60 \ No newline at end of file diff --git a/keyboards/salicylic_acid3/naked48/rev1/config.h b/keyboards/salicylic_acid3/naked48/rev1/config.h index 84dbacba549..2f62289261b 100644 --- a/keyboards/salicylic_acid3/naked48/rev1/config.h +++ b/keyboards/salicylic_acid3/naked48/rev1/config.h @@ -21,5 +21,3 @@ along with this program. If not, see . #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define RGBLIGHT_DEFAULT_VAL 50 diff --git a/keyboards/salicylic_acid3/naked48/rev1/info.json b/keyboards/salicylic_acid3/naked48/rev1/info.json index a2d7b0c8497..f0aa33b9625 100644 --- a/keyboards/salicylic_acid3/naked48/rev1/info.json +++ b/keyboards/salicylic_acid3/naked48/rev1/info.json @@ -39,6 +39,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 50 } }, "ws2812": { diff --git a/keyboards/skippys_custom_pcs/rooboard65/config.h b/keyboards/skippys_custom_pcs/rooboard65/config.h index afdacdd0803..b352868d2d4 100644 --- a/keyboards/skippys_custom_pcs/rooboard65/config.h +++ b/keyboards/skippys_custom_pcs/rooboard65/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define RGBLIGHT_DEFAULT_SPD 144 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - /* Define less important options */ /* diff --git a/keyboards/skippys_custom_pcs/rooboard65/info.json b/keyboards/skippys_custom_pcs/rooboard65/info.json index 11a50e87b1f..b6151a303c4 100644 --- a/keyboards/skippys_custom_pcs/rooboard65/info.json +++ b/keyboards/skippys_custom_pcs/rooboard65/info.json @@ -25,6 +25,10 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl", + "speed": 144 } }, "matrix_pins": { diff --git a/keyboards/smithrune/iron160/iron160_h/config.h b/keyboards/smithrune/iron160/iron160_h/config.h deleted file mode 100644 index 4edf24a4d9d..00000000000 --- a/keyboards/smithrune/iron160/iron160_h/config.h +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2022 Gondolindrim -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -/* Defining RGB default brightness to zero */ -#define RGBLIGHT_DEFAULT_VAL 0 diff --git a/keyboards/smithrune/iron160/iron160_h/info.json b/keyboards/smithrune/iron160/iron160_h/info.json index ae65246d26e..3fb14989d69 100644 --- a/keyboards/smithrune/iron160/iron160_h/info.json +++ b/keyboards/smithrune/iron160/iron160_h/info.json @@ -17,9 +17,12 @@ "ws2812": { "pin": "B15" }, - "rgblight": { - "led_count": 1 - }, + "rgblight": { + "led_count": 1, + "default": { + "val": 50 + } + }, "diode_direction": "COL2ROW", "layout_aliases": { "LAYOUT": "LAYOUT_60_tsangan_hhkb" diff --git a/keyboards/smithrune/iron165r2/config.h b/keyboards/smithrune/iron165r2/config.h index 9749d68d72d..b803959d13c 100644 --- a/keyboards/smithrune/iron165r2/config.h +++ b/keyboards/smithrune/iron165r2/config.h @@ -39,5 +39,3 @@ along with this program. If not, see . # define RGBLIGHT_LED_MAP {21 , 2 , 3 , 4 , 5 , 1 , 20 , 0 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 19 , 14 , 15 , 16 , 17 , 18 } // D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D29, D60, D61, D62, D63, D64, D65, D66, D67, D68, D69} #endif - -#define RGBLIGHT_DEFAULT_VAL 0 diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json index 209266ad102..2cbbaa84f3f 100644 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ b/keyboards/smithrune/iron165r2/f072/info.json @@ -17,6 +17,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 0 } }, "ws2812": { diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json index 72547e955e6..ff685e3cdd8 100644 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ b/keyboards/smithrune/iron165r2/f411/info.json @@ -20,6 +20,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "val": 0 } }, "ws2812": { diff --git a/keyboards/tweetydabird/lotus58/config.h b/keyboards/tweetydabird/lotus58/config.h deleted file mode 100644 index 4175568d403..00000000000 --- a/keyboards/tweetydabird/lotus58/config.h +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2022 Markus Knutsson (@TweetyDaBird) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -// Options not yet fully implemented in info.json -#define RGBLIGHT_DEFAULT_VAL 87 - -#define SPLIT_HAND_PIN B5 diff --git a/keyboards/tweetydabird/lotus58/info.json b/keyboards/tweetydabird/lotus58/info.json index 751f57c5198..646843e7652 100644 --- a/keyboards/tweetydabird/lotus58/info.json +++ b/keyboards/tweetydabird/lotus58/info.json @@ -32,6 +32,9 @@ "pin_compatible": "promicro", "processor": "atmega32u4", "rgblight": { + "default": { + "val": 87 + }, "led_count": 70, "max_brightness": 175, "sleep": true, @@ -50,6 +53,9 @@ ] } }, + "handedness": { + "pin": "B5" + }, "soft_serial_pin": "D2", "transport": { "protocol": "serial", diff --git a/keyboards/viendi8l/config.h b/keyboards/viendi8l/config.h index 0538906eccc..050a0cca223 100644 --- a/keyboards/viendi8l/config.h +++ b/keyboards/viendi8l/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE -#define RGBLIGHT_DEFAULT_VAL 0 - #define WS2812_PWM_COMPLEMENTARY_OUTPUT #define WS2812_PWM_DRIVER PWMD1 #define WS2812_PWM_CHANNEL 3 diff --git a/keyboards/viendi8l/info.json b/keyboards/viendi8l/info.json index d50b96a887c..29dbd5b25aa 100644 --- a/keyboards/viendi8l/info.json +++ b/keyboards/viendi8l/info.json @@ -9,7 +9,10 @@ "device_version": "0.0.1" }, "rgblight": { - "led_count": 4 + "led_count": 4, + "default": { + "val": 0 + } }, "ws2812": { "pin": "B15", diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h deleted file mode 100644 index 81e0b787cbf..00000000000 --- a/keyboards/wolf/ts60/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2020 - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - -#define BACKLIGHT_DEFAULT_LEVEL 6 diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json index 5e883d2bf19..8f6d9318ea5 100644 --- a/keyboards/wolf/ts60/info.json +++ b/keyboards/wolf/ts60/info.json @@ -31,6 +31,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_swirl" } }, "ws2812": { diff --git a/keyboards/work_louder/loop/config.h b/keyboards/work_louder/loop/config.h index 68537070679..25d390cecf3 100644 --- a/keyboards/work_louder/loop/config.h +++ b/keyboards/work_louder/loop/config.h @@ -19,9 +19,6 @@ along with this program. If not, see . #define RGBLIGHT_DI_PIN E6 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT -#define RGBLIGHT_DEFAULT_HUE 36 - #define RGB_MATRIX_DISABLE_KEYCODES /* diff --git a/keyboards/work_louder/loop/info.json b/keyboards/work_louder/loop/info.json index 7c62f7f8546..3c395e057a1 100644 --- a/keyboards/work_louder/loop/info.json +++ b/keyboards/work_louder/loop/info.json @@ -77,6 +77,9 @@ "christmas": true, "static_gradient": true, "twinkle": true + }, + "default": { + "hue": 36 } }, "processor": "atmega32u4", diff --git a/keyboards/work_louder/micro/config.h b/keyboards/work_louder/micro/config.h index 3fe4cb5b32b..733b226f695 100644 --- a/keyboards/work_louder/micro/config.h +++ b/keyboards/work_louder/micro/config.h @@ -7,7 +7,6 @@ #define RGBLIGHT_DI_PIN D2 #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9 -#define RGBLIGHT_DEFAULT_HUE 213 /* disable debug print */ //#define NO_DEBUG diff --git a/keyboards/work_louder/micro/info.json b/keyboards/work_louder/micro/info.json index 95fdb5ab15c..1b57ca82e88 100644 --- a/keyboards/work_louder/micro/info.json +++ b/keyboards/work_louder/micro/info.json @@ -34,6 +34,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "hue": 213 + }, "brightness_steps": 8, "hue_steps": 8, "led_count": 8, diff --git a/keyboards/work_louder/nano/config.h b/keyboards/work_louder/nano/config.h index ace674c509a..e50f6a7e431 100644 --- a/keyboards/work_louder/nano/config.h +++ b/keyboards/work_louder/nano/config.h @@ -19,9 +19,6 @@ along with this program. If not, see . #define RGBLIGHT_DI_PIN C7 -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT -#define RGBLIGHT_DEFAULT_HUE 170 - #define RGB_MATRIX_DISABLE_KEYCODES /* diff --git a/keyboards/work_louder/nano/info.json b/keyboards/work_louder/nano/info.json index 01bfc0ce46f..61c48b3e802 100644 --- a/keyboards/work_louder/nano/info.json +++ b/keyboards/work_louder/nano/info.json @@ -74,6 +74,9 @@ "christmas": true, "static_gradient": true, "twinkle": true + }, + "default": { + "hue": 170 } }, "bootmagic": { diff --git a/keyboards/work_louder/numpad/config.h b/keyboards/work_louder/numpad/config.h index da59b516709..f7d00396534 100644 --- a/keyboards/work_louder/numpad/config.h +++ b/keyboards/work_louder/numpad/config.h @@ -23,4 +23,3 @@ #define RGBLIGHT_DI_PIN D2 #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9 -#define RGBLIGHT_DEFAULT_HUE 213 diff --git a/keyboards/work_louder/numpad/info.json b/keyboards/work_louder/numpad/info.json index e9a20613c62..bd615c40808 100644 --- a/keyboards/work_louder/numpad/info.json +++ b/keyboards/work_louder/numpad/info.json @@ -95,6 +95,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "hue": 213 + }, "brightness_steps": 8, "hue_steps": 8, "led_count": 8, diff --git a/keyboards/work_louder/work_board/config.h b/keyboards/work_louder/work_board/config.h index c698ad42ca4..57f309513b2 100644 --- a/keyboards/work_louder/work_board/config.h +++ b/keyboards/work_louder/work_board/config.h @@ -20,7 +20,6 @@ along with this program. If not, see . #define RGBLIGHT_DI_PIN D2 #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9 -#define RGBLIGHT_DEFAULT_HUE 213 #define RGB_MATRIX_LED_COUNT 49 #define RGB_MATRIX_DISABLE_KEYCODES diff --git a/keyboards/work_louder/work_board/info.json b/keyboards/work_louder/work_board/info.json index d9208372095..8714133ae7e 100644 --- a/keyboards/work_louder/work_board/info.json +++ b/keyboards/work_louder/work_board/info.json @@ -74,6 +74,9 @@ "christmas": true, "static_gradient": true, "twinkle": true + }, + "default": { + "hue": 213 } }, "processor": "atmega32u4", diff --git a/keyboards/yandrstudio/eau_r2/config.h b/keyboards/yandrstudio/eau_r2/config.h index 6985b4b8bb2..aa9b295e020 100644 --- a/keyboards/yandrstudio/eau_r2/config.h +++ b/keyboards/yandrstudio/eau_r2/config.h @@ -15,13 +15,7 @@ */ #pragma once -#ifdef RGBLIGHT_ENABLE - -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - -# define WS2812_PWM_DRIVER PWMD1 -# define WS2812_PWM_CHANNEL 1 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM5 -# define WS2812_DMA_CHANNEL 5 - -#endif +#define WS2812_PWM_DRIVER PWMD1 +#define WS2812_PWM_CHANNEL 1 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM5 +#define WS2812_DMA_CHANNEL 5 diff --git a/keyboards/yandrstudio/eau_r2/info.json b/keyboards/yandrstudio/eau_r2/info.json index a1b5a0e9cfa..c3aaf39e2d8 100644 --- a/keyboards/yandrstudio/eau_r2/info.json +++ b/keyboards/yandrstudio/eau_r2/info.json @@ -30,6 +30,9 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" } }, "debounce": 8, diff --git a/keyboards/yandrstudio/nightstar75/config.h b/keyboards/yandrstudio/nightstar75/config.h index 98480b2687e..4d5c6629996 100644 --- a/keyboards/yandrstudio/nightstar75/config.h +++ b/keyboards/yandrstudio/nightstar75/config.h @@ -15,14 +15,10 @@ */ #pragma once -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD +#define RGBLIGHT_LAYERS_RETAIN_VAL -# define RGBLIGHT_LAYERS -# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -# define RGBLIGHT_LAYERS_RETAIN_VAL - -# define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 -# define WS2812_PWM_CHANNEL 2 // default: 2 -# define WS2812_PWM_PAL_MODE 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -# define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 +#define WS2812_PWM_CHANNEL 2 // default: 2 +#define WS2812_PWM_PAL_MODE 2 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_DMA_CHANNEL 3 diff --git a/keyboards/yandrstudio/nightstar75/info.json b/keyboards/yandrstudio/nightstar75/info.json index 2bf8cd36b3d..956016a7e6d 100644 --- a/keyboards/yandrstudio/nightstar75/info.json +++ b/keyboards/yandrstudio/nightstar75/info.json @@ -24,6 +24,13 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" + }, + "layers": { + "enabled": true, + "override_rgb": true } }, "matrix_pins": { diff --git a/keyboards/yandrstudio/yr6095/config.h b/keyboards/yandrstudio/yr6095/config.h index 592953720f1..05a8922788f 100644 --- a/keyboards/yandrstudio/yr6095/config.h +++ b/keyboards/yandrstudio/yr6095/config.h @@ -15,13 +15,9 @@ */ #pragma once -# define RGBLIGHT_LAYERS -# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -# define RGBLIGHT_LAYERS_RETAIN_VAL +#define RGBLIGHT_LAYERS_RETAIN_VAL -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - -# define WS2812_PWM_DRIVER PWMD3 -# define WS2812_PWM_CHANNEL 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -# define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DRIVER PWMD3 +#define WS2812_PWM_CHANNEL 2 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_DMA_CHANNEL 3 diff --git a/keyboards/yandrstudio/yr6095/info.json b/keyboards/yandrstudio/yr6095/info.json index 0ea82bd3adf..7f5308f50a7 100644 --- a/keyboards/yandrstudio/yr6095/info.json +++ b/keyboards/yandrstudio/yr6095/info.json @@ -19,6 +19,13 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" + }, + "layers": { + "enabled": true, + "override_rgb": true } }, "ws2812": { diff --git a/keyboards/yandrstudio/yr80/config.h b/keyboards/yandrstudio/yr80/config.h index a0841c469ce..08e10e243ed 100644 --- a/keyboards/yandrstudio/yr80/config.h +++ b/keyboards/yandrstudio/yr80/config.h @@ -16,14 +16,10 @@ #pragma once -# define RGBLIGHT_LAYERS -# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -# define RGBLIGHT_LAYERS_RETAIN_VAL +#define RGBLIGHT_LAYERS_RETAIN_VAL -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD - -# define WS2812_PWM_DRIVER PWMD3 -# define WS2812_PWM_CHANNEL 2 -# define WS2812_PWM_PAL_MODE 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM3 -# define WS2812_DMA_CHANNEL 3 +#define WS2812_PWM_DRIVER PWMD3 +#define WS2812_PWM_CHANNEL 2 +#define WS2812_PWM_PAL_MODE 2 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 +#define WS2812_DMA_CHANNEL 3 diff --git a/keyboards/yandrstudio/yr80/info.json b/keyboards/yandrstudio/yr80/info.json index ce9f4bc3790..3581fa9d1c8 100644 --- a/keyboards/yandrstudio/yr80/info.json +++ b/keyboards/yandrstudio/yr80/info.json @@ -19,6 +19,13 @@ "rgb_test": true, "alternating": true, "twinkle": true + }, + "default": { + "animation": "rainbow_mood" + }, + "layers": { + "enabled": true, + "override_rgb": true } }, "ws2812": {