diff options
| author | Ryan <fauxpark@gmail.com> | 2023-06-18 14:39:07 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-18 14:39:07 +1000 |
| commit | b1783db4eacacaf8181cfbce13146db1941486ba (patch) | |
| tree | d464d835a882fa7b2c205eb0b2d73f7ddf0b7145 | |
| parent | 7178645be79510eb623098bccbf1724ff9970edc (diff) | |
Move `RGBLED_NUM` to data driven (#21278)
2160 files changed, 2194 insertions, 2058 deletions
diff --git a/keyboards/0_sixty/underglow/config.h b/keyboards/0_sixty/underglow/config.h index 6efe6e18cd..2d4eaa013a 100644 --- a/keyboards/0_sixty/underglow/config.h +++ b/keyboards/0_sixty/underglow/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | /* underglow */ | 20 | /* underglow */ |
| 21 | #define RGBLED_NUM 24 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/0_sixty/underglow/info.json b/keyboards/0_sixty/underglow/info.json index 2491491561..89a35f9a1c 100644 --- a/keyboards/0_sixty/underglow/info.json +++ b/keyboards/0_sixty/underglow/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "pin": "B6" | 10 | "pin": "B6" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 24, | ||
| 13 | "max_brightness": 185 | 14 | "max_brightness": 185 |
| 14 | } | 15 | } |
| 15 | } | 16 | } |
diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h index 478bc85cd2..fa2205ec1b 100644 --- a/keyboards/0xcb/1337/config.h +++ b/keyboards/0xcb/1337/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #define TAP_CODE_DELAY 10 | 21 | #define TAP_CODE_DELAY 10 |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 4 | ||
| 24 | #define RGBLIGHT_HUE_STEP 8 | 23 | #define RGBLIGHT_HUE_STEP 8 |
| 25 | #define RGBLIGHT_SAT_STEP 8 | 24 | #define RGBLIGHT_SAT_STEP 8 |
| 26 | #define RGBLIGHT_VAL_STEP 8 | 25 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json index 5e3e0037b9..0535333cfa 100644 --- a/keyboards/0xcb/1337/info.json +++ b/keyboards/0xcb/1337/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "led": "B0" | 22 | "led": "B0" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 4, | ||
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/0xcb/tutelpad/config.h b/keyboards/0xcb/tutelpad/config.h index 926cadcea7..b8eca85df3 100644 --- a/keyboards/0xcb/tutelpad/config.h +++ b/keyboards/0xcb/tutelpad/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 4 // Number of LEDs connected | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by | 19 | #define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by |
| 22 | #define RGBLIGHT_SAT_STEP 17 // The number of steps to increment the saturation by | 20 | #define RGBLIGHT_SAT_STEP 17 // The number of steps to increment the saturation by |
| 23 | #define RGBLIGHT_VAL_STEP 17 // The number of steps to increment the brightness by | 21 | #define RGBLIGHT_VAL_STEP 17 // The number of steps to increment the brightness by |
diff --git a/keyboards/0xcb/tutelpad/info.json b/keyboards/0xcb/tutelpad/info.json index c01008fdda..e0a2339cbd 100644 --- a/keyboards/0xcb/tutelpad/info.json +++ b/keyboards/0xcb/tutelpad/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "matrix": [1, 0] | 12 | "matrix": [1, 0] |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 4, | ||
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
| 17 | "ws2812": { | 18 | "ws2812": { |
diff --git a/keyboards/10bleoledhub/config.h b/keyboards/10bleoledhub/config.h index ae376dfa53..d5ec736436 100644 --- a/keyboards/10bleoledhub/config.h +++ b/keyboards/10bleoledhub/config.h | |||
| @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ | |||
| 18 | 18 | ||
| 19 | #define SSD1306OLED | 19 | #define SSD1306OLED |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 4 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/10bleoledhub/info.json b/keyboards/10bleoledhub/info.json index 9b536e0677..15d4702427 100644 --- a/keyboards/10bleoledhub/info.json +++ b/keyboards/10bleoledhub/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7C99", | 8 | "pid": "0x7C99", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/1k/config.h b/keyboards/1k/config.h index afdc6d4baa..0d0cd3712a 100644 --- a/keyboards/1k/config.h +++ b/keyboards/1k/config.h | |||
| @@ -15,8 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 1 | ||
| 19 | |||
| 20 | // Save as much space as we can... | 18 | // Save as much space as we can... |
| 21 | #define LAYER_STATE_8BIT | 19 | #define LAYER_STATE_8BIT |
| 22 | #define NO_ACTION_LAYER | 20 | #define NO_ACTION_LAYER |
diff --git a/keyboards/1k/info.json b/keyboards/1k/info.json index 090e93b94b..34f33d5059 100644 --- a/keyboards/1k/info.json +++ b/keyboards/1k/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B2" | 15 | "pin": "B2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/1upkeyboards/1up60hse/config.h b/keyboards/1upkeyboards/1up60hse/config.h index 8f7b3d4a76..8d1b1dad39 100644 --- a/keyboards/1upkeyboards/1up60hse/config.h +++ b/keyboards/1upkeyboards/1up60hse/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/1upkeyboards/1up60hse/info.json b/keyboards/1upkeyboards/1up60hse/info.json index e4932c23cc..037dac587a 100644 --- a/keyboards/1upkeyboards/1up60hse/info.json +++ b/keyboards/1upkeyboards/1up60hse/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 14, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/1upkeyboards/1up60hte/config.h b/keyboards/1upkeyboards/1up60hte/config.h index aeda8afd33..cc69f084ff 100644 --- a/keyboards/1upkeyboards/1up60hte/config.h +++ b/keyboards/1upkeyboards/1up60hte/config.h | |||
| @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 14 | ||
| 38 | #define RGBLIGHT_HUE_STEP 8 | 37 | #define RGBLIGHT_HUE_STEP 8 |
| 39 | #define RGBLIGHT_SAT_STEP 8 | 38 | #define RGBLIGHT_SAT_STEP 8 |
| 40 | #define RGBLIGHT_VAL_STEP 8 | 39 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/1upkeyboards/1up60hte/info.json b/keyboards/1upkeyboards/1up60hte/info.json index 712999df32..f1281b0844 100644 --- a/keyboards/1upkeyboards/1up60hte/info.json +++ b/keyboards/1upkeyboards/1up60hte/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | "caps_lock": "B6", | 20 | "caps_lock": "B6", |
| 21 | "on_state": 0 | 21 | "on_state": 0 |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "led_count": 14 | ||
| 25 | }, | ||
| 23 | "ws2812": { | 26 | "ws2812": { |
| 24 | "pin": "F0" | 27 | "pin": "F0" |
| 25 | }, | 28 | }, |
diff --git a/keyboards/1upkeyboards/1up60rgb/config.h b/keyboards/1upkeyboards/1up60rgb/config.h index 8bbb646e40..401de718c1 100644 --- a/keyboards/1upkeyboards/1up60rgb/config.h +++ b/keyboards/1upkeyboards/1up60rgb/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 16 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/1upkeyboards/1up60rgb/info.json b/keyboards/1upkeyboards/1up60rgb/info.json index ee6914a4e5..8ee133dc35 100644 --- a/keyboards/1upkeyboards/1up60rgb/info.json +++ b/keyboards/1upkeyboards/1up60rgb/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 16 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/1upkeyboards/pi60_hse/config.h b/keyboards/1upkeyboards/pi60_hse/config.h index 02100955e4..a47120f7d3 100644 --- a/keyboards/1upkeyboards/pi60_hse/config.h +++ b/keyboards/1upkeyboards/pi60_hse/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | #define DYNAMIC_KEYMAP_LAYER_COUNT 10 | 7 | #define DYNAMIC_KEYMAP_LAYER_COUNT 10 |
| 8 | #define RGB_MATRIX_LED_COUNT 16 | 8 | #define RGB_MATRIX_LED_COUNT 16 |
| 9 | #define RGBLED_NUM 16 | ||
| 10 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 9 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 11 | #define RGB_MATRIX_KEYPRESSES | 10 | #define RGB_MATRIX_KEYPRESSES |
| 12 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 11 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/1upkeyboards/super16/config.h b/keyboards/1upkeyboards/super16/config.h index 16ef9c2f4b..2348809fab 100644 --- a/keyboards/1upkeyboards/super16/config.h +++ b/keyboards/1upkeyboards/super16/config.h | |||
| @@ -17,8 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring | 20 | # define RGB_MATRIX_LED_COUNT 16 |
| 21 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 22 | # ifdef RGBLIGHT_ENABLE | 21 | # ifdef RGBLIGHT_ENABLE |
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/1upkeyboards/super16/info.json b/keyboards/1upkeyboards/super16/info.json index 2df890dc7f..70db2dfe3b 100644 --- a/keyboards/1upkeyboards/super16/info.json +++ b/keyboards/1upkeyboards/super16/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 16, | ||
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
| 17 | "rgb_matrix": { | 18 | "rgb_matrix": { |
diff --git a/keyboards/1upkeyboards/sweet16/v1/config.h b/keyboards/1upkeyboards/sweet16/v1/config.h index bed2edc0a6..e46bad6130 100644 --- a/keyboards/1upkeyboards/sweet16/v1/config.h +++ b/keyboards/1upkeyboards/sweet16/v1/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #define RGBLIGHT_EFFECT_RGB_TEST | 17 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 18 | #define RGBLIGHT_EFFECT_ALTERNATING | 18 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 19 | #define RGBLIGHT_EFFECT_TWINKLE | 19 | #define RGBLIGHT_EFFECT_TWINKLE |
| 20 | #define RGBLED_NUM 1 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/1upkeyboards/sweet16/v1/info.json b/keyboards/1upkeyboards/sweet16/v1/info.json index cb82e7fcfb..0649d45cd3 100644 --- a/keyboards/1upkeyboards/sweet16/v1/info.json +++ b/keyboards/1upkeyboards/sweet16/v1/info.json | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | "pid": "0x0161", | 3 | "pid": "0x0161", |
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | ||
| 7 | "led_count": 1 | ||
| 8 | }, | ||
| 6 | "ws2812": { | 9 | "ws2812": { |
| 7 | "pin": "B1" | 10 | "pin": "B1" |
| 8 | }, | 11 | }, |
diff --git a/keyboards/1upkeyboards/sweet16v2/kb2040/config.h b/keyboards/1upkeyboards/sweet16v2/kb2040/config.h index 88687335de..37a85b4711 100644 --- a/keyboards/1upkeyboards/sweet16v2/kb2040/config.h +++ b/keyboards/1upkeyboards/sweet16v2/kb2040/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define DYNAMIC_KEYMAP_LAYER_COUNT 10 | 20 | #define DYNAMIC_KEYMAP_LAYER_COUNT 10 |
| 21 | #define RGB_MATRIX_LED_COUNT 20 | 21 | #define RGB_MATRIX_LED_COUNT 20 |
| 22 | #define RGBLED_NUM 20 | ||
| 23 | #define RGB_MATRIX_KEYPRESSES | 22 | #define RGB_MATRIX_KEYPRESSES |
| 24 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 23 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 25 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 24 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/25keys/aleth42/rev0/config.h b/keyboards/25keys/aleth42/rev0/config.h index 62fcaf8c54..ecb42e0530 100644 --- a/keyboards/25keys/aleth42/rev0/config.h +++ b/keyboards/25keys/aleth42/rev0/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/25keys/aleth42/rev0/info.json b/keyboards/25keys/aleth42/rev0/info.json index 6138e6155b..f827d2eff7 100644 --- a/keyboards/25keys/aleth42/rev0/info.json +++ b/keyboards/25keys/aleth42/rev0/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | ] | 14 | ] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 6, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/25keys/aleth42/rev1/config.h b/keyboards/25keys/aleth42/rev1/config.h index 8452c624d7..ecb42e0530 100644 --- a/keyboards/25keys/aleth42/rev1/config.h +++ b/keyboards/25keys/aleth42/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/25keys/aleth42/rev1/info.json b/keyboards/25keys/aleth42/rev1/info.json index 40773851fd..18354269ed 100644 --- a/keyboards/25keys/aleth42/rev1/info.json +++ b/keyboards/25keys/aleth42/rev1/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | ] | 14 | ] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 8, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/25keys/cassette42/config.h b/keyboards/25keys/cassette42/config.h index fd50a97473..203045cf30 100644 --- a/keyboards/25keys/cassette42/config.h +++ b/keyboards/25keys/cassette42/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 5 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/25keys/cassette42/info.json b/keyboards/25keys/cassette42/info.json index ac61f13d77..b85afaa565 100644 --- a/keyboards/25keys/cassette42/info.json +++ b/keyboards/25keys/cassette42/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | ] | 15 | ] |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 5, | ||
| 18 | "sleep": true | 19 | "sleep": true |
| 19 | }, | 20 | }, |
| 20 | "ws2812": { | 21 | "ws2812": { |
diff --git a/keyboards/2key2crawl/config.h b/keyboards/2key2crawl/config.h index a4088e4925..b3548d696e 100644 --- a/keyboards/2key2crawl/config.h +++ b/keyboards/2key2crawl/config.h | |||
| @@ -18,5 +18,4 @@ | |||
| 18 | # define RGBLIGHT_EFFECT_RGB_TEST | 18 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 19 | # define RGBLIGHT_EFFECT_ALTERNATING | 19 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 20 | # define RGBLIGHT_EFFECT_TWINKLE | 20 | # define RGBLIGHT_EFFECT_TWINKLE |
| 21 | #define RGBLED_NUM 3 | ||
| 22 | #endif | 21 | #endif |
diff --git a/keyboards/2key2crawl/info.json b/keyboards/2key2crawl/info.json index 1752531ba1..66636b4a3c 100644 --- a/keyboards/2key2crawl/info.json +++ b/keyboards/2key2crawl/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "D0", "pin_b": "D1", "resolution": 1} | 18 | {"pin_a": "D0", "pin_b": "D1", "resolution": 1} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 3 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "C6" | 25 | "pin": "C6" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/40percentclub/luddite/config.h b/keyboards/40percentclub/luddite/config.h index e388bc9705..eb254d4043 100644 --- a/keyboards/40percentclub/luddite/config.h +++ b/keyboards/40percentclub/luddite/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | # define RGBLIGHT_EFFECT_RGB_TEST | 17 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 18 | # define RGBLIGHT_EFFECT_ALTERNATING | 18 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 19 | # define RGBLIGHT_EFFECT_TWINKLE | 19 | # define RGBLIGHT_EFFECT_TWINKLE |
| 20 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 21 | // #define RGBLIGHT_HUE_STEP 10 | 20 | // #define RGBLIGHT_HUE_STEP 10 |
| 22 | // #define RGBLIGHT_SAT_STEP 17 | 21 | // #define RGBLIGHT_SAT_STEP 17 |
| 23 | // #define RGBLIGHT_VAL_STEP 17 | 22 | // #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/40percentclub/luddite/info.json b/keyboards/40percentclub/luddite/info.json index eb5c0e4a9d..9ee787ad63 100644 --- a/keyboards/40percentclub/luddite/info.json +++ b/keyboards/40percentclub/luddite/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B5", | 17 | "pin": "B5", |
| 18 | "levels": 4 | 18 | "levels": 4 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 8 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B4" | 24 | "pin": "B4" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/40percentclub/nano/config.h b/keyboards/40percentclub/nano/config.h index 8641d6a37f..3e8f6e666b 100644 --- a/keyboards/40percentclub/nano/config.h +++ b/keyboards/40percentclub/nano/config.h | |||
| @@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | # define RGBLIGHT_EFFECT_RGB_TEST | 28 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | # define RGBLIGHT_EFFECT_ALTERNATING | 29 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | # define RGBLIGHT_EFFECT_TWINKLE | 30 | # define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 6 // Number of LEDs | ||
diff --git a/keyboards/40percentclub/nano/info.json b/keyboards/40percentclub/nano/info.json index 21e5c2d1d2..5ad37b00b5 100644 --- a/keyboards/40percentclub/nano/info.json +++ b/keyboards/40percentclub/nano/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 6 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/40percentclub/nori/config.h b/keyboards/40percentclub/nori/config.h index 57981dd27f..0683ac6c5f 100644 --- a/keyboards/40percentclub/nori/config.h +++ b/keyboards/40percentclub/nori/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 10 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/40percentclub/nori/info.json b/keyboards/40percentclub/nori/info.json index b58ee84edc..66b91eac42 100644 --- a/keyboards/40percentclub/nori/info.json +++ b/keyboards/40percentclub/nori/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B5" | 17 | "pin": "B5" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 10 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B4" | 23 | "pin": "B4" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/40percentclub/tomato/config.h b/keyboards/40percentclub/tomato/config.h index 2199981c7c..db25f7f8d4 100644 --- a/keyboards/40percentclub/tomato/config.h +++ b/keyboards/40percentclub/tomato/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #define RGBLIGHT_EFFECT_RGB_TEST | 17 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 18 | #define RGBLIGHT_EFFECT_ALTERNATING | 18 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 19 | #define RGBLIGHT_EFFECT_TWINKLE | 19 | #define RGBLIGHT_EFFECT_TWINKLE |
| 20 | #define RGBLED_NUM 30 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/40percentclub/tomato/info.json b/keyboards/40percentclub/tomato/info.json index c881f7c7d1..a9b97c3223 100644 --- a/keyboards/40percentclub/tomato/info.json +++ b/keyboards/40percentclub/tomato/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x546F", | 8 | "pid": "0x546F", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 30 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B5" | 15 | "pin": "B5" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/4pplet/aekiso60/rev_a/config.h b/keyboards/4pplet/aekiso60/rev_a/config.h index 4ec3391a61..d1fb77e072 100644 --- a/keyboards/4pplet/aekiso60/rev_a/config.h +++ b/keyboards/4pplet/aekiso60/rev_a/config.h | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #define RGBLED_NUM 12 | ||
| 4 | |||
| 5 | #define RGBLIGHT_HUE_STEP 8 | 3 | #define RGBLIGHT_HUE_STEP 8 |
| 6 | #define RGBLIGHT_SAT_STEP 8 | 4 | #define RGBLIGHT_SAT_STEP 8 |
| 7 | #define RGBLIGHT_VAL_STEP 8 | 5 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/4pplet/aekiso60/rev_a/info.json b/keyboards/4pplet/aekiso60/rev_a/info.json index cbcf0f5997..5f8c7c2c07 100644 --- a/keyboards/4pplet/aekiso60/rev_a/info.json +++ b/keyboards/4pplet/aekiso60/rev_a/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0x0001", | 4 | "pid": "0x0001", |
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 12 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "D3" | 11 | "pin": "D3" |
| 9 | }, | 12 | }, |
diff --git a/keyboards/4pplet/aekiso60/rev_b/config.h b/keyboards/4pplet/aekiso60/rev_b/config.h index e6f7c748a5..eb5c25c4aa 100644 --- a/keyboards/4pplet/aekiso60/rev_b/config.h +++ b/keyboards/4pplet/aekiso60/rev_b/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 12 | ||
| 20 | #define WS2812_EXTERNAL_PULLUP | 19 | #define WS2812_EXTERNAL_PULLUP |
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/4pplet/aekiso60/rev_b/info.json b/keyboards/4pplet/aekiso60/rev_b/info.json index 4e218f9365..f77b4d3209 100644 --- a/keyboards/4pplet/aekiso60/rev_b/info.json +++ b/keyboards/4pplet/aekiso60/rev_b/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0x0011", | 4 | "pid": "0x0011", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 12 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "A8" | 11 | "pin": "A8" |
| 9 | }, | 12 | }, |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h index 6114950220..29444cd456 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 25 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 26 | #define WS2812_SPI_SCK_PIN A5 | 26 | #define WS2812_SPI_SCK_PIN A5 |
| 27 | #define WS2812_SPI_SCK_PAL_MODE 0 | 27 | #define WS2812_SPI_SCK_PAL_MODE 0 |
| 28 | #define RGBLED_NUM 16 | ||
| 29 | #define RGBLIGHT_HUE_STEP 8 | 28 | #define RGBLIGHT_HUE_STEP 8 |
| 30 | #define RGBLIGHT_SAT_STEP 8 | 29 | #define RGBLIGHT_SAT_STEP 8 |
| 31 | #define RGBLIGHT_VAL_STEP 8 | 30 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json index 02d4f38632..85c2575cd4 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 10, | 18 | "levels": 10, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 16 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "A7", | 25 | "pin": "A7", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h index 7c8c8a8cf2..c1b0a3a60e 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PAL_MODE 1 | 21 | #define BACKLIGHT_PAL_MODE 1 |
| 22 | 22 | ||
| 23 | /* Underglow */ | 23 | /* Underglow */ |
| 24 | #define RGBLED_NUM 16 | ||
| 25 | #define WS2812_EXTERNAL_PULLUP | 24 | #define WS2812_EXTERNAL_PULLUP |
| 26 | 25 | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json index 82d6349dc7..0ba6569297 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "num_lock": "B12", | 23 | "num_lock": "B12", |
| 24 | "scroll_lock": "B13" | 24 | "scroll_lock": "B13" |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 16 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "A8" | 30 | "pin": "A8" |
| 28 | }, | 31 | }, |
diff --git a/keyboards/4pplet/waffling60/rev_b/config.h b/keyboards/4pplet/waffling60/rev_b/config.h index 2552b1e451..4d343b2221 100644 --- a/keyboards/4pplet/waffling60/rev_b/config.h +++ b/keyboards/4pplet/waffling60/rev_b/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/4pplet/waffling60/rev_b/info.json b/keyboards/4pplet/waffling60/rev_b/info.json index 90fe5d02a2..ef266031dc 100644 --- a/keyboards/4pplet/waffling60/rev_b/info.json +++ b/keyboards/4pplet/waffling60/rev_b/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0005", | 8 | "pid": "0x0005", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/4pplet/waffling60/rev_c/config.h b/keyboards/4pplet/waffling60/rev_c/config.h index 06e5db9090..b6fd6835f3 100644 --- a/keyboards/4pplet/waffling60/rev_c/config.h +++ b/keyboards/4pplet/waffling60/rev_c/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/4pplet/waffling60/rev_c/info.json b/keyboards/4pplet/waffling60/rev_c/info.json index c33d2b0616..ff955e7553 100644 --- a/keyboards/4pplet/waffling60/rev_c/info.json +++ b/keyboards/4pplet/waffling60/rev_c/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"], | 12 | "cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"], |
| 13 | "rows": ["C2", "D0", "B0", "D6", "D5"] | 13 | "rows": ["C2", "D0", "B0", "D6", "D5"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 1 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "D3" | 19 | "pin": "D3" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/4pplet/waffling60/rev_d/config.h b/keyboards/4pplet/waffling60/rev_d/config.h index 2ba774712a..ae972e0dd5 100644 --- a/keyboards/4pplet/waffling60/rev_d/config.h +++ b/keyboards/4pplet/waffling60/rev_d/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #define WS2812_EXTERNAL_PULLUP | 19 | #define WS2812_EXTERNAL_PULLUP |
| 21 | 20 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/4pplet/waffling60/rev_d/info.json b/keyboards/4pplet/waffling60/rev_d/info.json index 01aba22863..9c50964948 100644 --- a/keyboards/4pplet/waffling60/rev_d/info.json +++ b/keyboards/4pplet/waffling60/rev_d/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x000E", | 8 | "pid": "0x000E", |
| 9 | "device_version": "0.0.4" | 9 | "device_version": "0.0.4" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A8" | 15 | "pin": "A8" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/4pplet/waffling80/rev_a/config.h b/keyboards/4pplet/waffling80/rev_a/config.h index e42bb68b37..87076dfb11 100644 --- a/keyboards/4pplet/waffling80/rev_a/config.h +++ b/keyboards/4pplet/waffling80/rev_a/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 2 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/4pplet/waffling80/rev_a/info.json b/keyboards/4pplet/waffling80/rev_a/info.json index 34ec33bbe2..ce4b29b3d5 100644 --- a/keyboards/4pplet/waffling80/rev_a/info.json +++ b/keyboards/4pplet/waffling80/rev_a/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0x0006", | 4 | "pid": "0x0006", |
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 2 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "D7" | 11 | "pin": "D7" |
| 9 | }, | 12 | }, |
diff --git a/keyboards/4pplet/waffling80/rev_b/config.h b/keyboards/4pplet/waffling80/rev_b/config.h index 1bf561d74a..ae972e0dd5 100644 --- a/keyboards/4pplet/waffling80/rev_b/config.h +++ b/keyboards/4pplet/waffling80/rev_b/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 2 | ||
| 20 | #define WS2812_EXTERNAL_PULLUP | 19 | #define WS2812_EXTERNAL_PULLUP |
| 21 | 20 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
diff --git a/keyboards/4pplet/waffling80/rev_b/info.json b/keyboards/4pplet/waffling80/rev_b/info.json index 61673e609d..f3f23d16bb 100644 --- a/keyboards/4pplet/waffling80/rev_b/info.json +++ b/keyboards/4pplet/waffling80/rev_b/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0x000F", | 4 | "pid": "0x000F", |
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 2 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "A8" | 11 | "pin": "A8" |
| 9 | }, | 12 | }, |
diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h index 5139d4cf69..e48b4d5a72 100644 --- a/keyboards/8pack/config.h +++ b/keyboards/8pack/config.h | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | #define LOCKING_RESYNC_ENABLE | 7 | #define LOCKING_RESYNC_ENABLE |
| 8 | 8 | ||
| 9 | // ws2812 options | 9 | // ws2812 options |
| 10 | #define RGBLED_NUM 8 // number of LEDs | ||
| 11 | #define RGBLIGHT_EFFECT_BREATHING | 10 | #define RGBLIGHT_EFFECT_BREATHING |
| 12 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 11 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 13 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 12 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json index 45dec97b33..fffac7d426 100644 --- a/keyboards/8pack/info.json +++ b/keyboards/8pack/info.json | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], | 11 | "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], |
| 12 | "levels": 8 | 12 | "levels": 8 |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | ||
| 15 | "led_count": 8 | ||
| 16 | }, | ||
| 14 | "ws2812": { | 17 | "ws2812": { |
| 15 | "pin": "D2" | 18 | "pin": "D2" |
| 16 | }, | 19 | }, |
diff --git a/keyboards/9key/config.h b/keyboards/9key/config.h index bb910a4427..bd03d32227 100644 --- a/keyboards/9key/config.h +++ b/keyboards/9key/config.h | |||
| @@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 1 // Number of LEDs | ||
| 21 | |||
| 22 | #define TAPPING_TERM 200 | 20 | #define TAPPING_TERM 200 |
diff --git a/keyboards/9key/info.json b/keyboards/9key/info.json index 1dc9fad41a..d4061d8261 100644 --- a/keyboards/9key/info.json +++ b/keyboards/9key/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/abacus/config.h b/keyboards/abacus/config.h index ed3b65bf7e..91ae845075 100644 --- a/keyboards/abacus/config.h +++ b/keyboards/abacus/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define DIP_SWITCH_PINS { D0 } | 20 | #define DIP_SWITCH_PINS { D0 } |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 17 | ||
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
| 25 | # define RGBLIGHT_VAL_STEP 8 | 24 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/abacus/info.json b/keyboards/abacus/info.json index 81503d24c0..460521c93a 100644 --- a/keyboards/abacus/info.json +++ b/keyboards/abacus/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 17, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/abatskeyboardclub/nayeon/config.h b/keyboards/abatskeyboardclub/nayeon/config.h index b42ece99a6..7fedf4dce1 100644 --- a/keyboards/abatskeyboardclub/nayeon/config.h +++ b/keyboards/abatskeyboardclub/nayeon/config.h | |||
| @@ -20,5 +20,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | /* RGB Matrix setup */ | 21 | /* RGB Matrix setup */ |
| 22 | #define RGB_MATRIX_LED_COUNT 2 | 22 | #define RGB_MATRIX_LED_COUNT 2 |
| 23 | #define RGBLED_NUM 2 | ||
| 24 | #define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral | 23 | #define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral |
diff --git a/keyboards/abstract/ellipse/rev1/config.h b/keyboards/abstract/ellipse/rev1/config.h index 9121f358b2..808fff7fc3 100644 --- a/keyboards/abstract/ellipse/rev1/config.h +++ b/keyboards/abstract/ellipse/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 3 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/abstract/ellipse/rev1/info.json b/keyboards/abstract/ellipse/rev1/info.json index 2d1ae54ecd..8b11d2c0cc 100644 --- a/keyboards/abstract/ellipse/rev1/info.json +++ b/keyboards/abstract/ellipse/rev1/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "levels": 15 | 25 | "levels": 15 |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 3, | ||
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
| 30 | "ws2812": { | 31 | "ws2812": { |
diff --git a/keyboards/acekeyboard/titan60/config.h b/keyboards/acekeyboard/titan60/config.h index 31b0284f20..e00fb9db59 100644 --- a/keyboards/acekeyboard/titan60/config.h +++ b/keyboards/acekeyboard/titan60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 6 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/acekeyboard/titan60/info.json b/keyboards/acekeyboard/titan60/info.json index 5ba9ae4f0c..cb2e327088 100644 --- a/keyboards/acekeyboard/titan60/info.json +++ b/keyboards/acekeyboard/titan60/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 6, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h index 1f91766add..1bb03e3783 100644 --- a/keyboards/acheron/athena/alpha/config.h +++ b/keyboards/acheron/athena/alpha/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define BACKLIGHT_PWM_CHANNEL 1 | 24 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 25 | #define BACKLIGHT_PAL_MODE 2 | 25 | #define BACKLIGHT_PAL_MODE 2 |
| 26 | 26 | ||
| 27 | #define RGBLED_NUM 34 | ||
| 28 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/acheron/athena/alpha/info.json b/keyboards/acheron/athena/alpha/info.json index e72e8aece4..ff0ebf94b5 100644 --- a/keyboards/acheron/athena/alpha/info.json +++ b/keyboards/acheron/athena/alpha/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "on_state": 0, | 15 | "on_state": 0, |
| 16 | "breathing": true | 16 | "breathing": true |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 34 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "B15" | 22 | "pin": "B15" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h index 0376a9ac2c..77985b2ae5 100644 --- a/keyboards/acheron/athena/beta/config.h +++ b/keyboards/acheron/athena/beta/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define BACKLIGHT_PWM_CHANNEL 3 | 24 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 25 | #define BACKLIGHT_PAL_MODE 2 | 25 | #define BACKLIGHT_PAL_MODE 2 |
| 26 | 26 | ||
| 27 | #define RGBLED_NUM 34 | ||
| 28 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/acheron/athena/beta/info.json b/keyboards/acheron/athena/beta/info.json index b2ced072a8..21b7a96337 100644 --- a/keyboards/acheron/athena/beta/info.json +++ b/keyboards/acheron/athena/beta/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "levels": 20, | 14 | "levels": 20, |
| 15 | "breathing": true | 15 | "breathing": true |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 34 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "B15" | 21 | "pin": "B15" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/acheron/elongate/beta/config.h b/keyboards/acheron/elongate/beta/config.h index 4b8e12dc0c..ce90c7e2e0 100644 --- a/keyboards/acheron/elongate/beta/config.h +++ b/keyboards/acheron/elongate/beta/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/acheron/elongate/beta/info.json b/keyboards/acheron/elongate/beta/info.json index b493b0b4b4..bd0a52e3b2 100644 --- a/keyboards/acheron/elongate/beta/info.json +++ b/keyboards/acheron/elongate/beta/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/acheron/elongate/delta/config.h b/keyboards/acheron/elongate/delta/config.h index e892d5bd3d..89122ba8cc 100755 --- a/keyboards/acheron/elongate/delta/config.h +++ b/keyboards/acheron/elongate/delta/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 22 | #define BACKLIGHT_PAL_MODE 1 | 22 | #define BACKLIGHT_PAL_MODE 1 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 16 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/acheron/elongate/delta/info.json b/keyboards/acheron/elongate/delta/info.json index edfcc58d09..429cb11293 100644 --- a/keyboards/acheron/elongate/delta/info.json +++ b/keyboards/acheron/elongate/delta/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "breathing_period": 3 | 20 | "breathing_period": 3 |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 16, | ||
| 23 | "max_brightness": 200, | 24 | "max_brightness": 200, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h index 348b284a3f..25ad6b3bf0 100644 --- a/keyboards/acheron/shark/beta/config.h +++ b/keyboards/acheron/shark/beta/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define BACKLIGHT_PWM_CHANNEL 1 | 24 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 25 | #define BACKLIGHT_PAL_MODE 2 | 25 | #define BACKLIGHT_PAL_MODE 2 |
| 26 | 26 | ||
| 27 | #define RGBLED_NUM 24 | ||
| 28 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/acheron/shark/beta/info.json b/keyboards/acheron/shark/beta/info.json index 504e86f4b3..ca1ef7082b 100644 --- a/keyboards/acheron/shark/beta/info.json +++ b/keyboards/acheron/shark/beta/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | {"pin_a": "C15", "pin_b": "C14"} | 14 | {"pin_a": "C15", "pin_b": "C14"} |
| 15 | ] | 15 | ] |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 24 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "B15" | 21 | "pin": "B15" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/ada/ada1800mini/config.h b/keyboards/ada/ada1800mini/config.h index c1f11c77b0..5fa6832ddc 100644 --- a/keyboards/ada/ada1800mini/config.h +++ b/keyboards/ada/ada1800mini/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | //TODO: implement RGB matrix when I get the hardware | 19 | //TODO: implement RGB matrix when I get the hardware |
| 20 | #define RGBLED_NUM 100 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ada/ada1800mini/info.json b/keyboards/ada/ada1800mini/info.json index 2663cc502f..829e31ad27 100644 --- a/keyboards/ada/ada1800mini/info.json +++ b/keyboards/ada/ada1800mini/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "F0" | 12 | "pin": "F0" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 100, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/ada/infinity81/config.h b/keyboards/ada/infinity81/config.h index b49a6cf4c2..7a69492104 100644 --- a/keyboards/ada/infinity81/config.h +++ b/keyboards/ada/infinity81/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | # define RGBLED_NUM 107 | ||
| 7 | # define RGBLIGHT_HUE_STEP 8 | 6 | # define RGBLIGHT_HUE_STEP 8 |
| 8 | # define RGBLIGHT_SAT_STEP 8 | 7 | # define RGBLIGHT_SAT_STEP 8 |
| 9 | # define RGBLIGHT_VAL_STEP 8 | 8 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ada/infinity81/info.json b/keyboards/ada/infinity81/info.json index e97d2e01e9..e44726a1e9 100644 --- a/keyboards/ada/infinity81/info.json +++ b/keyboards/ada/infinity81/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 107, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/adafruit/macropad/config.h b/keyboards/adafruit/macropad/config.h index 08db87fefe..818a8229f5 100644 --- a/keyboards/adafruit/macropad/config.h +++ b/keyboards/adafruit/macropad/config.h | |||
| @@ -55,7 +55,6 @@ | |||
| 55 | 55 | ||
| 56 | /* RGB Defines */ | 56 | /* RGB Defines */ |
| 57 | # define RGB_MATRIX_LED_COUNT 12 | 57 | # define RGB_MATRIX_LED_COUNT 12 |
| 58 | # define RGBLED_NUM 12 | ||
| 59 | 58 | ||
| 60 | /* Enable Framebuffer and keypress effects */ | 59 | /* Enable Framebuffer and keypress effects */ |
| 61 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 60 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
diff --git a/keyboards/adpenrose/kintsugi/config.h b/keyboards/adpenrose/kintsugi/config.h index d8dc8953d0..389f5e6aa2 100644 --- a/keyboards/adpenrose/kintsugi/config.h +++ b/keyboards/adpenrose/kintsugi/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define TAP_CODE_DELAY 10 | 20 | #define TAP_CODE_DELAY 10 |
| 21 | 21 | ||
| 22 | /* Underglow options: */ | 22 | /* Underglow options: */ |
| 23 | # define RGBLED_NUM 16 | ||
| 24 | # define RGBLIGHT_HUE_STEP 8 | 23 | # define RGBLIGHT_HUE_STEP 8 |
| 25 | # define RGBLIGHT_SAT_STEP 8 | 24 | # define RGBLIGHT_SAT_STEP 8 |
| 26 | # define RGBLIGHT_VAL_STEP 8 | 25 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/adpenrose/kintsugi/info.json b/keyboards/adpenrose/kintsugi/info.json index 6325354fd9..44308024ae 100644 --- a/keyboards/adpenrose/kintsugi/info.json +++ b/keyboards/adpenrose/kintsugi/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/adpenrose/obi/config.h b/keyboards/adpenrose/obi/config.h index 17be0017ef..cbc2502754 100644 --- a/keyboards/adpenrose/obi/config.h +++ b/keyboards/adpenrose/obi/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | #define TAP_CODE_DELAY 10 | 6 | #define TAP_CODE_DELAY 10 |
| 7 | 7 | ||
| 8 | /* Underglow options: */ | 8 | /* Underglow options: */ |
| 9 | # define RGBLED_NUM 16 | ||
| 10 | # define RGBLIGHT_HUE_STEP 8 | 9 | # define RGBLIGHT_HUE_STEP 8 |
| 11 | # define RGBLIGHT_SAT_STEP 8 | 10 | # define RGBLIGHT_SAT_STEP 8 |
| 12 | # define RGBLIGHT_VAL_STEP 8 | 11 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/adpenrose/obi/info.json b/keyboards/adpenrose/obi/info.json index a2906cd117..c7b239ac8f 100644 --- a/keyboards/adpenrose/obi/info.json +++ b/keyboards/adpenrose/obi/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "vid": "0x4450" | 8 | "vid": "0x4450" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | 10 | "rgblight": { |
| 11 | "led_count": 16, | ||
| 11 | "sleep": true | 12 | "sleep": true |
| 12 | }, | 13 | }, |
| 13 | "ws2812": { | 14 | "ws2812": { |
diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h index 0bc48fb562..ae855d38ac 100644 --- a/keyboards/aeboards/ext65/rev2/config.h +++ b/keyboards/aeboards/ext65/rev2/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 24 | ||
| 31 | 30 | ||
| 32 | //SPI | 31 | //SPI |
| 33 | #define WS2812_SPI SPID2 | 32 | #define WS2812_SPI SPID2 |
diff --git a/keyboards/aeboards/ext65/rev2/info.json b/keyboards/aeboards/ext65/rev2/info.json index bfdcae090e..1018336ed5 100644 --- a/keyboards/aeboards/ext65/rev2/info.json +++ b/keyboards/aeboards/ext65/rev2/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "levels": 6, | 12 | "levels": 6, |
| 13 | "breathing": true | 13 | "breathing": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 24 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "B15", | 19 | "pin": "B15", |
| 17 | "driver": "spi" | 20 | "driver": "spi" |
diff --git a/keyboards/ai03/polaris/config.h b/keyboards/ai03/polaris/config.h index d70b56bd62..8679584d99 100644 --- a/keyboards/ai03/polaris/config.h +++ b/keyboards/ai03/polaris/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ai03/polaris/info.json b/keyboards/ai03/polaris/info.json index 2753813eda..d34a785aa7 100644 --- a/keyboards/ai03/polaris/info.json +++ b/keyboards/ai03/polaris/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 14, | ||
| 22 | "max_brightness": 200, | 23 | "max_brightness": 200, |
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
diff --git a/keyboards/ai03/voyager60_alps/config.h b/keyboards/ai03/voyager60_alps/config.h index dffeb072ee..5ce015408a 100644 --- a/keyboards/ai03/voyager60_alps/config.h +++ b/keyboards/ai03/voyager60_alps/config.h | |||
| @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 14 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ai03/voyager60_alps/info.json b/keyboards/ai03/voyager60_alps/info.json index 063ef8c5a3..cd790bcc69 100644 --- a/keyboards/ai03/voyager60_alps/info.json +++ b/keyboards/ai03/voyager60_alps/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/aleblazer/zodiark/config.h b/keyboards/aleblazer/zodiark/config.h index c36702bbff..3c015aa926 100644 --- a/keyboards/aleblazer/zodiark/config.h +++ b/keyboards/aleblazer/zodiark/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #define SELECT_SOFT_SERIAL_SPEED 1 | 19 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 20 | 20 | ||
| 21 | #ifdef RGBLIGHT_ENABLE | 21 | #ifdef RGBLIGHT_ENABLE |
| 22 | #define RGBLED_NUM 68 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/aleblazer/zodiark/info.json b/keyboards/aleblazer/zodiark/info.json index 46d6977506..c014385a97 100644 --- a/keyboards/aleblazer/zodiark/info.json +++ b/keyboards/aleblazer/zodiark/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B5" | 12 | "pin": "B5" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 68, | ||
| 15 | "max_brightness": 170, | 16 | "max_brightness": 170, |
| 16 | "split_count": [34, 34] | 17 | "split_count": [34, 34] |
| 17 | }, | 18 | }, |
diff --git a/keyboards/alf/dc60/config.h b/keyboards/alf/dc60/config.h index b94b584df0..8d1b1dad39 100644 --- a/keyboards/alf/dc60/config.h +++ b/keyboards/alf/dc60/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 20 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/info.json index 9d304c8de9..d3f680fa4a 100644 --- a/keyboards/alf/dc60/info.json +++ b/keyboards/alf/dc60/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "levels": 5, | 17 | "levels": 5, |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 20 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E6" | 24 | "pin": "E6" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h index b828f65b6c..1b60bb4dcf 100644 --- a/keyboards/alf/x11/config.h +++ b/keyboards/alf/x11/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 28 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/alf/x11/info.json b/keyboards/alf/x11/info.json index 0de3436770..b25c832847 100644 --- a/keyboards/alf/x11/info.json +++ b/keyboards/alf/x11/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 28, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h index c982289a0b..9368693119 100644 --- a/keyboards/alf/x2/config.h +++ b/keyboards/alf/x2/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | # define RGBLIGHT_EFFECT_RGB_TEST | 32 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | # define RGBLIGHT_EFFECT_ALTERNATING | 33 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | # define RGBLIGHT_EFFECT_TWINKLE | 34 | # define RGBLIGHT_EFFECT_TWINKLE |
| 35 | # define RGBLED_NUM 4 | ||
| 36 | # define RGBLIGHT_HUE_STEP 8 | 35 | # define RGBLIGHT_HUE_STEP 8 |
| 37 | # define RGBLIGHT_SAT_STEP 8 | 36 | # define RGBLIGHT_SAT_STEP 8 |
| 38 | # define RGBLIGHT_VAL_STEP 8 | 37 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json index ea54b093ce..ce2549d92e 100644 --- a/keyboards/alf/x2/info.json +++ b/keyboards/alf/x2/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "B2", | 17 | "caps_lock": "B2", |
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 4 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/alfredslab/swift65/hotswap/config.h b/keyboards/alfredslab/swift65/hotswap/config.h index ea845147f9..c8747a50c2 100644 --- a/keyboards/alfredslab/swift65/hotswap/config.h +++ b/keyboards/alfredslab/swift65/hotswap/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 22 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/alfredslab/swift65/hotswap/info.json b/keyboards/alfredslab/swift65/hotswap/info.json index 20e9c51221..4b35547440 100644 --- a/keyboards/alfredslab/swift65/hotswap/info.json +++ b/keyboards/alfredslab/swift65/hotswap/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 22, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/alfredslab/swift65/solder/config.h b/keyboards/alfredslab/swift65/solder/config.h index 75e49d49c6..58d4183f3f 100644 --- a/keyboards/alfredslab/swift65/solder/config.h +++ b/keyboards/alfredslab/swift65/solder/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/alfredslab/swift65/solder/info.json b/keyboards/alfredslab/swift65/solder/info.json index 17dc3f45e2..062106fdf3 100644 --- a/keyboards/alfredslab/swift65/solder/info.json +++ b/keyboards/alfredslab/swift65/solder/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "max_brightness": 100, | 13 | "max_brightness": 100, |
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
diff --git a/keyboards/alpha/config.h b/keyboards/alpha/config.h index b4ab41d42c..401de718c1 100755 --- a/keyboards/alpha/config.h +++ b/keyboards/alpha/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 5 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/alpha/info.json b/keyboards/alpha/info.json index 86e4dbefb3..6c8c5e4c35 100644 --- a/keyboards/alpha/info.json +++ b/keyboards/alpha/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x6060", | 7 | "pid": "0x6060", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 5 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "F4" | 14 | "pin": "F4" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/alpine65/config.h b/keyboards/alpine65/config.h index b78b6b00a7..3717a6d07c 100644 --- a/keyboards/alpine65/config.h +++ b/keyboards/alpine65/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 68 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/alpine65/info.json b/keyboards/alpine65/info.json index d1a2131d4e..51357fb0c9 100644 --- a/keyboards/alpine65/info.json +++ b/keyboards/alpine65/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 68, | ||
| 12 | "max_brightness": 200, | 13 | "max_brightness": 200, |
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
diff --git a/keyboards/amag23/config.h b/keyboards/amag23/config.h index 34e622bfb3..1ae535468f 100644 --- a/keyboards/amag23/config.h +++ b/keyboards/amag23/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 7 | ||
| 19 | #define RGBLIGHT_EFFECT_BREATHING | 18 | #define RGBLIGHT_EFFECT_BREATHING |
| 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/amag23/info.json b/keyboards/amag23/info.json index 9ee25d06d8..3a78dcbc22 100644 --- a/keyboards/amag23/info.json +++ b/keyboards/amag23/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2323", | 8 | "pid": "0x2323", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 7 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "driver": "i2c" | 15 | "driver": "i2c" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/amjkeyboard/amj40/config.h b/keyboards/amjkeyboard/amj40/config.h index 9ec9dcbbeb..619ebff2e7 100755 --- a/keyboards/amjkeyboard/amj40/config.h +++ b/keyboards/amjkeyboard/amj40/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 39 | #define RGBLIGHT_HUE_STEP 10 | 38 | #define RGBLIGHT_HUE_STEP 10 |
| 40 | #define RGBLIGHT_SAT_STEP 17 | 39 | #define RGBLIGHT_SAT_STEP 17 |
| 41 | #define RGBLIGHT_VAL_STEP 17 | 40 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/amjkeyboard/amj40/info.json b/keyboards/amjkeyboard/amj40/info.json index a3bbb13785..6001d3ed21 100644 --- a/keyboards/amjkeyboard/amj40/info.json +++ b/keyboards/amjkeyboard/amj40/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 4 | 18 | "levels": 4 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 4 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/amjkeyboard/amj60/config.h b/keyboards/amjkeyboard/amj60/config.h index c5f26de5aa..23a98fa480 100644 --- a/keyboards/amjkeyboard/amj60/config.h +++ b/keyboards/amjkeyboard/amj60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 8 | ||
| 21 | # define RGBLIGHT_HUE_STEP 10 | 20 | # define RGBLIGHT_HUE_STEP 10 |
| 22 | # define RGBLIGHT_SAT_STEP 17 | 21 | # define RGBLIGHT_SAT_STEP 17 |
| 23 | # define RGBLIGHT_VAL_STEP 17 | 22 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/amjkeyboard/amj60/info.json b/keyboards/amjkeyboard/amj60/info.json index 236db9bd08..eb011f53e1 100644 --- a/keyboards/amjkeyboard/amj60/info.json +++ b/keyboards/amjkeyboard/amj60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 4, | 18 | "levels": 4, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 8 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "E2" | 25 | "pin": "E2" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/amjkeyboard/amj96/config.h b/keyboards/amjkeyboard/amj96/config.h index 577215da4c..dc469350de 100644 --- a/keyboards/amjkeyboard/amj96/config.h +++ b/keyboards/amjkeyboard/amj96/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | /* COL2ROW, ROW2COL*/ | 36 | /* COL2ROW, ROW2COL*/ |
| 37 | #define DIODE_DIRECTION COL2ROW | 37 | #define DIODE_DIRECTION COL2ROW |
| 38 | 38 | ||
| 39 | # define RGBLED_NUM 16 | ||
| 40 | //# define RGBLIGHT_HUE_STEP 8 | 39 | //# define RGBLIGHT_HUE_STEP 8 |
| 41 | //# define RGBLIGHT_SAT_STEP 8 | 40 | //# define RGBLIGHT_SAT_STEP 8 |
| 42 | //# define RGBLIGHT_VAL_STEP 8 | 41 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/amjkeyboard/amj96/info.json b/keyboards/amjkeyboard/amj96/info.json index 23bfedd721..45dade12f8 100644 --- a/keyboards/amjkeyboard/amj96/info.json +++ b/keyboards/amjkeyboard/amj96/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6074", | 8 | "pid": "0x6074", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/amjkeyboard/amjpad/config.h b/keyboards/amjkeyboard/amjpad/config.h index ecd9f99ed9..870aedd6d6 100644 --- a/keyboards/amjkeyboard/amjpad/config.h +++ b/keyboards/amjkeyboard/amjpad/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | 38 | ||
| 39 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 40 | #define RGBLIGHT_HUE_STEP 10 | 39 | #define RGBLIGHT_HUE_STEP 10 |
| 41 | #define RGBLIGHT_SAT_STEP 17 | 40 | #define RGBLIGHT_SAT_STEP 17 |
| 42 | #define RGBLIGHT_VAL_STEP 17 | 41 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/amjkeyboard/amjpad/info.json b/keyboards/amjkeyboard/amjpad/info.json index d5e1b042f4..40e1c556d7 100644 --- a/keyboards/amjkeyboard/amjpad/info.json +++ b/keyboards/amjkeyboard/amjpad/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 4 | 18 | "levels": 4 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 8 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h index 247ce81554..1f9e8a3b0a 100644 --- a/keyboards/anavi/macropad8/config.h +++ b/keyboards/anavi/macropad8/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | # define RGBLIGHT_EFFECT_RGB_TEST | 29 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | # define RGBLIGHT_EFFECT_ALTERNATING | 30 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | # define RGBLIGHT_EFFECT_TWINKLE | 31 | # define RGBLIGHT_EFFECT_TWINKLE |
| 32 | # define RGBLED_NUM 4 | ||
| 33 | # define RGBLIGHT_HUE_STEP 10 | 32 | # define RGBLIGHT_HUE_STEP 10 |
| 34 | # define RGBLIGHT_SAT_STEP 17 | 33 | # define RGBLIGHT_SAT_STEP 17 |
| 35 | # define RGBLIGHT_VAL_STEP 17 | 34 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json index 5dd6d5fd01..579f90dde9 100644 --- a/keyboards/anavi/macropad8/info.json +++ b/keyboards/anavi/macropad8/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "breathing": true | 13 | "breathing": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 4, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/aos/tkl/config.h b/keyboards/aos/tkl/config.h index a30a446491..d512e7eb67 100644 --- a/keyboards/aos/tkl/config.h +++ b/keyboards/aos/tkl/config.h | |||
| @@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | # define RGBLIGHT_EFFECT_RGB_TEST | 31 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | # define RGBLIGHT_EFFECT_ALTERNATING | 32 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | # define RGBLIGHT_EFFECT_TWINKLE | 33 | # define RGBLIGHT_EFFECT_TWINKLE |
| 34 | # define RGBLED_NUM 88 | ||
| 35 | # define RGBLIGHT_HUE_STEP 8 | 34 | # define RGBLIGHT_HUE_STEP 8 |
| 36 | # define RGBLIGHT_SAT_STEP 8 | 35 | # define RGBLIGHT_SAT_STEP 8 |
| 37 | # define RGBLIGHT_VAL_STEP 8 | 36 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/aos/tkl/info.json b/keyboards/aos/tkl/info.json index 9b4f70a7ef..9b5ddc6715 100644 --- a/keyboards/aos/tkl/info.json +++ b/keyboards/aos/tkl/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "pin": "E6" | 11 | "pin": "E6" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 88, | ||
| 14 | "max_brightness": 50 | 15 | "max_brightness": 50 |
| 15 | }, | 16 | }, |
| 16 | "matrix_pins": { | 17 | "matrix_pins": { |
diff --git a/keyboards/arabica37/rev1/config.h b/keyboards/arabica37/rev1/config.h deleted file mode 100644 index b2cbbade07..0000000000 --- a/keyboards/arabica37/rev1/config.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #define RGBLED_NUM 50 // Number of LEDs | ||
| 22 | /* | ||
| 23 | * Feature disable options | ||
| 24 | * These options are also useful to firmware size reduction. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* disable debug print */ | ||
| 28 | // #define NO_DEBUG | ||
| 29 | |||
| 30 | /* disable print */ | ||
| 31 | // #define NO_PRINT | ||
| 32 | |||
| 33 | /* disable action features */ | ||
| 34 | //#define NO_ACTION_LAYER | ||
| 35 | //#define NO_ACTION_TAPPING | ||
| 36 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/arabica37/rev1/info.json b/keyboards/arabica37/rev1/info.json index ed04e5eb14..14d0c01cb9 100644 --- a/keyboards/arabica37/rev1/info.json +++ b/keyboards/arabica37/rev1/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 50, | ||
| 20 | "split_count": [25, 25] | 21 | "split_count": [25, 25] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/ares/config.h b/keyboards/ares/config.h index ddc21dae30..d849732a07 100644 --- a/keyboards/ares/config.h +++ b/keyboards/ares/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 16 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ares/info.json b/keyboards/ares/info.json index 81646cb00c..333e883a5e 100644 --- a/keyboards/ares/info.json +++ b/keyboards/ares/info.json | |||
| @@ -22,6 +22,9 @@ | |||
| 22 | "bootmagic": { | 22 | "bootmagic": { |
| 23 | "matrix": [4, 0] | 23 | "matrix": [4, 0] |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | ||
| 26 | "led_count": 16 | ||
| 27 | }, | ||
| 25 | "ws2812": { | 28 | "ws2812": { |
| 26 | "driver": "i2c" | 29 | "driver": "i2c" |
| 27 | }, | 30 | }, |
diff --git a/keyboards/atxkb/1894/config.h b/keyboards/atxkb/1894/config.h index d70b56bd62..8679584d99 100644 --- a/keyboards/atxkb/1894/config.h +++ b/keyboards/atxkb/1894/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/atxkb/1894/info.json b/keyboards/atxkb/1894/info.json index 7e92b02c49..3fda68f587 100644 --- a/keyboards/atxkb/1894/info.json +++ b/keyboards/atxkb/1894/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 14, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/aurora65/config.h b/keyboards/aurora65/config.h index fad29eeec2..9a3ea524bb 100644 --- a/keyboards/aurora65/config.h +++ b/keyboards/aurora65/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define WS2812_DMA_CHANNEL 5 | 26 | #define WS2812_DMA_CHANNEL 5 |
| 27 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB | 27 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB |
| 28 | 28 | ||
| 29 | #define RGBLED_NUM 36 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/aurora65/info.json b/keyboards/aurora65/info.json index fd03acb5bd..3b77986d4c 100644 --- a/keyboards/aurora65/info.json +++ b/keyboards/aurora65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4136", | 8 | "pid": "0x4136", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 36 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B15", | 15 | "pin": "B15", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/avalanche/v2/config.h b/keyboards/avalanche/v2/config.h deleted file mode 100644 index 24c2465bff..0000000000 --- a/keyboards/avalanche/v2/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2022 Vitaly Volkov (@vlkv) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/avalanche/v2/info.json b/keyboards/avalanche/v2/info.json index c96839ee39..62c284a845 100644 --- a/keyboards/avalanche/v2/info.json +++ b/keyboards/avalanche/v2/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 12, | ||
| 22 | "split_count": [6, 6] | 23 | "split_count": [6, 6] |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/avalanche/v3/config.h b/keyboards/avalanche/v3/config.h deleted file mode 100644 index 24c2465bff..0000000000 --- a/keyboards/avalanche/v3/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2022 Vitaly Volkov (@vlkv) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/avalanche/v3/info.json b/keyboards/avalanche/v3/info.json index 4c8a8e4f89..8cf8187df7 100644 --- a/keyboards/avalanche/v3/info.json +++ b/keyboards/avalanche/v3/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "soft_serial_pin": "D2" | 22 | "soft_serial_pin": "D2" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 12, | ||
| 25 | "split_count": [7, 7] | 26 | "split_count": [7, 7] |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h index 030111f9bb..a6a00312fa 100644 --- a/keyboards/avalanche/v4/config.h +++ b/keyboards/avalanche/v4/config.h | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #ifdef RGBLIGHT_ENABLE | 6 | #ifdef RGBLIGHT_ENABLE |
| 7 | # define RGBLED_NUM 64 | ||
| 8 | # define RGBLIGHT_HUE_STEP 10 | 7 | # define RGBLIGHT_HUE_STEP 10 |
| 9 | # define RGBLIGHT_SAT_STEP 17 | 8 | # define RGBLIGHT_SAT_STEP 17 |
| 10 | # define RGBLIGHT_VAL_STEP 17 | 9 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/avalanche/v4/info.json b/keyboards/avalanche/v4/info.json index 10591c3129..ae31c5e560 100644 --- a/keyboards/avalanche/v4/info.json +++ b/keyboards/avalanche/v4/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "D3" | 25 | "pin": "D3" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 64, | ||
| 28 | "max_brightness": 100, | 29 | "max_brightness": 100, |
| 29 | "led_map": [28, 30, 31, 29, 24, 25, 26, 27, 22, 21, 20, 19, 23, 18, 14, 15, 16, 17, 12, 11, 10, 9, 13, 5, 6, 7, 8, 4, 3, 2, 1, 0, 34, 32, 33, 35, 37, 38, 39, 40, 45, 44, 43, 42, 36, 41, 47, 48, 49, 50, 54, 53, 52, 51, 46, 55, 56, 57, 58, 62, 61, 60, 59, 63], | 30 | "led_map": [28, 30, 31, 29, 24, 25, 26, 27, 22, 21, 20, 19, 23, 18, 14, 15, 16, 17, 12, 11, 10, 9, 13, 5, 6, 7, 8, 4, 3, 2, 1, 0, 34, 32, 33, 35, 37, 38, 39, 40, 45, 44, 43, 42, 36, 41, 47, 48, 49, 50, 54, 53, 52, 51, 46, 55, 56, 57, 58, 62, 61, 60, 59, 63], |
| 30 | "split_count": [32, 32] | 31 | "split_count": [32, 32] |
diff --git a/keyboards/aves60/config.h b/keyboards/aves60/config.h index 584594c00d..cdd7d9e3f1 100644 --- a/keyboards/aves60/config.h +++ b/keyboards/aves60/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define RGBLED_NUM 9 | ||
| 7 | //# define RGBLIGHT_HUE_STEP 8 | 6 | //# define RGBLIGHT_HUE_STEP 8 |
| 8 | //# define RGBLIGHT_SAT_STEP 8 | 7 | //# define RGBLIGHT_SAT_STEP 8 |
| 9 | //# define RGBLIGHT_VAL_STEP 8 | 8 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/aves60/info.json b/keyboards/aves60/info.json index eaa74b4fbb..b8c9468f31 100644 --- a/keyboards/aves60/info.json +++ b/keyboards/aves60/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "bootmagic": { | 16 | "bootmagic": { |
| 17 | "matrix": [4, 6] | 17 | "matrix": [4, 6] |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 9 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D5" | 23 | "pin": "D5" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/aves65/config.h b/keyboards/aves65/config.h index 05d7e7fb16..41190f44ed 100644 --- a/keyboards/aves65/config.h +++ b/keyboards/aves65/config.h | |||
| @@ -34,4 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 9 | ||
diff --git a/keyboards/aves65/info.json b/keyboards/aves65/info.json index 38e619a0aa..2cda8da3b1 100644 --- a/keyboards/aves65/info.json +++ b/keyboards/aves65/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "esc_input": "D4", | 17 | "esc_input": "D4", |
| 18 | "esc_output": "D0" | 18 | "esc_output": "D0" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 9 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B0" | 24 | "pin": "B0" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/barleycorn_smd/config.h b/keyboards/barleycorn_smd/config.h index 52681e9a0b..2ed9bc00ba 100644 --- a/keyboards/barleycorn_smd/config.h +++ b/keyboards/barleycorn_smd/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | #define MATRIX_COL_PINS { D4, D6, D7, B4, B5, B6, C6, C7, D5, D5, D5, D5, D5, D5, D5, D5, D5, D5 } | 38 | #define MATRIX_COL_PINS { D4, D6, D7, B4, B5, B6, C6, C7, D5, D5, D5, D5, D5, D5, D5, D5, D5, D5 } |
| 39 | #define PORT_EXPANDER_ADDRESS 0x20 | 39 | #define PORT_EXPANDER_ADDRESS 0x20 |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 15 | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/barleycorn_smd/info.json b/keyboards/barleycorn_smd/info.json index 471369812c..39516649b1 100644 --- a/keyboards/barleycorn_smd/info.json +++ b/keyboards/barleycorn_smd/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "num_lock": "B3" | 13 | "num_lock": "B3" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 15, | ||
| 16 | "led_map": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5] | 17 | "led_map": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5] |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/basekeys/slice/rev1_rgb/config.h b/keyboards/basekeys/slice/rev1_rgb/config.h index c2b9756201..0cd4b1dcc0 100644 --- a/keyboards/basekeys/slice/rev1_rgb/config.h +++ b/keyboards/basekeys/slice/rev1_rgb/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | 28 | ||
| 29 | /* RGB LED */ | 29 | /* RGB LED */ |
| 30 | #ifdef RGBLIGHT_ENABLE | 30 | #ifdef RGBLIGHT_ENABLE |
| 31 | #define RGBLED_NUM 69 // Number of LEDs. backlight x69 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 17 | 32 | #define RGBLIGHT_SAT_STEP 17 |
| 34 | #define RGBLIGHT_VAL_STEP 17 | 33 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/basekeys/slice/rev1_rgb/info.json b/keyboards/basekeys/slice/rev1_rgb/info.json index 94fff43071..6aaf47c131 100644 --- a/keyboards/basekeys/slice/rev1_rgb/info.json +++ b/keyboards/basekeys/slice/rev1_rgb/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 69, | ||
| 23 | "max_brightness": 120, | 24 | "max_brightness": 120, |
| 24 | "split_count": [34, 35] | 25 | "split_count": [34, 35] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/basekeys/trifecta/config.h b/keyboards/basekeys/trifecta/config.h index 85ae15513e..9ad471915f 100644 --- a/keyboards/basekeys/trifecta/config.h +++ b/keyboards/basekeys/trifecta/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | 20 | ||
| 21 | /* RGB LED */ | 21 | /* RGB LED */ |
| 22 | #ifdef RGBLIGHT_ENABLE | 22 | #ifdef RGBLIGHT_ENABLE |
| 23 | #define RGBLED_NUM 80 // Number of LEDs. backlight x69 | ||
| 24 | #define RGBLIGHT_HUE_STEP 10 | 23 | #define RGBLIGHT_HUE_STEP 10 |
| 25 | #define RGBLIGHT_SAT_STEP 17 | 24 | #define RGBLIGHT_SAT_STEP 17 |
| 26 | #define RGBLIGHT_VAL_STEP 17 | 25 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/basekeys/trifecta/info.json b/keyboards/basekeys/trifecta/info.json index 3cc2c19f8b..cb3126f521 100644 --- a/keyboards/basekeys/trifecta/info.json +++ b/keyboards/basekeys/trifecta/info.json | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | "pin": "E6" | 27 | "pin": "E6" |
| 28 | }, | 28 | }, |
| 29 | "rgblight": { | 29 | "rgblight": { |
| 30 | "led_count": 80, | ||
| 30 | "max_brightness": 128 | 31 | "max_brightness": 128 |
| 31 | }, | 32 | }, |
| 32 | "processor": "atmega32u4", | 33 | "processor": "atmega32u4", |
diff --git a/keyboards/bastardkb/dilemma/3x5_3/config.h b/keyboards/bastardkb/dilemma/3x5_3/config.h index 16f48788c1..8604597ff8 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/config.h +++ b/keyboards/bastardkb/dilemma/3x5_3/config.h | |||
| @@ -41,13 +41,10 @@ | |||
| 41 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 | 41 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 |
| 42 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U | 42 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U |
| 43 | 43 | ||
| 44 | /* RGB settings. */ | ||
| 45 | #define RGBLED_NUM 36 | ||
| 46 | |||
| 47 | /* RGB matrix support. */ | 44 | /* RGB matrix support. */ |
| 48 | #ifdef RGB_MATRIX_ENABLE | 45 | #ifdef RGB_MATRIX_ENABLE |
| 49 | # define SPLIT_TRANSPORT_MIRROR | 46 | # define SPLIT_TRANSPORT_MIRROR |
| 50 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 47 | # define RGB_MATRIX_LED_COUNT 36 |
| 51 | # define RGB_MATRIX_SPLIT { 18, 18 } | 48 | # define RGB_MATRIX_SPLIT { 18, 18 } |
| 52 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 | 49 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 |
| 53 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 50 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
diff --git a/keyboards/bastardkb/scylla/config.h b/keyboards/bastardkb/scylla/config.h index 7270ee253a..33c62549a1 100644 --- a/keyboards/bastardkb/scylla/config.h +++ b/keyboards/bastardkb/scylla/config.h | |||
| @@ -18,13 +18,10 @@ | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | /* RGB settings. */ | ||
| 22 | #define RGBLED_NUM 58 | ||
| 23 | |||
| 24 | /* RGB matrix support. */ | 21 | /* RGB matrix support. */ |
| 25 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 26 | # define SPLIT_TRANSPORT_MIRROR | 23 | # define SPLIT_TRANSPORT_MIRROR |
| 27 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 24 | # define RGB_MATRIX_LED_COUNT 58 |
| 28 | # define RGB_MATRIX_SPLIT { 29, 29 } | 25 | # define RGB_MATRIX_SPLIT { 29, 29 } |
| 29 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 | 26 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 |
| 30 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 27 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
diff --git a/keyboards/bastardkb/scylla/info.json b/keyboards/bastardkb/scylla/info.json index 95f1de9ff1..24a0262bee 100644 --- a/keyboards/bastardkb/scylla/info.json +++ b/keyboards/bastardkb/scylla/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "pid": "0x1829" | 4 | "pid": "0x1829" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 58, | ||
| 7 | "split_count": [29, 29] | 8 | "split_count": [29, 29] |
| 8 | }, | 9 | }, |
| 9 | "layouts": { | 10 | "layouts": { |
diff --git a/keyboards/bastardkb/skeletyl/config.h b/keyboards/bastardkb/skeletyl/config.h index 76e75a04e6..a7f9c94387 100644 --- a/keyboards/bastardkb/skeletyl/config.h +++ b/keyboards/bastardkb/skeletyl/config.h | |||
| @@ -18,13 +18,10 @@ | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | /* RGB settings. */ | ||
| 22 | #define RGBLED_NUM 36 | ||
| 23 | |||
| 24 | /* RGB matrix support. */ | 21 | /* RGB matrix support. */ |
| 25 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 26 | # define SPLIT_TRANSPORT_MIRROR | 23 | # define SPLIT_TRANSPORT_MIRROR |
| 27 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 24 | # define RGB_MATRIX_LED_COUNT 36 |
| 28 | # define RGB_MATRIX_SPLIT { 18, 18 } | 25 | # define RGB_MATRIX_SPLIT { 18, 18 } |
| 29 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 | 26 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 |
| 30 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 27 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
diff --git a/keyboards/bastardkb/skeletyl/info.json b/keyboards/bastardkb/skeletyl/info.json index 4373d64109..b4bb9ea78e 100644 --- a/keyboards/bastardkb/skeletyl/info.json +++ b/keyboards/bastardkb/skeletyl/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "pid": "0x1830" | 4 | "pid": "0x1830" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 36, | ||
| 7 | "split_count": [18, 18] | 8 | "split_count": [18, 18] |
| 8 | }, | 9 | }, |
| 9 | "community_layouts": ["split_3x5_3"], | 10 | "community_layouts": ["split_3x5_3"], |
diff --git a/keyboards/bastardkb/tbk/config.h b/keyboards/bastardkb/tbk/config.h index 1bea55ef8e..19ec26d148 100644 --- a/keyboards/bastardkb/tbk/config.h +++ b/keyboards/bastardkb/tbk/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 38 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/bastardkb/tbk/info.json b/keyboards/bastardkb/tbk/info.json index 2256365a76..62db6d741f 100644 --- a/keyboards/bastardkb/tbk/info.json +++ b/keyboards/bastardkb/tbk/info.json | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | "pid": "0x1828" | 6 | "pid": "0x1828" |
| 7 | }, | 7 | }, |
| 8 | "rgblight": { | 8 | "rgblight": { |
| 9 | "led_count": 38, | ||
| 9 | "split_count": [19, 19] | 10 | "split_count": [19, 19] |
| 10 | }, | 11 | }, |
| 11 | "ws2812": { | 12 | "ws2812": { |
diff --git a/keyboards/bastardkb/tbkmini/config.h b/keyboards/bastardkb/tbkmini/config.h index 8774c0bbde..ea18f4349e 100644 --- a/keyboards/bastardkb/tbkmini/config.h +++ b/keyboards/bastardkb/tbkmini/config.h | |||
| @@ -18,13 +18,10 @@ | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | /* RGB settings. */ | ||
| 22 | #define RGBLED_NUM 42 | ||
| 23 | |||
| 24 | /* RGB matrix support. */ | 21 | /* RGB matrix support. */ |
| 25 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 26 | # define SPLIT_TRANSPORT_MIRROR | 23 | # define SPLIT_TRANSPORT_MIRROR |
| 27 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 24 | # define RGB_MATRIX_LED_COUNT 42 |
| 28 | # define RGB_MATRIX_SPLIT { 21, 21 } | 25 | # define RGB_MATRIX_SPLIT { 21, 21 } |
| 29 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 | 26 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 |
| 30 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 27 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
diff --git a/keyboards/bastardkb/tbkmini/info.json b/keyboards/bastardkb/tbkmini/info.json index 518cfbf801..ec0433d387 100644 --- a/keyboards/bastardkb/tbkmini/info.json +++ b/keyboards/bastardkb/tbkmini/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "pid": "0x1828" | 4 | "pid": "0x1828" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 42, | ||
| 7 | "split_count": [21, 21] | 8 | "split_count": [21, 21] |
| 8 | }, | 9 | }, |
| 9 | "community_layouts": ["split_3x6_3"], | 10 | "community_layouts": ["split_3x6_3"], |
diff --git a/keyboards/bbrfkr/dynamis/config.h b/keyboards/bbrfkr/dynamis/config.h index 4cad8086cd..ee41aaec4e 100644 --- a/keyboards/bbrfkr/dynamis/config.h +++ b/keyboards/bbrfkr/dynamis/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* rgb num */ | 19 | /* rgb num */ |
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/bbrfkr/dynamis/info.json b/keyboards/bbrfkr/dynamis/info.json index c9f403a045..b3f9c6d2aa 100644 --- a/keyboards/bbrfkr/dynamis/info.json +++ b/keyboards/bbrfkr/dynamis/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B7", "pin_b": "E6"} | 18 | {"pin_a": "B7", "pin_b": "E6"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 10 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D3" | 25 | "pin": "D3" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/bemeier/bmek/config.h b/keyboards/bemeier/bmek/config.h index 6c147e6368..501b9fb83d 100755 --- a/keyboards/bemeier/bmek/config.h +++ b/keyboards/bemeier/bmek/config.h | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_MODE_STATIC_GRADIENT | 24 | #define RGBLIGHT_MODE_STATIC_GRADIENT |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 6 | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 28 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bemeier/bmek/rev1/info.json b/keyboards/bemeier/bmek/rev1/info.json index c50cae166e..a6aaad0c14 100644 --- a/keyboards/bemeier/bmek/rev1/info.json +++ b/keyboards/bemeier/bmek/rev1/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 6 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "E6" | 9 | "pin": "E6" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/bemeier/bmek/rev2/info.json b/keyboards/bemeier/bmek/rev2/info.json index 1ac54f5c79..c422570e61 100644 --- a/keyboards/bemeier/bmek/rev2/info.json +++ b/keyboards/bemeier/bmek/rev2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.2" | 3 | "device_version": "0.0.2" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 6 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "E6" | 9 | "pin": "E6" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/bemeier/bmek/rev3/info.json b/keyboards/bemeier/bmek/rev3/info.json index c951ca8e43..d060bb75e5 100644 --- a/keyboards/bemeier/bmek/rev3/info.json +++ b/keyboards/bemeier/bmek/rev3/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.3" | 3 | "device_version": "0.0.3" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 6 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "E6" | 9 | "pin": "E6" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/bfake/config.h b/keyboards/bfake/config.h index ddc21dae30..d849732a07 100644 --- a/keyboards/bfake/config.h +++ b/keyboards/bfake/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 16 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/bfake/info.json b/keyboards/bfake/info.json index 374e337792..3f449b1ca2 100644 --- a/keyboards/bfake/info.json +++ b/keyboards/bfake/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/biacco42/ergo42/rev1/config.h b/keyboards/biacco42/ergo42/rev1/config.h index 8f990eb8ed..179b117243 100644 --- a/keyboards/biacco42/ergo42/rev1/config.h +++ b/keyboards/biacco42/ergo42/rev1/config.h | |||
| @@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | /* ws2812 RGB LED */ | ||
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 29 | |||
| 30 | /* | 27 | /* |
| 31 | * Feature disable options | 28 | * Feature disable options |
| 32 | * These options are also useful to firmware size reduction. | 29 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/biacco42/ergo42/rev1/info.json b/keyboards/biacco42/ergo42/rev1/info.json index 96ecd7010e..67f27ad612 100644 --- a/keyboards/biacco42/ergo42/rev1/info.json +++ b/keyboards/biacco42/ergo42/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0042", | 8 | "pid": "0x0042", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/bioi/f60/config.h b/keyboards/bioi/f60/config.h index 0962b26add..4854b8fe29 100644 --- a/keyboards/bioi/f60/config.h +++ b/keyboards/bioi/f60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 5 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bioi/f60/info.json b/keyboards/bioi/f60/info.json index 3755b0a854..fca89f39ab 100644 --- a/keyboards/bioi/f60/info.json +++ b/keyboards/bioi/f60/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 5, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/bioi/g60/config.h b/keyboards/bioi/g60/config.h index d1039d0896..a354915353 100644 --- a/keyboards/bioi/g60/config.h +++ b/keyboards/bioi/g60/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bioi/g60/info.json b/keyboards/bioi/g60/info.json index 10a92de946..13a55777a3 100644 --- a/keyboards/bioi/g60/info.json +++ b/keyboards/bioi/g60/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 12 | 18 | "levels": 12 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 8 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B1" | 24 | "pin": "B1" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/bioi/g60ble/config.h b/keyboards/bioi/g60ble/config.h index 24ced1fc0a..55023da704 100644 --- a/keyboards/bioi/g60ble/config.h +++ b/keyboards/bioi/g60ble/config.h | |||
| @@ -11,7 +11,6 @@ | |||
| 11 | #define RGBLIGHT_EFFECT_RGB_TEST | 11 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 12 | #define RGBLIGHT_EFFECT_ALTERNATING | 12 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 13 | #define RGBLIGHT_EFFECT_TWINKLE | 13 | #define RGBLIGHT_EFFECT_TWINKLE |
| 14 | #define RGBLED_NUM 36 | ||
| 15 | #define RGBLIGHT_HUE_STEP 8 | 14 | #define RGBLIGHT_HUE_STEP 8 |
| 16 | #define RGBLIGHT_SAT_STEP 8 | 15 | #define RGBLIGHT_SAT_STEP 8 |
| 17 | #define RGBLIGHT_VAL_STEP 8 | 16 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bioi/g60ble/info.json b/keyboards/bioi/g60ble/info.json index 2b835f7c48..92f9ed74a6 100644 --- a/keyboards/bioi/g60ble/info.json +++ b/keyboards/bioi/g60ble/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 8 | 18 | "levels": 8 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 36 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B1" | 24 | "pin": "B1" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/bioi/morgan65/config.h b/keyboards/bioi/morgan65/config.h index 93ab008b66..69f952fd74 100644 --- a/keyboards/bioi/morgan65/config.h +++ b/keyboards/bioi/morgan65/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bioi/morgan65/info.json b/keyboards/bioi/morgan65/info.json index c3fced4f78..d9fdd5cf0f 100644 --- a/keyboards/bioi/morgan65/info.json +++ b/keyboards/bioi/morgan65/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 12 | 18 | "levels": 12 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 8 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B1" | 24 | "pin": "B1" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/bioi/s65/config.h b/keyboards/bioi/s65/config.h index 13f5533c9f..63a9661dc2 100644 --- a/keyboards/bioi/s65/config.h +++ b/keyboards/bioi/s65/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 8 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bioi/s65/info.json b/keyboards/bioi/s65/info.json index a3a783b61f..cbdc84e225 100644 --- a/keyboards/bioi/s65/info.json +++ b/keyboards/bioi/s65/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 12 | 18 | "levels": 12 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 8 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/blackplum/config.h b/keyboards/blackplum/config.h index 8afaae2f62..387afe71b6 100644 --- a/keyboards/blackplum/config.h +++ b/keyboards/blackplum/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #define RGBLIGHT_EFFECT_RGB_TEST | 18 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 19 | #define RGBLIGHT_EFFECT_ALTERNATING | 19 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 20 | #define RGBLIGHT_EFFECT_TWINKLE | 20 | #define RGBLIGHT_EFFECT_TWINKLE |
| 21 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 22 | #define RGBLIGHT_HUE_STEP 10 | 21 | #define RGBLIGHT_HUE_STEP 10 |
| 23 | #define RGBLIGHT_SAT_STEP 10 | 22 | #define RGBLIGHT_SAT_STEP 10 |
| 24 | #define RGBLIGHT_VAL_STEP 10 | 23 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/blackplum/info.json b/keyboards/blackplum/info.json index b83ade591f..703112e6ed 100644 --- a/keyboards/blackplum/info.json +++ b/keyboards/blackplum/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "10.0.1" | 9 | "device_version": "10.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/blockboy/ac980mini/config.h b/keyboards/blockboy/ac980mini/config.h index 57ba70ec11..e9b841acbe 100644 --- a/keyboards/blockboy/ac980mini/config.h +++ b/keyboards/blockboy/ac980mini/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | // RGB configuration | 6 | // RGB configuration |
| 7 | // The number of LEDs connected | 7 | // The number of LEDs connected |
| 8 | #define RGB_MATRIX_LED_COUNT 81 | 8 | #define RGB_MATRIX_LED_COUNT 81 |
| 9 | # define RGBLED_NUM 81 | ||
| 10 | 9 | ||
| 11 | #ifdef RGB_MATRIX_ENABLE | 10 | #ifdef RGB_MATRIX_ENABLE |
| 12 | //# define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 11 | //# define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
diff --git a/keyboards/blockey/config.h b/keyboards/blockey/config.h index 9b796dcece..8e9d0269d4 100644 --- a/keyboards/blockey/config.h +++ b/keyboards/blockey/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | #define RGBLIGHT_HUE_STEP 10 | 20 | #define RGBLIGHT_HUE_STEP 10 |
| 22 | #define RGBLIGHT_SAT_STEP 17 | 21 | #define RGBLIGHT_SAT_STEP 17 |
| 23 | 22 | ||
diff --git a/keyboards/blockey/info.json b/keyboards/blockey/info.json index 044d1e9e1a..6ea001d29d 100644 --- a/keyboards/blockey/info.json +++ b/keyboards/blockey/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1" | 15 | "pin": "B1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/bluebell/swoop/config.h b/keyboards/bluebell/swoop/config.h index 41acb0598a..40f2147bb6 100644 --- a/keyboards/bluebell/swoop/config.h +++ b/keyboards/bluebell/swoop/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 29 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLED_NUM 36 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 17 | 32 | #define RGBLIGHT_SAT_STEP 17 |
| 34 | #define RGBLIGHT_VAL_STEP 17 | 33 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/bluebell/swoop/info.json b/keyboards/bluebell/swoop/info.json index c8e753bc0f..6eb40cf6be 100644 --- a/keyboards/bluebell/swoop/info.json +++ b/keyboards/bluebell/swoop/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 36, | ||
| 15 | "max_brightness": 150, | 16 | "max_brightness": 150, |
| 16 | "sleep": true, | 17 | "sleep": true, |
| 17 | "split_count": [18, 18] | 18 | "split_count": [18, 18] |
diff --git a/keyboards/boardrun/bizarre/config.h b/keyboards/boardrun/bizarre/config.h index a367b59dd3..81259c561a 100644 --- a/keyboards/boardrun/bizarre/config.h +++ b/keyboards/boardrun/bizarre/config.h | |||
| @@ -47,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define RGBLIGHT_EFFECT_RGB_TEST | 47 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 48 | #define RGBLIGHT_EFFECT_ALTERNATING | 48 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 49 | #define RGBLIGHT_EFFECT_TWINKLE | 49 | #define RGBLIGHT_EFFECT_TWINKLE |
| 50 | #define RGBLED_NUM 15 // number of LEDs | ||
| 51 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 50 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 52 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | 51 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation |
| 53 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 52 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/boardrun/bizarre/info.json b/keyboards/boardrun/bizarre/info.json index 8c6253965b..ed7f0f6728 100644 --- a/keyboards/boardrun/bizarre/info.json +++ b/keyboards/boardrun/bizarre/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "pid": "0x5339", | 9 | "pid": "0x5339", |
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 15 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B7" | 16 | "pin": "B7" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/boardrun/classic/config.h b/keyboards/boardrun/classic/config.h index a1d1a3a544..81259c561a 100644 --- a/keyboards/boardrun/classic/config.h +++ b/keyboards/boardrun/classic/config.h | |||
| @@ -47,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define RGBLIGHT_EFFECT_RGB_TEST | 47 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 48 | #define RGBLIGHT_EFFECT_ALTERNATING | 48 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 49 | #define RGBLIGHT_EFFECT_TWINKLE | 49 | #define RGBLIGHT_EFFECT_TWINKLE |
| 50 | #define RGBLED_NUM 14 // number of LEDs | ||
| 51 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 50 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 52 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | 51 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation |
| 53 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 52 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/boardrun/classic/info.json b/keyboards/boardrun/classic/info.json index 8259afcdcc..01fcbac488 100644 --- a/keyboards/boardrun/classic/info.json +++ b/keyboards/boardrun/classic/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "pid": "0x5338", | 9 | "pid": "0x5338", |
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 14 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B7" | 16 | "pin": "B7" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/boardwalk/config.h b/keyboards/boardwalk/config.h index a1d1a3a544..81259c561a 100644 --- a/keyboards/boardwalk/config.h +++ b/keyboards/boardwalk/config.h | |||
| @@ -47,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define RGBLIGHT_EFFECT_RGB_TEST | 47 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 48 | #define RGBLIGHT_EFFECT_ALTERNATING | 48 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 49 | #define RGBLIGHT_EFFECT_TWINKLE | 49 | #define RGBLIGHT_EFFECT_TWINKLE |
| 50 | #define RGBLED_NUM 14 // number of LEDs | ||
| 51 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 50 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 52 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | 51 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation |
| 53 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 52 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/boardwalk/info.json b/keyboards/boardwalk/info.json index 8a04fc121e..9dfa734cd3 100644 --- a/keyboards/boardwalk/info.json +++ b/keyboards/boardwalk/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5337", | 8 | "pid": "0x5337", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/bolsa/bolsalice/config.h b/keyboards/bolsa/bolsalice/config.h index 5984e77c9f..a39d95e2b3 100644 --- a/keyboards/bolsa/bolsalice/config.h +++ b/keyboards/bolsa/bolsalice/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 8 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bolsa/bolsalice/info.json b/keyboards/bolsa/bolsalice/info.json index 8f71a4eff8..933bac1f7f 100644 --- a/keyboards/bolsa/bolsalice/info.json +++ b/keyboards/bolsa/bolsalice/info.json | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | 9 | "rgblight": { |
| 10 | "led_count": 8, | ||
| 10 | "sleep": true | 11 | "sleep": true |
| 11 | }, | 12 | }, |
| 12 | "ws2812": { | 13 | "ws2812": { |
diff --git a/keyboards/boston/config.h b/keyboards/boston/config.h index 1dcbcdb5b8..eae2fc4554 100644 --- a/keyboards/boston/config.h +++ b/keyboards/boston/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | /* Define RGBLED */ | 28 | /* Define RGBLED */ |
| 29 | #define RGBLED_NUM 1 | ||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/boston/info.json b/keyboards/boston/info.json index 76d6cb41ab..5b30bdc00c 100644 --- a/keyboards/boston/info.json +++ b/keyboards/boston/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "levels": 6, | 23 | "levels": 6, |
| 24 | "breathing": true | 24 | "breathing": true |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 1 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "A5" | 30 | "pin": "A5" |
| 28 | }, | 31 | }, |
diff --git a/keyboards/boston_meetup/2019/config.h b/keyboards/boston_meetup/2019/config.h index d609409cb5..4ed063f738 100644 --- a/keyboards/boston_meetup/2019/config.h +++ b/keyboards/boston_meetup/2019/config.h | |||
| @@ -96,8 +96,7 @@ | |||
| 96 | #define RGBLIGHT_EFFECT_ALTERNATING | 96 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 97 | #define RGBLIGHT_EFFECT_TWINKLE | 97 | #define RGBLIGHT_EFFECT_TWINKLE |
| 98 | 98 | ||
| 99 | #define RGBLED_NUM 10 | 99 | #define RGB_MATRIX_LED_COUNT 10 |
| 100 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 101 | 100 | ||
| 102 | #define RGB_MATRIX_KEYPRESSES | 101 | #define RGB_MATRIX_KEYPRESSES |
| 103 | 102 | ||
diff --git a/keyboards/boston_meetup/2019/info.json b/keyboards/boston_meetup/2019/info.json index d50e92e17c..5260ffabe1 100644 --- a/keyboards/boston_meetup/2019/info.json +++ b/keyboards/boston_meetup/2019/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | {"pin_a": "B13", "pin_b": "B14"} | 15 | {"pin_a": "B13", "pin_b": "B14"} |
| 16 | ] | 16 | ] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 10 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "B5" | 22 | "pin": "B5" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/bpiphany/four_banger/config.h b/keyboards/bpiphany/four_banger/config.h index 2dae864ddb..401de718c1 100644 --- a/keyboards/bpiphany/four_banger/config.h +++ b/keyboards/bpiphany/four_banger/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/bpiphany/four_banger/info.json b/keyboards/bpiphany/four_banger/info.json index ce9b4a7ec5..748434020f 100644 --- a/keyboards/bpiphany/four_banger/info.json +++ b/keyboards/bpiphany/four_banger/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2004", | 8 | "pid": "0x2004", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/bt66tech/bt66tech60/config.h b/keyboards/bt66tech/bt66tech60/config.h index 687baec509..4c46487b4f 100644 --- a/keyboards/bt66tech/bt66tech60/config.h +++ b/keyboards/bt66tech/bt66tech60/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 9 | ||
| 39 | #define WS2812_SPI SPID2 | 38 | #define WS2812_SPI SPID2 |
| 40 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 39 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
| 41 | /* | 40 | /* |
diff --git a/keyboards/bt66tech/bt66tech60/info.json b/keyboards/bt66tech/bt66tech60/info.json index e4a2d5b1d6..5c5ca57a1a 100644 --- a/keyboards/bt66tech/bt66tech60/info.json +++ b/keyboards/bt66tech/bt66tech60/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "levels": 6, | 19 | "levels": 6, |
| 20 | "breathing": true | 20 | "breathing": true |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 9 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "B15", | 26 | "pin": "B15", |
| 24 | "driver": "spi" | 27 | "driver": "spi" |
diff --git a/keyboards/bubble75/hotswap/config.h b/keyboards/bubble75/hotswap/config.h index df83257ebd..08f82e3306 100644 --- a/keyboards/bubble75/hotswap/config.h +++ b/keyboards/bubble75/hotswap/config.h | |||
| @@ -24,7 +24,6 @@ | |||
| 24 | 24 | ||
| 25 | /* WS2812 RGB */ | 25 | /* WS2812 RGB */ |
| 26 | #ifdef RGB_MATRIX_ENABLE | 26 | #ifdef RGB_MATRIX_ENABLE |
| 27 | #define RGBLED_NUM 81 | ||
| 28 | #define RGB_MATRIX_LED_COUNT 81 | 27 | #define RGB_MATRIX_LED_COUNT 81 |
| 29 | #define RGBLIGHT_HUE_STEP 8 | 28 | #define RGBLIGHT_HUE_STEP 8 |
| 30 | #define RGBLIGHT_SAT_STEP 8 | 29 | #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/buildakb/potato65/config.h b/keyboards/buildakb/potato65/config.h index f5b8fc1864..29e6fe29ff 100644 --- a/keyboards/buildakb/potato65/config.h +++ b/keyboards/buildakb/potato65/config.h | |||
| @@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define RGBLIGHT_EFFECT_RGB_TEST | 48 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 49 | #define RGBLIGHT_EFFECT_ALTERNATING | 49 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 50 | #define RGBLIGHT_EFFECT_TWINKLE | 50 | #define RGBLIGHT_EFFECT_TWINKLE |
| 51 | #define RGBLED_NUM 14 | ||
| 52 | #define RGBLIGHT_HUE_STEP 8 | 51 | #define RGBLIGHT_HUE_STEP 8 |
| 53 | #define RGBLIGHT_SAT_STEP 8 | 52 | #define RGBLIGHT_SAT_STEP 8 |
| 54 | #define RGBLIGHT_VAL_STEP 8 | 53 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/buildakb/potato65/info.json b/keyboards/buildakb/potato65/info.json index 629d44a069..f09ef1b10d 100644 --- a/keyboards/buildakb/potato65/info.json +++ b/keyboards/buildakb/potato65/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B1" | 12 | "pin": "B1" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 14, | ||
| 15 | "max_brightness": 240, | 16 | "max_brightness": 240, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/buildakb/potato65hs/config.h b/keyboards/buildakb/potato65hs/config.h index abba327159..29ca85813e 100644 --- a/keyboards/buildakb/potato65hs/config.h +++ b/keyboards/buildakb/potato65hs/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | # define RGBLED_NUM 16 | ||
| 37 | # define RGBLIGHT_HUE_STEP 8 | 36 | # define RGBLIGHT_HUE_STEP 8 |
| 38 | # define RGBLIGHT_SAT_STEP 8 | 37 | # define RGBLIGHT_SAT_STEP 8 |
| 39 | # define RGBLIGHT_VAL_STEP 8 | 38 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/buildakb/potato65hs/info.json b/keyboards/buildakb/potato65hs/info.json index 03ebbb7273..6b5d8b70e3 100644 --- a/keyboards/buildakb/potato65hs/info.json +++ b/keyboards/buildakb/potato65hs/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D5" | 12 | "pin": "D5" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 16, | ||
| 15 | "max_brightness": 240, | 16 | "max_brightness": 240, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/buildakb/potato65s/config.h b/keyboards/buildakb/potato65s/config.h index cfbf9cd7be..719c9092cf 100644 --- a/keyboards/buildakb/potato65s/config.h +++ b/keyboards/buildakb/potato65s/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | # define RGBLIGHT_EFFECT_RGB_TEST | 33 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | # define RGBLIGHT_EFFECT_ALTERNATING | 34 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | # define RGBLIGHT_EFFECT_TWINKLE | 35 | # define RGBLIGHT_EFFECT_TWINKLE |
| 36 | # define RGBLED_NUM 16 | ||
| 37 | # define RGBLIGHT_HUE_STEP 8 | 36 | # define RGBLIGHT_HUE_STEP 8 |
| 38 | # define RGBLIGHT_SAT_STEP 8 | 37 | # define RGBLIGHT_SAT_STEP 8 |
| 39 | # define RGBLIGHT_VAL_STEP 8 | 38 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/buildakb/potato65s/info.json b/keyboards/buildakb/potato65s/info.json index 80b6deb8cd..397948075a 100644 --- a/keyboards/buildakb/potato65s/info.json +++ b/keyboards/buildakb/potato65s/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D5" | 12 | "pin": "D5" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 16, | ||
| 15 | "max_brightness": 240, | 16 | "max_brightness": 240, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h index e231d8d5ae..c1712f8c73 100644 --- a/keyboards/cablecardesigns/cypher/rev6/config.h +++ b/keyboards/cablecardesigns/cypher/rev6/config.h | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | /* Locking resynchronize hack */ | 7 | /* Locking resynchronize hack */ |
| 8 | #define LOCKING_RESYNC_ENABLE | 8 | #define LOCKING_RESYNC_ENABLE |
| 9 | 9 | ||
| 10 | #define RGBLED_NUM 3 | ||
| 11 | #define RGBLIGHT_HUE_STEP 12 | 10 | #define RGBLIGHT_HUE_STEP 12 |
| 12 | #define RGBLIGHT_SAT_STEP 25 | 11 | #define RGBLIGHT_SAT_STEP 25 |
| 13 | #define RGBLIGHT_VAL_STEP 12 | 12 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/cablecardesigns/cypher/rev6/info.json b/keyboards/cablecardesigns/cypher/rev6/info.json index 6c958466a8..5e5c0ac6d3 100644 --- a/keyboards/cablecardesigns/cypher/rev6/info.json +++ b/keyboards/cablecardesigns/cypher/rev6/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 3, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/canary/canary60rgb/info.json b/keyboards/canary/canary60rgb/info.json index bc9be65e9b..a4da332022 100644 --- a/keyboards/canary/canary60rgb/info.json +++ b/keyboards/canary/canary60rgb/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 20, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/canary/canary60rgb/v1/config.h b/keyboards/canary/canary60rgb/v1/config.h index 6ba52ece7e..d0304cbada 100644 --- a/keyboards/canary/canary60rgb/v1/config.h +++ b/keyboards/canary/canary60rgb/v1/config.h | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | # define RGBLIGHT_EFFECT_RGB_TEST | 25 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 26 | # define RGBLIGHT_EFFECT_ALTERNATING | 26 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 27 | # define RGBLIGHT_EFFECT_TWINKLE | 27 | # define RGBLIGHT_EFFECT_TWINKLE |
| 28 | # define RGBLED_NUM 20 | ||
| 29 | # define RGBLIGHT_HUE_STEP 8 | 28 | # define RGBLIGHT_HUE_STEP 8 |
| 30 | # define RGBLIGHT_SAT_STEP 8 | 29 | # define RGBLIGHT_SAT_STEP 8 |
| 31 | # define RGBLIGHT_VAL_STEP 8 | 30 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cannonkeys/adelie/config.h b/keyboards/cannonkeys/adelie/config.h index 790a4284a0..97dcf8d3cb 100644 --- a/keyboards/cannonkeys/adelie/config.h +++ b/keyboards/cannonkeys/adelie/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 3 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cannonkeys/adelie/info.json b/keyboards/cannonkeys/adelie/info.json index 61bbb842b1..0c2831edc8 100644 --- a/keyboards/cannonkeys/adelie/info.json +++ b/keyboards/cannonkeys/adelie/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 3, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h index aced1f333c..e84ffc5e99 100644 --- a/keyboards/cannonkeys/an_c/config.h +++ b/keyboards/cannonkeys/an_c/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 14 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/an_c/info.json b/keyboards/cannonkeys/an_c/info.json index d3b73e3109..370fb9caf4 100644 --- a/keyboards/cannonkeys/an_c/info.json +++ b/keyboards/cannonkeys/an_c/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 14 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/atlas/config.h b/keyboards/cannonkeys/atlas/config.h index 1296ad8dcc..b5bcb93ba7 100644 --- a/keyboards/cannonkeys/atlas/config.h +++ b/keyboards/cannonkeys/atlas/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | #define WS2812_SPI SPID2 | 37 | #define WS2812_SPI SPID2 |
| 38 | #define RGBLED_NUM 22 | ||
| 39 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 38 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 40 | #define WS2812_SPI_SCK_PAL_MODE 0 | 39 | #define WS2812_SPI_SCK_PAL_MODE 0 |
| 41 | #define WS2812_SPI_SCK_PIN B13 | 40 | #define WS2812_SPI_SCK_PIN B13 |
diff --git a/keyboards/cannonkeys/atlas/info.json b/keyboards/cannonkeys/atlas/info.json index 6fc7724b2b..873c1c0c4d 100644 --- a/keyboards/cannonkeys/atlas/info.json +++ b/keyboards/cannonkeys/atlas/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xA7A5", | 8 | "pid": "0xA7A5", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 22 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B15", | 15 | "pin": "B15", |
| 13 | "driver": "spi" | 16 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/atlas_alps/config.h b/keyboards/cannonkeys/atlas_alps/config.h index 7e6ce9cdb9..6a11ca9db2 100644 --- a/keyboards/cannonkeys/atlas_alps/config.h +++ b/keyboards/cannonkeys/atlas_alps/config.h | |||
| @@ -34,7 +34,6 @@ | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 36 | ||
| 38 | #define RGBLIGHT_HUE_STEP 12 | 37 | #define RGBLIGHT_HUE_STEP 12 |
| 39 | #define RGBLIGHT_SAT_STEP 12 | 38 | #define RGBLIGHT_SAT_STEP 12 |
| 40 | #define RGBLIGHT_VAL_STEP 12 | 39 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/cannonkeys/atlas_alps/info.json b/keyboards/cannonkeys/atlas_alps/info.json index ee584b24d2..183cd755e0 100644 --- a/keyboards/cannonkeys/atlas_alps/info.json +++ b/keyboards/cannonkeys/atlas_alps/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D4" | 12 | "pin": "D4" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 36, | ||
| 15 | "max_brightness": 230 | 16 | "max_brightness": 230 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/cannonkeys/cloudline/config.h b/keyboards/cannonkeys/cloudline/config.h index a3fc30fc3d..62e3dd37aa 100644 --- a/keyboards/cannonkeys/cloudline/config.h +++ b/keyboards/cannonkeys/cloudline/config.h | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | /* Locking resynchronize hack */ | 12 | /* Locking resynchronize hack */ |
| 13 | #define LOCKING_RESYNC_ENABLE | 13 | #define LOCKING_RESYNC_ENABLE |
| 14 | 14 | ||
| 15 | #define RGBLED_NUM 20 | ||
| 16 | #define WS2812_SPI SPID2 | 15 | #define WS2812_SPI SPID2 |
| 17 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 16 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 18 | #define WS2812_SPI_SCK_PAL_MODE 0 | 17 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/cloudline/info.json b/keyboards/cannonkeys/cloudline/info.json index 37fc5470f9..a84a6f6a06 100644 --- a/keyboards/cannonkeys/cloudline/info.json +++ b/keyboards/cannonkeys/cloudline/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x000A", | 8 | "pid": "0x000A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 20 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B15", | 15 | "pin": "B15", |
| 13 | "driver": "spi" | 16 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/db60/config.h b/keyboards/cannonkeys/db60/config.h index 20f73d95a2..e84ffc5e99 100644 --- a/keyboards/cannonkeys/db60/config.h +++ b/keyboards/cannonkeys/db60/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 40 | #define RGBLED_NUM 20 | ||
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
| 43 | #define WS2812_SPI_SCK_PIN B13 | 42 | #define WS2812_SPI_SCK_PIN B13 |
diff --git a/keyboards/cannonkeys/db60/info.json b/keyboards/cannonkeys/db60/info.json index 99a4425752..4c653de1be 100644 --- a/keyboards/cannonkeys/db60/info.json +++ b/keyboards/cannonkeys/db60/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "levels": 6, | 16 | "levels": 6, |
| 17 | "breathing": true | 17 | "breathing": true |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B15", | 23 | "pin": "B15", |
| 21 | "driver": "spi" | 24 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/devastatingtkl/config.h b/keyboards/cannonkeys/devastatingtkl/config.h index 947648f59e..e84ffc5e99 100644 --- a/keyboards/cannonkeys/devastatingtkl/config.h +++ b/keyboards/cannonkeys/devastatingtkl/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 20 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/devastatingtkl/info.json b/keyboards/cannonkeys/devastatingtkl/info.json index 13a1a2ef48..d25c7ff036 100644 --- a/keyboards/cannonkeys/devastatingtkl/info.json +++ b/keyboards/cannonkeys/devastatingtkl/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/hoodrowg/config.h b/keyboards/cannonkeys/hoodrowg/config.h index 043ee2908a..fb5b024240 100644 --- a/keyboards/cannonkeys/hoodrowg/config.h +++ b/keyboards/cannonkeys/hoodrowg/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/cannonkeys/hoodrowg/info.json b/keyboards/cannonkeys/hoodrowg/info.json index 0ad5b9fbf6..a3a3452d9e 100644 --- a/keyboards/cannonkeys/hoodrowg/info.json +++ b/keyboards/cannonkeys/hoodrowg/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "B6", | 17 | "caps_lock": "B6", |
| 18 | "scroll_lock": "B2" | 18 | "scroll_lock": "B2" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 16 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D1" | 24 | "pin": "D1" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h index aced1f333c..e84ffc5e99 100644 --- a/keyboards/cannonkeys/instant60/config.h +++ b/keyboards/cannonkeys/instant60/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 14 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/instant60/info.json b/keyboards/cannonkeys/instant60/info.json index 31aeca1e8d..5ca3a78dca 100644 --- a/keyboards/cannonkeys/instant60/info.json +++ b/keyboards/cannonkeys/instant60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 14 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/instant65/config.h b/keyboards/cannonkeys/instant65/config.h index 65ffa50103..7f5841a299 100644 --- a/keyboards/cannonkeys/instant65/config.h +++ b/keyboards/cannonkeys/instant65/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 20 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/instant65/info.json b/keyboards/cannonkeys/instant65/info.json index 23b667cf6c..4db1d0f626 100644 --- a/keyboards/cannonkeys/instant65/info.json +++ b/keyboards/cannonkeys/instant65/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/malicious_ergo/config.h b/keyboards/cannonkeys/malicious_ergo/config.h index 2c1baa101d..4a28aa7d86 100644 --- a/keyboards/cannonkeys/malicious_ergo/config.h +++ b/keyboards/cannonkeys/malicious_ergo/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | #define RGBLIGHT_EFFECT_RGB_TEST | 38 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 39 | #define RGBLIGHT_EFFECT_ALTERNATING | 39 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 40 | #define RGBLIGHT_EFFECT_TWINKLE | 40 | #define RGBLIGHT_EFFECT_TWINKLE |
| 41 | #define RGBLED_NUM 14 | ||
| 42 | #define WS2812_SPI SPID2 | 41 | #define WS2812_SPI SPID2 |
| 43 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 42 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 44 | #define WS2812_SPI_SCK_PAL_MODE 0 | 43 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/malicious_ergo/info.json b/keyboards/cannonkeys/malicious_ergo/info.json index 3b54ee75b6..7fcab147bd 100644 --- a/keyboards/cannonkeys/malicious_ergo/info.json +++ b/keyboards/cannonkeys/malicious_ergo/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 14 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/obliterated75/config.h b/keyboards/cannonkeys/obliterated75/config.h index 65ffa50103..7f5841a299 100644 --- a/keyboards/cannonkeys/obliterated75/config.h +++ b/keyboards/cannonkeys/obliterated75/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 20 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/obliterated75/info.json b/keyboards/cannonkeys/obliterated75/info.json index 678ca4457a..926c41d6d8 100644 --- a/keyboards/cannonkeys/obliterated75/info.json +++ b/keyboards/cannonkeys/obliterated75/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index eaf33bbfa0..ec1924949b 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 9 | ||
| 39 | #define WS2812_SPI SPID2 | 38 | #define WS2812_SPI SPID2 |
| 40 | 39 | ||
| 41 | /* | 40 | /* |
diff --git a/keyboards/cannonkeys/ortho48/info.json b/keyboards/cannonkeys/ortho48/info.json index dd4879b5be..f972e729cd 100644 --- a/keyboards/cannonkeys/ortho48/info.json +++ b/keyboards/cannonkeys/ortho48/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 9 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/ortho60/config.h b/keyboards/cannonkeys/ortho60/config.h index c8c8c93e51..33acb298b9 100644 --- a/keyboards/cannonkeys/ortho60/config.h +++ b/keyboards/cannonkeys/ortho60/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | 38 | ||
| 39 | #define RGBLED_NUM 16 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | 40 | ||
| 42 | /* | 41 | /* |
diff --git a/keyboards/cannonkeys/ortho60/info.json b/keyboards/cannonkeys/ortho60/info.json index 3b672f4f6d..d933cc1989 100644 --- a/keyboards/cannonkeys/ortho60/info.json +++ b/keyboards/cannonkeys/ortho60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 16 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/ortho75/config.h b/keyboards/cannonkeys/ortho75/config.h index c8c8c93e51..33acb298b9 100644 --- a/keyboards/cannonkeys/ortho75/config.h +++ b/keyboards/cannonkeys/ortho75/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | 38 | ||
| 39 | #define RGBLED_NUM 16 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | 40 | ||
| 42 | /* | 41 | /* |
diff --git a/keyboards/cannonkeys/ortho75/info.json b/keyboards/cannonkeys/ortho75/info.json index dd2b78b998..a0dd517d0c 100644 --- a/keyboards/cannonkeys/ortho75/info.json +++ b/keyboards/cannonkeys/ortho75/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "levels": 6, | 23 | "levels": 6, |
| 24 | "breathing": true | 24 | "breathing": true |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 16 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "B15", | 30 | "pin": "B15", |
| 28 | "driver": "spi" | 31 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/practice60/config.h b/keyboards/cannonkeys/practice60/config.h index c766c83f65..33acb298b9 100644 --- a/keyboards/cannonkeys/practice60/config.h +++ b/keyboards/cannonkeys/practice60/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | 38 | ||
| 39 | #define RGBLED_NUM 9 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | 40 | ||
| 42 | /* | 41 | /* |
diff --git a/keyboards/cannonkeys/practice60/info.json b/keyboards/cannonkeys/practice60/info.json index a1313242fa..aa1ca1259f 100644 --- a/keyboards/cannonkeys/practice60/info.json +++ b/keyboards/cannonkeys/practice60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 9 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/practice65/config.h b/keyboards/cannonkeys/practice65/config.h index 0163604ead..33acb298b9 100644 --- a/keyboards/cannonkeys/practice65/config.h +++ b/keyboards/cannonkeys/practice65/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | 38 | ||
| 39 | #define RGBLED_NUM 20 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | 40 | ||
| 42 | /* | 41 | /* |
diff --git a/keyboards/cannonkeys/practice65/info.json b/keyboards/cannonkeys/practice65/info.json index 28841b48a6..ac4a7bd272 100644 --- a/keyboards/cannonkeys/practice65/info.json +++ b/keyboards/cannonkeys/practice65/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/sagittarius/config.h b/keyboards/cannonkeys/sagittarius/config.h index 29c78c2398..925046aa4f 100644 --- a/keyboards/cannonkeys/sagittarius/config.h +++ b/keyboards/cannonkeys/sagittarius/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | 39 | ||
| 40 | #define RGBLED_NUM 8 | ||
| 41 | #define WS2812_SPI SPID2 | 40 | #define WS2812_SPI SPID2 |
| 42 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 43 | #define WS2812_SPI_SCK_PAL_MODE 0 | 42 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/sagittarius/info.json b/keyboards/cannonkeys/sagittarius/info.json index 0980cb4275..df90b9db0a 100644 --- a/keyboards/cannonkeys/sagittarius/info.json +++ b/keyboards/cannonkeys/sagittarius/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 8 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h index 6aac0aefb4..21420a9f28 100644 --- a/keyboards/cannonkeys/savage65/config.h +++ b/keyboards/cannonkeys/savage65/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | 39 | ||
| 40 | #define RGBLED_NUM 20 | ||
| 41 | #define WS2812_SPI SPID2 | 40 | #define WS2812_SPI SPID2 |
| 42 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 43 | #define WS2812_SPI_SCK_PAL_MODE 0 | 42 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/savage65/info.json b/keyboards/cannonkeys/savage65/info.json index 540327c6b8..596ee91dc9 100644 --- a/keyboards/cannonkeys/savage65/info.json +++ b/keyboards/cannonkeys/savage65/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index d344ffaee6..60a4a44990 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | 39 | ||
| 40 | #define RGBLED_NUM 22 | ||
| 41 | #define WS2812_SPI SPID2 | 40 | #define WS2812_SPI SPID2 |
| 42 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 43 | #define WS2812_SPI_SCK_PAL_MODE 0 | 42 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/tmov2/info.json b/keyboards/cannonkeys/tmov2/info.json index 4d5d564e66..1caf127069 100644 --- a/keyboards/cannonkeys/tmov2/info.json +++ b/keyboards/cannonkeys/tmov2/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 22 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/cannonkeys/tsukuyomi/config.h b/keyboards/cannonkeys/tsukuyomi/config.h index 6aac0aefb4..21420a9f28 100644 --- a/keyboards/cannonkeys/tsukuyomi/config.h +++ b/keyboards/cannonkeys/tsukuyomi/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | 39 | ||
| 40 | #define RGBLED_NUM 20 | ||
| 41 | #define WS2812_SPI SPID2 | 40 | #define WS2812_SPI SPID2 |
| 42 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 43 | #define WS2812_SPI_SCK_PAL_MODE 0 | 42 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/cannonkeys/tsukuyomi/info.json b/keyboards/cannonkeys/tsukuyomi/info.json index e370e1acc0..a2b7022f53 100644 --- a/keyboards/cannonkeys/tsukuyomi/info.json +++ b/keyboards/cannonkeys/tsukuyomi/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15", | 25 | "pin": "B15", |
| 23 | "driver": "spi" | 26 | "driver": "spi" |
diff --git a/keyboards/capsunlocked/cu24/config.h b/keyboards/capsunlocked/cu24/config.h index 1d8a04fe70..2f8d64b767 100644 --- a/keyboards/capsunlocked/cu24/config.h +++ b/keyboards/capsunlocked/cu24/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* RGB Glow */ | 19 | /* RGB Glow */ |
| 20 | #define RGBLED_NUM 5 // Number of LEDs in your strip | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/capsunlocked/cu24/info.json b/keyboards/capsunlocked/cu24/info.json index c7d6660f13..cea21c4c0d 100644 --- a/keyboards/capsunlocked/cu24/info.json +++ b/keyboards/capsunlocked/cu24/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 5, | 18 | "levels": 5, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 5 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F4" | 25 | "pin": "F4" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/capsunlocked/cu7/config.h b/keyboards/capsunlocked/cu7/config.h index 8883514e5d..70868bcecf 100644 --- a/keyboards/capsunlocked/cu7/config.h +++ b/keyboards/capsunlocked/cu7/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | 34 | ||
| 35 | // #define RGBLIGHT_EFFECT_BREATHING | 35 | // #define RGBLIGHT_EFFECT_BREATHING |
| 36 | #define RGBLED_NUM 6 | ||
| 37 | #define RGBLIGHT_HUE_STEP 10 | 36 | #define RGBLIGHT_HUE_STEP 10 |
| 38 | #define RGBLIGHT_SAT_STEP 17 | 37 | #define RGBLIGHT_SAT_STEP 17 |
| 39 | #define RGBLIGHT_VAL_STEP 17 | 38 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/capsunlocked/cu7/info.json b/keyboards/capsunlocked/cu7/info.json index 61182fcb53..9b1934b1e3 100644 --- a/keyboards/capsunlocked/cu7/info.json +++ b/keyboards/capsunlocked/cu7/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "F1" | 12 | "pin": "F1" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 6, | ||
| 15 | "max_brightness": 50 | 16 | "max_brightness": 50 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/capsunlocked/cu75/config.h b/keyboards/capsunlocked/cu75/config.h index 67f1f43c44..9757f451ac 100644 --- a/keyboards/capsunlocked/cu75/config.h +++ b/keyboards/capsunlocked/cu75/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 24 // Number of LEDs | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/capsunlocked/cu75/info.json b/keyboards/capsunlocked/cu75/info.json index 3ea17a46e1..fb00c8c663 100644 --- a/keyboards/capsunlocked/cu75/info.json +++ b/keyboards/capsunlocked/cu75/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "driver": "custom", | 17 | "driver": "custom", |
| 18 | "levels": 8 | 18 | "levels": 8 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 24 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "C7" | 24 | "pin": "C7" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/catch22/config.h b/keyboards/catch22/config.h index 98e0780698..a724174410 100644 --- a/keyboards/catch22/config.h +++ b/keyboards/catch22/config.h | |||
| @@ -32,5 +32,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 6 | ||
| 36 | #endif | 35 | #endif |
diff --git a/keyboards/catch22/info.json b/keyboards/catch22/info.json index 6ffd3117af..0239b4f467 100644 --- a/keyboards/catch22/info.json +++ b/keyboards/catch22/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xCA22", | 6 | "pid": "0xCA22", |
| 7 | "device_version": "0.0.1" | 7 | "device_version": "0.0.1" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 6 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "F6" | 13 | "pin": "F6" |
| 11 | }, | 14 | }, |
diff --git a/keyboards/chalice/config.h b/keyboards/chalice/config.h index 20d95949a6..7024377ffc 100644 --- a/keyboards/chalice/config.h +++ b/keyboards/chalice/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 14 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/chalice/info.json b/keyboards/chalice/info.json index f7f9ed0c64..d1fd939b16 100644 --- a/keyboards/chalice/info.json +++ b/keyboards/chalice/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/charue/sunsetter_r2/config.h b/keyboards/charue/sunsetter_r2/config.h index 4ef27597b3..c48e14fee9 100644 --- a/keyboards/charue/sunsetter_r2/config.h +++ b/keyboards/charue/sunsetter_r2/config.h | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | /* RGB */ | 6 | /* RGB */ |
| 7 | # define RGBLED_NUM 10 | ||
| 8 | #define RGBLIGHT_EFFECT_BREATHING | 7 | #define RGBLIGHT_EFFECT_BREATHING |
| 9 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 8 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 10 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 9 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/charue/sunsetter_r2/info.json b/keyboards/charue/sunsetter_r2/info.json index 502609402f..bf39937bb4 100644 --- a/keyboards/charue/sunsetter_r2/info.json +++ b/keyboards/charue/sunsetter_r2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5335", | 8 | "pid": "0x5335", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/axon40/config.h b/keyboards/checkerboards/axon40/config.h index 530fa06413..7d2e15e875 100644 --- a/keyboards/checkerboards/axon40/config.h +++ b/keyboards/checkerboards/axon40/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 29 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/checkerboards/axon40/info.json b/keyboards/checkerboards/axon40/info.json index 6b47a8f679..6281496375 100644 --- a/keyboards/checkerboards/axon40/info.json +++ b/keyboards/checkerboards/axon40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1119", | 8 | "pid": "0x1119", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 29 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D7" | 15 | "pin": "D7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/candybar_ortho/config.h b/keyboards/checkerboards/candybar_ortho/config.h index 0033db5d2b..45b7c42344 100644 --- a/keyboards/checkerboards/candybar_ortho/config.h +++ b/keyboards/checkerboards/candybar_ortho/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 18 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/checkerboards/candybar_ortho/info.json b/keyboards/checkerboards/candybar_ortho/info.json index 3369eee53d..86d2157b7e 100644 --- a/keyboards/checkerboards/candybar_ortho/info.json +++ b/keyboards/checkerboards/candybar_ortho/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3215", | 8 | "pid": "0x3215", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h index 3c52543d25..f3f7c9f1f5 100644 --- a/keyboards/checkerboards/nop60/config.h +++ b/keyboards/checkerboards/nop60/config.h | |||
| @@ -30,7 +30,6 @@ Copyright 2021 Nathan Spears | |||
| 30 | #define RGBLIGHT_EFFECT_RGB_TEST | 30 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 31 | #define RGBLIGHT_EFFECT_ALTERNATING | 31 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 32 | #define RGBLIGHT_EFFECT_TWINKLE | 32 | #define RGBLIGHT_EFFECT_TWINKLE |
| 33 | #define RGBLED_NUM 14 // number of LEDs | ||
| 34 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 33 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 35 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 34 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 36 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 35 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/nop60/info.json b/keyboards/checkerboards/nop60/info.json index 9f44cfd41f..7716c85ca9 100644 --- a/keyboards/checkerboards/nop60/info.json +++ b/keyboards/checkerboards/nop60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 14 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D2" | 25 | "pin": "D2" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/checkerboards/plexus75/config.h b/keyboards/checkerboards/plexus75/config.h index 50aa698524..08b1556854 100644 --- a/keyboards/checkerboards/plexus75/config.h +++ b/keyboards/checkerboards/plexus75/config.h | |||
| @@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define RGBLIGHT_EFFECT_RGB_TEST | 48 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 49 | #define RGBLIGHT_EFFECT_ALTERNATING | 49 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 50 | #define RGBLIGHT_EFFECT_TWINKLE | 50 | #define RGBLIGHT_EFFECT_TWINKLE |
| 51 | #define RGBLED_NUM 14 // number of LEDs | ||
| 52 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 51 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 53 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | 52 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation |
| 54 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 53 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/plexus75/info.json b/keyboards/checkerboards/plexus75/info.json index 30d8df7edb..36e6a2f5f8 100644 --- a/keyboards/checkerboards/plexus75/info.json +++ b/keyboards/checkerboards/plexus75/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5338", | 8 | "pid": "0x5338", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/plexus75_he/config.h b/keyboards/checkerboards/plexus75_he/config.h index bfa5878383..d1dd866518 100644 --- a/keyboards/checkerboards/plexus75_he/config.h +++ b/keyboards/checkerboards/plexus75_he/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 18 // number of LEDs | ||
| 37 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 36 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 38 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 37 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 39 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 38 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/plexus75_he/info.json b/keyboards/checkerboards/plexus75_he/info.json index fc1dfc9fd5..fe2e296087 100644 --- a/keyboards/checkerboards/plexus75_he/info.json +++ b/keyboards/checkerboards/plexus75_he/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5339", | 8 | "pid": "0x5339", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D4" | 15 | "pin": "D4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/pursuit40/config.h b/keyboards/checkerboards/pursuit40/config.h index 6fe6785edb..81e5d3ca20 100644 --- a/keyboards/checkerboards/pursuit40/config.h +++ b/keyboards/checkerboards/pursuit40/config.h | |||
| @@ -49,7 +49,6 @@ | |||
| 49 | #define RGBLIGHT_EFFECT_RGB_TEST | 49 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 50 | #define RGBLIGHT_EFFECT_ALTERNATING | 50 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 51 | #define RGBLIGHT_EFFECT_TWINKLE | 51 | #define RGBLIGHT_EFFECT_TWINKLE |
| 52 | #define RGBLED_NUM 12 // number of LEDs | ||
| 53 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 52 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 54 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 53 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 55 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 54 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/pursuit40/info.json b/keyboards/checkerboards/pursuit40/info.json index 0f4394b87f..bb8570311a 100644 --- a/keyboards/checkerboards/pursuit40/info.json +++ b/keyboards/checkerboards/pursuit40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1620", | 8 | "pid": "0x1620", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F0" | 15 | "pin": "F0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/quark/config.h b/keyboards/checkerboards/quark/config.h index efa8f93d3e..ebf08ac001 100644 --- a/keyboards/checkerboards/quark/config.h +++ b/keyboards/checkerboards/quark/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 14 // number of LEDs | ||
| 37 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 36 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 38 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 37 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 39 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 38 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/quark/info.json b/keyboards/checkerboards/quark/info.json index 262cd6e60c..745e5b58eb 100644 --- a/keyboards/checkerboards/quark/info.json +++ b/keyboards/checkerboards/quark/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5340", | 8 | "pid": "0x5340", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h index 4136faaa7a..827d1b990e 100644 --- a/keyboards/checkerboards/quark_plus/config.h +++ b/keyboards/checkerboards/quark_plus/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 14 // number of LEDs | ||
| 37 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 36 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 38 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 37 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 39 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 38 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/quark_plus/info.json b/keyboards/checkerboards/quark_plus/info.json index 0d47ec2ec4..4c535fd493 100644 --- a/keyboards/checkerboards/quark_plus/info.json +++ b/keyboards/checkerboards/quark_plus/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5344", | 8 | "pid": "0x5344", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C5" | 15 | "pin": "C5" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/quark_squared/config.h b/keyboards/checkerboards/quark_squared/config.h index 514ce68f3f..d1dd866518 100644 --- a/keyboards/checkerboards/quark_squared/config.h +++ b/keyboards/checkerboards/quark_squared/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 14 // number of LEDs | ||
| 37 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 36 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 38 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 37 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 39 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 38 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/quark_squared/info.json b/keyboards/checkerboards/quark_squared/info.json index bd6233b208..ef46a2fd10 100644 --- a/keyboards/checkerboards/quark_squared/info.json +++ b/keyboards/checkerboards/quark_squared/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5342", | 8 | "pid": "0x5342", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/checkerboards/snop60/config.h b/keyboards/checkerboards/snop60/config.h index d11757cc15..0a7d510b94 100644 --- a/keyboards/checkerboards/snop60/config.h +++ b/keyboards/checkerboards/snop60/config.h | |||
| @@ -28,7 +28,6 @@ Copyright 2022 Nathan Spears | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 14 // number of LEDs | ||
| 32 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 31 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 33 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 32 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 34 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 33 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/snop60/info.json b/keyboards/checkerboards/snop60/info.json index 94d40e6645..e1d61b8cf3 100644 --- a/keyboards/checkerboards/snop60/info.json +++ b/keyboards/checkerboards/snop60/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "levels": 6, | 23 | "levels": 6, |
| 24 | "breathing": true | 24 | "breathing": true |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 14 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "B1" | 30 | "pin": "B1" |
| 28 | }, | 31 | }, |
diff --git a/keyboards/checkerboards/ud40_ortho_alt/config.h b/keyboards/checkerboards/ud40_ortho_alt/config.h index 788fbe39a9..d1dd866518 100644 --- a/keyboards/checkerboards/ud40_ortho_alt/config.h +++ b/keyboards/checkerboards/ud40_ortho_alt/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 12 // number of LEDs | ||
| 37 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 36 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 38 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | 37 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation |
| 39 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 38 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/checkerboards/ud40_ortho_alt/info.json b/keyboards/checkerboards/ud40_ortho_alt/info.json index 7d49bdb5b4..2adf87d676 100644 --- a/keyboards/checkerboards/ud40_ortho_alt/info.json +++ b/keyboards/checkerboards/ud40_ortho_alt/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7030", | 8 | "pid": "0x7030", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D4" | 15 | "pin": "D4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/cherrybstudio/cb1800/config.h b/keyboards/cherrybstudio/cb1800/config.h index 21aeb17d77..c73bdee2e8 100644 --- a/keyboards/cherrybstudio/cb1800/config.h +++ b/keyboards/cherrybstudio/cb1800/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | # define RGBLIGHT_EFFECT_RGB_TEST | 23 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 24 | # define RGBLIGHT_EFFECT_ALTERNATING | 24 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 25 | # define RGBLIGHT_EFFECT_TWINKLE | 25 | # define RGBLIGHT_EFFECT_TWINKLE |
| 26 | # define RGBLED_NUM 20 | ||
| 27 | # define RGBLIGHT_HUE_STEP 8 | 26 | # define RGBLIGHT_HUE_STEP 8 |
| 28 | # define RGBLIGHT_SAT_STEP 8 | 27 | # define RGBLIGHT_SAT_STEP 8 |
| 29 | # define RGBLIGHT_VAL_STEP 8 | 28 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cherrybstudio/cb1800/info.json b/keyboards/cherrybstudio/cb1800/info.json index 1b2fadd2a9..a57c1904e2 100644 --- a/keyboards/cherrybstudio/cb1800/info.json +++ b/keyboards/cherrybstudio/cb1800/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "scroll_lock": "F7", | 19 | "scroll_lock": "F7", |
| 20 | "on_state": 0 | 20 | "on_state": 0 |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 20 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "E6" | 26 | "pin": "E6" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/cherrybstudio/cb65/config.h b/keyboards/cherrybstudio/cb65/config.h index e463e1d6c7..ab74e906c4 100644 --- a/keyboards/cherrybstudio/cb65/config.h +++ b/keyboards/cherrybstudio/cb65/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define RGBLIGHT_EFFECT_RGB_TEST | 24 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 25 | #define RGBLIGHT_EFFECT_ALTERNATING | 25 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 26 | #define RGBLIGHT_EFFECT_TWINKLE | 26 | #define RGBLIGHT_EFFECT_TWINKLE |
| 27 | #define RGBLED_NUM 24 | ||
| 28 | #define RGBLIGHT_HUE_STEP 8 | 27 | #define RGBLIGHT_HUE_STEP 8 |
| 29 | #define RGBLIGHT_SAT_STEP 8 | 28 | #define RGBLIGHT_SAT_STEP 8 |
| 30 | #define RGBLIGHT_VAL_STEP 8 | 29 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cherrybstudio/cb65/info.json b/keyboards/cherrybstudio/cb65/info.json index 37038b214f..b1ae3a0029 100644 --- a/keyboards/cherrybstudio/cb65/info.json +++ b/keyboards/cherrybstudio/cb65/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "scroll_lock": "F4", | 18 | "scroll_lock": "F4", |
| 19 | "on_state": 0 | 19 | "on_state": 0 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 24 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F0" | 25 | "pin": "F0" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/cherrybstudio/cb87/config.h b/keyboards/cherrybstudio/cb87/config.h index ddb9102d36..e842414a75 100644 --- a/keyboards/cherrybstudio/cb87/config.h +++ b/keyboards/cherrybstudio/cb87/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define RGBLIGHT_EFFECT_RGB_TEST | 23 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 24 | #define RGBLIGHT_EFFECT_ALTERNATING | 24 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 25 | #define RGBLIGHT_EFFECT_TWINKLE | 25 | #define RGBLIGHT_EFFECT_TWINKLE |
| 26 | #define RGBLED_NUM 22 /* 16 Bottom 6 top*/ | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 28 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cherrybstudio/cb87/info.json b/keyboards/cherrybstudio/cb87/info.json index ac32d5f8ea..4a4d060f47 100644 --- a/keyboards/cherrybstudio/cb87/info.json +++ b/keyboards/cherrybstudio/cb87/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B6" | 17 | "pin": "B6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 22 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "E6" | 23 | "pin": "E6" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/cherrybstudio/cb87v2/config.h b/keyboards/cherrybstudio/cb87v2/config.h index 4c66b113e7..e842414a75 100644 --- a/keyboards/cherrybstudio/cb87v2/config.h +++ b/keyboards/cherrybstudio/cb87v2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define RGBLIGHT_EFFECT_RGB_TEST | 23 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 24 | #define RGBLIGHT_EFFECT_ALTERNATING | 24 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 25 | #define RGBLIGHT_EFFECT_TWINKLE | 25 | #define RGBLIGHT_EFFECT_TWINKLE |
| 26 | #define RGBLED_NUM 24 | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 28 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cherrybstudio/cb87v2/info.json b/keyboards/cherrybstudio/cb87v2/info.json index 8c35532c32..674f65e4dd 100644 --- a/keyboards/cherrybstudio/cb87v2/info.json +++ b/keyboards/cherrybstudio/cb87v2/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "scroll_lock": "F4", | 21 | "scroll_lock": "F4", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 24 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "E6" | 28 | "pin": "E6" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/cheshire/curiosity/config.h b/keyboards/cheshire/curiosity/config.h index 71b0146437..6460a7cf8a 100644 --- a/keyboards/cheshire/curiosity/config.h +++ b/keyboards/cheshire/curiosity/config.h | |||
| @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | |||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/cheshire/curiosity/info.json b/keyboards/cheshire/curiosity/info.json index fa8180e5af..464136b5d3 100644 --- a/keyboards/cheshire/curiosity/info.json +++ b/keyboards/cheshire/curiosity/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0FAD", | 7 | "pid": "0x0FAD", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 14 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "B15" | 14 | "pin": "B15" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/chlx/str_merro60/config.h b/keyboards/chlx/str_merro60/config.h index c1452d0c98..a12ddee9ae 100644 --- a/keyboards/chlx/str_merro60/config.h +++ b/keyboards/chlx/str_merro60/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | # define RGBLIGHT_EFFECT_ALTERNATING | 28 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | 29 | # define RGBLIGHT_EFFECT_TWINKLE |
| 30 | # define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 | 30 | # define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 |
| 31 | # define RGBLED_NUM 12 | ||
| 32 | # define RGBLIGHT_HUE_STEP 8 | 31 | # define RGBLIGHT_HUE_STEP 8 |
| 33 | # define RGBLIGHT_SAT_STEP 8 | 32 | # define RGBLIGHT_SAT_STEP 8 |
| 34 | # define RGBLIGHT_VAL_STEP 8 | 33 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/chlx/str_merro60/info.json b/keyboards/chlx/str_merro60/info.json index 6344cc1b5a..79f8705736 100644 --- a/keyboards/chlx/str_merro60/info.json +++ b/keyboards/chlx/str_merro60/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/cipulot/kallos/config.h b/keyboards/cipulot/kallos/config.h index bb51142311..546d3a9520 100644 --- a/keyboards/cipulot/kallos/config.h +++ b/keyboards/cipulot/kallos/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* Lightbar pin and LED count definitions*/ | 20 | /* Lightbar pin and LED count definitions*/ |
| 21 | #define RGBLED_NUM 13 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/cipulot/kallos/info.json b/keyboards/cipulot/kallos/info.json index f9fd74acfe..186f98578a 100644 --- a/keyboards/cipulot/kallos/info.json +++ b/keyboards/cipulot/kallos/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6B7A", | 8 | "pid": "0x6B7A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 13 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/ck60i/config.h b/keyboards/ck60i/config.h index efdcb96c5d..b34fb3e42f 100644 --- a/keyboards/ck60i/config.h +++ b/keyboards/ck60i/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | /* Locking resynchronize hack */ | 26 | /* Locking resynchronize hack */ |
| 27 | #define LOCKING_RESYNC_ENABLE | 27 | #define LOCKING_RESYNC_ENABLE |
| 28 | 28 | ||
| 29 | #define RGBLED_NUM 16 | ||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ck60i/info.json b/keyboards/ck60i/info.json index 68f6f5f1ca..bef7d850e8 100644 --- a/keyboards/ck60i/info.json +++ b/keyboards/ck60i/info.json | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | "breathing": true | 24 | "breathing": true |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | 26 | "rgblight": { |
| 27 | "led_count": 16, | ||
| 27 | "max_brightness": 200, | 28 | "max_brightness": 200, |
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
diff --git a/keyboards/cmm_studio/fuji65/config.h b/keyboards/cmm_studio/fuji65/config.h index 6e15180537..33c3417b7c 100644 --- a/keyboards/cmm_studio/fuji65/config.h +++ b/keyboards/cmm_studio/fuji65/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 8 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cmm_studio/fuji65/info.json b/keyboards/cmm_studio/fuji65/info.json index ffb30e0b54..453e7d2bae 100644 --- a/keyboards/cmm_studio/fuji65/info.json +++ b/keyboards/cmm_studio/fuji65/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 8, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/contender/config.h b/keyboards/contender/config.h index fa98bca834..d2d6fd7030 100644 --- a/keyboards/contender/config.h +++ b/keyboards/contender/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 33 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/contender/info.json b/keyboards/contender/info.json index 4c0cd862bd..5a10f0e4ae 100644 --- a/keyboards/contender/info.json +++ b/keyboards/contender/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "C6" | 12 | "pin": "C6" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 33, | ||
| 15 | "max_brightness": 32, | 16 | "max_brightness": 32, |
| 16 | "sleep": true, | 17 | "sleep": true, |
| 17 | "led_map": [0, 1, 2, 3, 7, 6, 5, 4, 8, 9, 10, 11, 15, 14, 13, 12, 16, 17, 18, 19, 22, 21, 20, 25, 24, 23, 26, 27, 28, 29, 30, 31, 32] | 18 | "led_map": [0, 1, 2, 3, 7, 6, 5, 4, 8, 9, 10, 11, 15, 14, 13, 12, 16, 17, 18, 19, 22, 21, 20, 25, 24, 23, 26, 27, 28, 29, 30, 31, 32] |
diff --git a/keyboards/controllerworks/mini36/config.h b/keyboards/controllerworks/mini36/config.h index c9da0d411b..3a094c2fd1 100644 --- a/keyboards/controllerworks/mini36/config.h +++ b/keyboards/controllerworks/mini36/config.h | |||
| @@ -18,8 +18,7 @@ | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define WS2812_PIO_USE_PIO1 | 20 | #define WS2812_PIO_USE_PIO1 |
| 21 | #define RGBLED_NUM 48 | 21 | #define RGB_MATRIX_LED_COUNT 48 |
| 22 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 23 | #define RGB_MATRIX_SPLIT \ | 22 | #define RGB_MATRIX_SPLIT \ |
| 24 | { 24, 24 } | 23 | { 24, 24 } |
| 25 | 24 | ||
diff --git a/keyboards/controllerworks/mini42/config.h b/keyboards/controllerworks/mini42/config.h index 0a4d8c84b7..e7fc529592 100644 --- a/keyboards/controllerworks/mini42/config.h +++ b/keyboards/controllerworks/mini42/config.h | |||
| @@ -18,8 +18,7 @@ | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define WS2812_PIO_USE_PIO1 | 20 | #define WS2812_PIO_USE_PIO1 |
| 21 | #define RGBLED_NUM 54 | 21 | #define RGB_MATRIX_LED_COUNT 54 |
| 22 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 23 | 22 | ||
| 24 | #define SPLIT_TRANSPORT_MIRROR | 23 | #define SPLIT_TRANSPORT_MIRROR |
| 25 | #define SPLIT_LAYER_STATE_ENABLE | 24 | #define SPLIT_LAYER_STATE_ENABLE |
diff --git a/keyboards/coseyfannitutti/mullet/config.h b/keyboards/coseyfannitutti/mullet/config.h index 2d51f481fc..737cabbf56 100644 --- a/keyboards/coseyfannitutti/mullet/config.h +++ b/keyboards/coseyfannitutti/mullet/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/coseyfannitutti/mullet/info.json b/keyboards/coseyfannitutti/mullet/info.json index 1ca20cb485..a1912c90a0 100644 --- a/keyboards/coseyfannitutti/mullet/info.json +++ b/keyboards/coseyfannitutti/mullet/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/cosmo65/config.h b/keyboards/cosmo65/config.h index c97f9dbac4..1d30de51db 100644 --- a/keyboards/cosmo65/config.h +++ b/keyboards/cosmo65/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see http://www.gnu.org/licenses/. | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | /* RGB Lighting */ | 18 | /* RGB Lighting */ |
| 19 | #define RGBLED_NUM 16 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/cosmo65/info.json b/keyboards/cosmo65/info.json index d20de266e4..00d6efe855 100644 --- a/keyboards/cosmo65/info.json +++ b/keyboards/cosmo65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6331", | 8 | "pid": "0x6331", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/cozykeys/bloomer/config.h b/keyboards/cozykeys/bloomer/config.h index 716f1bfc58..4bb9c236a1 100644 --- a/keyboards/cozykeys/bloomer/config.h +++ b/keyboards/cozykeys/bloomer/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | // Enable RGB backlight | 20 | // Enable RGB backlight |
| 21 | #ifdef RGBLIGHT_ENABLE | 21 | #ifdef RGBLIGHT_ENABLE |
| 22 | #define RGBLED_NUM 12 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cozykeys/bloomer/info.json b/keyboards/cozykeys/bloomer/info.json index e5dc4449a3..164c925264 100644 --- a/keyboards/cozykeys/bloomer/info.json +++ b/keyboards/cozykeys/bloomer/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "pid": "0x1191" | 8 | "pid": "0x1191" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | 10 | "rgblight": { |
| 11 | "led_count": 12, | ||
| 11 | "sleep": true | 12 | "sleep": true |
| 12 | }, | 13 | }, |
| 13 | "ws2812": { | 14 | "ws2812": { |
diff --git a/keyboards/cozykeys/speedo/v3/config.h b/keyboards/cozykeys/speedo/v3/config.h index e73e2d3cdf..a78b180f3e 100644 --- a/keyboards/cozykeys/speedo/v3/config.h +++ b/keyboards/cozykeys/speedo/v3/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #ifdef RGBLIGHT_ENABLE | 19 | #ifdef RGBLIGHT_ENABLE |
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/cozykeys/speedo/v3/info.json b/keyboards/cozykeys/speedo/v3/info.json index 0f75255c7a..a0ed755a96 100644 --- a/keyboards/cozykeys/speedo/v3/info.json +++ b/keyboards/cozykeys/speedo/v3/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/craftwalk/config.h b/keyboards/craftwalk/config.h index d6df5fb7a0..cd06b24025 100644 --- a/keyboards/craftwalk/config.h +++ b/keyboards/craftwalk/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 19 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/craftwalk/info.json b/keyboards/craftwalk/info.json index 9cf869c0bd..b6c37eb4ac 100644 --- a/keyboards/craftwalk/info.json +++ b/keyboards/craftwalk/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 19, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/crawlpad/config.h b/keyboards/crawlpad/config.h index 4378435471..64a378d399 100755 --- a/keyboards/crawlpad/config.h +++ b/keyboards/crawlpad/config.h | |||
| @@ -25,5 +25,4 @@ | |||
| 25 | #define RGBLIGHT_EFFECT_RGB_TEST | 25 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 26 | #define RGBLIGHT_EFFECT_ALTERNATING | 26 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 27 | #define RGBLIGHT_EFFECT_TWINKLE | 27 | #define RGBLIGHT_EFFECT_TWINKLE |
| 28 | #define RGBLED_NUM 3 | ||
| 29 | #endif | 28 | #endif |
diff --git a/keyboards/crawlpad/info.json b/keyboards/crawlpad/info.json index 0d4d38d4ea..4f40504059 100644 --- a/keyboards/crawlpad/info.json +++ b/keyboards/crawlpad/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6070", | 8 | "pid": "0x6070", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 3 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/crazy_keyboard_68/config.h b/keyboards/crazy_keyboard_68/config.h index 5f41e50b14..fbaa480512 100644 --- a/keyboards/crazy_keyboard_68/config.h +++ b/keyboards/crazy_keyboard_68/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 84 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/crazy_keyboard_68/info.json b/keyboards/crazy_keyboard_68/info.json index c6a74147e0..d3ce815c36 100644 --- a/keyboards/crazy_keyboard_68/info.json +++ b/keyboards/crazy_keyboard_68/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 84, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/crkbd/r2g/config.h b/keyboards/crkbd/r2g/config.h index 455f179e90..46db11318f 100644 --- a/keyboards/crkbd/r2g/config.h +++ b/keyboards/crkbd/r2g/config.h | |||
| @@ -31,13 +31,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | # define RGBLIGHT_EFFECT_RGB_TEST | 31 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | # define RGBLIGHT_EFFECT_ALTERNATING | 32 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | # define RGBLIGHT_EFFECT_TWINKLE | 33 | # define RGBLIGHT_EFFECT_TWINKLE |
| 34 | |||
| 35 | # define RGBLED_NUM 54 | ||
| 36 | #endif | 34 | #endif |
| 37 | 35 | ||
| 38 | #ifdef RGB_MATRIX_ENABLE | 36 | #ifdef RGB_MATRIX_ENABLE |
| 39 | # define RGBLED_NUM 54 // Number of LEDs | 37 | # define RGB_MATRIX_LED_COUNT 54 |
| 40 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 41 | # define RGB_MATRIX_SPLIT \ | 38 | # define RGB_MATRIX_SPLIT \ |
| 42 | { 27, 27 } | 39 | { 27, 27 } |
| 43 | # define SPLIT_TRANSPORT_MIRROR | 40 | # define SPLIT_TRANSPORT_MIRROR |
diff --git a/keyboards/crkbd/r2g/info.json b/keyboards/crkbd/r2g/info.json index 1de40c0395..3b269a5051 100644 --- a/keyboards/crkbd/r2g/info.json +++ b/keyboards/crkbd/r2g/info.json | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | "soft_serial_pin": "D2" | 6 | "soft_serial_pin": "D2" |
| 7 | }, | 7 | }, |
| 8 | "rgblight": { | 8 | "rgblight": { |
| 9 | "led_count": 54, | ||
| 9 | "split_count": [27, 27] | 10 | "split_count": [27, 27] |
| 10 | }, | 11 | }, |
| 11 | "ws2812": { | 12 | "ws2812": { |
diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h index 422f5eb5cd..60a49100e3 100644 --- a/keyboards/crkbd/rev1/config.h +++ b/keyboards/crkbd/rev1/config.h | |||
| @@ -18,13 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #ifdef RGBLIGHT_ENABLE | ||
| 22 | # define RGBLED_NUM 54 // Number of LEDs | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #ifdef RGB_MATRIX_ENABLE | 21 | #ifdef RGB_MATRIX_ENABLE |
| 26 | # define RGBLED_NUM 54 // Number of LEDs | 22 | # define RGB_MATRIX_LED_COUNT 54 |
| 27 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 28 | # define RGB_MATRIX_SPLIT \ | 23 | # define RGB_MATRIX_SPLIT \ |
| 29 | { 27, 27 } | 24 | { 27, 27 } |
| 30 | # define SPLIT_TRANSPORT_MIRROR | 25 | # define SPLIT_TRANSPORT_MIRROR |
diff --git a/keyboards/crkbd/rev1/info.json b/keyboards/crkbd/rev1/info.json index e9114e903c..48a27d11f3 100644 --- a/keyboards/crkbd/rev1/info.json +++ b/keyboards/crkbd/rev1/info.json | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | "soft_serial_pin": "D2" | 6 | "soft_serial_pin": "D2" |
| 7 | }, | 7 | }, |
| 8 | "rgblight": { | 8 | "rgblight": { |
| 9 | "led_count": 54, | ||
| 9 | "split_count": [27, 27] | 10 | "split_count": [27, 27] |
| 10 | }, | 11 | }, |
| 11 | "ws2812": { | 12 | "ws2812": { |
diff --git a/keyboards/crypt_macro/config.h b/keyboards/crypt_macro/config.h index ecdef4acaa..3dc7c6c43a 100644 --- a/keyboards/crypt_macro/config.h +++ b/keyboards/crypt_macro/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define WS2812_DMA_CHANNEL 3 | 28 | #define WS2812_DMA_CHANNEL 3 |
| 29 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB | 29 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 11 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/crypt_macro/info.json b/keyboards/crypt_macro/info.json index 8dcd2e264e..cd7fdde22d 100644 --- a/keyboards/crypt_macro/info.json +++ b/keyboards/crypt_macro/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x434D", | 8 | "pid": "0x434D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 11 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B4", | 15 | "pin": "B4", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/custommk/genesis/rev1/config.h b/keyboards/custommk/genesis/rev1/config.h index d894b55edf..7358dfab6f 100644 --- a/keyboards/custommk/genesis/rev1/config.h +++ b/keyboards/custommk/genesis/rev1/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 13 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/custommk/genesis/rev1/info.json b/keyboards/custommk/genesis/rev1/info.json index 4915497bb0..7d9eb7c977 100644 --- a/keyboards/custommk/genesis/rev1/info.json +++ b/keyboards/custommk/genesis/rev1/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "E6" | 12 | "pin": "E6" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 13, | ||
| 15 | "max_brightness": 128 | 16 | "max_brightness": 128 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/custommk/genesis/rev2/config.h b/keyboards/custommk/genesis/rev2/config.h index 126caeab6a..604c3abad0 100644 --- a/keyboards/custommk/genesis/rev2/config.h +++ b/keyboards/custommk/genesis/rev2/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 13 | ||
| 32 | #define RGBLIGHT_LAYERS | 31 | #define RGBLIGHT_LAYERS |
| 33 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 34 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/custommk/genesis/rev2/info.json b/keyboards/custommk/genesis/rev2/info.json index 0ee3d9a537..a5358cdee4 100644 --- a/keyboards/custommk/genesis/rev2/info.json +++ b/keyboards/custommk/genesis/rev2/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "E6" | 12 | "pin": "E6" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 13, | ||
| 15 | "max_brightness": 128 | 16 | "max_brightness": 128 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/cx60/config.h b/keyboards/cx60/config.h index f14a164f57..fb684c7159 100644 --- a/keyboards/cx60/config.h +++ b/keyboards/cx60/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 10 | 30 | #define RGBLIGHT_HUE_STEP 10 |
| 32 | #define RGBLIGHT_SAT_STEP 17 | 31 | #define RGBLIGHT_SAT_STEP 17 |
| 33 | #define RGBLIGHT_VAL_STEP 17 | 32 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/cx60/info.json b/keyboards/cx60/info.json index 89da7fa8b3..cda9da7e82 100644 --- a/keyboards/cx60/info.json +++ b/keyboards/cx60/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "B5", | 21 | "caps_lock": "B5", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 14 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "B6" | 28 | "pin": "B6" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/db/db63/config.h b/keyboards/db/db63/config.h index 7a7d3584de..c82ef78de8 100644 --- a/keyboards/db/db63/config.h +++ b/keyboards/db/db63/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/db/db63/info.json b/keyboards/db/db63/info.json index c8004a2bae..1faaf2becf 100644 --- a/keyboards/db/db63/info.json +++ b/keyboards/db/db63/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/dekunukem/duckypad/config.h b/keyboards/dekunukem/duckypad/config.h index 692f679d24..36c6f90de1 100644 --- a/keyboards/dekunukem/duckypad/config.h +++ b/keyboards/dekunukem/duckypad/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #pragma once | 21 | #pragma once |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 15 | ||
| 24 | #define RGB_MATRIX_LED_COUNT 15 | 23 | #define RGB_MATRIX_LED_COUNT 15 |
| 25 | 24 | ||
| 26 | #ifdef RGB_MATRIX_ENABLE | 25 | #ifdef RGB_MATRIX_ENABLE |
diff --git a/keyboards/delikeeb/flatbread60/config.h b/keyboards/delikeeb/flatbread60/config.h index fb3203433b..62c12ff410 100644 --- a/keyboards/delikeeb/flatbread60/config.h +++ b/keyboards/delikeeb/flatbread60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 19 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/delikeeb/flatbread60/info.json b/keyboards/delikeeb/flatbread60/info.json index 6caf40a265..10cc822436 100644 --- a/keyboards/delikeeb/flatbread60/info.json +++ b/keyboards/delikeeb/flatbread60/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 19, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/delikeeb/vaguettelite/config.h b/keyboards/delikeeb/vaguettelite/config.h index 09f3bb3f87..cfc6948813 100644 --- a/keyboards/delikeeb/vaguettelite/config.h +++ b/keyboards/delikeeb/vaguettelite/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 9 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/delikeeb/vaguettelite/info.json b/keyboards/delikeeb/vaguettelite/info.json index 88486929d3..1e698cb9cb 100644 --- a/keyboards/delikeeb/vaguettelite/info.json +++ b/keyboards/delikeeb/vaguettelite/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | ] | 20 | ] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 9, | ||
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/delikeeb/vanana/rev1/config.h b/keyboards/delikeeb/vanana/rev1/config.h index 3f50b5bb50..06dc1809b3 100644 --- a/keyboards/delikeeb/vanana/rev1/config.h +++ b/keyboards/delikeeb/vanana/rev1/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define B7_AUDIO | 20 | #define B7_AUDIO |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 16 | ||
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
| 25 | # define RGBLIGHT_VAL_STEP 8 | 24 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/delikeeb/vanana/rev1/info.json b/keyboards/delikeeb/vanana/rev1/info.json index 3e48aaa6f2..4e123191b1 100644 --- a/keyboards/delikeeb/vanana/rev1/info.json +++ b/keyboards/delikeeb/vanana/rev1/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 16, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/delikeeb/vanana/rev2/config.h b/keyboards/delikeeb/vanana/rev2/config.h index 3f50b5bb50..06dc1809b3 100644 --- a/keyboards/delikeeb/vanana/rev2/config.h +++ b/keyboards/delikeeb/vanana/rev2/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define B7_AUDIO | 20 | #define B7_AUDIO |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 16 | ||
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
| 25 | # define RGBLIGHT_VAL_STEP 8 | 24 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/delikeeb/vanana/rev2/info.json b/keyboards/delikeeb/vanana/rev2/info.json index 668d533404..fc59f8c756 100644 --- a/keyboards/delikeeb/vanana/rev2/info.json +++ b/keyboards/delikeeb/vanana/rev2/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "device_version": "0.0.2" | 4 | "device_version": "0.0.2" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 16, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/delikeeb/waaffle/rev3/config.h b/keyboards/delikeeb/waaffle/rev3/config.h index 7f0d329f52..4e1bd0e874 100644 --- a/keyboards/delikeeb/waaffle/rev3/config.h +++ b/keyboards/delikeeb/waaffle/rev3/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 10 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/delikeeb/waaffle/rev3/info.json b/keyboards/delikeeb/waaffle/rev3/info.json index ab4f322050..c7eab26a77 100644 --- a/keyboards/delikeeb/waaffle/rev3/info.json +++ b/keyboards/delikeeb/waaffle/rev3/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 10, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/deltasplit75/v2/config.h b/keyboards/deltasplit75/v2/config.h index 4d2439ad3c..9b7700e013 100644 --- a/keyboards/deltasplit75/v2/config.h +++ b/keyboards/deltasplit75/v2/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 26 | |||
| 27 | /* | 25 | /* |
| 28 | * Feature disable options | 26 | * Feature disable options |
| 29 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/deltasplit75/v2/info.json b/keyboards/deltasplit75/v2/info.json index 857fa12e9a..d583f3bb65 100644 --- a/keyboards/deltasplit75/v2/info.json +++ b/keyboards/deltasplit75/v2/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "split": { | 15 | "split": { |
| 16 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 12 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "D3" | 22 | "pin": "D3" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/demiurge/config.h b/keyboards/demiurge/config.h index 2d3108fae3..bd58363c4b 100755 --- a/keyboards/demiurge/config.h +++ b/keyboards/demiurge/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 21 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/demiurge/info.json b/keyboards/demiurge/info.json index 88c9381319..f7554aad54 100644 --- a/keyboards/demiurge/info.json +++ b/keyboards/demiurge/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F1" | 17 | "pin": "F1" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 21, | ||
| 20 | "max_brightness": 153 | 21 | "max_brightness": 153 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/dm9records/ergoinu/config.h b/keyboards/dm9records/ergoinu/config.h index 7ca2b8cded..f891e06226 100644 --- a/keyboards/dm9records/ergoinu/config.h +++ b/keyboards/dm9records/ergoinu/config.h | |||
| @@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | // #define MASTER_RIGHT | 24 | // #define MASTER_RIGHT |
| 25 | // #define EE_HANDS | 25 | // #define EE_HANDS |
| 26 | 26 | ||
| 27 | #define RGBLED_NUM 7 | ||
| 28 | |||
| 29 | #ifndef IOS_DEVICE_ENABLE | 27 | #ifndef IOS_DEVICE_ENABLE |
| 30 | #if RGBLED_NUM <= 7 | 28 | #if RGBLED_NUM <= 7 |
| 31 | #define RGBLIGHT_LIMIT_VAL 255 | 29 | #define RGBLIGHT_LIMIT_VAL 255 |
diff --git a/keyboards/dm9records/ergoinu/info.json b/keyboards/dm9records/ergoinu/info.json index 1813baa241..fc5d4fa26a 100644 --- a/keyboards/dm9records/ergoinu/info.json +++ b/keyboards/dm9records/ergoinu/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 7 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B6" | 23 | "pin": "B6" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/dmqdesign/spin/config.h b/keyboards/dmqdesign/spin/config.h index 2a1bafaacf..cc43876148 100644 --- a/keyboards/dmqdesign/spin/config.h +++ b/keyboards/dmqdesign/spin/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | //Number of RGB LEDs | ||
| 21 | #define RGBLED_NUM 3 | ||
| 22 | |||
| 23 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 24 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 25 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dmqdesign/spin/info.json b/keyboards/dmqdesign/spin/info.json index 52fc9f40ea..aeeb19299e 100644 --- a/keyboards/dmqdesign/spin/info.json +++ b/keyboards/dmqdesign/spin/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | {"pin_a": "D6", "pin_b": "D4"} | 20 | {"pin_a": "D6", "pin_b": "D4"} |
| 21 | ] | 21 | ] |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "led_count": 3 | ||
| 25 | }, | ||
| 23 | "ws2812": { | 26 | "ws2812": { |
| 24 | "pin": "D3" | 27 | "pin": "D3" |
| 25 | }, | 28 | }, |
diff --git a/keyboards/do60/config.h b/keyboards/do60/config.h index 21160e0a8d..03cc7e8735 100644 --- a/keyboards/do60/config.h +++ b/keyboards/do60/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 33 | #define RGBLIGHT_HUE_STEP 10 | 32 | #define RGBLIGHT_HUE_STEP 10 |
| 34 | #define RGBLIGHT_SAT_STEP 15 | 33 | #define RGBLIGHT_SAT_STEP 15 |
| 35 | #define RGBLIGHT_VAL_STEP 15 | 34 | #define RGBLIGHT_VAL_STEP 15 |
diff --git a/keyboards/do60/info.json b/keyboards/do60/info.json index 9267a98141..21d10f4b9e 100644 --- a/keyboards/do60/info.json +++ b/keyboards/do60/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "B2", | 21 | "caps_lock": "B2", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 20 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "F5" | 28 | "pin": "F5" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/donutcables/budget96/config.h b/keyboards/donutcables/budget96/config.h index 398b0be3c8..ace3594f48 100644 --- a/keyboards/donutcables/budget96/config.h +++ b/keyboards/donutcables/budget96/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 18 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/donutcables/budget96/info.json b/keyboards/donutcables/budget96/info.json index 98c878d12f..263174c8ba 100644 --- a/keyboards/donutcables/budget96/info.json +++ b/keyboards/donutcables/budget96/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/doodboard/duckboard/config.h b/keyboards/doodboard/duckboard/config.h index a73678faf2..e16c8b7f5a 100644 --- a/keyboards/doodboard/duckboard/config.h +++ b/keyboards/doodboard/duckboard/config.h | |||
| @@ -18,7 +18,3 @@ | |||
| 18 | 18 | ||
| 19 | /* media key slowdown for windows */ | 19 | /* media key slowdown for windows */ |
| 20 | #define TAP_CODE_DELAY 20 | 20 | #define TAP_CODE_DELAY 20 |
| 21 | |||
| 22 | #ifdef RGBLIGHT_ENABLE | ||
| 23 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 24 | #endif | ||
diff --git a/keyboards/doodboard/duckboard/info.json b/keyboards/doodboard/duckboard/info.json index 367a9b7d72..2b1f08ebb3 100644 --- a/keyboards/doodboard/duckboard/info.json +++ b/keyboards/doodboard/duckboard/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "F5", "pin_b": "F6", "resolution": 2} | 18 | {"pin_a": "F5", "pin_b": "F6", "resolution": 2} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 8 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D3" | 25 | "pin": "D3" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/doodboard/duckboard_r2/config.h b/keyboards/doodboard/duckboard_r2/config.h index a73678faf2..e16c8b7f5a 100644 --- a/keyboards/doodboard/duckboard_r2/config.h +++ b/keyboards/doodboard/duckboard_r2/config.h | |||
| @@ -18,7 +18,3 @@ | |||
| 18 | 18 | ||
| 19 | /* media key slowdown for windows */ | 19 | /* media key slowdown for windows */ |
| 20 | #define TAP_CODE_DELAY 20 | 20 | #define TAP_CODE_DELAY 20 |
| 21 | |||
| 22 | #ifdef RGBLIGHT_ENABLE | ||
| 23 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 24 | #endif | ||
diff --git a/keyboards/doodboard/duckboard_r2/info.json b/keyboards/doodboard/duckboard_r2/info.json index 00d0fc6452..1aff0eccd3 100644 --- a/keyboards/doodboard/duckboard_r2/info.json +++ b/keyboards/doodboard/duckboard_r2/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "F6", "pin_b": "F5", "resolution": 2} | 18 | {"pin_a": "F6", "pin_b": "F5", "resolution": 2} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 8 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D3" | 25 | "pin": "D3" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/doppelganger/config.h b/keyboards/doppelganger/config.h index 35608a3323..a18b484746 100644 --- a/keyboards/doppelganger/config.h +++ b/keyboards/doppelganger/config.h | |||
| @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | // #define USE_I2C | 22 | // #define USE_I2C |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 2 | ||
| 25 | |||
| 26 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 27 | #define LOCKING_SUPPORT_ENABLE | 25 | #define LOCKING_SUPPORT_ENABLE |
| 28 | /* Locking resynchronize hack */ | 26 | /* Locking resynchronize hack */ |
diff --git a/keyboards/doppelganger/info.json b/keyboards/doppelganger/info.json index 49c3ac1bfa..ea53bfb915 100644 --- a/keyboards/doppelganger/info.json +++ b/keyboards/doppelganger/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | } | 23 | } |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 2, | ||
| 26 | "split_count": [1, 1] | 27 | "split_count": [1, 1] |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/doro67/rgb/config.h b/keyboards/doro67/rgb/config.h index cca3e4d26f..e18a231380 100644 --- a/keyboards/doro67/rgb/config.h +++ b/keyboards/doro67/rgb/config.h | |||
| @@ -70,8 +70,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 70 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH | 70 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH |
| 71 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | 71 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
| 72 | 72 | ||
| 73 | #define RGBLED_NUM 67 | ||
| 74 | |||
| 75 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 73 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 76 | #define LOCKING_SUPPORT_ENABLE | 74 | #define LOCKING_SUPPORT_ENABLE |
| 77 | /* Locking resynchronize hack */ | 75 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dp60/config.h b/keyboards/dp60/config.h index b1518cb5fb..d84e1cd9f1 100644 --- a/keyboards/dp60/config.h +++ b/keyboards/dp60/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | //#define NO_PRINT | 33 | //#define NO_PRINT |
| 34 | 34 | ||
| 35 | //rgb light setting | 35 | //rgb light setting |
| 36 | #define RGBLED_NUM 18 | ||
| 37 | #define RGBLIGHT_EFFECT_BREATHING | 36 | #define RGBLIGHT_EFFECT_BREATHING |
| 38 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 37 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 39 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 38 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/dp60/info.json b/keyboards/dp60/info.json index 625ca2a238..810fd5176c 100644 --- a/keyboards/dp60/info.json +++ b/keyboards/dp60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x00BE", | 8 | "pid": "0x00BE", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D7" | 15 | "pin": "D7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/draculad/config.h b/keyboards/draculad/config.h index 697ac4ccb0..426f7a3a38 100644 --- a/keyboards/draculad/config.h +++ b/keyboards/draculad/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 27 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 28 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 29 | #define RGBLED_NUM 10 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/draculad/info.json b/keyboards/draculad/info.json index b5d4fe6535..cc88dcd07e 100644 --- a/keyboards/draculad/info.json +++ b/keyboards/draculad/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 10, | ||
| 12 | "sleep": true, | 13 | "sleep": true, |
| 13 | "split": true | 14 | "split": true |
| 14 | }, | 15 | }, |
diff --git a/keyboards/draytronics/daisy/config.h b/keyboards/draytronics/daisy/config.h index 4b58b3fffc..0d3292e522 100644 --- a/keyboards/draytronics/daisy/config.h +++ b/keyboards/draytronics/daisy/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | //Underglow | 41 | //Underglow |
| 42 | #define RGBLED_NUM 4 | ||
| 43 | #define RGBLIGHT_HUE_STEP 8 | 42 | #define RGBLIGHT_HUE_STEP 8 |
| 44 | #define RGBLIGHT_SAT_STEP 8 | 43 | #define RGBLIGHT_SAT_STEP 8 |
| 45 | #define RGBLIGHT_VAL_STEP 8 | 44 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/draytronics/daisy/info.json b/keyboards/draytronics/daisy/info.json index f20d63a725..adf75b578c 100644 --- a/keyboards/draytronics/daisy/info.json +++ b/keyboards/draytronics/daisy/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | ] | 20 | ] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 4, | ||
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/draytronics/elise/config.h b/keyboards/draytronics/elise/config.h index 31f15c1fbd..1d8430bc54 100644 --- a/keyboards/draytronics/elise/config.h +++ b/keyboards/draytronics/elise/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | // ws2812 options | 26 | // ws2812 options |
| 27 | #define RGBLED_NUM 7 | ||
| 28 | #define RGBLIGHT_HUE_STEP 8 | 27 | #define RGBLIGHT_HUE_STEP 8 |
| 29 | #define RGBLIGHT_SAT_STEP 8 | 28 | #define RGBLIGHT_SAT_STEP 8 |
| 30 | #define RGBLIGHT_VAL_STEP 8 | 29 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/draytronics/elise/info.json b/keyboards/draytronics/elise/info.json index 4b09ad0b55..8ff6d43c44 100644 --- a/keyboards/draytronics/elise/info.json +++ b/keyboards/draytronics/elise/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 7, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/draytronics/elise_v2/config.h b/keyboards/draytronics/elise_v2/config.h index 78e3e06460..1d8430bc54 100644 --- a/keyboards/draytronics/elise_v2/config.h +++ b/keyboards/draytronics/elise_v2/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | // ws2812 options | 26 | // ws2812 options |
| 27 | #define RGBLED_NUM 16 | ||
| 28 | #define RGBLIGHT_HUE_STEP 8 | 27 | #define RGBLIGHT_HUE_STEP 8 |
| 29 | #define RGBLIGHT_SAT_STEP 8 | 28 | #define RGBLIGHT_SAT_STEP 8 |
| 30 | #define RGBLIGHT_VAL_STEP 8 | 29 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/draytronics/elise_v2/info.json b/keyboards/draytronics/elise_v2/info.json index be0f874947..972d0b690b 100644 --- a/keyboards/draytronics/elise_v2/info.json +++ b/keyboards/draytronics/elise_v2/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "2.0.0" | 9 | "device_version": "2.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/duck/eagle_viper/v2/config.h b/keyboards/duck/eagle_viper/v2/config.h index e39099ef56..e1fc4b658c 100644 --- a/keyboards/duck/eagle_viper/v2/config.h +++ b/keyboards/duck/eagle_viper/v2/config.h | |||
| @@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 17 | ||
| 38 | 37 | ||
| 39 | #define TAPPING_TERM 200 | 38 | #define TAPPING_TERM 200 |
diff --git a/keyboards/duck/eagle_viper/v2/info.json b/keyboards/duck/eagle_viper/v2/info.json index 4d6019ddba..0352ab4760 100644 --- a/keyboards/duck/eagle_viper/v2/info.json +++ b/keyboards/duck/eagle_viper/v2/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "bootmagic": { | 12 | "bootmagic": { |
| 13 | "matrix": [4, 10] | 13 | "matrix": [4, 10] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 17 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "D6" | 19 | "pin": "D6" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/duck/jetfire/config.h b/keyboards/duck/jetfire/config.h index 95459e67b1..426f673b05 100644 --- a/keyboards/duck/jetfire/config.h +++ b/keyboards/duck/jetfire/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 23 | ||
| 39 | 38 | ||
| 40 | /* | 39 | /* |
| 41 | * Feature disable options | 40 | * Feature disable options |
diff --git a/keyboards/duck/jetfire/info.json b/keyboards/duck/jetfire/info.json index 287ab0ac4a..8c0a02dd7b 100644 --- a/keyboards/duck/jetfire/info.json +++ b/keyboards/duck/jetfire/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "bootmagic": { | 15 | "bootmagic": { |
| 16 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 23 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "D6" | 22 | "pin": "D6" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/duck/lightsaver/config.h b/keyboards/duck/lightsaver/config.h index cb5a419f56..f6430999ac 100644 --- a/keyboards/duck/lightsaver/config.h +++ b/keyboards/duck/lightsaver/config.h | |||
| @@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 17 | ||
| 38 | 37 | ||
| 39 | #define TAPPING_TERM 200 | 38 | #define TAPPING_TERM 200 |
diff --git a/keyboards/duck/lightsaver/info.json b/keyboards/duck/lightsaver/info.json index 296820d7ca..6c77c26bf0 100644 --- a/keyboards/duck/lightsaver/info.json +++ b/keyboards/duck/lightsaver/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "bootmagic": { | 15 | "bootmagic": { |
| 16 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 17 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "D6" | 22 | "pin": "D6" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/duck/octagon/v1/config.h b/keyboards/duck/octagon/v1/config.h index 9b557edaba..4859dcadda 100644 --- a/keyboards/duck/octagon/v1/config.h +++ b/keyboards/duck/octagon/v1/config.h | |||
| @@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 17 | ||
| 38 | 37 | ||
| 39 | #define TAPPING_TERM 200 | 38 | #define TAPPING_TERM 200 |
diff --git a/keyboards/duck/octagon/v1/info.json b/keyboards/duck/octagon/v1/info.json index 8186ce878e..2f07bbcb6d 100644 --- a/keyboards/duck/octagon/v1/info.json +++ b/keyboards/duck/octagon/v1/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "bootmagic": { | 15 | "bootmagic": { |
| 16 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 17 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "D6" | 22 | "pin": "D6" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/duck/octagon/v2/config.h b/keyboards/duck/octagon/v2/config.h index 2530cedc0f..f1a6bd1515 100644 --- a/keyboards/duck/octagon/v2/config.h +++ b/keyboards/duck/octagon/v2/config.h | |||
| @@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 17 | ||
| 38 | 37 | ||
| 39 | #define TAPPING_TERM 200 | 38 | #define TAPPING_TERM 200 |
diff --git a/keyboards/duck/octagon/v2/info.json b/keyboards/duck/octagon/v2/info.json index f3bd30fbe5..53c8c629a6 100644 --- a/keyboards/duck/octagon/v2/info.json +++ b/keyboards/duck/octagon/v2/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "bootmagic": { | 15 | "bootmagic": { |
| 16 | "matrix": [5, 10] | 16 | "matrix": [5, 10] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 17 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "D6" | 22 | "pin": "D6" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h index e8d87e0719..aea6e224b6 100644 --- a/keyboards/duck/orion/v3/config.h +++ b/keyboards/duck/orion/v3/config.h | |||
| @@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 18 | ||
| 38 | 37 | ||
| 39 | #define TAPPING_TERM 200 | 38 | #define TAPPING_TERM 200 |
diff --git a/keyboards/duck/orion/v3/info.json b/keyboards/duck/orion/v3/info.json index eff1e5f88c..d7de16e7c9 100644 --- a/keyboards/duck/orion/v3/info.json +++ b/keyboards/duck/orion/v3/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "bootmagic": { | 16 | "bootmagic": { |
| 17 | "matrix": [4, 10] | 17 | "matrix": [4, 10] |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D6" | 23 | "pin": "D6" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/duck/tcv3/config.h b/keyboards/duck/tcv3/config.h index 13f2d76139..ed75effe40 100644 --- a/keyboards/duck/tcv3/config.h +++ b/keyboards/duck/tcv3/config.h | |||
| @@ -34,4 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 17 | ||
diff --git a/keyboards/duck/tcv3/info.json b/keyboards/duck/tcv3/info.json index 69f1033d22..6b4a650596 100644 --- a/keyboards/duck/tcv3/info.json +++ b/keyboards/duck/tcv3/info.json | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | "bootmagic": { | 11 | "bootmagic": { |
| 12 | "matrix": [5, 10] | 12 | "matrix": [5, 10] |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | ||
| 15 | "led_count": 17 | ||
| 16 | }, | ||
| 14 | "ws2812": { | 17 | "ws2812": { |
| 15 | "pin": "D6" | 18 | "pin": "D6" |
| 16 | }, | 19 | }, |
diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h index 76d08b5536..f5c1cdb613 100644 --- a/keyboards/dz60/config.h +++ b/keyboards/dz60/config.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | # define RGBLIGHT_EFFECT_RGB_TEST | 10 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 11 | # define RGBLIGHT_EFFECT_ALTERNATING | 11 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 12 | # define RGBLIGHT_EFFECT_TWINKLE | 12 | # define RGBLIGHT_EFFECT_TWINKLE |
| 13 | # define RGBLED_NUM 16 | ||
| 14 | # define RGBLIGHT_HUE_STEP 8 | 13 | # define RGBLIGHT_HUE_STEP 8 |
| 15 | # define RGBLIGHT_SAT_STEP 8 | 14 | # define RGBLIGHT_SAT_STEP 8 |
| 16 | # define RGBLIGHT_VAL_STEP 8 | 15 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/dz60/info.json b/keyboards/dz60/info.json index 23d17596d9..33385890a1 100644 --- a/keyboards/dz60/info.json +++ b/keyboards/dz60/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/dztech/bocc/config.h b/keyboards/dztech/bocc/config.h index 043d529070..b2df897063 100644 --- a/keyboards/dztech/bocc/config.h +++ b/keyboards/dztech/bocc/config.h | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | # define RGBLIGHT_EFFECT_RGB_TEST | 25 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 26 | # define RGBLIGHT_EFFECT_ALTERNATING | 26 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 27 | # define RGBLIGHT_EFFECT_TWINKLE | 27 | # define RGBLIGHT_EFFECT_TWINKLE |
| 28 | # define RGBLED_NUM 20 | ||
| 29 | # define RGBLIGHT_HUE_STEP 8 | 28 | # define RGBLIGHT_HUE_STEP 8 |
| 30 | # define RGBLIGHT_SAT_STEP 8 | 29 | # define RGBLIGHT_SAT_STEP 8 |
| 31 | # define RGBLIGHT_VAL_STEP 8 | 30 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/dztech/bocc/info.json b/keyboards/dztech/bocc/info.json index d91a78316c..a511f5b474 100644 --- a/keyboards/dztech/bocc/info.json +++ b/keyboards/dztech/bocc/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 20, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/dztech/duo_s/config.h b/keyboards/dztech/duo_s/config.h index 9ebdcf550a..248207e92d 100644 --- a/keyboards/dztech/duo_s/config.h +++ b/keyboards/dztech/duo_s/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) | 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) |
| 30 | #define RGBLIGHT_DEFAULT_SPD 15 | 30 | #define RGBLIGHT_DEFAULT_SPD 15 |
| 31 | #define RGBLED_NUM 16 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 10 | 32 | #define RGBLIGHT_SAT_STEP 10 |
| 34 | #define RGBLIGHT_VAL_STEP 10 | 33 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/dztech/duo_s/info.json b/keyboards/dztech/duo_s/info.json index cb488d8b75..bc0732c3e6 100644 --- a/keyboards/dztech/duo_s/info.json +++ b/keyboards/dztech/duo_s/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/dztech/endless80/config.h b/keyboards/dztech/endless80/config.h index d02f837169..68d7853e55 100644 --- a/keyboards/dztech/endless80/config.h +++ b/keyboards/dztech/endless80/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_TWINKLE | 27 | #define RGBLIGHT_EFFECT_TWINKLE |
| 28 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) | 28 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) |
| 29 | #define RGBLIGHT_DEFAULT_SPD 10 | 29 | #define RGBLIGHT_DEFAULT_SPD 10 |
| 30 | #define RGBLED_NUM 30 | ||
| 31 | #define RGBLIGHT_HUE_STEP 10 | 30 | #define RGBLIGHT_HUE_STEP 10 |
| 32 | #define RGBLIGHT_SAT_STEP 10 | 31 | #define RGBLIGHT_SAT_STEP 10 |
| 33 | #define RGBLIGHT_VAL_STEP 10 | 32 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/dztech/endless80/info.json b/keyboards/dztech/endless80/info.json index 9fb8bc22ed..5da1f83d25 100644 --- a/keyboards/dztech/endless80/info.json +++ b/keyboards/dztech/endless80/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "F7" | 21 | "pin": "F7" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 30, | ||
| 24 | "max_brightness": 130 | 25 | "max_brightness": 130 |
| 25 | }, | 26 | }, |
| 26 | "processor": "atmega32u4", | 27 | "processor": "atmega32u4", |
diff --git a/keyboards/ealdin/quadrant/config.h b/keyboards/ealdin/quadrant/config.h index d471ec8c58..63a2908eb1 100644 --- a/keyboards/ealdin/quadrant/config.h +++ b/keyboards/ealdin/quadrant/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 7 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ealdin/quadrant/info.json b/keyboards/ealdin/quadrant/info.json index 844a471836..5b4fb20d58 100644 --- a/keyboards/ealdin/quadrant/info.json +++ b/keyboards/ealdin/quadrant/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 7, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/eason/aeroboard/config.h b/keyboards/eason/aeroboard/config.h index 5ba690ee95..877ce5ac96 100644 --- a/keyboards/eason/aeroboard/config.h +++ b/keyboards/eason/aeroboard/config.h | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | #define RGBLIGHT_EFFECT_RGB_TEST | 13 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 14 | #define RGBLIGHT_EFFECT_ALTERNATING | 14 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 15 | #define RGBLIGHT_EFFECT_TWINKLE | 15 | #define RGBLIGHT_EFFECT_TWINKLE |
| 16 | #define RGBLED_NUM 20 | ||
| 17 | #define WS2812_SPI SPID2 | 16 | #define WS2812_SPI SPID2 |
| 18 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 17 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
| 19 | 18 | ||
diff --git a/keyboards/eason/aeroboard/info.json b/keyboards/eason/aeroboard/info.json index 83de4d8717..68707d82fa 100644 --- a/keyboards/eason/aeroboard/info.json +++ b/keyboards/eason/aeroboard/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 20 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B15", | 16 | "pin": "B15", |
| 14 | "driver": "spi" | 17 | "driver": "spi" |
diff --git a/keyboards/eason/capsule65/config.h b/keyboards/eason/capsule65/config.h index cfe3e84fda..1f82ce3373 100644 --- a/keyboards/eason/capsule65/config.h +++ b/keyboards/eason/capsule65/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 6 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/eason/capsule65/info.json b/keyboards/eason/capsule65/info.json index 6496a6be71..2be92e5840 100644 --- a/keyboards/eason/capsule65/info.json +++ b/keyboards/eason/capsule65/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "indicators": { | 16 | "indicators": { |
| 17 | "caps_lock": "F6" | 17 | "caps_lock": "F6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "F7" | 23 | "pin": "F7" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index b160d9ccb7..c8ecae7fc6 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. | 24 | #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. |
| 25 | 25 | ||
| 26 | /* Underglow */ | 26 | /* Underglow */ |
| 27 | #define RGBLED_NUM 17 | ||
| 28 | #define WS2812_PWM_DRIVER PWMD2 | 27 | #define WS2812_PWM_DRIVER PWMD2 |
| 29 | #define WS2812_PWM_CHANNEL 2 | 28 | #define WS2812_PWM_CHANNEL 2 |
| 30 | #define WS2812_PWM_PAL_MODE 2 | 29 | #define WS2812_PWM_PAL_MODE 2 |
diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/info.json index 5c3fb8d4cc..aef759e29a 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 17, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/edi/hardlight/mk1/config.h b/keyboards/edi/hardlight/mk1/config.h index 6677c4587e..44515c0913 100644 --- a/keyboards/edi/hardlight/mk1/config.h +++ b/keyboards/edi/hardlight/mk1/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* | 25 | /* |
| 26 | * Enable RGB Underlighting | 26 | * Enable RGB Underlighting |
| 27 | */ | 27 | */ |
| 28 | #define RGBLED_NUM 15 | ||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/edi/hardlight/mk1/info.json b/keyboards/edi/hardlight/mk1/info.json index d7275dfa70..7e8d1a755d 100644 --- a/keyboards/edi/hardlight/mk1/info.json +++ b/keyboards/edi/hardlight/mk1/info.json | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | "rows": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4"] | 11 | "rows": ["B0", "B1", "B2", "B3", "D4", "D6", "D7", "B4"] |
| 12 | }, | 12 | }, |
| 13 | "diode_direction": "COL2ROW", | 13 | "diode_direction": "COL2ROW", |
| 14 | "rgblight": { | ||
| 15 | "led_count": 15 | ||
| 16 | }, | ||
| 14 | "ws2812": { | 17 | "ws2812": { |
| 15 | "pin": "C7" | 18 | "pin": "C7" |
| 16 | }, | 19 | }, |
diff --git a/keyboards/edi/hardlight/mk2/config.h b/keyboards/edi/hardlight/mk2/config.h index b9b6b86c98..54e18096ff 100644 --- a/keyboards/edi/hardlight/mk2/config.h +++ b/keyboards/edi/hardlight/mk2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* RGB Underglow */ | 25 | /* RGB Underglow */ |
| 26 | #define RGBLED_NUM 32 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/edi/hardlight/mk2/info.json b/keyboards/edi/hardlight/mk2/info.json index 63ca3aa15d..64be97d95b 100644 --- a/keyboards/edi/hardlight/mk2/info.json +++ b/keyboards/edi/hardlight/mk2/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0x2408", | 6 | "pid": "0x2408", |
| 7 | "device_version": "0.0.7" | 7 | "device_version": "0.0.7" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 32 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "A10", | 13 | "pin": "A10", |
| 11 | "driver": "pwm" | 14 | "driver": "pwm" |
diff --git a/keyboards/edi/standaside/config.h b/keyboards/edi/standaside/config.h index e59dbc15e6..23ca0b1886 100644 --- a/keyboards/edi/standaside/config.h +++ b/keyboards/edi/standaside/config.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | /* | 10 | /* |
| 11 | * Enable RGB Underlighting | 11 | * Enable RGB Underlighting |
| 12 | */ | 12 | */ |
| 13 | #define RGBLED_NUM 12 | ||
| 14 | #define RGBLIGHT_EFFECT_BREATHING | 13 | #define RGBLIGHT_EFFECT_BREATHING |
| 15 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 14 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 16 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 15 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/edi/standaside/info.json b/keyboards/edi/standaside/info.json index 0c8bb289b0..07e58f1e30 100644 --- a/keyboards/edi/standaside/info.json +++ b/keyboards/edi/standaside/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["D1", "F4", "F6", "F7", "B1", "B3", "B2", "B6"] | 13 | "rows": ["D1", "F4", "F6", "F7", "B1", "B3", "B2", "B6"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 12 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "C7" | 20 | "pin": "C7" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/edinburgh41/config.h b/keyboards/edinburgh41/config.h index f37d43dd2f..1958d0a932 100644 --- a/keyboards/edinburgh41/config.h +++ b/keyboards/edinburgh41/config.h | |||
| @@ -3,10 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | // Underglow LED settings | ||
| 7 | |||
| 8 | #define RGBLED_NUM 10 | ||
| 9 | |||
| 10 | // Thumbstick settings | 6 | // Thumbstick settings |
| 11 | #define ANALOG_JOYSTICK_X_AXIS_PIN B5 | 7 | #define ANALOG_JOYSTICK_X_AXIS_PIN B5 |
| 12 | #define ANALOG_JOYSTICK_Y_AXIS_PIN B6 | 8 | #define ANALOG_JOYSTICK_Y_AXIS_PIN B6 |
diff --git a/keyboards/edinburgh41/info.json b/keyboards/edinburgh41/info.json index 14e4950c4a..745710f92f 100644 --- a/keyboards/edinburgh41/info.json +++ b/keyboards/edinburgh41/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "pid": "0x0000", | 10 | "pid": "0x0000", |
| 11 | "vid": "0xFEED" | 11 | "vid": "0xFEED" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | ||
| 14 | "led_count": 10 | ||
| 15 | }, | ||
| 13 | "ws2812": { | 16 | "ws2812": { |
| 14 | "pin": "D0" | 17 | "pin": "D0" |
| 15 | }, | 18 | }, |
diff --git a/keyboards/eek/config.h b/keyboards/eek/config.h index 51511b7f12..f0f88b0a38 100644 --- a/keyboards/eek/config.h +++ b/keyboards/eek/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 36 | ||
| 21 | #define RGBLIGHT_HUE_STEP 4 | 20 | #define RGBLIGHT_HUE_STEP 4 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/eek/info.json b/keyboards/eek/info.json index cfc944d847..10cf44b2cc 100644 --- a/keyboards/eek/info.json +++ b/keyboards/eek/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 36, | ||
| 23 | "max_brightness": 200, | 24 | "max_brightness": 200, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/ein_60/config.h b/keyboards/ein_60/config.h index d642bc04f8..2ae0d24fa4 100644 --- a/keyboards/ein_60/config.h +++ b/keyboards/ein_60/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | # define AUDIO_DAC_SAMPLE_MAX 4095U | 29 | # define AUDIO_DAC_SAMPLE_MAX 4095U |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | # define RGBLED_NUM 38 | ||
| 33 | # define RGBLIGHT_HUE_STEP 4 | 32 | # define RGBLIGHT_HUE_STEP 4 |
| 34 | # define RGBLIGHT_SAT_STEP 8 | 33 | # define RGBLIGHT_SAT_STEP 8 |
| 35 | # define RGBLIGHT_VAL_STEP 8 | 34 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ein_60/info.json b/keyboards/ein_60/info.json index 982acdbc7f..8a6114bb6d 100644 --- a/keyboards/ein_60/info.json +++ b/keyboards/ein_60/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 38, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/elephant42/config.h b/keyboards/elephant42/config.h index ebc0b10497..60f5551a3b 100644 --- a/keyboards/elephant42/config.h +++ b/keyboards/elephant42/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 54 // backlight x42 + underglow x12 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
| @@ -34,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | 33 | ||
| 35 | #ifdef RGB_MATRIX_ENABLE | 34 | #ifdef RGB_MATRIX_ENABLE |
| 36 | # define SPLIT_TRANSPORT_MIRROR | 35 | # define SPLIT_TRANSPORT_MIRROR |
| 37 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 36 | # define RGB_MATRIX_LED_COUNT 54 |
| 38 | # define RGB_MATRIX_SPLIT { 27, 27 } | 37 | # define RGB_MATRIX_SPLIT { 27, 27 } |
| 39 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 | 38 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 |
| 40 | # define RGB_MATRIX_HUE_STEP RGBLIGHT_HUE_STEP | 39 | # define RGB_MATRIX_HUE_STEP RGBLIGHT_HUE_STEP |
diff --git a/keyboards/elephant42/info.json b/keyboards/elephant42/info.json index bcfc374531..341d197332 100644 --- a/keyboards/elephant42/info.json +++ b/keyboards/elephant42/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 54, | ||
| 15 | "max_brightness": 170, | 16 | "max_brightness": 170, |
| 16 | "split_count": [27, 27] | 17 | "split_count": [27, 27] |
| 17 | }, | 18 | }, |
diff --git a/keyboards/ep/comsn/mollydooker/config.h b/keyboards/ep/comsn/mollydooker/config.h index bf53058d52..12ec9ebebb 100644 --- a/keyboards/ep/comsn/mollydooker/config.h +++ b/keyboards/ep/comsn/mollydooker/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 84 | ||
| 36 | #define RGBLIGHT_HUE_STEP 10 | 35 | #define RGBLIGHT_HUE_STEP 10 |
| 37 | #define RGBLIGHT_SAT_STEP 17 | 36 | #define RGBLIGHT_SAT_STEP 17 |
| 38 | #define RGBLIGHT_VAL_STEP 17 | 37 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/ep/comsn/mollydooker/info.json b/keyboards/ep/comsn/mollydooker/info.json index 6c8825c915..3c32375607 100644 --- a/keyboards/ep/comsn/mollydooker/info.json +++ b/keyboards/ep/comsn/mollydooker/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "B0" | 16 | "pin": "B0" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 84, | ||
| 19 | "max_brightness": 35 | 20 | "max_brightness": 35 |
| 20 | }, | 21 | }, |
| 21 | "processor": "atmega32u4", | 22 | "processor": "atmega32u4", |
diff --git a/keyboards/ergoslab/rev1/config.h b/keyboards/ergoslab/rev1/config.h deleted file mode 100644 index 7846e28154..0000000000 --- a/keyboards/ergoslab/rev1/config.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Tom Saleeba <ergoslab@techotom.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define RGBLED_NUM 2 // Number of LEDs | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Feature disable options | ||
| 24 | * These options are also useful to firmware size reduction. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* disable debug print */ | ||
| 28 | // #define NO_DEBUG | ||
| 29 | |||
| 30 | /* disable print */ | ||
| 31 | // #define NO_PRINT | ||
| 32 | |||
| 33 | /* disable action features */ | ||
| 34 | //#define NO_ACTION_LAYER | ||
| 35 | //#define NO_ACTION_TAPPING | ||
| 36 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/ergoslab/rev1/info.json b/keyboards/ergoslab/rev1/info.json index d786799810..e92dd4dccc 100644 --- a/keyboards/ergoslab/rev1/info.json +++ b/keyboards/ergoslab/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 2 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/ergotravel/rev1/config.h b/keyboards/ergotravel/rev1/config.h index 326a8f8ffe..790a2696fb 100644 --- a/keyboards/ergotravel/rev1/config.h +++ b/keyboards/ergotravel/rev1/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 26 | |||
| 27 | /* | 25 | /* |
| 28 | * Feature disable options | 26 | * Feature disable options |
| 29 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/ergotravel/rev1/info.json b/keyboards/ergotravel/rev1/info.json index 01fd3265e9..77aecec0ed 100644 --- a/keyboards/ergotravel/rev1/info.json +++ b/keyboards/ergotravel/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/esca/getawayvan/config.h b/keyboards/esca/getawayvan/config.h index 01118712d2..8a96604e01 100644 --- a/keyboards/esca/getawayvan/config.h +++ b/keyboards/esca/getawayvan/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 51 | ||
| 33 | #define RGBLIGHT_HUE_STEP 20 | 32 | #define RGBLIGHT_HUE_STEP 20 |
| 34 | #define RGBLIGHT_SAT_STEP 17 | 33 | #define RGBLIGHT_SAT_STEP 17 |
| 35 | #define RGBLIGHT_VAL_STEP 17 | 34 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/esca/getawayvan/info.json b/keyboards/esca/getawayvan/info.json index ba31f9c260..439487cb2b 100644 --- a/keyboards/esca/getawayvan/info.json +++ b/keyboards/esca/getawayvan/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B15" | 17 | "pin": "B15" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 51, | ||
| 20 | "max_brightness": 128 | 21 | "max_brightness": 128 |
| 21 | }, | 22 | }, |
| 22 | "processor": "STM32F072", | 23 | "processor": "STM32F072", |
diff --git a/keyboards/esca/getawayvan_f042/config.h b/keyboards/esca/getawayvan_f042/config.h index 01118712d2..8a96604e01 100644 --- a/keyboards/esca/getawayvan_f042/config.h +++ b/keyboards/esca/getawayvan_f042/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 51 | ||
| 33 | #define RGBLIGHT_HUE_STEP 20 | 32 | #define RGBLIGHT_HUE_STEP 20 |
| 34 | #define RGBLIGHT_SAT_STEP 17 | 33 | #define RGBLIGHT_SAT_STEP 17 |
| 35 | #define RGBLIGHT_VAL_STEP 17 | 34 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/esca/getawayvan_f042/info.json b/keyboards/esca/getawayvan_f042/info.json index e39d2b4c22..bbc1a3fb5b 100644 --- a/keyboards/esca/getawayvan_f042/info.json +++ b/keyboards/esca/getawayvan_f042/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B15" | 17 | "pin": "B15" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 51, | ||
| 20 | "max_brightness": 128 | 21 | "max_brightness": 128 |
| 21 | }, | 22 | }, |
| 22 | "processor": "STM32F042", | 23 | "processor": "STM32F042", |
diff --git a/keyboards/eternal_keypad/config.h b/keyboards/eternal_keypad/config.h index 096d6598a3..2dcb4ed665 100644 --- a/keyboards/eternal_keypad/config.h +++ b/keyboards/eternal_keypad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/eternal_keypad/info.json b/keyboards/eternal_keypad/info.json index 7dd1e43108..b700d04c3f 100644 --- a/keyboards/eternal_keypad/info.json +++ b/keyboards/eternal_keypad/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "matrix": [0, 1] | 17 | "matrix": [0, 1] |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 8, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/evolv/config.h b/keyboards/evolv/config.h index 5b9a95dddb..a7defee386 100644 --- a/keyboards/evolv/config.h +++ b/keyboards/evolv/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 16 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/evolv/info.json b/keyboards/evolv/info.json index fd72f7845f..f95a5bc1d1 100644 --- a/keyboards/evolv/info.json +++ b/keyboards/evolv/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B15" | 22 | "pin": "B15" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "max_brightness": 200, | 26 | "max_brightness": 200, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/evyd13/atom47/rev2/config.h b/keyboards/evyd13/atom47/rev2/config.h index 352b89dad9..e14ecadbf0 100644 --- a/keyboards/evyd13/atom47/rev2/config.h +++ b/keyboards/evyd13/atom47/rev2/config.h | |||
| @@ -21,5 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | |||
| 25 | #define RGBLED_NUM 1 // Number of LEDs in your strip | ||
diff --git a/keyboards/evyd13/atom47/rev2/info.json b/keyboards/evyd13/atom47/rev2/info.json index b1642612ea..8c5720d0c4 100644 --- a/keyboards/evyd13/atom47/rev2/info.json +++ b/keyboards/evyd13/atom47/rev2/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 4, | 18 | "levels": 4, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 1 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D0" | 25 | "pin": "D0" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/evyd13/atom47/rev3/config.h b/keyboards/evyd13/atom47/rev3/config.h index 5f37dc519b..72c1b9dc46 100644 --- a/keyboards/evyd13/atom47/rev3/config.h +++ b/keyboards/evyd13/atom47/rev3/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 // Number of LEDs in your strip | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/evyd13/atom47/rev3/info.json b/keyboards/evyd13/atom47/rev3/info.json index dc9b13961f..7cf50a0a94 100644 --- a/keyboards/evyd13/atom47/rev3/info.json +++ b/keyboards/evyd13/atom47/rev3/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 5, | 18 | "levels": 5, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 6 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F5" | 25 | "pin": "F5" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/evyd13/eon65/config.h b/keyboards/evyd13/eon65/config.h index abfa0fe63d..d60691c6ab 100644 --- a/keyboards/evyd13/eon65/config.h +++ b/keyboards/evyd13/eon65/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 10 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/evyd13/eon65/info.json b/keyboards/evyd13/eon65/info.json index a58c3a5233..be993ea283 100644 --- a/keyboards/evyd13/eon65/info.json +++ b/keyboards/evyd13/eon65/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["D3", "D5", "B1", "B2", "B3"] | 13 | "rows": ["D3", "D5", "B1", "B2", "B3"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 10 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "E6" | 20 | "pin": "E6" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/evyd13/eon87/config.h b/keyboards/evyd13/eon87/config.h index 04247c7e73..d60691c6ab 100644 --- a/keyboards/evyd13/eon87/config.h +++ b/keyboards/evyd13/eon87/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 12 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/evyd13/eon87/info.json b/keyboards/evyd13/eon87/info.json index fc134b502f..9698650bac 100644 --- a/keyboards/evyd13/eon87/info.json +++ b/keyboards/evyd13/eon87/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["B1", "B2", "B3", "D4", "D1", "D5"] | 13 | "rows": ["B1", "B2", "B3", "D4", "D1", "D5"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 12 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "D0" | 20 | "pin": "D0" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/evyd13/ta65/config.h b/keyboards/evyd13/ta65/config.h index e17b637a1e..cfa335c00b 100644 --- a/keyboards/evyd13/ta65/config.h +++ b/keyboards/evyd13/ta65/config.h | |||
| @@ -34,4 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 8 | ||
diff --git a/keyboards/evyd13/ta65/info.json b/keyboards/evyd13/ta65/info.json index d1195a597b..fa4fd552e9 100644 --- a/keyboards/evyd13/ta65/info.json +++ b/keyboards/evyd13/ta65/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B2", "pin_b": "B1"} | 18 | {"pin_a": "B2", "pin_b": "B1"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 8 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "E6" | 25 | "pin": "E6" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/evyd13/wonderland/config.h b/keyboards/evyd13/wonderland/config.h index 1f7440aa20..1fe33fc437 100644 --- a/keyboards/evyd13/wonderland/config.h +++ b/keyboards/evyd13/wonderland/config.h | |||
| @@ -29,4 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/evyd13/wonderland/info.json b/keyboards/evyd13/wonderland/info.json index 621be94232..5ac4bfb787 100644 --- a/keyboards/evyd13/wonderland/info.json +++ b/keyboards/evyd13/wonderland/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "esc_output": "F0", | 18 | "esc_output": "F0", |
| 19 | "led": "B1" | 19 | "led": "B1" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 12 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B7" | 25 | "pin": "B7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/exclusive/e65/config.h b/keyboards/exclusive/e65/config.h index 9d31e13dcb..1667b7f57a 100644 --- a/keyboards/exclusive/e65/config.h +++ b/keyboards/exclusive/e65/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | # define RGBLIGHT_EFFECT_RGB_TEST | 32 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | # define RGBLIGHT_EFFECT_ALTERNATING | 33 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | # define RGBLIGHT_EFFECT_TWINKLE | 34 | # define RGBLIGHT_EFFECT_TWINKLE |
| 35 | # define RGBLED_NUM 20 | ||
| 36 | # define RGBLIGHT_HUE_STEP 8 | 35 | # define RGBLIGHT_HUE_STEP 8 |
| 37 | # define RGBLIGHT_SAT_STEP 8 | 36 | # define RGBLIGHT_SAT_STEP 8 |
| 38 | # define RGBLIGHT_VAL_STEP 8 | 37 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/exclusive/e65/info.json b/keyboards/exclusive/e65/info.json index 3fab8ca8ab..57606a11b7 100644 --- a/keyboards/exclusive/e65/info.json +++ b/keyboards/exclusive/e65/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "B6", | 21 | "caps_lock": "B6", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 20 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "E6" | 28 | "pin": "E6" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/exclusive/e6_rgb/config.h b/keyboards/exclusive/e6_rgb/config.h index c6acec2658..e5f87797cb 100644 --- a/keyboards/exclusive/e6_rgb/config.h +++ b/keyboards/exclusive/e6_rgb/config.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | //rgb light setting | 7 | //rgb light setting |
| 8 | #define RGBLED_NUM 6 | ||
| 9 | #define RGBLIGHT_EFFECT_BREATHING | 8 | #define RGBLIGHT_EFFECT_BREATHING |
| 10 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 9 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 11 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 10 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/exclusive/e6_rgb/info.json b/keyboards/exclusive/e6_rgb/info.json index 0381b209a8..04b4b9db39 100644 --- a/keyboards/exclusive/e6_rgb/info.json +++ b/keyboards/exclusive/e6_rgb/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "rows": ["F1", "F4", "F5", "F6", "D6"] | 16 | "rows": ["F1", "F4", "F5", "F6", "D6"] |
| 17 | }, | 17 | }, |
| 18 | "diode_direction": "COL2ROW", | 18 | "diode_direction": "COL2ROW", |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B7" | 23 | "pin": "B7" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/exclusive/e6v2/le/config.h b/keyboards/exclusive/e6v2/le/config.h index 8c0ffda30b..4ae71a39d5 100644 --- a/keyboards/exclusive/e6v2/le/config.h +++ b/keyboards/exclusive/e6v2/le/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 12 | ||
| 31 | #define RGBLIGHT_HUE_STEP 12 | 30 | #define RGBLIGHT_HUE_STEP 12 |
| 32 | #define RGBLIGHT_SAT_STEP 12 | 31 | #define RGBLIGHT_SAT_STEP 12 |
| 33 | #define RGBLIGHT_VAL_STEP 12 | 32 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/exclusive/e6v2/le/info.json b/keyboards/exclusive/e6v2/le/info.json index 8fbbcbfea3..b5feebc720 100644 --- a/keyboards/exclusive/e6v2/le/info.json +++ b/keyboards/exclusive/e6v2/le/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "caps_lock": "B7", | 23 | "caps_lock": "B7", |
| 24 | "on_state": 0 | 24 | "on_state": 0 |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 12 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "E6" | 30 | "pin": "E6" |
| 28 | }, | 31 | }, |
diff --git a/keyboards/exclusive/e6v2/le_bmc/config.h b/keyboards/exclusive/e6v2/le_bmc/config.h index bb3f00287e..b8be4dca5f 100644 --- a/keyboards/exclusive/e6v2/le_bmc/config.h +++ b/keyboards/exclusive/e6v2/le_bmc/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/exclusive/e6v2/le_bmc/info.json b/keyboards/exclusive/e6v2/le_bmc/info.json index c0d2ffa868..29bf63bf52 100644 --- a/keyboards/exclusive/e6v2/le_bmc/info.json +++ b/keyboards/exclusive/e6v2/le_bmc/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "backlight": { | 15 | "backlight": { |
| 16 | "pin": "D4" | 16 | "pin": "D4" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 6 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "driver": "i2c" | 22 | "driver": "i2c" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/exclusive/e6v2/oe/config.h b/keyboards/exclusive/e6v2/oe/config.h index 6e9255bebb..4ae71a39d5 100644 --- a/keyboards/exclusive/e6v2/oe/config.h +++ b/keyboards/exclusive/e6v2/oe/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 8 | ||
| 31 | #define RGBLIGHT_HUE_STEP 12 | 30 | #define RGBLIGHT_HUE_STEP 12 |
| 32 | #define RGBLIGHT_SAT_STEP 12 | 31 | #define RGBLIGHT_SAT_STEP 12 |
| 33 | #define RGBLIGHT_VAL_STEP 12 | 32 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/exclusive/e6v2/oe/info.json b/keyboards/exclusive/e6v2/oe/info.json index eef3f67847..c1aa0e6512 100644 --- a/keyboards/exclusive/e6v2/oe/info.json +++ b/keyboards/exclusive/e6v2/oe/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "breathing": true, | 19 | "breathing": true, |
| 20 | "breathing_period": 3 | 20 | "breathing_period": 3 |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 8 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "E2" | 26 | "pin": "E2" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/config.h b/keyboards/exclusive/e6v2/oe_bmc/config.h index bb3f00287e..b8be4dca5f 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/config.h +++ b/keyboards/exclusive/e6v2/oe_bmc/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/exclusive/e6v2/oe_bmc/info.json b/keyboards/exclusive/e6v2/oe_bmc/info.json index 622d7db564..56c4fbdf57 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/info.json +++ b/keyboards/exclusive/e6v2/oe_bmc/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "backlight": { | 15 | "backlight": { |
| 16 | "pin": "D4" | 16 | "pin": "D4" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 6 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "driver": "i2c" | 22 | "driver": "i2c" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/exclusive/e7v1/config.h b/keyboards/exclusive/e7v1/config.h index 896eb97b25..401de718c1 100644 --- a/keyboards/exclusive/e7v1/config.h +++ b/keyboards/exclusive/e7v1/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 20 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/exclusive/e7v1/info.json b/keyboards/exclusive/e7v1/info.json index 42ec77a9fb..4c7873f4bb 100644 --- a/keyboards/exclusive/e7v1/info.json +++ b/keyboards/exclusive/e7v1/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 6 | 18 | "levels": 6 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 20 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E6" | 24 | "pin": "E6" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/exclusive/e7v1se/config.h b/keyboards/exclusive/e7v1se/config.h index af36d4d994..b978eba79a 100644 --- a/keyboards/exclusive/e7v1se/config.h +++ b/keyboards/exclusive/e7v1se/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/exclusive/e7v1se/info.json b/keyboards/exclusive/e7v1se/info.json index 6e6b0c9a0d..b24326a30c 100644 --- a/keyboards/exclusive/e7v1se/info.json +++ b/keyboards/exclusive/e7v1se/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 16, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/exclusive/e85/config.h b/keyboards/exclusive/e85/config.h index de75f0a8cc..4c462b5d59 100644 --- a/keyboards/exclusive/e85/config.h +++ b/keyboards/exclusive/e85/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/exclusive/e85/hotswap/info.json b/keyboards/exclusive/e85/hotswap/info.json index 981c5f9506..24b9f14567 100644 --- a/keyboards/exclusive/e85/hotswap/info.json +++ b/keyboards/exclusive/e85/hotswap/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 18, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/exclusive/e85/soldered/info.json b/keyboards/exclusive/e85/soldered/info.json index 533e1cd6fc..42507fdb98 100644 --- a/keyboards/exclusive/e85/soldered/info.json +++ b/keyboards/exclusive/e85/soldered/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 18, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/exent/config.h b/keyboards/exent/config.h index b062e20b68..1441c7581f 100644 --- a/keyboards/exent/config.h +++ b/keyboards/exent/config.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 18 | ||
| 20 | |||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/exent/info.json b/keyboards/exent/info.json index 9f0f3e3945..ef4b00b905 100644 --- a/keyboards/exent/info.json +++ b/keyboards/exent/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/eyeohdesigns/babyv/config.h b/keyboards/eyeohdesigns/babyv/config.h index 0c762f345c..cddeedaa77 100644 --- a/keyboards/eyeohdesigns/babyv/config.h +++ b/keyboards/eyeohdesigns/babyv/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/eyeohdesigns/babyv/info.json b/keyboards/eyeohdesigns/babyv/info.json index 65fdbd22ec..39e1fd5dda 100644 --- a/keyboards/eyeohdesigns/babyv/info.json +++ b/keyboards/eyeohdesigns/babyv/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B6" | 17 | "pin": "B6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/eyeohdesigns/theboulevard/config.h b/keyboards/eyeohdesigns/theboulevard/config.h index 7045ef547a..ee731fdea8 100644 --- a/keyboards/eyeohdesigns/theboulevard/config.h +++ b/keyboards/eyeohdesigns/theboulevard/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 2 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/eyeohdesigns/theboulevard/info.json b/keyboards/eyeohdesigns/theboulevard/info.json index e829d2eee6..ffa3fb820b 100644 --- a/keyboards/eyeohdesigns/theboulevard/info.json +++ b/keyboards/eyeohdesigns/theboulevard/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 2, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/facew/config.h b/keyboards/facew/config.h index ddc21dae30..d849732a07 100644 --- a/keyboards/facew/config.h +++ b/keyboards/facew/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 16 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/facew/info.json b/keyboards/facew/info.json index 514c64f2c3..d28bd4447e 100644 --- a/keyboards/facew/info.json +++ b/keyboards/facew/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/fallacy/config.h b/keyboards/fallacy/config.h index 4e5ad26583..1fe5f41924 100755 --- a/keyboards/fallacy/config.h +++ b/keyboards/fallacy/config.h | |||
| @@ -40,4 +40,3 @@ | |||
| 40 | #define RGBLIGHT_EFFECT_RGB_TEST | 40 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 41 | #define RGBLIGHT_EFFECT_ALTERNATING | 41 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 42 | #define RGBLIGHT_EFFECT_TWINKLE | 42 | #define RGBLIGHT_EFFECT_TWINKLE |
| 43 | #define RGBLED_NUM 14 | ||
diff --git a/keyboards/fallacy/info.json b/keyboards/fallacy/info.json index e51283eb19..f92926b72f 100644 --- a/keyboards/fallacy/info.json +++ b/keyboards/fallacy/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "rows": ["B1", "B2", "B3", "C6", "C7"] | 12 | "rows": ["B1", "B2", "B3", "C6", "C7"] |
| 13 | }, | 13 | }, |
| 14 | "diode_direction": "COL2ROW", | 14 | "diode_direction": "COL2ROW", |
| 15 | "rgblight": { | ||
| 16 | "led_count": 14 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "D2" | 19 | "pin": "D2" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/ffkeebs/puca/config.h b/keyboards/ffkeebs/puca/config.h index 23a2f15d99..450a31173a 100644 --- a/keyboards/ffkeebs/puca/config.h +++ b/keyboards/ffkeebs/puca/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT | 31 | #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT |
| 32 | #define RGBLED_NUM 8 | ||
| 33 | #endif | 32 | #endif |
| 34 | 33 | ||
| 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
diff --git a/keyboards/ffkeebs/puca/info.json b/keyboards/ffkeebs/puca/info.json index 356c148d8e..645efa8551 100644 --- a/keyboards/ffkeebs/puca/info.json +++ b/keyboards/ffkeebs/puca/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "F4", "pin_b": "F5"} | 18 | {"pin_a": "F4", "pin_b": "F5"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 8 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D4" | 25 | "pin": "D4" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/fjlabs/7vhotswap/config.h b/keyboards/fjlabs/7vhotswap/config.h index 4aa0cd52ea..cf9d7a9850 100644 --- a/keyboards/fjlabs/7vhotswap/config.h +++ b/keyboards/fjlabs/7vhotswap/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB */ | 25 | /* Define RGB */ |
| 26 | #define RGBLED_NUM 4 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/7vhotswap/info.json b/keyboards/fjlabs/7vhotswap/info.json index 6e026ecc58..c6a186387d 100644 --- a/keyboards/fjlabs/7vhotswap/info.json +++ b/keyboards/fjlabs/7vhotswap/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["B0", "F4", "F1", "F7", "F6", "F5"] | 13 | "rows": ["B0", "F4", "F1", "F7", "F6", "F5"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 4 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "C7" | 20 | "pin": "C7" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/fjlabs/avalon/config.h b/keyboards/fjlabs/avalon/config.h index 4204f1d129..edc330d4fb 100644 --- a/keyboards/fjlabs/avalon/config.h +++ b/keyboards/fjlabs/avalon/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 6 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/avalon/info.json b/keyboards/fjlabs/avalon/info.json index ba9239629c..387cdbe99c 100644 --- a/keyboards/fjlabs/avalon/info.json +++ b/keyboards/fjlabs/avalon/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "indicators": { | 16 | "indicators": { |
| 17 | "caps_lock": "C7" | 17 | "caps_lock": "C7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D6" | 23 | "pin": "D6" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/fjlabs/bks65/config.h b/keyboards/fjlabs/bks65/config.h index 3b205ce76f..5f5f69421c 100644 --- a/keyboards/fjlabs/bks65/config.h +++ b/keyboards/fjlabs/bks65/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 24 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/bks65/info.json b/keyboards/fjlabs/bks65/info.json index 7b468da941..7772d751d6 100644 --- a/keyboards/fjlabs/bks65/info.json +++ b/keyboards/fjlabs/bks65/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "indicators": { | 16 | "indicators": { |
| 17 | "caps_lock": "C7" | 17 | "caps_lock": "C7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 24 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B0" | 23 | "pin": "B0" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/fjlabs/bks65solder/config.h b/keyboards/fjlabs/bks65solder/config.h index 3b205ce76f..5f5f69421c 100644 --- a/keyboards/fjlabs/bks65solder/config.h +++ b/keyboards/fjlabs/bks65solder/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 24 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/bks65solder/info.json b/keyboards/fjlabs/bks65solder/info.json index 27c3ece3ba..d073372ef6 100644 --- a/keyboards/fjlabs/bks65solder/info.json +++ b/keyboards/fjlabs/bks65solder/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["F4", "F1", "F7", "F6", "F5"] | 13 | "rows": ["F4", "F1", "F7", "F6", "F5"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 24 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "B0" | 20 | "pin": "B0" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/fjlabs/kf87/config.h b/keyboards/fjlabs/kf87/config.h index 4131a88429..b14096f20a 100644 --- a/keyboards/fjlabs/kf87/config.h +++ b/keyboards/fjlabs/kf87/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB */ | 25 | /* Define RGB */ |
| 26 | #define RGBLED_NUM 87 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/kf87/info.json b/keyboards/fjlabs/kf87/info.json index 415405a9e8..0016552ab5 100644 --- a/keyboards/fjlabs/kf87/info.json +++ b/keyboards/fjlabs/kf87/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "C2" | 21 | "pin": "C2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 87, | ||
| 24 | "max_brightness": 86 | 25 | "max_brightness": 86 |
| 25 | }, | 26 | }, |
| 26 | "processor": "at90usb646", | 27 | "processor": "at90usb646", |
diff --git a/keyboards/fjlabs/kyuu/config.h b/keyboards/fjlabs/kyuu/config.h index 5fa5e84acd..f0f64903be 100644 --- a/keyboards/fjlabs/kyuu/config.h +++ b/keyboards/fjlabs/kyuu/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define Badge RGB */ | 25 | /* Define Badge RGB */ |
| 26 | #define RGBLED_NUM 16 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/kyuu/info.json b/keyboards/fjlabs/kyuu/info.json index 058cb4ea23..f57ee482dc 100644 --- a/keyboards/fjlabs/kyuu/info.json +++ b/keyboards/fjlabs/kyuu/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["F4", "F1", "F7", "F6", "F5"] | 13 | "rows": ["F4", "F1", "F7", "F6", "F5"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 16 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "C7" | 20 | "pin": "C7" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/fjlabs/mk61rgbansi/config.h b/keyboards/fjlabs/mk61rgbansi/config.h index 89e8c6c221..e83868463a 100644 --- a/keyboards/fjlabs/mk61rgbansi/config.h +++ b/keyboards/fjlabs/mk61rgbansi/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 64 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/mk61rgbansi/info.json b/keyboards/fjlabs/mk61rgbansi/info.json index 7e99f1bd10..1f1078be69 100644 --- a/keyboards/fjlabs/mk61rgbansi/info.json +++ b/keyboards/fjlabs/mk61rgbansi/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F7" | 17 | "pin": "F7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 64, | ||
| 20 | "max_brightness": 108 | 21 | "max_brightness": 108 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/fjlabs/ready100/config.h b/keyboards/fjlabs/ready100/config.h index 1292feb117..14307e1e34 100644 --- a/keyboards/fjlabs/ready100/config.h +++ b/keyboards/fjlabs/ready100/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 64 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/ready100/info.json b/keyboards/fjlabs/ready100/info.json index 689f396b3e..403d4801d1 100644 --- a/keyboards/fjlabs/ready100/info.json +++ b/keyboards/fjlabs/ready100/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F7" | 17 | "pin": "F7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 64, | ||
| 20 | "max_brightness": 108 | 21 | "max_brightness": 108 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/fjlabs/solanis/config.h b/keyboards/fjlabs/solanis/config.h index 569d563e45..d0ae4b866f 100644 --- a/keyboards/fjlabs/solanis/config.h +++ b/keyboards/fjlabs/solanis/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB */ | 25 | /* Define RGB */ |
| 26 | #define RGBLED_NUM 24 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/solanis/info.json b/keyboards/fjlabs/solanis/info.json index 2f1bea8698..917befc2e3 100644 --- a/keyboards/fjlabs/solanis/info.json +++ b/keyboards/fjlabs/solanis/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 24, | ||
| 20 | "max_brightness": 172 | 21 | "max_brightness": 172 |
| 21 | }, | 22 | }, |
| 22 | "processor": "at90usb646", | 23 | "processor": "at90usb646", |
diff --git a/keyboards/fjlabs/swordfish/config.h b/keyboards/fjlabs/swordfish/config.h index be5bee6e44..089b49ea03 100644 --- a/keyboards/fjlabs/swordfish/config.h +++ b/keyboards/fjlabs/swordfish/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB */ | 25 | /* Define RGB */ |
| 26 | #define RGBLED_NUM 1 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/swordfish/info.json b/keyboards/fjlabs/swordfish/info.json index 733be971de..bc17ac108b 100644 --- a/keyboards/fjlabs/swordfish/info.json +++ b/keyboards/fjlabs/swordfish/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["B0", "B1", "C7", "C6", "B6"] | 13 | "rows": ["B0", "B1", "C7", "C6", "B6"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 1 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "D3" | 20 | "pin": "D3" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/fjlabs/tf60ansi/config.h b/keyboards/fjlabs/tf60ansi/config.h index 89e8c6c221..e83868463a 100644 --- a/keyboards/fjlabs/tf60ansi/config.h +++ b/keyboards/fjlabs/tf60ansi/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 64 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/tf60ansi/info.json b/keyboards/fjlabs/tf60ansi/info.json index b07464ad36..308ab23457 100644 --- a/keyboards/fjlabs/tf60ansi/info.json +++ b/keyboards/fjlabs/tf60ansi/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F7" | 17 | "pin": "F7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 64, | ||
| 20 | "max_brightness": 108 | 21 | "max_brightness": 108 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/fjlabs/tf60v2/config.h b/keyboards/fjlabs/tf60v2/config.h index 89e8c6c221..e83868463a 100644 --- a/keyboards/fjlabs/tf60v2/config.h +++ b/keyboards/fjlabs/tf60v2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 64 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/tf60v2/info.json b/keyboards/fjlabs/tf60v2/info.json index 6e9a5bf821..4b2edf7d73 100644 --- a/keyboards/fjlabs/tf60v2/info.json +++ b/keyboards/fjlabs/tf60v2/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F7" | 17 | "pin": "F7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 64, | ||
| 20 | "max_brightness": 108 | 21 | "max_brightness": 108 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/fjlabs/tf65rgbv2/config.h b/keyboards/fjlabs/tf65rgbv2/config.h index 5932113c94..e83868463a 100644 --- a/keyboards/fjlabs/tf65rgbv2/config.h +++ b/keyboards/fjlabs/tf65rgbv2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 68 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fjlabs/tf65rgbv2/info.json b/keyboards/fjlabs/tf65rgbv2/info.json index 098bad3fcf..0769600824 100644 --- a/keyboards/fjlabs/tf65rgbv2/info.json +++ b/keyboards/fjlabs/tf65rgbv2/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F7" | 17 | "pin": "F7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 68, | ||
| 20 | "max_brightness": 96 | 21 | "max_brightness": 96 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/flehrad/bigswitch/config.h b/keyboards/flehrad/bigswitch/config.h index ddf4546bbb..f633202f97 100644 --- a/keyboards/flehrad/bigswitch/config.h +++ b/keyboards/flehrad/bigswitch/config.h | |||
| @@ -34,5 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 8 | ||
| 38 | #endif | 37 | #endif |
diff --git a/keyboards/flehrad/bigswitch/info.json b/keyboards/flehrad/bigswitch/info.json index 095f8284e4..13a3500853 100644 --- a/keyboards/flehrad/bigswitch/info.json +++ b/keyboards/flehrad/bigswitch/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0xB195", | 7 | "pid": "0xB195", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 8 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "D3" | 14 | "pin": "D3" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/fleuron/config.h b/keyboards/fleuron/config.h index 34197c8578..64f691e305 100644 --- a/keyboards/fleuron/config.h +++ b/keyboards/fleuron/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | //#define NO_ACTION_TAPPING | 38 | //#define NO_ACTION_TAPPING |
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 18 // Number of LEDs in your strip | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/fleuron/info.json b/keyboards/fleuron/info.json index c2ff091ace..81237e2cbf 100644 --- a/keyboards/fleuron/info.json +++ b/keyboards/fleuron/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] | 12 | "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] |
| 13 | }, | 13 | }, |
| 14 | "diode_direction": "COL2ROW", | 14 | "diode_direction": "COL2ROW", |
| 15 | "rgblight": { | ||
| 16 | "led_count": 18 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "E6" | 19 | "pin": "E6" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/flx/virgo/config.h b/keyboards/flx/virgo/config.h index eff51d94c9..fe922532ef 100644 --- a/keyboards/flx/virgo/config.h +++ b/keyboards/flx/virgo/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 0 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/flx/virgo/info.json b/keyboards/flx/virgo/info.json index 02c5575333..218d500eef 100644 --- a/keyboards/flx/virgo/info.json +++ b/keyboards/flx/virgo/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 0, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/flxlb/zplit/config.h b/keyboards/flxlb/zplit/config.h index e3d3aa97cf..7d8e1d90f1 100644 --- a/keyboards/flxlb/zplit/config.h +++ b/keyboards/flxlb/zplit/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define LOCKING_RESYNC_ENABLE | 29 | #define LOCKING_RESYNC_ENABLE |
| 30 | 30 | ||
| 31 | /* ws2812 RGB LED */ | 31 | /* ws2812 RGB LED */ |
| 32 | #define RGBLED_NUM 16 | ||
| 33 | #define RGBLIGHT_EFFECT_BREATHING | 32 | #define RGBLIGHT_EFFECT_BREATHING |
| 34 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 33 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 35 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 34 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/flxlb/zplit/info.json b/keyboards/flxlb/zplit/info.json index fb30fe2ab7..a4dfb714b7 100644 --- a/keyboards/flxlb/zplit/info.json +++ b/keyboards/flxlb/zplit/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 16, | ||
| 22 | "led_map": [0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8], | 23 | "led_map": [0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8], |
| 23 | "split_count": [8, 8] | 24 | "split_count": [8, 8] |
| 24 | }, | 25 | }, |
diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h index d13ea1c845..5dec5df1f1 100644 --- a/keyboards/fortitude60/rev1/config.h +++ b/keyboards/fortitude60/rev1/config.h | |||
| @@ -27,10 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | /* Locking resynchronize hack */ | 27 | /* Locking resynchronize hack */ |
| 28 | #define LOCKING_RESYNC_ENABLE | 28 | #define LOCKING_RESYNC_ENABLE |
| 29 | 29 | ||
| 30 | /* ws2812 RGB LED */ | ||
| 31 | #ifdef RGBLIGHT_ENABLE | ||
| 32 | #define RGBLED_NUM 18 // Number of LEDs */ | ||
| 33 | #endif | ||
| 34 | /* | 30 | /* |
| 35 | * Feature disable options | 31 | * Feature disable options |
| 36 | * These options are also useful to firmware size reduction. | 32 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/fortitude60/rev1/info.json b/keyboards/fortitude60/rev1/info.json index 175e621e23..0ae02161cd 100644 --- a/keyboards/fortitude60/rev1/info.json +++ b/keyboards/fortitude60/rev1/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B5", | 17 | "pin": "B5", |
| 18 | "levels": 9 | 18 | "levels": 9 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 18 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B5" | 24 | "pin": "B5" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/foxlab/key65/hotswap/config.h b/keyboards/foxlab/key65/hotswap/config.h index 66a1cc7dc5..cd6f00bb50 100644 --- a/keyboards/foxlab/key65/hotswap/config.h +++ b/keyboards/foxlab/key65/hotswap/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 8 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/key65/hotswap/info.json b/keyboards/foxlab/key65/hotswap/info.json index f7dd9ad6b5..c368681300 100644 --- a/keyboards/foxlab/key65/hotswap/info.json +++ b/keyboards/foxlab/key65/hotswap/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 8, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/foxlab/key65/universal/config.h b/keyboards/foxlab/key65/universal/config.h index b4b7a44be1..cd6f00bb50 100644 --- a/keyboards/foxlab/key65/universal/config.h +++ b/keyboards/foxlab/key65/universal/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/key65/universal/info.json b/keyboards/foxlab/key65/universal/info.json index 49a770dddd..1d907b3829 100644 --- a/keyboards/foxlab/key65/universal/info.json +++ b/keyboards/foxlab/key65/universal/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 6, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/foxlab/leaf60/hotswap/config.h b/keyboards/foxlab/leaf60/hotswap/config.h index 0e63b25a0c..1ff8774437 100644 --- a/keyboards/foxlab/leaf60/hotswap/config.h +++ b/keyboards/foxlab/leaf60/hotswap/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/leaf60/hotswap/info.json b/keyboards/foxlab/leaf60/hotswap/info.json index b29931a796..8908ef057b 100644 --- a/keyboards/foxlab/leaf60/hotswap/info.json +++ b/keyboards/foxlab/leaf60/hotswap/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 8, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/foxlab/leaf60/universal/config.h b/keyboards/foxlab/leaf60/universal/config.h index 0e63b25a0c..1ff8774437 100644 --- a/keyboards/foxlab/leaf60/universal/config.h +++ b/keyboards/foxlab/leaf60/universal/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/leaf60/universal/info.json b/keyboards/foxlab/leaf60/universal/info.json index 6c569f5cc6..84fa69d0cf 100644 --- a/keyboards/foxlab/leaf60/universal/info.json +++ b/keyboards/foxlab/leaf60/universal/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 8, | ||
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/foxlab/time80/config.h b/keyboards/foxlab/time80/config.h index d2df18997f..a6a4918bd1 100644 --- a/keyboards/foxlab/time80/config.h +++ b/keyboards/foxlab/time80/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | //#define RGBLIGHT_HUE_STEP 8 | 20 | //#define RGBLIGHT_HUE_STEP 8 |
| 22 | //#define RGBLIGHT_SAT_STEP 8 | 21 | //#define RGBLIGHT_SAT_STEP 8 |
| 23 | //#define RGBLIGHT_VAL_STEP 8 | 22 | //#define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/time80/info.json b/keyboards/foxlab/time80/info.json index f5b8a7eb0c..b19e3c3104 100644 --- a/keyboards/foxlab/time80/info.json +++ b/keyboards/foxlab/time80/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/foxlab/time_re/hotswap/config.h b/keyboards/foxlab/time_re/hotswap/config.h index d0456680ff..7442bb0c1a 100644 --- a/keyboards/foxlab/time_re/hotswap/config.h +++ b/keyboards/foxlab/time_re/hotswap/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 5 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/time_re/hotswap/info.json b/keyboards/foxlab/time_re/hotswap/info.json index b9509a052c..c28c62e8c6 100644 --- a/keyboards/foxlab/time_re/hotswap/info.json +++ b/keyboards/foxlab/time_re/hotswap/info.json | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | "pin": "E2" | 24 | "pin": "E2" |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | 26 | "rgblight": { |
| 27 | "led_count": 5, | ||
| 27 | "max_brightness": 200, | 28 | "max_brightness": 200, |
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
diff --git a/keyboards/foxlab/time_re/universal/config.h b/keyboards/foxlab/time_re/universal/config.h index d0456680ff..7442bb0c1a 100644 --- a/keyboards/foxlab/time_re/universal/config.h +++ b/keyboards/foxlab/time_re/universal/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 5 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/foxlab/time_re/universal/info.json b/keyboards/foxlab/time_re/universal/info.json index 0d4b301695..a4d42be2a8 100644 --- a/keyboards/foxlab/time_re/universal/info.json +++ b/keyboards/foxlab/time_re/universal/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "E2" | 20 | "pin": "E2" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 5, | ||
| 23 | "max_brightness": 200, | 24 | "max_brightness": 200, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/frooastboard/nano/config.h b/keyboards/frooastboard/nano/config.h index 9ffcce4178..eee629f688 100644 --- a/keyboards/frooastboard/nano/config.h +++ b/keyboards/frooastboard/nano/config.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 8 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/frooastboard/nano/info.json b/keyboards/frooastboard/nano/info.json index 0a6fde88ba..8c95e3972e 100644 --- a/keyboards/frooastboard/nano/info.json +++ b/keyboards/frooastboard/nano/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "device_version": "0.0.1" | 25 | "device_version": "0.0.1" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 8, | ||
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
| 30 | "ws2812": { | 31 | "ws2812": { |
diff --git a/keyboards/ft/mars65/config.h b/keyboards/ft/mars65/config.h index d103b66e07..c56f905050 100644 --- a/keyboards/ft/mars65/config.h +++ b/keyboards/ft/mars65/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define RGBLED_NUM 24 | ||
| 7 | #define RGBLIGHT_HUE_STEP 8 | 6 | #define RGBLIGHT_HUE_STEP 8 |
| 8 | #define RGBLIGHT_SAT_STEP 8 | 7 | #define RGBLIGHT_SAT_STEP 8 |
| 9 | #define RGBLIGHT_VAL_STEP 8 | 8 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ft/mars65/info.json b/keyboards/ft/mars65/info.json index caede3a626..08efe50b61 100644 --- a/keyboards/ft/mars65/info.json +++ b/keyboards/ft/mars65/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "E6" | 20 | "pin": "E6" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 24, | ||
| 23 | "max_brightness": 130, | 24 | "max_brightness": 130, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/ft/mars80/config.h b/keyboards/ft/mars80/config.h index 116c09d6ac..d849732a07 100644 --- a/keyboards/ft/mars80/config.h +++ b/keyboards/ft/mars80/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 20 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ft/mars80/info.json b/keyboards/ft/mars80/info.json index 5801c63a23..80c47565ad 100644 --- a/keyboards/ft/mars80/info.json +++ b/keyboards/ft/mars80/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/gami_studio/lex60/config.h b/keyboards/gami_studio/lex60/config.h index ba2a345045..0d7d5228d2 100644 --- a/keyboards/gami_studio/lex60/config.h +++ b/keyboards/gami_studio/lex60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/gami_studio/lex60/info.json b/keyboards/gami_studio/lex60/info.json index b5b59df7aa..f63f6e2c31 100644 --- a/keyboards/gami_studio/lex60/info.json +++ b/keyboards/gami_studio/lex60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0160", | 8 | "pid": "0x0160", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D1" | 15 | "pin": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h index 344ccf3fff..02f5a8a966 100644 --- a/keyboards/geekboards/macropad_v2/config.h +++ b/keyboards/geekboards/macropad_v2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 42 | ||
| 20 | #define RGB_MATRIX_LED_COUNT 42 | 19 | #define RGB_MATRIX_LED_COUNT 42 |
| 21 | 20 | ||
| 22 | // PWM RGB Underglow Defines | 21 | // PWM RGB Underglow Defines |
diff --git a/keyboards/gh60/satan/config.h b/keyboards/gh60/satan/config.h index 1fbb35b3a2..b2711cfa1f 100644 --- a/keyboards/gh60/satan/config.h +++ b/keyboards/gh60/satan/config.h | |||
| @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 8 | ||
| 38 | #define RGBLIGHT_HUE_STEP 10 | 37 | #define RGBLIGHT_HUE_STEP 10 |
| 39 | #define RGBLIGHT_SAT_STEP 17 | 38 | #define RGBLIGHT_SAT_STEP 17 |
| 40 | #define RGBLIGHT_VAL_STEP 17 | 39 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/gh60/satan/info.json b/keyboards/gh60/satan/info.json index 6432d8eb45..63319f2ea2 100644 --- a/keyboards/gh60/satan/info.json +++ b/keyboards/gh60/satan/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 4 | 18 | "levels": 4 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 8 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/gh60/v1p3/config.h b/keyboards/gh60/v1p3/config.h index 67025fc1f4..55f15856d2 100644 --- a/keyboards/gh60/v1p3/config.h +++ b/keyboards/gh60/v1p3/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gh60/v1p3/info.json b/keyboards/gh60/v1p3/info.json index f5fca7763b..b2a516cbae 100644 --- a/keyboards/gh60/v1p3/info.json +++ b/keyboards/gh60/v1p3/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 15 | 18 | "levels": 15 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 10, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/ghs/rar/config.h b/keyboards/ghs/rar/config.h index 9cd6e7be5a..4156d04e55 100644 --- a/keyboards/ghs/rar/config.h +++ b/keyboards/ghs/rar/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 17 | ||
| 21 | # define RGBLIGHT_EFFECT_BREATHING | 20 | # define RGBLIGHT_EFFECT_BREATHING |
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ghs/rar/info.json b/keyboards/ghs/rar/info.json index 9a684c2840..f51efa5105 100644 --- a/keyboards/ghs/rar/info.json +++ b/keyboards/ghs/rar/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 17 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/giabalanai/config.h b/keyboards/giabalanai/config.h index 1471806690..bc6fd53b1f 100644 --- a/keyboards/giabalanai/config.h +++ b/keyboards/giabalanai/config.h | |||
| @@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define SPLIT_USB_DETECT | 34 | #define SPLIT_USB_DETECT |
| 35 | 35 | ||
| 36 | #ifdef RGBLIGHT_ENABLE | 36 | #ifdef RGBLIGHT_ENABLE |
| 37 | # define RGBLED_NUM 123 | ||
| 38 | |||
| 39 | # define RGBLIGHT_LAYERS | 37 | # define RGBLIGHT_LAYERS |
| 40 | 38 | ||
| 41 | // By default, LEDs of the buttons which are pressed turn on. | 39 | // By default, LEDs of the buttons which are pressed turn on. |
diff --git a/keyboards/giabalanai/info.json b/keyboards/giabalanai/info.json index 7274505f9b..388d0a1ad2 100644 --- a/keyboards/giabalanai/info.json +++ b/keyboards/giabalanai/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 123, | ||
| 15 | "max_brightness": 80, | 16 | "max_brightness": 80, |
| 16 | "led_map": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 97, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48] | 17 | "led_map": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 97, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48] |
| 17 | }, | 18 | }, |
diff --git a/keyboards/gkeyboard/gkb_m16/config.h b/keyboards/gkeyboard/gkb_m16/config.h index ff3413e370..4753a5c6f2 100644 --- a/keyboards/gkeyboard/gkb_m16/config.h +++ b/keyboards/gkeyboard/gkb_m16/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gkeyboard/gkb_m16/info.json b/keyboards/gkeyboard/gkb_m16/info.json index 1f344fe50d..e70f9c59d9 100644 --- a/keyboards/gkeyboard/gkb_m16/info.json +++ b/keyboards/gkeyboard/gkb_m16/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 4, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/gl516/j73gl/config.h b/keyboards/gl516/j73gl/config.h index 49205e59d1..7adc4e10c3 100644 --- a/keyboards/gl516/j73gl/config.h +++ b/keyboards/gl516/j73gl/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 32 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 33 | 33 | ||
| 34 | #ifndef RGBLED_NUM | ||
| 35 | #define RGBLED_NUM 73 | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #define RGBLIGHT_EFFECT_BREATHING | 34 | #define RGBLIGHT_EFFECT_BREATHING |
| 39 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 35 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 40 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 36 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/gl516/j73gl/info.json b/keyboards/gl516/j73gl/info.json index a34c1e6c4c..2650356f1f 100644 --- a/keyboards/gl516/j73gl/info.json +++ b/keyboards/gl516/j73gl/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xE8D0", | 8 | "pid": "0xE8D0", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 73 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/gl516/n51gl/config.h b/keyboards/gl516/n51gl/config.h index cd919a72c4..138e9d1063 100644 --- a/keyboards/gl516/n51gl/config.h +++ b/keyboards/gl516/n51gl/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 32 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 33 | 33 | ||
| 34 | #ifndef RGBLED_NUM | ||
| 35 | #define RGBLED_NUM 15 | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #define RGBLIGHT_EFFECT_BREATHING | 34 | #define RGBLIGHT_EFFECT_BREATHING |
| 39 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 35 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 40 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 36 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/gl516/n51gl/info.json b/keyboards/gl516/n51gl/info.json index 9da8930c60..c6fa2a1cf6 100644 --- a/keyboards/gl516/n51gl/info.json +++ b/keyboards/gl516/n51gl/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xE8CF", | 8 | "pid": "0xE8CF", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 15 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/gray_studio/aero75/config.h b/keyboards/gray_studio/aero75/config.h index 4de4c54aa7..c3511821d1 100644 --- a/keyboards/gray_studio/aero75/config.h +++ b/keyboards/gray_studio/aero75/config.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | 5 | ||
| 6 | #define RGBLIGHT_LAYERS | 6 | #define RGBLIGHT_LAYERS |
| 7 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 7 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 8 | #define RGBLED_NUM 1 | ||
| 9 | #define RGBLIGHT_HUE_STEP 8 | 8 | #define RGBLIGHT_HUE_STEP 8 |
| 10 | #define RGBLIGHT_SAT_STEP 8 | 9 | #define RGBLIGHT_SAT_STEP 8 |
| 11 | #define RGBLIGHT_VAL_STEP 8 | 10 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/aero75/info.json b/keyboards/gray_studio/aero75/info.json index 4bc6457b5b..d0d700dd9e 100644 --- a/keyboards/gray_studio/aero75/info.json +++ b/keyboards/gray_studio/aero75/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B10" | 12 | "pin": "B10" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 1, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/gray_studio/apollo80/config.h b/keyboards/gray_studio/apollo80/config.h index 58cc50aea0..6f0ccc9309 100644 --- a/keyboards/gray_studio/apollo80/config.h +++ b/keyboards/gray_studio/apollo80/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 22 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/apollo80/info.json b/keyboards/gray_studio/apollo80/info.json index 39cbbbaaf7..2154483373 100644 --- a/keyboards/gray_studio/apollo80/info.json +++ b/keyboards/gray_studio/apollo80/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "E2" | 12 | "pin": "E2" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 22, | ||
| 15 | "max_brightness": 180, | 16 | "max_brightness": 180, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/gray_studio/cod67/config.h b/keyboards/gray_studio/cod67/config.h index aee484c137..bcf26130c0 100644 --- a/keyboards/gray_studio/cod67/config.h +++ b/keyboards/gray_studio/cod67/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 20 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/cod67/info.json b/keyboards/gray_studio/cod67/info.json index fd7c89197d..b73f39ff2e 100644 --- a/keyboards/gray_studio/cod67/info.json +++ b/keyboards/gray_studio/cod67/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 20, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/gray_studio/hb85/config.h b/keyboards/gray_studio/hb85/config.h index 41df8a357d..d849732a07 100644 --- a/keyboards/gray_studio/hb85/config.h +++ b/keyboards/gray_studio/hb85/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 5 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/gray_studio/hb85/info.json b/keyboards/gray_studio/hb85/info.json index 138b1bfe5c..c1d7533a7d 100644 --- a/keyboards/gray_studio/hb85/info.json +++ b/keyboards/gray_studio/hb85/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 5 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/gray_studio/space65/config.h b/keyboards/gray_studio/space65/config.h index 161ee714d6..39ae589193 100644 --- a/keyboards/gray_studio/space65/config.h +++ b/keyboards/gray_studio/space65/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/space65/info.json b/keyboards/gray_studio/space65/info.json index e5a692e536..c1f5a1d0e5 100644 --- a/keyboards/gray_studio/space65/info.json +++ b/keyboards/gray_studio/space65/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 6, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/gray_studio/space65r3/config.h b/keyboards/gray_studio/space65r3/config.h index aed6b1ebbc..33b584967a 100644 --- a/keyboards/gray_studio/space65r3/config.h +++ b/keyboards/gray_studio/space65r3/config.h | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #define RGBLIGHT_LAYERS | 5 | #define RGBLIGHT_LAYERS |
| 6 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 6 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 7 | #define RGBLED_NUM 5 | ||
| 8 | #define RGBLIGHT_HUE_STEP 8 | 7 | #define RGBLIGHT_HUE_STEP 8 |
| 9 | #define RGBLIGHT_SAT_STEP 8 | 8 | #define RGBLIGHT_SAT_STEP 8 |
| 10 | #define RGBLIGHT_VAL_STEP 8 | 9 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/space65r3/info.json b/keyboards/gray_studio/space65r3/info.json index 301f004f0b..7d62cf2e35 100644 --- a/keyboards/gray_studio/space65r3/info.json +++ b/keyboards/gray_studio/space65r3/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B10" | 12 | "pin": "B10" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 5, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/gray_studio/think65/hotswap/config.h b/keyboards/gray_studio/think65/hotswap/config.h index 51091e4ebc..6f60b19ce1 100644 --- a/keyboards/gray_studio/think65/hotswap/config.h +++ b/keyboards/gray_studio/think65/hotswap/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 22 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/think65/hotswap/info.json b/keyboards/gray_studio/think65/hotswap/info.json index 673ae773ab..17781d5d67 100644 --- a/keyboards/gray_studio/think65/hotswap/info.json +++ b/keyboards/gray_studio/think65/hotswap/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 22, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/gray_studio/think65/solder/config.h b/keyboards/gray_studio/think65/solder/config.h index 51091e4ebc..6f60b19ce1 100644 --- a/keyboards/gray_studio/think65/solder/config.h +++ b/keyboards/gray_studio/think65/solder/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 22 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/gray_studio/think65/solder/info.json b/keyboards/gray_studio/think65/solder/info.json index befbd79605..65cb2fe499 100644 --- a/keyboards/gray_studio/think65/solder/info.json +++ b/keyboards/gray_studio/think65/solder/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 22, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/grid600/press/config.h b/keyboards/grid600/press/config.h index 517fe500c2..54a0893803 100644 --- a/keyboards/grid600/press/config.h +++ b/keyboards/grid600/press/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | #define RGBLIGHT_HUE_STEP 10 | 20 | #define RGBLIGHT_HUE_STEP 10 |
| 22 | #define RGBLIGHT_SAT_STEP 17 | 21 | #define RGBLIGHT_SAT_STEP 17 |
| 23 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/grid600/press/info.json b/keyboards/grid600/press/info.json index 804ab367c6..7680f05975 100644 --- a/keyboards/grid600/press/info.json +++ b/keyboards/grid600/press/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "rows": ["F0"] | 13 | "rows": ["F0"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 4, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/h0oni/hotduck/config.h b/keyboards/h0oni/hotduck/config.h index 9891423e3f..3560f972ff 100644 --- a/keyboards/h0oni/hotduck/config.h +++ b/keyboards/h0oni/hotduck/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 20 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 15 | 32 | #define RGBLIGHT_SAT_STEP 15 |
| 34 | #define RGBLIGHT_VAL_STEP 15 | 33 | #define RGBLIGHT_VAL_STEP 15 |
diff --git a/keyboards/h0oni/hotduck/info.json b/keyboards/h0oni/hotduck/info.json index 6e8e2e6144..a7f8a48bdd 100644 --- a/keyboards/h0oni/hotduck/info.json +++ b/keyboards/h0oni/hotduck/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5"] | 13 | "rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 20 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "F4" | 20 | "pin": "F4" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/hadron/ver2/config.h b/keyboards/hadron/ver2/config.h index 7b7acf32b6..dbdda7b145 100644 --- a/keyboards/hadron/ver2/config.h +++ b/keyboards/hadron/ver2/config.h | |||
| @@ -30,6 +30,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define RGBLIGHT_EFFECT_RGB_TEST | 30 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 31 | #define RGBLIGHT_EFFECT_ALTERNATING | 31 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 32 | #define RGBLIGHT_EFFECT_TWINKLE | 32 | #define RGBLIGHT_EFFECT_TWINKLE |
| 33 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 34 | #define RGBLIGHT_HUE_STEP 10 | 33 | #define RGBLIGHT_HUE_STEP 10 |
| 35 | #define RGBLIGHT_SAT_STEP 17 | 34 | #define RGBLIGHT_SAT_STEP 17 |
diff --git a/keyboards/hadron/ver2/info.json b/keyboards/hadron/ver2/info.json index 612d3af50a..60edaa9478 100644 --- a/keyboards/hadron/ver2/info.json +++ b/keyboards/hadron/ver2/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "rows": ["D7", "E6", "B4", "B5", "B6"] | 7 | "rows": ["D7", "E6", "B4", "B5", "B6"] |
| 8 | }, | 8 | }, |
| 9 | "diode_direction": "COL2ROW", | 9 | "diode_direction": "COL2ROW", |
| 10 | "rgblight": { | ||
| 11 | "led_count": 14 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "D4" | 14 | "pin": "D4" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/hadron/ver3/config.h b/keyboards/hadron/ver3/config.h index 02e4116bb6..be315e668a 100644 --- a/keyboards/hadron/ver3/config.h +++ b/keyboards/hadron/ver3/config.h | |||
| @@ -118,8 +118,7 @@ | |||
| 118 | #define RGBLIGHT_EFFECT_ALTERNATING | 118 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 119 | #define RGBLIGHT_EFFECT_TWINKLE | 119 | #define RGBLIGHT_EFFECT_TWINKLE |
| 120 | 120 | ||
| 121 | #define RGBLED_NUM 10 | 121 | #define RGB_MATRIX_LED_COUNT 10 |
| 122 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 123 | 122 | ||
| 124 | // #define RGB_MATRIX_KEYPRESSES | 123 | // #define RGB_MATRIX_KEYPRESSES |
| 125 | 124 | ||
diff --git a/keyboards/hadron/ver3/info.json b/keyboards/hadron/ver3/info.json index 753a9676ce..466dafbc53 100644 --- a/keyboards/hadron/ver3/info.json +++ b/keyboards/hadron/ver3/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | {"pin_a": "B13", "pin_b": "B14"} | 15 | {"pin_a": "B13", "pin_b": "B14"} |
| 16 | ] | 16 | ] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 10 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "B5" | 22 | "pin": "B5" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/halfcliff/config.h b/keyboards/halfcliff/config.h index 1b0c2bb154..4113f03bc8 100644 --- a/keyboards/halfcliff/config.h +++ b/keyboards/halfcliff/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define MATRIX_ROW_PINS { F5, F6, F7, D7, B5, F5, F6, F7, D7, B5 } | 25 | #define MATRIX_ROW_PINS { F5, F6, F7, D7, B5, F5, F6, F7, D7, B5 } |
| 26 | #define MATRIX_COL_PINS { B4, E6, C6, B6, B2 } | 26 | #define MATRIX_COL_PINS { B4, E6, C6, B6, B2 } |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 10 | ||
| 29 | #define RGBLIGHT_HUE_STEP 8 | 28 | #define RGBLIGHT_HUE_STEP 8 |
| 30 | #define RGBLIGHT_SAT_STEP 8 | 29 | #define RGBLIGHT_SAT_STEP 8 |
| 31 | #define RGBLIGHT_VAL_STEP 8 | 30 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/halfcliff/info.json b/keyboards/halfcliff/info.json index 39b26c763b..1e5cdfcf55 100644 --- a/keyboards/halfcliff/info.json +++ b/keyboards/halfcliff/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 10, | ||
| 20 | "sleep": true, | 21 | "sleep": true, |
| 21 | "split_count": [5, 5] | 22 | "split_count": [5, 5] |
| 22 | }, | 23 | }, |
diff --git a/keyboards/halokeys/elemental75/config.h b/keyboards/halokeys/elemental75/config.h index 96a6764ceb..a9bb7a15e5 100644 --- a/keyboards/halokeys/elemental75/config.h +++ b/keyboards/halokeys/elemental75/config.h | |||
| @@ -17,8 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #define TAP_CODE_DELAY 10 // tap_code function delay for register and unregister | 18 | #define TAP_CODE_DELAY 10 // tap_code function delay for register and unregister |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 22 | ||
| 21 | |||
| 22 | /* animations enabled */ | 20 | /* animations enabled */ |
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/halokeys/elemental75/info.json b/keyboards/halokeys/elemental75/info.json index 763d5734b1..bc160671ee 100644 --- a/keyboards/halokeys/elemental75/info.json +++ b/keyboards/halokeys/elemental75/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "A10" | 22 | "pin": "A10" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 22, | ||
| 25 | "max_brightness": 225, | 26 | "max_brightness": 225, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/handwired/6macro/config.h b/keyboards/handwired/6macro/config.h index 53033ad4f3..d8999dc37a 100644 --- a/keyboards/handwired/6macro/config.h +++ b/keyboards/handwired/6macro/config.h | |||
| @@ -17,8 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | 20 | #define RGB_MATRIX_LED_COUNT 10 |
| 21 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 22 | #define RGBLIGHT_HUE_STEP 10 | 21 | #define RGBLIGHT_HUE_STEP 10 |
| 23 | #define RGBLIGHT_SAT_STEP 17 | 22 | #define RGBLIGHT_SAT_STEP 17 |
| 24 | #define RGBLIGHT_VAL_STEP 17 | 23 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/handwired/6macro/info.json b/keyboards/handwired/6macro/info.json index 5bc9833fa5..6faf7f579f 100644 --- a/keyboards/handwired/6macro/info.json +++ b/keyboards/handwired/6macro/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0037", | 8 | "pid": "0x0037", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D2" | 15 | "pin": "D2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/atreus50/config.h b/keyboards/handwired/atreus50/config.h index 89532fd32b..98b6190067 100644 --- a/keyboards/handwired/atreus50/config.h +++ b/keyboards/handwired/atreus50/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 37 | #define RGBLIGHT_HUE_STEP 10 | 36 | #define RGBLIGHT_HUE_STEP 10 |
| 38 | #define RGBLIGHT_SAT_STEP 17 | 37 | #define RGBLIGHT_SAT_STEP 17 |
| 39 | #define RGBLIGHT_VAL_STEP 17 | 38 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/handwired/atreus50/info.json b/keyboards/handwired/atreus50/info.json index cb1d6f6f0a..7bb335a607 100644 --- a/keyboards/handwired/atreus50/info.json +++ b/keyboards/handwired/atreus50/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x040D", | 8 | "pid": "0x040D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C6" | 15 | "pin": "C6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/bento/rev1/config.h b/keyboards/handwired/bento/rev1/config.h index 6a2a8fe30b..31efed8fc0 100644 --- a/keyboards/handwired/bento/rev1/config.h +++ b/keyboards/handwired/bento/rev1/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 4 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/bento/rev1/info.json b/keyboards/handwired/bento/rev1/info.json index 5991fdbac1..26e73a8d88 100644 --- a/keyboards/handwired/bento/rev1/info.json +++ b/keyboards/handwired/bento/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 4, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/brain/config.h b/keyboards/handwired/brain/config.h index 1e0a226403..519da7e442 100644 --- a/keyboards/handwired/brain/config.h +++ b/keyboards/handwired/brain/config.h | |||
| @@ -42,8 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 42 | /* Enables This makes it easier for fast typists to use dual-function keys */ | 42 | /* Enables This makes it easier for fast typists to use dual-function keys */ |
| 43 | #define PERMISSIVE_HOLD | 43 | #define PERMISSIVE_HOLD |
| 44 | 44 | ||
| 45 | #define RGBLED_NUM 28 // Number of LEDs | ||
| 46 | |||
| 47 | /* | 45 | /* |
| 48 | * Feature disable options | 46 | * Feature disable options |
| 49 | * These options are also useful to firmware size reduction. | 47 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/handwired/brain/info.json b/keyboards/handwired/brain/info.json index b4bdbc8420..910a628ca6 100644 --- a/keyboards/handwired/brain/info.json +++ b/keyboards/handwired/brain/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 28, | ||
| 23 | "split": true, | 24 | "split": true, |
| 24 | "max_brightness": 120 | 25 | "max_brightness": 120 |
| 25 | }, | 26 | }, |
diff --git a/keyboards/handwired/chiron/config.h b/keyboards/handwired/chiron/config.h index 677804cbe9..4d245e80e4 100644 --- a/keyboards/handwired/chiron/config.h +++ b/keyboards/handwired/chiron/config.h | |||
| @@ -22,5 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | 22 | ||
| 23 | #define LOCKING_SUPPORT_ENABLE | 23 | #define LOCKING_SUPPORT_ENABLE |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | |||
| 26 | #define RGBLED_NUM 4 | ||
diff --git a/keyboards/handwired/chiron/info.json b/keyboards/handwired/chiron/info.json index 2cb9a7a4d9..0bbdefe921 100644 --- a/keyboards/handwired/chiron/info.json +++ b/keyboards/handwired/chiron/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 7 | 18 | "levels": 7 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 4 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/handwired/co60/rev7/config.h b/keyboards/handwired/co60/rev7/config.h index 8cafa3c6f3..be60d6b522 100644 --- a/keyboards/handwired/co60/rev7/config.h +++ b/keyboards/handwired/co60/rev7/config.h | |||
| @@ -36,8 +36,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | |||
| 40 | #define RGBLED_NUM 16 | ||
| 41 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 42 | |||
| 43 | #define RGB_MATRIX_KEYPRESSES | ||
diff --git a/keyboards/handwired/co60/rev7/info.json b/keyboards/handwired/co60/rev7/info.json index 1f1c2a2cf9..1475c808f3 100644 --- a/keyboards/handwired/co60/rev7/info.json +++ b/keyboards/handwired/co60/rev7/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "pin": "B8", | 12 | "pin": "B8", |
| 13 | "breathing": true | 13 | "breathing": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 16 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "A7", | 19 | "pin": "A7", |
| 17 | "driver": "spi" | 20 | "driver": "spi" |
diff --git a/keyboards/handwired/concertina/64key/config.h b/keyboards/handwired/concertina/64key/config.h index b315e309ae..70aafa3bfd 100644 --- a/keyboards/handwired/concertina/64key/config.h +++ b/keyboards/handwired/concertina/64key/config.h | |||
| @@ -16,7 +16,4 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* LEDs are not used in the standard 64key configuration. */ | ||
| 20 | #define RGBLED_NUM 0 | ||
| 21 | |||
| 22 | #define PERMISSIVE_HOLD | 19 | #define PERMISSIVE_HOLD |
diff --git a/keyboards/handwired/concertina/64key/info.json b/keyboards/handwired/concertina/64key/info.json index 1bca5a6fa4..2786c33451 100644 --- a/keyboards/handwired/concertina/64key/info.json +++ b/keyboards/handwired/concertina/64key/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3632", | 8 | "pid": "0x3632", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 0 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/consolekeyboard/18key/config.h b/keyboards/handwired/consolekeyboard/18key/config.h index e73c52a401..617bbd1f95 100644 --- a/keyboards/handwired/consolekeyboard/18key/config.h +++ b/keyboards/handwired/consolekeyboard/18key/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/consolekeyboard/18key/info.json b/keyboards/handwired/consolekeyboard/18key/info.json index 7b107225a5..9a8f73071e 100644 --- a/keyboards/handwired/consolekeyboard/18key/info.json +++ b/keyboards/handwired/consolekeyboard/18key/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/consolekeyboard/20key/config.h b/keyboards/handwired/consolekeyboard/20key/config.h index e73c52a401..617bbd1f95 100644 --- a/keyboards/handwired/consolekeyboard/20key/config.h +++ b/keyboards/handwired/consolekeyboard/20key/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/consolekeyboard/20key/info.json b/keyboards/handwired/consolekeyboard/20key/info.json index bd5b59f6e7..3c613d7ff6 100644 --- a/keyboards/handwired/consolekeyboard/20key/info.json +++ b/keyboards/handwired/consolekeyboard/20key/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/consolekeyboard/27key/config.h b/keyboards/handwired/consolekeyboard/27key/config.h index e73c52a401..617bbd1f95 100644 --- a/keyboards/handwired/consolekeyboard/27key/config.h +++ b/keyboards/handwired/consolekeyboard/27key/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/consolekeyboard/27key/info.json b/keyboards/handwired/consolekeyboard/27key/info.json index 15bccbf8d0..973d04481c 100644 --- a/keyboards/handwired/consolekeyboard/27key/info.json +++ b/keyboards/handwired/consolekeyboard/27key/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/consolekeyboard/30key/config.h b/keyboards/handwired/consolekeyboard/30key/config.h index 5206212fc5..3756baa856 100644 --- a/keyboards/handwired/consolekeyboard/30key/config.h +++ b/keyboards/handwired/consolekeyboard/30key/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/consolekeyboard/30key/info.json b/keyboards/handwired/consolekeyboard/30key/info.json index 7a86325b32..64f69ac4be 100644 --- a/keyboards/handwired/consolekeyboard/30key/info.json +++ b/keyboards/handwired/consolekeyboard/30key/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/croxsplit44/config.h b/keyboards/handwired/croxsplit44/config.h index d80b689bee..ceb0d42000 100644 --- a/keyboards/handwired/croxsplit44/config.h +++ b/keyboards/handwired/croxsplit44/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 42 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/croxsplit44/info.json b/keyboards/handwired/croxsplit44/info.json index e252fd85cc..06ad72c5ec 100644 --- a/keyboards/handwired/croxsplit44/info.json +++ b/keyboards/handwired/croxsplit44/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 42, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/cyberstar/config.h b/keyboards/handwired/cyberstar/config.h index 813b565036..3dc7c6c43a 100644 --- a/keyboards/handwired/cyberstar/config.h +++ b/keyboards/handwired/cyberstar/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define WS2812_DMA_CHANNEL 3 | 28 | #define WS2812_DMA_CHANNEL 3 |
| 29 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB | 29 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 12 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/cyberstar/info.json b/keyboards/handwired/cyberstar/info.json index 47eaab67a7..ca4ab5483d 100644 --- a/keyboards/handwired/cyberstar/info.json +++ b/keyboards/handwired/cyberstar/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x432A", | 8 | "pid": "0x432A", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B4", | 15 | "pin": "B4", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/handwired/d48/config.h b/keyboards/handwired/d48/config.h index 64364451ff..fbf5fb3a26 100644 --- a/keyboards/handwired/d48/config.h +++ b/keyboards/handwired/d48/config.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | /* RGB Underglow */ | 3 | /* RGB Underglow */ |
| 4 | #ifdef RGBLIGHT_ENABLE | 4 | #ifdef RGBLIGHT_ENABLE |
| 5 | #define RGBLED_NUM 14 | ||
| 6 | #define RGBLIGHT_HUE_STEP 8 | 5 | #define RGBLIGHT_HUE_STEP 8 |
| 7 | #define RGBLIGHT_SAT_STEP 8 | 6 | #define RGBLIGHT_SAT_STEP 8 |
| 8 | #define RGBLIGHT_VAL_STEP 8 | 7 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/d48/info.json b/keyboards/handwired/d48/info.json index db3f2bbacc..48a373b596 100644 --- a/keyboards/handwired/d48/info.json +++ b/keyboards/handwired/d48/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A15" | 15 | "pin": "A15" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/4x5/config.h b/keyboards/handwired/dactyl_manuform/4x5/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/4x5/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/4x5/info.json b/keyboards/handwired/dactyl_manuform/4x5/info.json index 5fdab01ef4..141bb47717 100644 --- a/keyboards/handwired/dactyl_manuform/4x5/info.json +++ b/keyboards/handwired/dactyl_manuform/4x5/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3435", | 8 | "pid": "0x3435", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/4x6/config.h b/keyboards/handwired/dactyl_manuform/4x6/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/4x6/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/4x6/info.json b/keyboards/handwired/dactyl_manuform/4x6/info.json index 7de3ef0b0d..5b415fbd2b 100644 --- a/keyboards/handwired/dactyl_manuform/4x6/info.json +++ b/keyboards/handwired/dactyl_manuform/4x6/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3436", | 8 | "pid": "0x3436", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/config.h b/keyboards/handwired/dactyl_manuform/4x6_5/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/4x6_5/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/4x6_5/info.json b/keyboards/handwired/dactyl_manuform/4x6_5/info.json index b9ebd6d7df..f54f0d56d2 100644 --- a/keyboards/handwired/dactyl_manuform/4x6_5/info.json +++ b/keyboards/handwired/dactyl_manuform/4x6_5/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3436", | 8 | "pid": "0x3436", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/5x6/config.h b/keyboards/handwired/dactyl_manuform/5x6/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/5x6/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/5x6/info.json b/keyboards/handwired/dactyl_manuform/5x6/info.json index 89c2c800c6..e6372961d8 100644 --- a/keyboards/handwired/dactyl_manuform/5x6/info.json +++ b/keyboards/handwired/dactyl_manuform/5x6/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3536", | 8 | "pid": "0x3536", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/5x7/config.h b/keyboards/handwired/dactyl_manuform/5x7/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/5x7/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/5x7/info.json b/keyboards/handwired/dactyl_manuform/5x7/info.json index b166df22a0..68270606cc 100644 --- a/keyboards/handwired/dactyl_manuform/5x7/info.json +++ b/keyboards/handwired/dactyl_manuform/5x7/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3537", | 8 | "pid": "0x3537", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/6x6/promicro/config.h b/keyboards/handwired/dactyl_manuform/6x6/promicro/config.h deleted file mode 100644 index 1da1cb9590..0000000000 --- a/keyboards/handwired/dactyl_manuform/6x6/promicro/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* Copyright 2019 | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | // WS2812 RGB LED strip input and number of LEDs | ||
| 20 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/6x6/promicro/info.json b/keyboards/handwired/dactyl_manuform/6x6/promicro/info.json index 2b542a15da..245310fd3c 100644 --- a/keyboards/handwired/dactyl_manuform/6x6/promicro/info.json +++ b/keyboards/handwired/dactyl_manuform/6x6/promicro/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "split": { | 7 | "split": { |
| 8 | "soft_serial_pin": "D0" | 8 | "soft_serial_pin": "D0" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 12 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "D3" | 14 | "pin": "D3" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/6x6_4/config.h b/keyboards/handwired/dactyl_manuform/6x6_4/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/6x6_4/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/6x6_4/info.json b/keyboards/handwired/dactyl_manuform/6x6_4/info.json index 567057cf08..955060de7a 100644 --- a/keyboards/handwired/dactyl_manuform/6x6_4/info.json +++ b/keyboards/handwired/dactyl_manuform/6x6_4/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3636", | 8 | "pid": "0x3636", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/6x6_kinesis/config.h b/keyboards/handwired/dactyl_manuform/6x6_kinesis/config.h deleted file mode 100644 index 9a4e39dad2..0000000000 --- a/keyboards/handwired/dactyl_manuform/6x6_kinesis/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/handwired/dactyl_manuform/6x6_kinesis/info.json b/keyboards/handwired/dactyl_manuform/6x6_kinesis/info.json index 8f14c5049e..3dd74aa3f6 100644 --- a/keyboards/handwired/dactyl_manuform/6x6_kinesis/info.json +++ b/keyboards/handwired/dactyl_manuform/6x6_kinesis/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3636", | 8 | "pid": "0x3636", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/dactyl_manuform/dmote/62key/config.h b/keyboards/handwired/dactyl_manuform/dmote/62key/config.h index 0c3bee7dcb..584db341d6 100644 --- a/keyboards/handwired/dactyl_manuform/dmote/62key/config.h +++ b/keyboards/handwired/dactyl_manuform/dmote/62key/config.h | |||
| @@ -5,4 +5,3 @@ | |||
| 5 | #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2 | 5 | #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2 |
| 6 | #define RGBLIGHT_EFFECT_CHRISTMAS | 6 | #define RGBLIGHT_EFFECT_CHRISTMAS |
| 7 | #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1 | 7 | #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1 |
| 8 | #define RGBLED_NUM 6 // Used when chaining strips | ||
diff --git a/keyboards/handwired/dactyl_manuform/dmote/62key/info.json b/keyboards/handwired/dactyl_manuform/dmote/62key/info.json index 379ca33af6..99e1739d20 100644 --- a/keyboards/handwired/dactyl_manuform/dmote/62key/info.json +++ b/keyboards/handwired/dactyl_manuform/dmote/62key/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "device_version": "0.0.1" | 11 | "device_version": "0.0.1" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 6, | ||
| 14 | "split_count": [3, 3] | 15 | "split_count": [3, 3] |
| 15 | }, | 16 | }, |
| 16 | "ws2812": { | 17 | "ws2812": { |
diff --git a/keyboards/handwired/dactyl_promicro/config.h b/keyboards/handwired/dactyl_promicro/config.h index ab6beb807f..543ef8e6c5 100644 --- a/keyboards/handwired/dactyl_promicro/config.h +++ b/keyboards/handwired/dactyl_promicro/config.h | |||
| @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | /* Enables This makes it easier for fast typists to use dual-function keys */ | 33 | /* Enables This makes it easier for fast typists to use dual-function keys */ |
| 34 | #define PERMISSIVE_HOLD | 34 | #define PERMISSIVE_HOLD |
| 35 | 35 | ||
| 36 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 37 | |||
| 38 | /* | 36 | /* |
| 39 | * Feature disable options | 37 | * Feature disable options |
| 40 | * These options are also useful to firmware size reduction. | 38 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/handwired/dactyl_promicro/info.json b/keyboards/handwired/dactyl_promicro/info.json index 5f0b4f85a2..2ae20d2f4a 100644 --- a/keyboards/handwired/dactyl_promicro/info.json +++ b/keyboards/handwired/dactyl_promicro/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/handwired/freoduo/config.h b/keyboards/handwired/freoduo/config.h index de14f38f4e..f7a41abb5c 100644 --- a/keyboards/handwired/freoduo/config.h +++ b/keyboards/handwired/freoduo/config.h | |||
| @@ -18,10 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #define EE_HANDS | 18 | #define EE_HANDS |
| 19 | 19 | ||
| 20 | /* ws2812 RGB LED */ | 20 | /* ws2812 RGB LED */ |
| 21 | #if !defined(RGBLED_NUM) | ||
| 22 | # define RGBLED_NUM 30 | ||
| 23 | # define RGBLIGHT_LAYERS | 21 | # define RGBLIGHT_LAYERS |
| 24 | #endif | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/handwired/freoduo/info.json b/keyboards/handwired/freoduo/info.json index fe66b4f2a6..c861e7bd10 100644 --- a/keyboards/handwired/freoduo/info.json +++ b/keyboards/handwired/freoduo/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 30, | ||
| 20 | "sleep": true, | 21 | "sleep": true, |
| 21 | "led_map": [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], | 22 | "led_map": [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], |
| 22 | "split_count": [16, 14] | 23 | "split_count": [16, 14] |
diff --git a/keyboards/handwired/heisenberg/config.h b/keyboards/handwired/heisenberg/config.h index cb17dbbc0b..122b3f59b0 100644 --- a/keyboards/handwired/heisenberg/config.h +++ b/keyboards/handwired/heisenberg/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | // #define RGBLIGHT_HUE_STEP 8 | 20 | // #define RGBLIGHT_HUE_STEP 8 |
| 22 | // #define RGBLIGHT_SAT_STEP 8 | 21 | // #define RGBLIGHT_SAT_STEP 8 |
| 23 | // #define RGBLIGHT_VAL_STEP 8 | 22 | // #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/heisenberg/info.json b/keyboards/handwired/heisenberg/info.json index 5b3e000fba..246171e696 100644 --- a/keyboards/handwired/heisenberg/info.json +++ b/keyboards/handwired/heisenberg/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 6 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D4" | 15 | "pin": "D4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/jopr/config.h b/keyboards/handwired/jopr/config.h index 5d5233ca99..59c7bb3bc0 100644 --- a/keyboards/handwired/jopr/config.h +++ b/keyboards/handwired/jopr/config.h | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | #define NO_ACTION_ONESHOT | 9 | #define NO_ACTION_ONESHOT |
| 10 | #define TAPPING_TOGGLE 3 | 10 | #define TAPPING_TOGGLE 3 |
| 11 | 11 | ||
| 12 | #define RGBLED_NUM 1 | ||
| 13 | #define RGBLIGHT_HUE_STEP 1 | 12 | #define RGBLIGHT_HUE_STEP 1 |
| 14 | #define RGBLIGHT_SAT_STEP 1 | 13 | #define RGBLIGHT_SAT_STEP 1 |
| 15 | #define RGBLIGHT_VAL_STEP 1 | 14 | #define RGBLIGHT_VAL_STEP 1 |
diff --git a/keyboards/handwired/jopr/info.json b/keyboards/handwired/jopr/info.json index efebe52d0b..4da2086cb0 100644 --- a/keyboards/handwired/jopr/info.json +++ b/keyboards/handwired/jopr/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1000", | 8 | "pid": "0x1000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F4" | 15 | "pin": "F4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/lovelive9/config.h b/keyboards/handwired/lovelive9/config.h index a946442dc0..016c501a36 100644 --- a/keyboards/handwired/lovelive9/config.h +++ b/keyboards/handwired/lovelive9/config.h | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | #define RGBLED_NUM 9 // Number of LEDs | ||
| 6 | |||
| 7 | #define RGBLIGHT_EFFECT_BREATHING | 5 | #define RGBLIGHT_EFFECT_BREATHING |
| 8 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 6 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 9 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 7 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/handwired/lovelive9/info.json b/keyboards/handwired/lovelive9/info.json index 4000b543c3..4e1f755680 100644 --- a/keyboards/handwired/lovelive9/info.json +++ b/keyboards/handwired/lovelive9/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "backlight": { | 17 | "backlight": { |
| 18 | "breathing_period": 2 | 18 | "breathing_period": 2 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 9 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/handwired/macroboard/config.h b/keyboards/handwired/macroboard/config.h index b6d0049fe2..507b22b519 100644 --- a/keyboards/handwired/macroboard/config.h +++ b/keyboards/handwired/macroboard/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. | 24 | #define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. |
| 25 | #define WS2812_PWM_TARGET_PERIOD 800000 | 25 | #define WS2812_PWM_TARGET_PERIOD 800000 |
| 26 | 26 | ||
| 27 | # define RGBLED_NUM 24 | ||
| 28 | # define RGBLIGHT_HUE_STEP 8 | 27 | # define RGBLIGHT_HUE_STEP 8 |
| 29 | # define RGBLIGHT_SAT_STEP 8 | 28 | # define RGBLIGHT_SAT_STEP 8 |
| 30 | # define RGBLIGHT_VAL_STEP 8 | 29 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/macroboard/info.json b/keyboards/handwired/macroboard/info.json index d371032abf..2c99da4311 100644 --- a/keyboards/handwired/macroboard/info.json +++ b/keyboards/handwired/macroboard/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 24, | ||
| 12 | "sleep": true, | 13 | "sleep": true, |
| 13 | "led_map": [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1] | 14 | "led_map": [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1] |
| 14 | }, | 15 | }, |
diff --git a/keyboards/handwired/marauder/config.h b/keyboards/handwired/marauder/config.h index 0af9f5297d..1e80b3a908 100644 --- a/keyboards/handwired/marauder/config.h +++ b/keyboards/handwired/marauder/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #define LAYER_STATE_8BIT | 19 | #define LAYER_STATE_8BIT |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 7 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/marauder/info.json b/keyboards/handwired/marauder/info.json index abfc8a2ba5..27403cb5ea 100644 --- a/keyboards/handwired/marauder/info.json +++ b/keyboards/handwired/marauder/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 7, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/owlet60/config.h b/keyboards/handwired/owlet60/config.h index 40f181c988..091c2f8c06 100644 --- a/keyboards/handwired/owlet60/config.h +++ b/keyboards/handwired/owlet60/config.h | |||
| @@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | /* COL2ROW, ROW2COL*/ | 40 | /* COL2ROW, ROW2COL*/ |
| 41 | #define DIODE_DIRECTION COL2ROW | 41 | #define DIODE_DIRECTION COL2ROW |
| 42 | 42 | ||
| 43 | #define RGBLED_NUM 8 | ||
| 44 | #define RGBLIGHT_HUE_STEP 8 | 43 | #define RGBLIGHT_HUE_STEP 8 |
| 45 | #define RGBLIGHT_SAT_STEP 8 | 44 | #define RGBLIGHT_SAT_STEP 8 |
| 46 | #define RGBLIGHT_VAL_STEP 8 | 45 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/owlet60/info.json b/keyboards/handwired/owlet60/info.json index e27cf292b5..2410865a21 100644 --- a/keyboards/handwired/owlet60/info.json +++ b/keyboards/handwired/owlet60/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D0" | 12 | "pin": "D0" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 8, | ||
| 15 | "max_brightness": 128, | 16 | "max_brightness": 128, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/handwired/prime_exl_plus/config.h b/keyboards/handwired/prime_exl_plus/config.h index a660e0ddfa..691995b349 100644 --- a/keyboards/handwired/prime_exl_plus/config.h +++ b/keyboards/handwired/prime_exl_plus/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/handwired/prime_exl_plus/info.json b/keyboards/handwired/prime_exl_plus/info.json index cb4a939a02..edea65842c 100644 --- a/keyboards/handwired/prime_exl_plus/info.json +++ b/keyboards/handwired/prime_exl_plus/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6579", | 8 | "pid": "0x6579", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D4" | 15 | "pin": "D4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/prkl30/feather/config.h b/keyboards/handwired/prkl30/feather/config.h index bb71df9c64..5f652834a5 100644 --- a/keyboards/handwired/prkl30/feather/config.h +++ b/keyboards/handwired/prkl30/feather/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 13 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/prkl30/feather/info.json b/keyboards/handwired/prkl30/feather/info.json index 08c6e107dd..5b9b821d4d 100644 --- a/keyboards/handwired/prkl30/feather/info.json +++ b/keyboards/handwired/prkl30/feather/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 13 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "D1" | 6 | "pin": "D1" |
| 4 | }, | 7 | }, |
diff --git a/keyboards/handwired/prkl30/promicro/config.h b/keyboards/handwired/prkl30/promicro/config.h index bb71df9c64..5f652834a5 100644 --- a/keyboards/handwired/prkl30/promicro/config.h +++ b/keyboards/handwired/prkl30/promicro/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 13 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/prkl30/promicro/info.json b/keyboards/handwired/prkl30/promicro/info.json index 69c3ae8bfe..d58fb2c5f3 100644 --- a/keyboards/handwired/prkl30/promicro/info.json +++ b/keyboards/handwired/prkl30/promicro/info.json | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | "cols": ["B4", "B5", "F6", "F5", "F4", "F7", "B1", "B3", "B2", "B6"], | 3 | "cols": ["B4", "B5", "F6", "F5", "F4", "F7", "B1", "B3", "B2", "B6"], |
| 4 | "rows": ["D4", "C6", "D7", "E6"] | 4 | "rows": ["D4", "C6", "D7", "E6"] |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | ||
| 7 | "led_count": 13 | ||
| 8 | }, | ||
| 6 | "ws2812": { | 9 | "ws2812": { |
| 7 | "pin": "D1" | 10 | "pin": "D1" |
| 8 | }, | 11 | }, |
diff --git a/keyboards/handwired/qc60/info.json b/keyboards/handwired/qc60/info.json index b78ca3c807..7fba95f9d1 100644 --- a/keyboards/handwired/qc60/info.json +++ b/keyboards/handwired/qc60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0C60", | 8 | "pid": "0x0C60", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/qc60/proto/config.h b/keyboards/handwired/qc60/proto/config.h deleted file mode 100644 index a64c4ebeec..0000000000 --- a/keyboards/handwired/qc60/proto/config.h +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | /* ws2812 RGB LED */ | ||
| 4 | #define RGBLED_NUM 1 // Number of LEDs | ||
diff --git a/keyboards/handwired/selene/config.h b/keyboards/handwired/selene/config.h index 7ee210aa84..31c0cc59f7 100644 --- a/keyboards/handwired/selene/config.h +++ b/keyboards/handwired/selene/config.h | |||
| @@ -16,7 +16,5 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 50 | ||
| 20 | |||
| 21 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 22 | #define LOCKING_RESYNC_ENABLE | 20 | #define LOCKING_RESYNC_ENABLE |
diff --git a/keyboards/handwired/selene/info.json b/keyboards/handwired/selene/info.json index 24cb90487c..b99e41bda5 100644 --- a/keyboards/handwired/selene/info.json +++ b/keyboards/handwired/selene/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 50 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A3" | 15 | "pin": "A3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/splittest/config.h b/keyboards/handwired/splittest/config.h index c656f96815..ef6699d079 100644 --- a/keyboards/handwired/splittest/config.h +++ b/keyboards/handwired/splittest/config.h | |||
| @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 12 | ||
| 38 | 37 | ||
| 39 | /* | 38 | /* |
| 40 | * Feature disable options | 39 | * Feature disable options |
diff --git a/keyboards/handwired/splittest/info.json b/keyboards/handwired/splittest/info.json index b301ffeaaf..cb9c16e889 100644 --- a/keyboards/handwired/splittest/info.json +++ b/keyboards/handwired/splittest/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "split_count": [6, 6] | 13 | "split_count": [6, 6] |
| 13 | }, | 14 | }, |
| 14 | "layouts": { | 15 | "layouts": { |
diff --git a/keyboards/handwired/steamvan/rev1/config.h b/keyboards/handwired/steamvan/rev1/config.h index ffd061fa17..28d368dab8 100644 --- a/keyboards/handwired/steamvan/rev1/config.h +++ b/keyboards/handwired/steamvan/rev1/config.h | |||
| @@ -36,7 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | 38 | ||
| 39 | #define RGBLED_NUM 16 | ||
| 40 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 41 | |||
| 42 | #define RGB_MATRIX_KEYPRESSES | 39 | #define RGB_MATRIX_KEYPRESSES |
diff --git a/keyboards/handwired/steamvan/rev1/info.json b/keyboards/handwired/steamvan/rev1/info.json index b76753f19f..08a6cd06ce 100644 --- a/keyboards/handwired/steamvan/rev1/info.json +++ b/keyboards/handwired/steamvan/rev1/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B8", | 17 | "pin": "B8", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 16 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "A7", | 24 | "pin": "A7", |
| 22 | "driver": "spi" | 25 | "driver": "spi" |
diff --git a/keyboards/handwired/swiftrax/bumblebee/config.h b/keyboards/handwired/swiftrax/bumblebee/config.h index 4fe6fb4428..fa4c9291e7 100644 --- a/keyboards/handwired/swiftrax/bumblebee/config.h +++ b/keyboards/handwired/swiftrax/bumblebee/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB Indicators */ | ||
| 21 | #define RGBLED_NUM 3 | ||
| 22 | |||
| 23 | /* Solenid Pin */ | 20 | /* Solenid Pin */ |
| 24 | #define SOLENOID_PIN D2 | 21 | #define SOLENOID_PIN D2 |
| 25 | 22 | ||
diff --git a/keyboards/handwired/swiftrax/bumblebee/info.json b/keyboards/handwired/swiftrax/bumblebee/info.json index 9a46cb9849..e2cad64ad8 100644 --- a/keyboards/handwired/swiftrax/bumblebee/info.json +++ b/keyboards/handwired/swiftrax/bumblebee/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xE881", | 8 | "pid": "0xE881", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 3 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/swiftrax/glacier/config.h b/keyboards/handwired/swiftrax/glacier/config.h index 4bff062d6c..b0fe39ae46 100644 --- a/keyboards/handwired/swiftrax/glacier/config.h +++ b/keyboards/handwired/swiftrax/glacier/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | 21 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 |
| 22 | 22 | ||
| 23 | /* RGB */ | 23 | /* RGB */ |
| 24 | #define RGBLED_NUM 12 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/handwired/swiftrax/glacier/info.json b/keyboards/handwired/swiftrax/glacier/info.json index 3aed06628f..8898503eb7 100644 --- a/keyboards/handwired/swiftrax/glacier/info.json +++ b/keyboards/handwired/swiftrax/glacier/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xE890", | 8 | "pid": "0xE890", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/swiftrax/walter/config.h b/keyboards/handwired/swiftrax/walter/config.h index 5fdda201e0..daf96d9c9d 100644 --- a/keyboards/handwired/swiftrax/walter/config.h +++ b/keyboards/handwired/swiftrax/walter/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 24 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/handwired/swiftrax/walter/info.json b/keyboards/handwired/swiftrax/walter/info.json index a52a0470e7..e7e72a5707 100644 --- a/keyboards/handwired/swiftrax/walter/info.json +++ b/keyboards/handwired/swiftrax/walter/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xE964", | 8 | "pid": "0xE964", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 24 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/symmetry60/config.h b/keyboards/handwired/symmetry60/config.h index c92944a48f..c7c89484e2 100644 --- a/keyboards/handwired/symmetry60/config.h +++ b/keyboards/handwired/symmetry60/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/symmetry60/info.json b/keyboards/handwired/symmetry60/info.json index 54d58d8b7f..b533a8a5cf 100644 --- a/keyboards/handwired/symmetry60/info.json +++ b/keyboards/handwired/symmetry60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1" | 15 | "pin": "B1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/tennie/config.h b/keyboards/handwired/tennie/config.h index bb158955e2..b06381d918 100644 --- a/keyboards/handwired/tennie/config.h +++ b/keyboards/handwired/tennie/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBW | 20 | #define RGBW |
| 21 | #define RGBLED_NUM 1 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/handwired/tennie/info.json b/keyboards/handwired/tennie/info.json index a48d64f730..f506b7996a 100644 --- a/keyboards/handwired/tennie/info.json +++ b/keyboards/handwired/tennie/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1313", | 8 | "pid": "0x1313", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D1" | 15 | "pin": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h index c2401d394f..af4b3c0ac0 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h | |||
| @@ -18,9 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 20 | ||
| 23 | |||
| 24 | #define AUDIO_PIN C6 | 21 | #define AUDIO_PIN C6 |
| 25 | 22 | ||
| 26 | #define EE_HANDS | 23 | #define EE_HANDS |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json index 3ea61f0a1a..92e0baace1 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "D3" | 17 | "pin": "D3" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 20, | ||
| 20 | "max_brightness": 80, | 21 | "max_brightness": 80, |
| 21 | "split_count": [10, 10] | 22 | "split_count": [10, 10] |
| 22 | }, | 23 | }, |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h index a5ab8a89c7..3a7f97f8d2 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h | |||
| @@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | // #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. | 29 | // #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. |
| 30 | #define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. | 30 | #define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. |
| 31 | 31 | ||
| 32 | #define RGBLED_NUM 20 | ||
| 33 | |||
| 34 | #define DEBUG_LED_PIN C13 | 32 | #define DEBUG_LED_PIN C13 |
| 35 | 33 | ||
| 36 | /* Audio config */ | 34 | /* Audio config */ |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json index 7e9f90fb1f..62fa261ac7 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | }, | 6 | }, |
| 7 | "diode_direction": "COL2ROW", | 7 | "diode_direction": "COL2ROW", |
| 8 | "rgblight": { | 8 | "rgblight": { |
| 9 | "led_count": 20, | ||
| 9 | "split_count": [10, 10] | 10 | "split_count": [10, 10] |
| 10 | }, | 11 | }, |
| 11 | "ws2812": { | 12 | "ws2812": { |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h index b8b8223cde..2ad18267ad 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h | |||
| @@ -31,9 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. | 31 | #define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. |
| 32 | #define WS2812_PWM_TARGET_PERIOD 800000 | 32 | #define WS2812_PWM_TARGET_PERIOD 800000 |
| 33 | 33 | ||
| 34 | |||
| 35 | #define RGBLED_NUM 57 | ||
| 36 | |||
| 37 | #define DEBUG_LED_PIN C13 | 34 | #define DEBUG_LED_PIN C13 |
| 38 | 35 | ||
| 39 | /* Audio config */ | 36 | /* Audio config */ |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json index ca4f930cbf..dff5fec4a5 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | }, | 6 | }, |
| 7 | "diode_direction": "COL2ROW", | 7 | "diode_direction": "COL2ROW", |
| 8 | "rgblight": { | 8 | "rgblight": { |
| 9 | "led_count": 57, | ||
| 9 | "split_count": [26, 31] | 10 | "split_count": [26, 31] |
| 10 | }, | 11 | }, |
| 11 | "ws2812": { | 12 | "ws2812": { |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h index 3440f85a19..769a348e65 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h | |||
| @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | // WS2812 RGB LED strip input and number of LEDs | ||
| 22 | #define RGBLED_NUM 20 | ||
| 23 | #define RGBLIGHT_LIMIT_VAL 80 | 21 | #define RGBLIGHT_LIMIT_VAL 80 |
| 24 | 22 | ||
| 25 | #define DEBUG_LED_PIN D6 | 23 | #define DEBUG_LED_PIN D6 |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json index 725c519c0e..a131ac085b 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "E7" | 17 | "pin": "E7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 20, | ||
| 20 | "max_brightness": 80, | 21 | "max_brightness": 80, |
| 21 | "split_count": [10, 10] | 22 | "split_count": [10, 10] |
| 22 | }, | 23 | }, |
diff --git a/keyboards/handwired/traveller/config.h b/keyboards/handwired/traveller/config.h index cb92eff061..df417163ab 100644 --- a/keyboards/handwired/traveller/config.h +++ b/keyboards/handwired/traveller/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 1 | ||
| 21 | # define RGBLIGHT_HUE_STEP 10 | 20 | # define RGBLIGHT_HUE_STEP 10 |
| 22 | # define RGBLIGHT_SAT_STEP 17 | 21 | # define RGBLIGHT_SAT_STEP 17 |
| 23 | # define RGBLIGHT_VAL_STEP 17 | 22 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/handwired/traveller/info.json b/keyboards/handwired/traveller/info.json index 91fe9e1cf4..64abd90db2 100644 --- a/keyboards/handwired/traveller/info.json +++ b/keyboards/handwired/traveller/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B2" | 15 | "pin": "B2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/tritium_numpad/config.h b/keyboards/handwired/tritium_numpad/config.h index 838776b5eb..b9449c4714 100644 --- a/keyboards/handwired/tritium_numpad/config.h +++ b/keyboards/handwired/tritium_numpad/config.h | |||
| @@ -22,10 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Underlight configuration | ||
| 26 | */ | ||
| 27 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 28 | |||
| 29 | /* | 25 | /* |
| 30 | * Feature disable options | 26 | * Feature disable options |
| 31 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/handwired/tritium_numpad/info.json b/keyboards/handwired/tritium_numpad/info.json index 8f56d90947..2e2fc6c81f 100644 --- a/keyboards/handwired/tritium_numpad/info.json +++ b/keyboards/handwired/tritium_numpad/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "num_lock": "D5", | 21 | "num_lock": "D5", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 4 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "D2" | 28 | "pin": "D2" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/handwired/tsubasa/config.h b/keyboards/handwired/tsubasa/config.h index e0c594099a..1eb108f09c 100644 --- a/keyboards/handwired/tsubasa/config.h +++ b/keyboards/handwired/tsubasa/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | #define MASTER_RIGHT | 19 | #define MASTER_RIGHT |
| 20 | 20 | ||
| 21 | # define RGBLED_NUM 12 | ||
| 22 | # define RGBLIGHT_HUE_STEP 8 | 21 | # define RGBLIGHT_HUE_STEP 8 |
| 23 | # define RGBLIGHT_SAT_STEP 1 | 22 | # define RGBLIGHT_SAT_STEP 1 |
| 24 | # define RGBLIGHT_VAL_STEP 1 | 23 | # define RGBLIGHT_VAL_STEP 1 |
diff --git a/keyboards/handwired/tsubasa/info.json b/keyboards/handwired/tsubasa/info.json index e196646759..577c2f427c 100644 --- a/keyboards/handwired/tsubasa/info.json +++ b/keyboards/handwired/tsubasa/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "split_count": [6, 6] | 13 | "split_count": [6, 6] |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/handwired/unk/rev1/config.h b/keyboards/handwired/unk/rev1/config.h index de1208a7ec..2a7f301a6a 100644 --- a/keyboards/handwired/unk/rev1/config.h +++ b/keyboards/handwired/unk/rev1/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 29 | |||
| 30 | /* | 28 | /* |
| 31 | * Feature disable options | 29 | * Feature disable options |
| 32 | * These options are also useful to firmware size reduction. | 30 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/handwired/unk/rev1/info.json b/keyboards/handwired/unk/rev1/info.json index 162faca32c..171ae7bb02 100644 --- a/keyboards/handwired/unk/rev1/info.json +++ b/keyboards/handwired/unk/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3060", | 8 | "pid": "0x3060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/handwired/uthol/rev2/config.h b/keyboards/handwired/uthol/rev2/config.h index bf9b590421..f4c4fda7cf 100644 --- a/keyboards/handwired/uthol/rev2/config.h +++ b/keyboards/handwired/uthol/rev2/config.h | |||
| @@ -18,5 +18,4 @@ | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | //RGB Stuff | 20 | //RGB Stuff |
| 21 | #define RGBLED_NUM 39 | ||
| 22 | #define RGBLIGHT_DEFAULT_HUE 201 | 21 | #define RGBLIGHT_DEFAULT_HUE 201 |
diff --git a/keyboards/handwired/uthol/rev2/info.json b/keyboards/handwired/uthol/rev2/info.json index 7c46269579..89515a8fef 100644 --- a/keyboards/handwired/uthol/rev2/info.json +++ b/keyboards/handwired/uthol/rev2/info.json | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "0.0.2" | 4 | "device_version": "0.0.2" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | ||
| 7 | "led_count": 39 | ||
| 8 | }, | ||
| 6 | "ws2812": { | 9 | "ws2812": { |
| 7 | "pin": "E6" | 10 | "pin": "E6" |
| 8 | }, | 11 | }, |
diff --git a/keyboards/handwired/uthol/rev3/config.h b/keyboards/handwired/uthol/rev3/config.h index dd7ef6a5a9..a1fcd50f89 100644 --- a/keyboards/handwired/uthol/rev3/config.h +++ b/keyboards/handwired/uthol/rev3/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define PERMISSIVE_HOLD | 35 | #define PERMISSIVE_HOLD |
| 36 | 36 | ||
| 37 | // RGB Stuff | 37 | // RGB Stuff |
| 38 | #define RGBLED_NUM 39 | ||
| 39 | #define RGBLIGHT_EFFECT_BREATHING | 38 | #define RGBLIGHT_EFFECT_BREATHING |
| 40 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 39 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 41 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 40 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/handwired/uthol/rev3/info.json b/keyboards/handwired/uthol/rev3/info.json index 5ba12dc846..47d586abb0 100644 --- a/keyboards/handwired/uthol/rev3/info.json +++ b/keyboards/handwired/uthol/rev3/info.json | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "0.0.3" | 4 | "device_version": "0.0.3" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | ||
| 7 | "led_count": 39 | ||
| 8 | }, | ||
| 6 | "ws2812": { | 9 | "ws2812": { |
| 7 | "pin": "B0" | 10 | "pin": "B0" |
| 8 | }, | 11 | }, |
diff --git a/keyboards/helix/pico/config.h b/keyboards/helix/pico/config.h index cf4e9f4ffe..d6b90dfdd6 100644 --- a/keyboards/helix/pico/config.h +++ b/keyboards/helix/pico/config.h | |||
| @@ -48,8 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define AUDIO_PIN B5 | 48 | #define AUDIO_PIN B5 |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| 51 | //#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h | ||
| 52 | |||
| 53 | // Helix keyboard RGB LED support | 51 | // Helix keyboard RGB LED support |
| 54 | // see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes | 52 | // see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes |
| 55 | #ifdef RGBLED_BACK | 53 | #ifdef RGBLED_BACK |
diff --git a/keyboards/helix/rev3_4rows/config.h b/keyboards/helix/rev3_4rows/config.h index f31a2e7133..673e9f1ed8 100644 --- a/keyboards/helix/rev3_4rows/config.h +++ b/keyboards/helix/rev3_4rows/config.h | |||
| @@ -46,10 +46,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 46 | /* Dip switch on matrix grid */ | 46 | /* Dip switch on matrix grid */ |
| 47 | #define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} } | 47 | #define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} } |
| 48 | 48 | ||
| 49 | #define RGBLED_NUM 50 // Number of LEDs | ||
| 50 | |||
| 51 | #ifdef RGB_MATRIX_ENABLE | 49 | #ifdef RGB_MATRIX_ENABLE |
| 52 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 50 | #define RGB_MATRIX_LED_COUNT 50 |
| 53 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 51 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 54 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 52 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 55 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 53 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
diff --git a/keyboards/helix/rev3_4rows/info.json b/keyboards/helix/rev3_4rows/info.json index ed2c1544b8..25a0a5a041 100644 --- a/keyboards/helix/rev3_4rows/info.json +++ b/keyboards/helix/rev3_4rows/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "pin": "D3" | 23 | "pin": "D3" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 50, | ||
| 26 | "max_brightness": 120, | 27 | "max_brightness": 120, |
| 27 | "split_count": [25, 25] | 28 | "split_count": [25, 25] |
| 28 | }, | 29 | }, |
diff --git a/keyboards/helix/rev3_5rows/config.h b/keyboards/helix/rev3_5rows/config.h index ef5fefaaed..c1def15db6 100644 --- a/keyboards/helix/rev3_5rows/config.h +++ b/keyboards/helix/rev3_5rows/config.h | |||
| @@ -46,10 +46,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 46 | /* Dip switch on matrix grid */ | 46 | /* Dip switch on matrix grid */ |
| 47 | #define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} } | 47 | #define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} } |
| 48 | 48 | ||
| 49 | #define RGBLED_NUM 64 // Number of LEDs | ||
| 50 | |||
| 51 | #ifdef RGB_MATRIX_ENABLE | 49 | #ifdef RGB_MATRIX_ENABLE |
| 52 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 50 | #define RGB_MATRIX_LED_COUNT 64 |
| 53 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 51 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 54 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 52 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 55 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 53 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
diff --git a/keyboards/helix/rev3_5rows/info.json b/keyboards/helix/rev3_5rows/info.json index bdb5bfaf6b..d659a879a6 100644 --- a/keyboards/helix/rev3_5rows/info.json +++ b/keyboards/helix/rev3_5rows/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "pin": "D3" | 23 | "pin": "D3" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 64, | ||
| 26 | "max_brightness": 120, | 27 | "max_brightness": 120, |
| 27 | "split_count": [32, 32] | 28 | "split_count": [32, 32] |
| 28 | }, | 29 | }, |
diff --git a/keyboards/hidtech/bastyl/config.h b/keyboards/hidtech/bastyl/config.h index ae0e277e8d..b544871c2e 100644 --- a/keyboards/hidtech/bastyl/config.h +++ b/keyboards/hidtech/bastyl/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 38 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/hidtech/bastyl/info.json b/keyboards/hidtech/bastyl/info.json index 1f95aabdb5..5d313e7186 100644 --- a/keyboards/hidtech/bastyl/info.json +++ b/keyboards/hidtech/bastyl/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D2" | 20 | "pin": "D2" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 38, | ||
| 23 | "split": true | 24 | "split": true |
| 24 | }, | 25 | }, |
| 25 | "processor": "atmega32u4", | 26 | "processor": "atmega32u4", |
diff --git a/keyboards/hifumi/config.h b/keyboards/hifumi/config.h index bcf040c6cb..89a9909d84 100644 --- a/keyboards/hifumi/config.h +++ b/keyboards/hifumi/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* ws2812 RGB LED */ | 19 | /* ws2812 RGB LED */ |
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_HUE_STEP 5 | 20 | #define RGBLIGHT_HUE_STEP 5 |
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/hifumi/info.json b/keyboards/hifumi/info.json index a4aeccf83a..76daee50b7 100644 --- a/keyboards/hifumi/info.json +++ b/keyboards/hifumi/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["D4", "C6"] | 13 | "rows": ["D4", "C6"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 6 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "D3" | 20 | "pin": "D3" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/hineybush/h08_ocelot/config.h b/keyboards/hineybush/h08_ocelot/config.h index ef5a221da5..bb2d589ca7 100644 --- a/keyboards/hineybush/h08_ocelot/config.h +++ b/keyboards/hineybush/h08_ocelot/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 7 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h08_ocelot/info.json b/keyboards/hineybush/h08_ocelot/info.json index 522cc1d409..2f83d1a9e9 100644 --- a/keyboards/hineybush/h08_ocelot/info.json +++ b/keyboards/hineybush/h08_ocelot/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F1" | 17 | "pin": "F1" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 7, | ||
| 20 | "max_brightness": 220, | 21 | "max_brightness": 220, |
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
diff --git a/keyboards/hineybush/h60/config.h b/keyboards/hineybush/h60/config.h index 64b6cc253f..760ec3d55e 100644 --- a/keyboards/hineybush/h60/config.h +++ b/keyboards/hineybush/h60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h60/info.json b/keyboards/hineybush/h60/info.json index 3c052c5719..55b033d52c 100644 --- a/keyboards/hineybush/h60/info.json +++ b/keyboards/hineybush/h60/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 12 | 18 | "levels": 12 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 16, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/hineybush/h65/config.h b/keyboards/hineybush/h65/config.h index ef9fe121f7..bb2d589ca7 100644 --- a/keyboards/hineybush/h65/config.h +++ b/keyboards/hineybush/h65/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 17 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h65/info.json b/keyboards/hineybush/h65/info.json index 9e98e38b36..9da61879cd 100644 --- a/keyboards/hineybush/h65/info.json +++ b/keyboards/hineybush/h65/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "caps_lock": "E6" | 21 | "caps_lock": "E6" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 17, | ||
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
| 26 | "ws2812": { | 27 | "ws2812": { |
diff --git a/keyboards/hineybush/h65_hotswap/config.h b/keyboards/hineybush/h65_hotswap/config.h index ef9fe121f7..bb2d589ca7 100644 --- a/keyboards/hineybush/h65_hotswap/config.h +++ b/keyboards/hineybush/h65_hotswap/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 17 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h65_hotswap/info.json b/keyboards/hineybush/h65_hotswap/info.json index 9d2204e87a..06c0b100c5 100644 --- a/keyboards/hineybush/h65_hotswap/info.json +++ b/keyboards/hineybush/h65_hotswap/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "caps_lock": "E6" | 21 | "caps_lock": "E6" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 17, | ||
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
| 26 | "ws2812": { | 27 | "ws2812": { |
diff --git a/keyboards/hineybush/h660s/config.h b/keyboards/hineybush/h660s/config.h index 6aca6c59c0..8ba37d9c44 100644 --- a/keyboards/hineybush/h660s/config.h +++ b/keyboards/hineybush/h660s/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h660s/info.json b/keyboards/hineybush/h660s/info.json index d1e183952b..4c0c7e6dae 100644 --- a/keyboards/hineybush/h660s/info.json +++ b/keyboards/hineybush/h660s/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 16, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/hineybush/h75_singa/config.h b/keyboards/hineybush/h75_singa/config.h index 2de701b135..a946cd2455 100644 --- a/keyboards/hineybush/h75_singa/config.h +++ b/keyboards/hineybush/h75_singa/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 22 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h75_singa/info.json b/keyboards/hineybush/h75_singa/info.json index b89f9765e6..b265a1fba3 100644 --- a/keyboards/hineybush/h75_singa/info.json +++ b/keyboards/hineybush/h75_singa/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 22, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/hineybush/h87a/config.h b/keyboards/hineybush/h87a/config.h index 411f54b2af..f86bfa3a18 100644 --- a/keyboards/hineybush/h87a/config.h +++ b/keyboards/hineybush/h87a/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 24 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h87a/info.json b/keyboards/hineybush/h87a/info.json index be5aa7beed..79472970c5 100644 --- a/keyboards/hineybush/h87a/info.json +++ b/keyboards/hineybush/h87a/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 24, | ||
| 23 | "max_brightness": 200, | 24 | "max_brightness": 200, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/hineybush/h88/config.h b/keyboards/hineybush/h88/config.h index 86265ea2fa..0b402c7b9e 100644 --- a/keyboards/hineybush/h88/config.h +++ b/keyboards/hineybush/h88/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 24 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/h88/info.json b/keyboards/hineybush/h88/info.json index 454ee145fa..286b11e814 100644 --- a/keyboards/hineybush/h88/info.json +++ b/keyboards/hineybush/h88/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 24, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/hineybush/hbcp/config.h b/keyboards/hineybush/hbcp/config.h index 57b88bb634..829f52f281 100644 --- a/keyboards/hineybush/hbcp/config.h +++ b/keyboards/hineybush/hbcp/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | //EITHERWAY is supported through a custom matrix | 38 | //EITHERWAY is supported through a custom matrix |
| 39 | //#define DIODE_DIRECTION EITHERWAY | 39 | //#define DIODE_DIRECTION EITHERWAY |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 27 | ||
| 42 | #define RGBLIGHT_HUE_STEP 8 | 41 | #define RGBLIGHT_HUE_STEP 8 |
| 43 | #define RGBLIGHT_SAT_STEP 8 | 42 | #define RGBLIGHT_SAT_STEP 8 |
| 44 | #define RGBLIGHT_VAL_STEP 8 | 43 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/hbcp/info.json b/keyboards/hineybush/hbcp/info.json index c8a227e702..9c9d71bc78 100644 --- a/keyboards/hineybush/hbcp/info.json +++ b/keyboards/hineybush/hbcp/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "B0" | 16 | "pin": "B0" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 27, | ||
| 19 | "max_brightness": 200, | 20 | "max_brightness": 200, |
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
diff --git a/keyboards/hineybush/physix/config.h b/keyboards/hineybush/physix/config.h index 27f5bd881a..a946cd2455 100644 --- a/keyboards/hineybush/physix/config.h +++ b/keyboards/hineybush/physix/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 26 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/physix/info.json b/keyboards/hineybush/physix/info.json index a6f413060b..dc981df604 100644 --- a/keyboards/hineybush/physix/info.json +++ b/keyboards/hineybush/physix/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 26, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/hineybush/sm68/config.h b/keyboards/hineybush/sm68/config.h index 708fff7496..ff72b6082a 100644 --- a/keyboards/hineybush/sm68/config.h +++ b/keyboards/hineybush/sm68/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hineybush/sm68/info.json b/keyboards/hineybush/sm68/info.json index 5780fbec14..81b0a91687 100644 --- a/keyboards/hineybush/sm68/info.json +++ b/keyboards/hineybush/sm68/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 16, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/hnahkb/stella/config.h b/keyboards/hnahkb/stella/config.h index 3589952afb..9f9d81bea9 100644 --- a/keyboards/hnahkb/stella/config.h +++ b/keyboards/hnahkb/stella/config.h | |||
| @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | |||
| 22 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 23 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 24 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/hnahkb/stella/info.json b/keyboards/hnahkb/stella/info.json index 0c002b22c4..98f8f721f3 100644 --- a/keyboards/hnahkb/stella/info.json +++ b/keyboards/hnahkb/stella/info.json | |||
| @@ -22,6 +22,9 @@ | |||
| 22 | "scroll_lock": "B7", | 22 | "scroll_lock": "B7", |
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | ||
| 26 | "led_count": 14, | ||
| 27 | }, | ||
| 25 | "ws2812": { | 28 | "ws2812": { |
| 26 | "pin": "E2" | 29 | "pin": "E2" |
| 27 | }, | 30 | }, |
diff --git a/keyboards/hnahkb/vn66/config.h b/keyboards/hnahkb/vn66/config.h index 544b801375..d07d687447 100644 --- a/keyboards/hnahkb/vn66/config.h +++ b/keyboards/hnahkb/vn66/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 20 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hnahkb/vn66/info.json b/keyboards/hnahkb/vn66/info.json index 31e05f6a22..f1dd008b98 100644 --- a/keyboards/hnahkb/vn66/info.json +++ b/keyboards/hnahkb/vn66/info.json | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | "on_state": 0 | 28 | "on_state": 0 |
| 29 | }, | 29 | }, |
| 30 | "rgblight": { | 30 | "rgblight": { |
| 31 | "led_count": 20, | ||
| 31 | "sleep": true | 32 | "sleep": true |
| 32 | }, | 33 | }, |
| 33 | "ws2812": { | 34 | "ws2812": { |
diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/config.h b/keyboards/horrortroll/chinese_pcb/black_e65/config.h index de5824e222..0e58118e05 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/config.h +++ b/keyboards/horrortroll/chinese_pcb/black_e65/config.h | |||
| @@ -17,9 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #ifdef RGBLIGHT_ENABLE | 19 | #ifdef RGBLIGHT_ENABLE |
| 20 | /* RGB Lighting config */ | ||
| 21 | #define RGBLED_NUM 24 | ||
| 22 | |||
| 23 | /* RGB Lighting effect */ | 20 | /* RGB Lighting effect */ |
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/info.json index 2ceb38706f..9de9b1decc 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json +++ b/keyboards/horrortroll/chinese_pcb/black_e65/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "indicators": { | 21 | "indicators": { |
| 22 | "caps_lock": "C7" | 22 | "caps_lock": "C7" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 24 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "E2" | 28 | "pin": "E2" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/horrortroll/lemon40/config.h b/keyboards/horrortroll/lemon40/config.h index 9037487173..6867922fd3 100644 --- a/keyboards/horrortroll/lemon40/config.h +++ b/keyboards/horrortroll/lemon40/config.h | |||
| @@ -18,10 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | /* RGB light config */ | 19 | /* RGB light config */ |
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | |||
| 22 | /* RGB light pin */ | ||
| 23 | #define RGBLED_NUM 15 | ||
| 24 | |||
| 25 | /* RGB light effect */ | 21 | /* RGB light effect */ |
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/horrortroll/lemon40/info.json b/keyboards/horrortroll/lemon40/info.json index f4b4c383c9..29530b3757 100644 --- a/keyboards/horrortroll/lemon40/info.json +++ b/keyboards/horrortroll/lemon40/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 15 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "F4" | 16 | "pin": "F4" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/hp69/config.h b/keyboards/hp69/config.h index bee8a0322f..409b36d2b1 100644 --- a/keyboards/hp69/config.h +++ b/keyboards/hp69/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 20 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/hp69/info.json b/keyboards/hp69/info.json index 82966d1254..fcb7afa602 100644 --- a/keyboards/hp69/info.json +++ b/keyboards/hp69/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "scroll_lock": "A7" | 18 | "scroll_lock": "A7" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 20, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/hub16/config.h b/keyboards/hub16/config.h index 520a21cdce..124f41c5b8 100755 --- a/keyboards/hub16/config.h +++ b/keyboards/hub16/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | /* COL2ROW, ROW2COL*/ | 26 | /* COL2ROW, ROW2COL*/ |
| 27 | #define DIODE_DIRECTION COL2ROW | 27 | #define DIODE_DIRECTION COL2ROW |
| 28 | 28 | ||
| 29 | #define RGBLED_NUM 11 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/hub16/info.json b/keyboards/hub16/info.json index 3b4d14bc10..9883cd3302 100644 --- a/keyboards/hub16/info.json +++ b/keyboards/hub16/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | ] | 15 | ] |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 11, | ||
| 18 | "sleep": true | 19 | "sleep": true |
| 19 | }, | 20 | }, |
| 20 | "ws2812": { | 21 | "ws2812": { |
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h index 5fc99ecbf5..60a2cca24b 100644 --- a/keyboards/hub20/config.h +++ b/keyboards/hub20/config.h | |||
| @@ -18,10 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 27 | ||
| 22 | |||
| 23 | #define RGB_MATRIX_LED_COUNT 27 | 21 | #define RGB_MATRIX_LED_COUNT 27 |
| 24 | #define RGBLED_NUM 27 | ||
| 25 | 22 | ||
| 26 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 23 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 27 | #define RGB_MATRIX_KEYPRESSES | 24 | #define RGB_MATRIX_KEYPRESSES |
diff --git a/keyboards/hub20/info.json b/keyboards/hub20/info.json index 994b9405d9..79a545edd6 100644 --- a/keyboards/hub20/info.json +++ b/keyboards/hub20/info.json | |||
| @@ -22,6 +22,9 @@ | |||
| 22 | {"pin_a": "A8", "pin_b": "A9"} | 22 | {"pin_a": "A8", "pin_b": "A9"} |
| 23 | ] | 23 | ] |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | ||
| 26 | "led_count": 27 | ||
| 27 | }, | ||
| 25 | "ws2812": { | 28 | "ws2812": { |
| 26 | "pin": "B15" | 29 | "pin": "B15" |
| 27 | }, | 30 | }, |
diff --git a/keyboards/hubble/config.h b/keyboards/hubble/config.h index d28c76103c..59787e7920 100644 --- a/keyboards/hubble/config.h +++ b/keyboards/hubble/config.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | /* rgb */ | 7 | /* rgb */ |
| 8 | #define RGBLED_NUM 7 | ||
| 9 | #define RGBLIGHT_EFFECT_BREATHING | 8 | #define RGBLIGHT_EFFECT_BREATHING |
| 10 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 9 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 11 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 10 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/hubble/info.json b/keyboards/hubble/info.json index 30a0724806..953323fe00 100644 --- a/keyboards/hubble/info.json +++ b/keyboards/hubble/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "velocikey": true | 15 | "velocikey": true |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 7, | ||
| 18 | "sleep": true | 19 | "sleep": true |
| 19 | }, | 20 | }, |
| 20 | "ws2812": { | 21 | "ws2812": { |
diff --git a/keyboards/ibm/model_m/mschwingen/config.h b/keyboards/ibm/model_m/mschwingen/config.h index b1dc81b8c7..b34d29649a 100644 --- a/keyboards/ibm/model_m/mschwingen/config.h +++ b/keyboards/ibm/model_m/mschwingen/config.h | |||
| @@ -69,9 +69,6 @@ | |||
| 69 | # error one of MODELM_LEDS_FFC, MODELM_LEDS_WIRED or MODELM_LEDS_WS2812 must be set! | 69 | # error one of MODELM_LEDS_FFC, MODELM_LEDS_WIRED or MODELM_LEDS_WS2812 must be set! |
| 70 | #endif | 70 | #endif |
| 71 | 71 | ||
| 72 | // 3* WS2812 LEDs instead of singlecolor GPIO LEDs | ||
| 73 | #define RGBLED_NUM 3 | ||
| 74 | |||
| 75 | // disabled, needs PCB patch. | 72 | // disabled, needs PCB patch. |
| 76 | //#define AUDIO_PIN C6 | 73 | //#define AUDIO_PIN C6 |
| 77 | //#define NO_MUSIC_MODE | 74 | //#define NO_MUSIC_MODE |
diff --git a/keyboards/ibm/model_m/mschwingen/info.json b/keyboards/ibm/model_m/mschwingen/info.json index 1ba525de6c..ce740e4a54 100644 --- a/keyboards/ibm/model_m/mschwingen/info.json +++ b/keyboards/ibm/model_m/mschwingen/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x558E", | 8 | "pid": "0x558E", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 3 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B6" | 15 | "pin": "B6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/ibnuda/gurindam/config.h b/keyboards/ibnuda/gurindam/config.h index dc525a111d..5132abe095 100644 --- a/keyboards/ibnuda/gurindam/config.h +++ b/keyboards/ibnuda/gurindam/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ibnuda/gurindam/info.json b/keyboards/ibnuda/gurindam/info.json index 2b18d0417e..e2d965d3e8 100644 --- a/keyboards/ibnuda/gurindam/info.json +++ b/keyboards/ibnuda/gurindam/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6974", | 8 | "pid": "0x6974", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/idobao/id75/v1/config.h b/keyboards/idobao/id75/v1/config.h index 2174e39bd2..0dfb294091 100644 --- a/keyboards/idobao/id75/v1/config.h +++ b/keyboards/idobao/id75/v1/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 28 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 16 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/idobao/id75/v1/info.json b/keyboards/idobao/id75/v1/info.json index 1407d02c80..62c85df4e3 100644 --- a/keyboards/idobao/id75/v1/info.json +++ b/keyboards/idobao/id75/v1/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "cols": ["F6", "F5", "F4", "F1", "E6", "D5", "D3", "D2", "D1", "D0", "D4", "D6", "D7", "B4", "B5"], | 12 | "cols": ["F6", "F5", "F4", "F1", "E6", "D5", "D3", "D2", "D1", "D0", "D4", "D6", "D7", "B4", "B5"], |
| 13 | "rows": ["B0", "B3", "C7", "B6", "C6"] | 13 | "rows": ["B0", "B3", "C7", "B6", "C6"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 16 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "F0" | 19 | "pin": "F0" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/idobao/id80/v2/config.h b/keyboards/idobao/id80/v2/config.h index 122b4e836d..cbcaa79d47 100644 --- a/keyboards/idobao/id80/v2/config.h +++ b/keyboards/idobao/id80/v2/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */ | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/idobao/id80/v2/info.json b/keyboards/idobao/id80/v2/info.json index c941a21d41..57be2fa60a 100644 --- a/keyboards/idobao/id80/v2/info.json +++ b/keyboards/idobao/id80/v2/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "pin": "E2" | 19 | "pin": "E2" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 20, | ||
| 22 | "max_brightness": 180, | 23 | "max_brightness": 180, |
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
diff --git a/keyboards/idobao/id87/v1/config.h b/keyboards/idobao/id87/v1/config.h index 9b7459de6c..a1d8aff05d 100644 --- a/keyboards/idobao/id87/v1/config.h +++ b/keyboards/idobao/id87/v1/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 25 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 26 | #define RGBLIGHT_EFFECT_TWINKLE | 26 | #define RGBLIGHT_EFFECT_TWINKLE |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 22 /* 16 Bottom 6 top*/ | ||
| 29 | #define RGBLIGHT_HUE_STEP 8 | 28 | #define RGBLIGHT_HUE_STEP 8 |
| 30 | #define RGBLIGHT_SAT_STEP 8 | 29 | #define RGBLIGHT_SAT_STEP 8 |
| 31 | #define RGBLIGHT_VAL_STEP 8 | 30 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/idobao/id87/v1/info.json b/keyboards/idobao/id87/v1/info.json index 1deaf6b270..fe1e4030a2 100644 --- a/keyboards/idobao/id87/v1/info.json +++ b/keyboards/idobao/id87/v1/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "indicators": { | 19 | "indicators": { |
| 20 | "caps_lock": "C7" | 20 | "caps_lock": "C7" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 22 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "E2" | 26 | "pin": "E2" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h index a857f49125..984b1e14be 100644 --- a/keyboards/idobao/id96/config.h +++ b/keyboards/idobao/id96/config.h | |||
| @@ -34,7 +34,6 @@ | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 18 | ||
| 38 | #define RGBLIGHT_HUE_STEP 8 | 37 | #define RGBLIGHT_HUE_STEP 8 |
| 39 | #define RGBLIGHT_SAT_STEP 8 | 38 | #define RGBLIGHT_SAT_STEP 8 |
| 40 | #define RGBLIGHT_VAL_STEP 8 | 39 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json index f49337fc14..7b89ba79d1 100644 --- a/keyboards/idobao/id96/info.json +++ b/keyboards/idobao/id96/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 7, | 18 | "levels": 7, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 18 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "E2" | 25 | "pin": "E2" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/idobao/montex/v1/config.h b/keyboards/idobao/montex/v1/config.h index 87ed689f66..f49956a4ce 100644 --- a/keyboards/idobao/montex/v1/config.h +++ b/keyboards/idobao/montex/v1/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 33 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | 35 | ||
| 36 | #define RGBLED_NUM 4 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/idobao/montex/v1/info.json b/keyboards/idobao/montex/v1/info.json index 666ffbdf89..37cf492bfc 100644 --- a/keyboards/idobao/montex/v1/info.json +++ b/keyboards/idobao/montex/v1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B6" | 17 | "pin": "B6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 4 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B1" | 23 | "pin": "B1" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/inett_studio/sqx/hotswap/config.h b/keyboards/inett_studio/sqx/hotswap/config.h index 1eff584a83..601bdd2eaf 100644 --- a/keyboards/inett_studio/sqx/hotswap/config.h +++ b/keyboards/inett_studio/sqx/hotswap/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | //rgb light setting | 33 | //rgb light setting |
| 34 | #define RGBLED_NUM 18 | ||
| 35 | #define RGBLIGHT_EFFECT_BREATHING | 34 | #define RGBLIGHT_EFFECT_BREATHING |
| 36 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 35 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 37 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 36 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/inett_studio/sqx/hotswap/info.json b/keyboards/inett_studio/sqx/hotswap/info.json index 8d4621a608..aa2f32c039 100644 --- a/keyboards/inett_studio/sqx/hotswap/info.json +++ b/keyboards/inett_studio/sqx/hotswap/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "IS31FL3731" | 15 | "driver": "IS31FL3731" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 18, | ||
| 18 | "max_brightness": 128 | 19 | "max_brightness": 128 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/inett_studio/sqx/universal/config.h b/keyboards/inett_studio/sqx/universal/config.h index 92c9bedfc9..99fdb66e47 100644 --- a/keyboards/inett_studio/sqx/universal/config.h +++ b/keyboards/inett_studio/sqx/universal/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | //rgb light setting | 33 | //rgb light setting |
| 34 | #define RGBLED_NUM 18 | ||
| 35 | #define RGBLIGHT_EFFECT_BREATHING | 34 | #define RGBLIGHT_EFFECT_BREATHING |
| 36 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 35 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 37 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 36 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/inett_studio/sqx/universal/info.json b/keyboards/inett_studio/sqx/universal/info.json index 9839aa10de..54c90f5065 100644 --- a/keyboards/inett_studio/sqx/universal/info.json +++ b/keyboards/inett_studio/sqx/universal/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "IS31FL3731" | 15 | "driver": "IS31FL3731" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 18, | ||
| 18 | "max_brightness": 128 | 19 | "max_brightness": 128 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/irene/config.h b/keyboards/irene/config.h index 8407f4c9f7..5446d4fd29 100644 --- a/keyboards/irene/config.h +++ b/keyboards/irene/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 23 | ||
| 21 | //# define RGBLIGHT_HUE_STEP 8 | 20 | //# define RGBLIGHT_HUE_STEP 8 |
| 22 | //# define RGBLIGHT_SAT_STEP 8 | 21 | //# define RGBLIGHT_SAT_STEP 8 |
| 23 | //# define RGBLIGHT_VAL_STEP 8 | 22 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/irene/info.json b/keyboards/irene/info.json index 000a343647..6dcefe4a2a 100644 --- a/keyboards/irene/info.json +++ b/keyboards/irene/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3000", | 8 | "pid": "0x3000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 23 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F1" | 15 | "pin": "F1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/jacky_studio/bear_65/config.h b/keyboards/jacky_studio/bear_65/config.h index 173780248b..05db962ced 100644 --- a/keyboards/jacky_studio/bear_65/config.h +++ b/keyboards/jacky_studio/bear_65/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define RGBLIGHT_EFFECT_RGB_TEST | 20 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 21 | #define RGBLIGHT_EFFECT_ALTERNATING | 21 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 22 | #define RGBLIGHT_EFFECT_TWINKLE | 22 | #define RGBLIGHT_EFFECT_TWINKLE |
| 23 | #define RGBLED_NUM 20 | ||
| 24 | #define RGBLIGHT_HUE_STEP 8 | 23 | #define RGBLIGHT_HUE_STEP 8 |
| 25 | #define RGBLIGHT_SAT_STEP 8 | 24 | #define RGBLIGHT_SAT_STEP 8 |
| 26 | #define RGBLIGHT_VAL_STEP 8 | 25 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jacky_studio/bear_65/rev1/info.json b/keyboards/jacky_studio/bear_65/rev1/info.json index 1e8c7cb7d3..3c5719b995 100644 --- a/keyboards/jacky_studio/bear_65/rev1/info.json +++ b/keyboards/jacky_studio/bear_65/rev1/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "E2" | 25 | "pin": "E2" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 20, | ||
| 28 | "max_brightness": 200, | 29 | "max_brightness": 200, |
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
diff --git a/keyboards/jacky_studio/bear_65/rev2/info.json b/keyboards/jacky_studio/bear_65/rev2/info.json index d500952303..977df4e77e 100644 --- a/keyboards/jacky_studio/bear_65/rev2/info.json +++ b/keyboards/jacky_studio/bear_65/rev2/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "E2" | 25 | "pin": "E2" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 20, | ||
| 28 | "max_brightness": 200, | 29 | "max_brightness": 200, |
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
diff --git a/keyboards/jacky_studio/s7_elephant/rev1/config.h b/keyboards/jacky_studio/s7_elephant/rev1/config.h index 95a05b8f34..60f9abf112 100644 --- a/keyboards/jacky_studio/s7_elephant/rev1/config.h +++ b/keyboards/jacky_studio/s7_elephant/rev1/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 2 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jacky_studio/s7_elephant/rev1/info.json b/keyboards/jacky_studio/s7_elephant/rev1/info.json index 4a8ad8b69f..93031bede7 100644 --- a/keyboards/jacky_studio/s7_elephant/rev1/info.json +++ b/keyboards/jacky_studio/s7_elephant/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 2, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/jacky_studio/s7_elephant/rev2/config.h b/keyboards/jacky_studio/s7_elephant/rev2/config.h index 95a05b8f34..60f9abf112 100644 --- a/keyboards/jacky_studio/s7_elephant/rev2/config.h +++ b/keyboards/jacky_studio/s7_elephant/rev2/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 2 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jacky_studio/s7_elephant/rev2/info.json b/keyboards/jacky_studio/s7_elephant/rev2/info.json index 0b112288c1..b95371ebf1 100644 --- a/keyboards/jacky_studio/s7_elephant/rev2/info.json +++ b/keyboards/jacky_studio/s7_elephant/rev2/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "rows": ["B0", "B1", "B2", "B3", "B7"] | 13 | "rows": ["B0", "B1", "B2", "B3", "B7"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 2, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/jc65/v32a/config.h b/keyboards/jc65/v32a/config.h index 6abe1d446d..0978a1717b 100644 --- a/keyboards/jc65/v32a/config.h +++ b/keyboards/jc65/v32a/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/jc65/v32a/info.json b/keyboards/jc65/v32a/info.json index 0c6413d587..eb89bcbc44 100644 --- a/keyboards/jc65/v32a/info.json +++ b/keyboards/jc65/v32a/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/jc65/v32u4/config.h b/keyboards/jc65/v32u4/config.h index 35107f1518..2313045caa 100644 --- a/keyboards/jc65/v32u4/config.h +++ b/keyboards/jc65/v32u4/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 20 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jc65/v32u4/info.json b/keyboards/jc65/v32u4/info.json index 1c56cc00ee..991c8f9c7e 100644 --- a/keyboards/jc65/v32u4/info.json +++ b/keyboards/jc65/v32u4/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B6" | 17 | "pin": "B6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "E2" | 23 | "pin": "E2" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/jd40/config.h b/keyboards/jd40/config.h index cec546538a..0176a7c723 100644 --- a/keyboards/jd40/config.h +++ b/keyboards/jd40/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jd40/info.json b/keyboards/jd40/info.json index 1e11f466a0..db081dfa56 100644 --- a/keyboards/jd40/info.json +++ b/keyboards/jd40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/jels/jels88/config.h b/keyboards/jels/jels88/config.h index 1730c19fdb..491c0f4304 100644 --- a/keyboards/jels/jels88/config.h +++ b/keyboards/jels/jels88/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #ifdef RGBLIGHT_ENABLE | 19 | #ifdef RGBLIGHT_ENABLE |
| 20 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/jels/jels88/info.json b/keyboards/jels/jels88/info.json index 135b075243..57845fa1a2 100644 --- a/keyboards/jels/jels88/info.json +++ b/keyboards/jels/jels88/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "B6" | 20 | "pin": "B6" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 20, | ||
| 23 | "max_brightness": 225, | 24 | "max_brightness": 225, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index 64941df5bc..af8d6aa9ad 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | /* ws2812 RGB LED */ | 22 | /* ws2812 RGB LED */ |
| 23 | #define RGBLIGHT_TIMER | 23 | #define RGBLIGHT_TIMER |
| 24 | #define RGBLED_NUM 7 // Number of LEDs | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json index f5e01788da..1f250130fc 100644 --- a/keyboards/jian/nsrev2/info.json +++ b/keyboards/jian/nsrev2/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | "breathing": true | 14 | "breathing": true |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 7, | ||
| 17 | "sleep": true, | 18 | "sleep": true, |
| 18 | "split": true | 19 | "split": true |
| 19 | }, | 20 | }, |
diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index c865aa9606..8f8ff123db 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h | |||
| @@ -73,7 +73,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 73 | 73 | ||
| 74 | /* ws2812 RGB LED */ | 74 | /* ws2812 RGB LED */ |
| 75 | #define RGBLIGHT_TIMER | 75 | #define RGBLIGHT_TIMER |
| 76 | #define RGBLED_NUM 7 // Number of LEDs | ||
| 77 | #define RGBLIGHT_EFFECT_BREATHING | 76 | #define RGBLIGHT_EFFECT_BREATHING |
| 78 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 77 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 79 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 78 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -85,21 +84,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 85 | #define RGBLIGHT_EFFECT_ALTERNATING | 84 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 86 | #define RGBLIGHT_EFFECT_TWINKLE | 85 | #define RGBLIGHT_EFFECT_TWINKLE |
| 87 | 86 | ||
| 88 | #ifndef IOS_DEVICE_ENABLE | ||
| 89 | #if RGBLED_NUM <= 6 | ||
| 90 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 91 | #else | ||
| 92 | #define RGBLIGHT_LIMIT_VAL 130 | ||
| 93 | #endif | ||
| 94 | #define RGBLIGHT_VAL_STEP 8 | ||
| 95 | #else | ||
| 96 | #if RGBLED_NUM <= 6 | ||
| 97 | #define RGBLIGHT_LIMIT_VAL 90 | ||
| 98 | #else | ||
| 99 | #define RGBLIGHT_LIMIT_VAL 45 | ||
| 100 | #endif | ||
| 101 | #define RGBLIGHT_VAL_STEP 4 | ||
| 102 | #endif | ||
| 103 | #define RGBLIGHT_HUE_STEP 10 | 87 | #define RGBLIGHT_HUE_STEP 10 |
| 104 | #define RGBLIGHT_SAT_STEP 17 | 88 | #define RGBLIGHT_SAT_STEP 17 |
| 105 | 89 | ||
diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json index 9f44936e0a..911a50704e 100644 --- a/keyboards/jian/rev1/info.json +++ b/keyboards/jian/rev1/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "levels": 5 | 13 | "levels": 5 |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 7, | ||
| 16 | "sleep": true, | 17 | "sleep": true, |
| 17 | "split": true | 18 | "split": true |
| 18 | }, | 19 | }, |
diff --git a/keyboards/jian/rev1/post_config.h b/keyboards/jian/rev1/post_config.h new file mode 100644 index 0000000000..fade065e19 --- /dev/null +++ b/keyboards/jian/rev1/post_config.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #ifndef IOS_DEVICE_ENABLE | ||
| 4 | # if RGBLED_NUM <= 6 | ||
| 5 | # define RGBLIGHT_LIMIT_VAL 255 | ||
| 6 | # else | ||
| 7 | # define RGBLIGHT_LIMIT_VAL 130 | ||
| 8 | # endif | ||
| 9 | # define RGBLIGHT_VAL_STEP 8 | ||
| 10 | #else | ||
| 11 | # if RGBLED_NUM <= 6 | ||
| 12 | # define RGBLIGHT_LIMIT_VAL 90 | ||
| 13 | # else | ||
| 14 | # define RGBLIGHT_LIMIT_VAL 45 | ||
| 15 | # endif | ||
| 16 | # define RGBLIGHT_VAL_STEP 4 | ||
| 17 | #endif | ||
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index ee7fb98775..81d8212ab6 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | 25 | ||
| 26 | /* ws2812 RGB LED */ | 26 | /* ws2812 RGB LED */ |
| 27 | #define RGBLIGHT_TIMER | 27 | #define RGBLIGHT_TIMER |
| 28 | #define RGBLED_NUM 7 // Number of LEDs | ||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -37,21 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | 38 | ||
| 40 | #ifndef IOS_DEVICE_ENABLE | ||
| 41 | #if RGBLED_NUM <= 6 | ||
| 42 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 43 | #else | ||
| 44 | #define RGBLIGHT_LIMIT_VAL 130 | ||
| 45 | #endif | ||
| 46 | #define RGBLIGHT_VAL_STEP 8 | ||
| 47 | #else | ||
| 48 | #if RGBLED_NUM <= 6 | ||
| 49 | #define RGBLIGHT_LIMIT_VAL 90 | ||
| 50 | #else | ||
| 51 | #define RGBLIGHT_LIMIT_VAL 45 | ||
| 52 | #endif | ||
| 53 | #define RGBLIGHT_VAL_STEP 4 | ||
| 54 | #endif | ||
| 55 | #define RGBLIGHT_HUE_STEP 10 | 39 | #define RGBLIGHT_HUE_STEP 10 |
| 56 | #define RGBLIGHT_SAT_STEP 17 | 40 | #define RGBLIGHT_SAT_STEP 17 |
| 57 | 41 | ||
diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json index 2930b4d71f..77fb077804 100644 --- a/keyboards/jian/rev2/info.json +++ b/keyboards/jian/rev2/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "levels": 5 | 13 | "levels": 5 |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 7, | ||
| 16 | "sleep": true, | 17 | "sleep": true, |
| 17 | "split": true | 18 | "split": true |
| 18 | }, | 19 | }, |
diff --git a/keyboards/jian/rev2/post_config.h b/keyboards/jian/rev2/post_config.h new file mode 100644 index 0000000000..fade065e19 --- /dev/null +++ b/keyboards/jian/rev2/post_config.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #ifndef IOS_DEVICE_ENABLE | ||
| 4 | # if RGBLED_NUM <= 6 | ||
| 5 | # define RGBLIGHT_LIMIT_VAL 255 | ||
| 6 | # else | ||
| 7 | # define RGBLIGHT_LIMIT_VAL 130 | ||
| 8 | # endif | ||
| 9 | # define RGBLIGHT_VAL_STEP 8 | ||
| 10 | #else | ||
| 11 | # if RGBLED_NUM <= 6 | ||
| 12 | # define RGBLIGHT_LIMIT_VAL 90 | ||
| 13 | # else | ||
| 14 | # define RGBLIGHT_LIMIT_VAL 45 | ||
| 15 | # endif | ||
| 16 | # define RGBLIGHT_VAL_STEP 4 | ||
| 17 | #endif | ||
diff --git a/keyboards/jiran/rev2/config.h b/keyboards/jiran/rev2/config.h index 1c4eb6fae0..a6d252e56a 100644 --- a/keyboards/jiran/rev2/config.h +++ b/keyboards/jiran/rev2/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 56 | ||
| 31 | #define RGBLIGHT_HUE_STEP 10 | 30 | #define RGBLIGHT_HUE_STEP 10 |
| 32 | #define RGBLIGHT_SAT_STEP 17 | 31 | #define RGBLIGHT_SAT_STEP 17 |
| 33 | #define RGBLIGHT_VAL_STEP 17 | 32 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/jiran/rev2/info.json b/keyboards/jiran/rev2/info.json index 9ee15f7af1..bade70f274 100644 --- a/keyboards/jiran/rev2/info.json +++ b/keyboards/jiran/rev2/info.json | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | 2 | "rgblight": { |
| 3 | "led_count": 56, | ||
| 3 | "split_count": [28, 28] | 4 | "split_count": [28, 28] |
| 4 | }, | 5 | }, |
| 5 | "ws2812": { | 6 | "ws2812": { |
diff --git a/keyboards/jkeys_design/gentleman65/config.h b/keyboards/jkeys_design/gentleman65/config.h index 1b66b1bb25..764748f3da 100644 --- a/keyboards/jkeys_design/gentleman65/config.h +++ b/keyboards/jkeys_design/gentleman65/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 14 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/jkeys_design/gentleman65/info.json b/keyboards/jkeys_design/gentleman65/info.json index 9624933b8d..3586c8ed19 100644 --- a/keyboards/jkeys_design/gentleman65/info.json +++ b/keyboards/jkeys_design/gentleman65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2020", | 8 | "pid": "0x2020", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F4" | 15 | "pin": "F4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/jkeys_design/gentleman65_se_s/config.h b/keyboards/jkeys_design/gentleman65_se_s/config.h index 1b66b1bb25..764748f3da 100644 --- a/keyboards/jkeys_design/gentleman65_se_s/config.h +++ b/keyboards/jkeys_design/gentleman65_se_s/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 14 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/jkeys_design/gentleman65_se_s/info.json b/keyboards/jkeys_design/gentleman65_se_s/info.json index 6886f8f24b..2108bad6d2 100644 --- a/keyboards/jkeys_design/gentleman65_se_s/info.json +++ b/keyboards/jkeys_design/gentleman65_se_s/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x2322", | 8 | "pid": "0x2322", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/jolofsor/denial75/config.h b/keyboards/jolofsor/denial75/config.h index a80552a780..7af0bca08e 100644 --- a/keyboards/jolofsor/denial75/config.h +++ b/keyboards/jolofsor/denial75/config.h | |||
| @@ -24,8 +24,6 @@ | |||
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | /* RGB Definitions */ | 26 | /* RGB Definitions */ |
| 27 | |||
| 28 | #define RGBLED_NUM 84 | ||
| 29 | #define RGBLIGHT_MAX_LAYERS 32 | 27 | #define RGBLIGHT_MAX_LAYERS 32 |
| 30 | #define RGBLIGHT_HUE_STEP 10 | 28 | #define RGBLIGHT_HUE_STEP 10 |
| 31 | #define RGBLIGHT_SAT_STEP 17 | 29 | #define RGBLIGHT_SAT_STEP 17 |
diff --git a/keyboards/jolofsor/denial75/info.json b/keyboards/jolofsor/denial75/info.json index 6f1388f49e..f259d26a65 100644 --- a/keyboards/jolofsor/denial75/info.json +++ b/keyboards/jolofsor/denial75/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "D2" | 16 | "pin": "D2" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 84, | ||
| 19 | "max_brightness": 200 | 20 | "max_brightness": 200 |
| 20 | }, | 21 | }, |
| 21 | "diode_direction": "COL2ROW", | 22 | "diode_direction": "COL2ROW", |
diff --git a/keyboards/jones/v03/config.h b/keyboards/jones/v03/config.h index b91df2c35e..4589e42ad2 100644 --- a/keyboards/jones/v03/config.h +++ b/keyboards/jones/v03/config.h | |||
| @@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define AUDIO_CLICKY | 48 | #define AUDIO_CLICKY |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| 51 | #define RGBLED_NUM 6 // Left(4) + Right(2) | ||
| 52 | #define RGBLIGHT_HUE_STEP 8 | 51 | #define RGBLIGHT_HUE_STEP 8 |
| 53 | #define RGBLIGHT_SAT_STEP 8 | 52 | #define RGBLIGHT_SAT_STEP 8 |
| 54 | #define RGBLIGHT_VAL_STEP 8 | 53 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jones/v03/info.json b/keyboards/jones/v03/info.json index 6b4dbb0884..c01e6a4673 100644 --- a/keyboards/jones/v03/info.json +++ b/keyboards/jones/v03/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | {"pin_a": "B3", "pin_b": "B2"} | 14 | {"pin_a": "B3", "pin_b": "B2"} |
| 15 | ] | 15 | ] |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 6 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "B7" | 21 | "pin": "B7" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/jones/v03_1/config.h b/keyboards/jones/v03_1/config.h index e343cb1ae4..b8e85c88a1 100644 --- a/keyboards/jones/v03_1/config.h +++ b/keyboards/jones/v03_1/config.h | |||
| @@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define AUDIO_CLICKY | 48 | #define AUDIO_CLICKY |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| 51 | #define RGBLED_NUM 14 // Left(4) + Right(2) + Under(8) | ||
| 52 | #define RGBLIGHT_HUE_STEP 8 | 51 | #define RGBLIGHT_HUE_STEP 8 |
| 53 | #define RGBLIGHT_SAT_STEP 8 | 52 | #define RGBLIGHT_SAT_STEP 8 |
| 54 | #define RGBLIGHT_VAL_STEP 8 | 53 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jones/v03_1/info.json b/keyboards/jones/v03_1/info.json index fa5e1bf385..7847aec9c2 100644 --- a/keyboards/jones/v03_1/info.json +++ b/keyboards/jones/v03_1/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | ] | 15 | ] |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 14, | ||
| 18 | "led_map": [0, 1, 2, 3, 13, 12, 4, 5, 6, 7, 8, 9, 10, 11] | 19 | "led_map": [0, 1, 2, 3, 13, 12, 4, 5, 6, 7, 8, 9, 10, 11] |
| 19 | }, | 20 | }, |
| 20 | "ws2812": { | 21 | "ws2812": { |
diff --git a/keyboards/jones/v1/config.h b/keyboards/jones/v1/config.h index 3017ca2ab0..6d72d8e7b6 100644 --- a/keyboards/jones/v1/config.h +++ b/keyboards/jones/v1/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #endif | 25 | #endif |
| 26 | 26 | ||
| 27 | /* RGBLIGHT */ | 27 | /* RGBLIGHT */ |
| 28 | #define RGBLED_NUM 4 // Left(2) + Right(2) | ||
| 29 | #define RGBLIGHT_HUE_STEP 8 | 28 | #define RGBLIGHT_HUE_STEP 8 |
| 30 | #define RGBLIGHT_SAT_STEP 8 | 29 | #define RGBLIGHT_SAT_STEP 8 |
| 31 | #define RGBLIGHT_VAL_STEP 8 | 30 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/jones/v1/info.json b/keyboards/jones/v1/info.json index cd0286ef6b..2a093d2496 100644 --- a/keyboards/jones/v1/info.json +++ b/keyboards/jones/v1/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "cols": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"], | 12 | "cols": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"], |
| 13 | "rows": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"] | 13 | "rows": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 4 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "F1" | 19 | "pin": "F1" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/jorne/rev1/config.h b/keyboards/jorne/rev1/config.h index 4a41d3e358..623aaf149c 100644 --- a/keyboards/jorne/rev1/config.h +++ b/keyboards/jorne/rev1/config.h | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | #define RGBLED_NUM 56 | ||
| 6 | |||
| 7 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 5 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 8 | #define LOCKING_SUPPORT_ENABLE | 6 | #define LOCKING_SUPPORT_ENABLE |
| 9 | /* Locking resynchronize hack */ | 7 | /* Locking resynchronize hack */ |
diff --git a/keyboards/jorne/rev1/info.json b/keyboards/jorne/rev1/info.json index f0a1817e8b..1b1f156fa5 100644 --- a/keyboards/jorne/rev1/info.json +++ b/keyboards/jorne/rev1/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 56, | ||
| 20 | "split_count": [28, 28] | 21 | "split_count": [28, 28] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/kabedon/kabedon78s/config.h b/keyboards/kabedon/kabedon78s/config.h index 57f829e692..4477b6ff96 100644 --- a/keyboards/kabedon/kabedon78s/config.h +++ b/keyboards/kabedon/kabedon78s/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 20 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kabedon/kabedon78s/info.json b/keyboards/kabedon/kabedon78s/info.json index 8ec6b52705..688b69f241 100644 --- a/keyboards/kabedon/kabedon78s/info.json +++ b/keyboards/kabedon/kabedon78s/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3738", | 8 | "pid": "0x3738", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 20 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kabedon/kabedon980/config.h b/keyboards/kabedon/kabedon980/config.h index 655a8af4a9..fdfa96bcdc 100644 --- a/keyboards/kabedon/kabedon980/config.h +++ b/keyboards/kabedon/kabedon980/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | 20 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 20 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kabedon/kabedon980/info.json b/keyboards/kabedon/kabedon980/info.json index 95781f0581..261a35d54e 100644 --- a/keyboards/kabedon/kabedon980/info.json +++ b/keyboards/kabedon/kabedon980/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3938", | 8 | "pid": "0x3938", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 20 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kabedon/kabedon98e/config.h b/keyboards/kabedon/kabedon98e/config.h index c8ae65099b..5722578ace 100644 --- a/keyboards/kabedon/kabedon98e/config.h +++ b/keyboards/kabedon/kabedon98e/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 24 | ||
| 19 | #define RGBLIGHT_EFFECT_BREATHING | 18 | #define RGBLIGHT_EFFECT_BREATHING |
| 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kabedon/kabedon98e/info.json b/keyboards/kabedon/kabedon98e/info.json index cbe83c98ee..98fe9c207d 100644 --- a/keyboards/kabedon/kabedon98e/info.json +++ b/keyboards/kabedon/kabedon98e/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.2", | 9 | "device_version": "0.0.2", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 24 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B4", | 16 | "pin": "B4", |
| 14 | "driver": "pwm" | 17 | "driver": "pwm" |
diff --git a/keyboards/kagizaraya/halberd/config.h b/keyboards/kagizaraya/halberd/config.h index 9b42731f84..d81b6695f0 100644 --- a/keyboards/kagizaraya/halberd/config.h +++ b/keyboards/kagizaraya/halberd/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 40 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kagizaraya/halberd/info.json b/keyboards/kagizaraya/halberd/info.json index 790db40f6d..6e1ab85cbb 100644 --- a/keyboards/kagizaraya/halberd/info.json +++ b/keyboards/kagizaraya/halberd/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 40 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F0" | 15 | "pin": "F0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kagizaraya/scythe/config.h b/keyboards/kagizaraya/scythe/config.h index cafa5575bb..7d3afe6307 100644 --- a/keyboards/kagizaraya/scythe/config.h +++ b/keyboards/kagizaraya/scythe/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 9 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kagizaraya/scythe/info.json b/keyboards/kagizaraya/scythe/info.json index 0aaeb704ac..545deac396 100644 --- a/keyboards/kagizaraya/scythe/info.json +++ b/keyboards/kagizaraya/scythe/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "soft_serial_pin": "D0" | 20 | "soft_serial_pin": "D0" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 9 | ||
| 23 | "split": true | 24 | "split": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/kakunpc/angel17/rev1/config.h b/keyboards/kakunpc/angel17/rev1/config.h index bd892c5880..ac02512955 100644 --- a/keyboards/kakunpc/angel17/rev1/config.h +++ b/keyboards/kakunpc/angel17/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 17 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/angel17/rev1/info.json b/keyboards/kakunpc/angel17/rev1/info.json index f93d1b2662..5febedda8f 100644 --- a/keyboards/kakunpc/angel17/rev1/info.json +++ b/keyboards/kakunpc/angel17/rev1/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "rows": ["D4", "C6", "D7", "E6"] | 4 | "rows": ["D4", "C6", "D7", "E6"] |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 17, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/kakunpc/angel64/alpha/config.h b/keyboards/kakunpc/angel64/alpha/config.h index b836e25a64..7e5dc03350 100644 --- a/keyboards/kakunpc/angel64/alpha/config.h +++ b/keyboards/kakunpc/angel64/alpha/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 } | 29 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 } |
| 30 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } | 30 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } |
| 31 | 31 | ||
| 32 | #define RGBLED_NUM 64 | ||
| 33 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 34 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
| 35 | #define RGBLIGHT_VAL_STEP 8 | 34 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/angel64/alpha/info.json b/keyboards/kakunpc/angel64/alpha/info.json index 6d6f046d00..25b9539cbd 100644 --- a/keyboards/kakunpc/angel64/alpha/info.json +++ b/keyboards/kakunpc/angel64/alpha/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 64, | ||
| 15 | "max_brightness": 25, | 16 | "max_brightness": 25, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/kakunpc/angel64/rev1/config.h b/keyboards/kakunpc/angel64/rev1/config.h index b836e25a64..7e5dc03350 100644 --- a/keyboards/kakunpc/angel64/rev1/config.h +++ b/keyboards/kakunpc/angel64/rev1/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 } | 29 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 } |
| 30 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } | 30 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 } |
| 31 | 31 | ||
| 32 | #define RGBLED_NUM 64 | ||
| 33 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 34 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
| 35 | #define RGBLIGHT_VAL_STEP 8 | 34 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/angel64/rev1/info.json b/keyboards/kakunpc/angel64/rev1/info.json index e8c78ba5bf..3cd7d7370f 100644 --- a/keyboards/kakunpc/angel64/rev1/info.json +++ b/keyboards/kakunpc/angel64/rev1/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 64, | ||
| 15 | "max_brightness": 25, | 16 | "max_brightness": 25, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/kakunpc/business_card/alpha/config.h b/keyboards/kakunpc/business_card/alpha/config.h index 5e826946f2..ac02512955 100644 --- a/keyboards/kakunpc/business_card/alpha/config.h +++ b/keyboards/kakunpc/business_card/alpha/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/business_card/alpha/info.json b/keyboards/kakunpc/business_card/alpha/info.json index 40093e29fd..2eff1f2495 100644 --- a/keyboards/kakunpc/business_card/alpha/info.json +++ b/keyboards/kakunpc/business_card/alpha/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kakunpc/business_card/beta/config.h b/keyboards/kakunpc/business_card/beta/config.h index 5e826946f2..ac02512955 100644 --- a/keyboards/kakunpc/business_card/beta/config.h +++ b/keyboards/kakunpc/business_card/beta/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/business_card/beta/info.json b/keyboards/kakunpc/business_card/beta/info.json index abbf9570aa..6b546838f3 100644 --- a/keyboards/kakunpc/business_card/beta/info.json +++ b/keyboards/kakunpc/business_card/beta/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kakunpc/rabbit_capture_plan/config.h b/keyboards/kakunpc/rabbit_capture_plan/config.h index 608a9fcd57..d35f69a259 100644 --- a/keyboards/kakunpc/rabbit_capture_plan/config.h +++ b/keyboards/kakunpc/rabbit_capture_plan/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 69 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/rabbit_capture_plan/info.json b/keyboards/kakunpc/rabbit_capture_plan/info.json index 196960dc2c..89dbe229d4 100644 --- a/keyboards/kakunpc/rabbit_capture_plan/info.json +++ b/keyboards/kakunpc/rabbit_capture_plan/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 69, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true, | 17 | "sleep": true, |
| 17 | "split_count": [32, 37] | 18 | "split_count": [32, 37] |
diff --git a/keyboards/kakunpc/suihankey/alpha/config.h b/keyboards/kakunpc/suihankey/alpha/config.h index 97626d42be..b1bfa4615e 100644 --- a/keyboards/kakunpc/suihankey/alpha/config.h +++ b/keyboards/kakunpc/suihankey/alpha/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/suihankey/alpha/info.json b/keyboards/kakunpc/suihankey/alpha/info.json index 863f97d64d..5542be81fc 100644 --- a/keyboards/kakunpc/suihankey/alpha/info.json +++ b/keyboards/kakunpc/suihankey/alpha/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kakunpc/suihankey/rev1/config.h b/keyboards/kakunpc/suihankey/rev1/config.h index 97626d42be..b1bfa4615e 100644 --- a/keyboards/kakunpc/suihankey/rev1/config.h +++ b/keyboards/kakunpc/suihankey/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/suihankey/rev1/info.json b/keyboards/kakunpc/suihankey/rev1/info.json index 80b3314c59..cd1e8d6ce9 100644 --- a/keyboards/kakunpc/suihankey/rev1/info.json +++ b/keyboards/kakunpc/suihankey/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kakunpc/suihankey/split/alpha/config.h b/keyboards/kakunpc/suihankey/split/alpha/config.h index 8a0039c78f..4973eb95ec 100644 --- a/keyboards/kakunpc/suihankey/split/alpha/config.h +++ b/keyboards/kakunpc/suihankey/split/alpha/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | #define SPLIT_HAND_PIN D2 | 22 | #define SPLIT_HAND_PIN D2 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 18 | ||
| 25 | #define RGBLIGHT_HUE_STEP 8 | 24 | #define RGBLIGHT_HUE_STEP 8 |
| 26 | #define RGBLIGHT_SAT_STEP 8 | 25 | #define RGBLIGHT_SAT_STEP 8 |
| 27 | #define RGBLIGHT_VAL_STEP 8 | 26 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/suihankey/split/alpha/info.json b/keyboards/kakunpc/suihankey/split/alpha/info.json index 0bce7ffe2f..02b6fdbe38 100644 --- a/keyboards/kakunpc/suihankey/split/alpha/info.json +++ b/keyboards/kakunpc/suihankey/split/alpha/info.json | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | 2 | "rgblight": { |
| 3 | "led_count": 18, | ||
| 3 | "sleep": true | 4 | "sleep": true |
| 4 | }, | 5 | }, |
| 5 | "ws2812": { | 6 | "ws2812": { |
diff --git a/keyboards/kakunpc/suihankey/split/rev1/config.h b/keyboards/kakunpc/suihankey/split/rev1/config.h index e895be8715..b64bfc3873 100644 --- a/keyboards/kakunpc/suihankey/split/rev1/config.h +++ b/keyboards/kakunpc/suihankey/split/rev1/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | #define SPLIT_HAND_PIN D2 | 22 | #define SPLIT_HAND_PIN D2 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 18 | ||
| 25 | #define RGBLIGHT_HUE_STEP 8 | 24 | #define RGBLIGHT_HUE_STEP 8 |
| 26 | #define RGBLIGHT_SAT_STEP 8 | 25 | #define RGBLIGHT_SAT_STEP 8 |
| 27 | #define RGBLIGHT_VAL_STEP 8 | 26 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/suihankey/split/rev1/info.json b/keyboards/kakunpc/suihankey/split/rev1/info.json index 94dc890dc7..c0c99f6643 100644 --- a/keyboards/kakunpc/suihankey/split/rev1/info.json +++ b/keyboards/kakunpc/suihankey/split/rev1/info.json | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | 2 | "rgblight": { |
| 3 | "led_count": 18, | ||
| 3 | "sleep": true | 4 | "sleep": true |
| 4 | }, | 5 | }, |
| 5 | "ws2812": { | 6 | "ws2812": { |
diff --git a/keyboards/kakunpc/thedogkeyboard/config.h b/keyboards/kakunpc/thedogkeyboard/config.h index 76f9e8c129..559e1f6aba 100644 --- a/keyboards/kakunpc/thedogkeyboard/config.h +++ b/keyboards/kakunpc/thedogkeyboard/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B4, B5 } | 35 | #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B4, B5 } |
| 36 | #define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6 } | 36 | #define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6 } |
| 37 | 37 | ||
| 38 | #define RGBLED_NUM 111 | ||
| 39 | #define RGBLIGHT_HUE_STEP 8 | 38 | #define RGBLIGHT_HUE_STEP 8 |
| 40 | #define RGBLIGHT_SAT_STEP 8 | 39 | #define RGBLIGHT_SAT_STEP 8 |
| 41 | #define RGBLIGHT_VAL_STEP 8 | 40 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kakunpc/thedogkeyboard/info.json b/keyboards/kakunpc/thedogkeyboard/info.json index 3901475b86..39af07e72c 100644 --- a/keyboards/kakunpc/thedogkeyboard/info.json +++ b/keyboards/kakunpc/thedogkeyboard/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 111, | ||
| 15 | "max_brightness": 50, | 16 | "max_brightness": 50, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/kapcave/paladinpad/rev1/config.h b/keyboards/kapcave/paladinpad/rev1/config.h index 386e4b0a0c..4143779eec 100644 --- a/keyboards/kapcave/paladinpad/rev1/config.h +++ b/keyboards/kapcave/paladinpad/rev1/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 8 | ||
| 30 | #define RGBLIGHT_HUE_STEP 10 | 29 | #define RGBLIGHT_HUE_STEP 10 |
| 31 | #define RGBLIGHT_SAT_STEP 17 | 30 | #define RGBLIGHT_SAT_STEP 17 |
| 32 | #define RGBLIGHT_VAL_STEP 12 | 31 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/kapcave/paladinpad/rev1/info.json b/keyboards/kapcave/paladinpad/rev1/info.json index 0fec9260a9..938098c26a 100644 --- a/keyboards/kapcave/paladinpad/rev1/info.json +++ b/keyboards/kapcave/paladinpad/rev1/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 8 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "D0" | 9 | "pin": "D0" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/kapcave/paladinpad/rev2/config.h b/keyboards/kapcave/paladinpad/rev2/config.h index 239a873384..e863e116b6 100644 --- a/keyboards/kapcave/paladinpad/rev2/config.h +++ b/keyboards/kapcave/paladinpad/rev2/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 7 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 17 | 32 | #define RGBLIGHT_SAT_STEP 17 |
| 34 | #define RGBLIGHT_VAL_STEP 12 | 33 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/kapcave/paladinpad/rev2/info.json b/keyboards/kapcave/paladinpad/rev2/info.json index 699cdde82d..43eb12d79c 100644 --- a/keyboards/kapcave/paladinpad/rev2/info.json +++ b/keyboards/kapcave/paladinpad/rev2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.2" | 3 | "device_version": "0.0.2" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 7 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "D0" | 9 | "pin": "D0" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h index f580f94c9a..e63f8b8602 100644 --- a/keyboards/kapl/rev1/config.h +++ b/keyboards/kapl/rev1/config.h | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | /* Select hand configuration */ | 5 | /* Select hand configuration */ |
| 6 | #define MASTER_LEFT | 6 | #define MASTER_LEFT |
| 7 | 7 | ||
| 8 | #define RGBLED_NUM 88 | ||
| 9 | |||
| 10 | #define RGB_MATRIX_LED_COUNT 88 | 8 | #define RGB_MATRIX_LED_COUNT 88 |
| 11 | #define RGB_MATRIX_SPLIT { 44, 44 } | 9 | #define RGB_MATRIX_SPLIT { 44, 44 } |
| 12 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 10 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index cab51ec837..d94c146765 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "WS2812" | 15 | "driver": "WS2812" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 88, | ||
| 18 | "max_brightness": 120, | 19 | "max_brightness": 120, |
| 19 | "split_count": [44, 44] | 20 | "split_count": [44, 44] |
| 20 | }, | 21 | }, |
diff --git a/keyboards/kb_elmo/isolation/config.h b/keyboards/kb_elmo/isolation/config.h index 04cd6315a7..bd7c9a6f7c 100644 --- a/keyboards/kb_elmo/isolation/config.h +++ b/keyboards/kb_elmo/isolation/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB backlight */ | 20 | /* RGB backlight */ |
| 21 | # define RGBLED_NUM 3 | ||
| 22 | # define RGBLIGHT_HUE_STEP 8 | 21 | # define RGBLIGHT_HUE_STEP 8 |
| 23 | # define RGBLIGHT_SAT_STEP 8 | 22 | # define RGBLIGHT_SAT_STEP 8 |
| 24 | # define RGBLIGHT_VAL_STEP 8 | 23 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kb_elmo/isolation/info.json b/keyboards/kb_elmo/isolation/info.json index 85be2a4a7c..1713de919c 100644 --- a/keyboards/kb_elmo/isolation/info.json +++ b/keyboards/kb_elmo/isolation/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 3, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kb_elmo/noah_avr/config.h b/keyboards/kb_elmo/noah_avr/config.h index f7423db582..387d189b26 100644 --- a/keyboards/kb_elmo/noah_avr/config.h +++ b/keyboards/kb_elmo/noah_avr/config.h | |||
| @@ -28,5 +28,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 7 | ||
| 32 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_BGR // RGB on the Noah is different order | 31 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_BGR // RGB on the Noah is different order |
diff --git a/keyboards/kb_elmo/noah_avr/info.json b/keyboards/kb_elmo/noah_avr/info.json index e0b788a876..029b24cd63 100644 --- a/keyboards/kb_elmo/noah_avr/info.json +++ b/keyboards/kb_elmo/noah_avr/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 7, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kbdfans/baguette66/rgb/config.h b/keyboards/kbdfans/baguette66/rgb/config.h index ee3574ac9c..c495f44266 100644 --- a/keyboards/kbdfans/baguette66/rgb/config.h +++ b/keyboards/kbdfans/baguette66/rgb/config.h | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | #define USB_SUSPEND_WAKEUP_DELAY 5000 | 19 | #define USB_SUSPEND_WAKEUP_DELAY 5000 |
| 20 | #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 | 20 | #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 66 | 22 | #define RGB_MATRIX_LED_COUNT 66 |
| 23 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kbdfans/baguette66/rgb/info.json b/keyboards/kbdfans/baguette66/rgb/info.json index 5f8faf89ae..32a661a70b 100644 --- a/keyboards/kbdfans/baguette66/rgb/info.json +++ b/keyboards/kbdfans/baguette66/rgb/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x0106", | 7 | "pid": "0x0106", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 66 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "E6" | 14 | "pin": "E6" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/kbdfans/bounce/75/hotswap/config.h b/keyboards/kbdfans/bounce/75/hotswap/config.h index 5e43b120d0..10dc5f97b8 100644 --- a/keyboards/kbdfans/bounce/75/hotswap/config.h +++ b/keyboards/kbdfans/bounce/75/hotswap/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) | 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) |
| 30 | #define RGBLIGHT_DEFAULT_SPD 15 | 30 | #define RGBLIGHT_DEFAULT_SPD 15 |
| 31 | #define RGBLED_NUM 4 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 10 | 32 | #define RGBLIGHT_SAT_STEP 10 |
| 34 | #define RGBLIGHT_VAL_STEP 10 | 33 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/kbdfans/bounce/75/hotswap/info.json b/keyboards/kbdfans/bounce/75/hotswap/info.json index 402593379d..70906f7b71 100644 --- a/keyboards/kbdfans/bounce/75/hotswap/info.json +++ b/keyboards/kbdfans/bounce/75/hotswap/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "on_state": 0 | 17 | "on_state": 0 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 4, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/kbdfans/bounce/75/soldered/config.h b/keyboards/kbdfans/bounce/75/soldered/config.h index 5e43b120d0..10dc5f97b8 100644 --- a/keyboards/kbdfans/bounce/75/soldered/config.h +++ b/keyboards/kbdfans/bounce/75/soldered/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) | 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD +8 ) |
| 30 | #define RGBLIGHT_DEFAULT_SPD 15 | 30 | #define RGBLIGHT_DEFAULT_SPD 15 |
| 31 | #define RGBLED_NUM 4 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 10 | 32 | #define RGBLIGHT_SAT_STEP 10 |
| 34 | #define RGBLIGHT_VAL_STEP 10 | 33 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/kbdfans/bounce/75/soldered/info.json b/keyboards/kbdfans/bounce/75/soldered/info.json index 958a031a39..86b98e5fa1 100644 --- a/keyboards/kbdfans/bounce/75/soldered/info.json +++ b/keyboards/kbdfans/bounce/75/soldered/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 4, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd19x/config.h b/keyboards/kbdfans/kbd19x/config.h index 9b4a354800..698e6a23d9 100644 --- a/keyboards/kbdfans/kbd19x/config.h +++ b/keyboards/kbdfans/kbd19x/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 18 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd19x/info.json b/keyboards/kbdfans/kbd19x/info.json index 88fe409e30..0f7b7476d8 100644 --- a/keyboards/kbdfans/kbd19x/info.json +++ b/keyboards/kbdfans/kbd19x/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 18, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd4x/config.h b/keyboards/kbdfans/kbd4x/config.h index 2ce93360c2..56a528dce3 100644 --- a/keyboards/kbdfans/kbd4x/config.h +++ b/keyboards/kbdfans/kbd4x/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 16 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd4x/info.json b/keyboards/kbdfans/kbd4x/info.json index 67561d3d09..3a905f2e47 100644 --- a/keyboards/kbdfans/kbd4x/info.json +++ b/keyboards/kbdfans/kbd4x/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 16, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd67/hotswap/config.h b/keyboards/kbdfans/kbd67/hotswap/config.h index 2092332c0b..b311b40261 100644 --- a/keyboards/kbdfans/kbd67/hotswap/config.h +++ b/keyboards/kbdfans/kbd67/hotswap/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd67/hotswap/info.json b/keyboards/kbdfans/kbd67/hotswap/info.json index 796253aa23..cf37d516e8 100644 --- a/keyboards/kbdfans/kbd67/hotswap/info.json +++ b/keyboards/kbdfans/kbd67/hotswap/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 8, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h b/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h index 8b79d929d6..317453e45a 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb/v4/config.h | |||
| @@ -18,8 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | #define USB_SUSPEND_WAKEUP_DELAY 5000 | 19 | #define USB_SUSPEND_WAKEUP_DELAY 5000 |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 68 | 21 | #define RGB_MATRIX_LED_COUNT 68 |
| 22 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v4/info.json b/keyboards/kbdfans/kbd67/mkiirgb/v4/info.json index f7d5ab552f..a2e2618c81 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v4/info.json +++ b/keyboards/kbdfans/kbd67/mkiirgb/v4/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0x1227", | 4 | "pid": "0x1227", |
| 5 | "device_version": "0.0.4" | 5 | "device_version": "0.0.4" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 68 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "C7" | 11 | "pin": "C7" |
| 9 | }, | 12 | }, |
diff --git a/keyboards/kbdfans/kbd67/rev1/config.h b/keyboards/kbdfans/kbd67/rev1/config.h index ec2e9d4273..930c7e7faa 100644 --- a/keyboards/kbdfans/kbd67/rev1/config.h +++ b/keyboards/kbdfans/kbd67/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 20 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd67/rev1/info.json b/keyboards/kbdfans/kbd67/rev1/info.json index ee09db2634..728c8205b1 100644 --- a/keyboards/kbdfans/kbd67/rev1/info.json +++ b/keyboards/kbdfans/kbd67/rev1/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "E2" | 25 | "pin": "E2" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 20, | ||
| 28 | "max_brightness": 180, | 29 | "max_brightness": 180, |
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
diff --git a/keyboards/kbdfans/kbd67/rev2/config.h b/keyboards/kbdfans/kbd67/rev2/config.h index 190ef273f9..3138184150 100644 --- a/keyboards/kbdfans/kbd67/rev2/config.h +++ b/keyboards/kbdfans/kbd67/rev2/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 16 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd67/rev2/info.json b/keyboards/kbdfans/kbd67/rev2/info.json index 6eaf1d3871..a7b280b40f 100644 --- a/keyboards/kbdfans/kbd67/rev2/info.json +++ b/keyboards/kbdfans/kbd67/rev2/info.json | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | "pin": "E2" | 24 | "pin": "E2" |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | 26 | "rgblight": { |
| 27 | "led_count": 16, | ||
| 27 | "max_brightness": 240, | 28 | "max_brightness": 240, |
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
diff --git a/keyboards/kbdfans/kbd6x/config.h b/keyboards/kbdfans/kbd6x/config.h index 3ef91c5d5c..8090b62391 100644 --- a/keyboards/kbdfans/kbd6x/config.h +++ b/keyboards/kbdfans/kbd6x/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 12 | 30 | #define RGBLIGHT_HUE_STEP 12 |
| 32 | #define RGBLIGHT_SAT_STEP 12 | 31 | #define RGBLIGHT_SAT_STEP 12 |
| 33 | #define RGBLIGHT_VAL_STEP 12 | 32 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/kbdfans/kbd6x/info.json b/keyboards/kbdfans/kbd6x/info.json index d876c2cd16..25bbdc2a24 100644 --- a/keyboards/kbdfans/kbd6x/info.json +++ b/keyboards/kbdfans/kbd6x/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 14, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd75/config.h b/keyboards/kbdfans/kbd75/config.h index 2d6af51f65..89ab02d326 100644 --- a/keyboards/kbdfans/kbd75/config.h +++ b/keyboards/kbdfans/kbd75/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | #define RGBLIGHT_EFFECT_RGB_TEST | 19 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 20 | #define RGBLIGHT_EFFECT_ALTERNATING | 20 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 21 | #define RGBLIGHT_EFFECT_TWINKLE | 21 | #define RGBLIGHT_EFFECT_TWINKLE |
| 22 | #define RGBLED_NUM 16 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd75/rev1/info.json b/keyboards/kbdfans/kbd75/rev1/info.json index 8e486dcfc1..53c4206c3a 100644 --- a/keyboards/kbdfans/kbd75/rev1/info.json +++ b/keyboards/kbdfans/kbd75/rev1/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd75/rev2/info.json b/keyboards/kbdfans/kbd75/rev2/info.json index b3358cac29..34daaaed4d 100644 --- a/keyboards/kbdfans/kbd75/rev2/info.json +++ b/keyboards/kbdfans/kbd75/rev2/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd75hs/config.h b/keyboards/kbdfans/kbd75hs/config.h index f039fa94cd..00213f746c 100644 --- a/keyboards/kbdfans/kbd75hs/config.h +++ b/keyboards/kbdfans/kbd75hs/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) | 29 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) |
| 30 | #define RGBLIGHT_DEFAULT_SPD 15 | 30 | #define RGBLIGHT_DEFAULT_SPD 15 |
| 31 | #define RGBLED_NUM 18 | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 10 | 32 | #define RGBLIGHT_SAT_STEP 10 |
| 34 | #define RGBLIGHT_VAL_STEP 10 | 33 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/kbdfans/kbd75hs/info.json b/keyboards/kbdfans/kbd75hs/info.json index 67cb64afe5..86aa409039 100644 --- a/keyboards/kbdfans/kbd75hs/info.json +++ b/keyboards/kbdfans/kbd75hs/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "caps_lock": "C6" | 17 | "caps_lock": "C6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 18, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd75rgb/config.h b/keyboards/kbdfans/kbd75rgb/config.h index 6d1273875d..08555f63d1 100644 --- a/keyboards/kbdfans/kbd75rgb/config.h +++ b/keyboards/kbdfans/kbd75rgb/config.h | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | #define USB_SUSPEND_WAKEUP_DELAY 5000 | 19 | #define USB_SUSPEND_WAKEUP_DELAY 5000 |
| 20 | #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 | 20 | #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 84 | 22 | #define RGB_MATRIX_LED_COUNT 84 |
| 23 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kbdfans/kbd75rgb/info.json b/keyboards/kbdfans/kbd75rgb/info.json index 231f13f412..e5b6f980d3 100644 --- a/keyboards/kbdfans/kbd75rgb/info.json +++ b/keyboards/kbdfans/kbd75rgb/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6063", | 8 | "pid": "0x6063", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 84 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C7" | 15 | "pin": "C7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kbdfans/kbd8x/config.h b/keyboards/kbdfans/kbd8x/config.h index d10c565718..d55b72c6d4 100644 --- a/keyboards/kbdfans/kbd8x/config.h +++ b/keyboards/kbdfans/kbd8x/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 20 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd8x/info.json b/keyboards/kbdfans/kbd8x/info.json index 39da3c9521..2f173aca35 100644 --- a/keyboards/kbdfans/kbd8x/info.json +++ b/keyboards/kbdfans/kbd8x/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "scroll_lock": "B2" | 23 | "scroll_lock": "B2" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 20, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/kbdfans/kbd8x_mk2/config.h b/keyboards/kbdfans/kbd8x_mk2/config.h index 010745066a..6d907961df 100644 --- a/keyboards/kbdfans/kbd8x_mk2/config.h +++ b/keyboards/kbdfans/kbd8x_mk2/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 20 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbd8x_mk2/info.json b/keyboards/kbdfans/kbd8x_mk2/info.json index 07d45a948f..6d81794947 100644 --- a/keyboards/kbdfans/kbd8x_mk2/info.json +++ b/keyboards/kbdfans/kbd8x_mk2/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "B3" | 21 | "pin": "B3" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 20, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/kbdfans/kbdpad/mk1/config.h b/keyboards/kbdfans/kbdpad/mk1/config.h index a3a9a993df..d849732a07 100644 --- a/keyboards/kbdfans/kbdpad/mk1/config.h +++ b/keyboards/kbdfans/kbdpad/mk1/config.h | |||
| @@ -27,4 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 6 | ||
diff --git a/keyboards/kbdfans/kbdpad/mk1/info.json b/keyboards/kbdfans/kbdpad/mk1/info.json index 3527370e4c..4495eab886 100644 --- a/keyboards/kbdfans/kbdpad/mk1/info.json +++ b/keyboards/kbdfans/kbdpad/mk1/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "D4", | 17 | "pin": "D4", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 6 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "driver": "i2c" | 24 | "driver": "i2c" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/kbdfans/kbdpad/mk2/config.h b/keyboards/kbdfans/kbdpad/mk2/config.h index a23a8173eb..6d907961df 100644 --- a/keyboards/kbdfans/kbdpad/mk2/config.h +++ b/keyboards/kbdfans/kbdpad/mk2/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/kbdpad/mk2/info.json b/keyboards/kbdfans/kbdpad/mk2/info.json index 0d3d551d27..aa4a3c5e1f 100644 --- a/keyboards/kbdfans/kbdpad/mk2/info.json +++ b/keyboards/kbdfans/kbdpad/mk2/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 16, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/kbdfans/niu_mini/config.h b/keyboards/kbdfans/niu_mini/config.h index fb154031a0..9fa20a136c 100644 --- a/keyboards/kbdfans/niu_mini/config.h +++ b/keyboards/kbdfans/niu_mini/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 14 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbdfans/niu_mini/info.json b/keyboards/kbdfans/niu_mini/info.json index 4ba2f38516..af3b136f8f 100644 --- a/keyboards/kbdfans/niu_mini/info.json +++ b/keyboards/kbdfans/niu_mini/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 4 | 18 | "levels": 4 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 14 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/kbdfans/odin/rgb/config.h b/keyboards/kbdfans/odin/rgb/config.h index 54794e66be..9cc883891a 100644 --- a/keyboards/kbdfans/odin/rgb/config.h +++ b/keyboards/kbdfans/odin/rgb/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 104 | ||
| 20 | #define RGB_MATRIX_LED_COUNT 104 | 19 | #define RGB_MATRIX_LED_COUNT 104 |
| 21 | 20 | ||
| 22 | #ifdef RGB_MATRIX_ENABLE | 21 | #ifdef RGB_MATRIX_ENABLE |
diff --git a/keyboards/kbdfans/odin/soldered/config.h b/keyboards/kbdfans/odin/soldered/config.h index d79d0e0113..0236ebcefe 100644 --- a/keyboards/kbdfans/odin/soldered/config.h +++ b/keyboards/kbdfans/odin/soldered/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 4 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kbdfans/odin/soldered/info.json b/keyboards/kbdfans/odin/soldered/info.json index e5b2234a6c..559a21b6b4 100644 --- a/keyboards/kbdfans/odin/soldered/info.json +++ b/keyboards/kbdfans/odin/soldered/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B15" | 22 | "pin": "B15" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 4, | ||
| 25 | "max_brightness": 180, | 26 | "max_brightness": 180, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/kbdfans/odin/v2/config.h b/keyboards/kbdfans/odin/v2/config.h index aa11063f71..d67ae880ed 100644 --- a/keyboards/kbdfans/odin/v2/config.h +++ b/keyboards/kbdfans/odin/v2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 4 | ||
| 20 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 19 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/kbdfans/odin/v2/info.json b/keyboards/kbdfans/odin/v2/info.json index b3047ac96f..97d1bdc57a 100644 --- a/keyboards/kbdfans/odin/v2/info.json +++ b/keyboards/kbdfans/odin/v2/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B15" | 22 | "pin": "B15" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 4, | ||
| 25 | "max_brightness": 180, | 26 | "max_brightness": 180, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/kbdfans/phaseone/config.h b/keyboards/kbdfans/phaseone/config.h index d693cbe66a..4cbb32a859 100644 --- a/keyboards/kbdfans/phaseone/config.h +++ b/keyboards/kbdfans/phaseone/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_TWINKLE | 32 | #define RGBLIGHT_EFFECT_TWINKLE |
| 33 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) | 33 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) |
| 34 | #define RGBLIGHT_DEFAULT_SPD 15 | 34 | #define RGBLIGHT_DEFAULT_SPD 15 |
| 35 | #define RGBLED_NUM 4 | ||
| 36 | #define RGBLIGHT_HUE_STEP 10 | 35 | #define RGBLIGHT_HUE_STEP 10 |
| 37 | #define RGBLIGHT_SAT_STEP 10 | 36 | #define RGBLIGHT_SAT_STEP 10 |
| 38 | #define RGBLIGHT_VAL_STEP 10 | 37 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/kbdfans/phaseone/info.json b/keyboards/kbdfans/phaseone/info.json index bca4d3bfd8..470608d223 100644 --- a/keyboards/kbdfans/phaseone/info.json +++ b/keyboards/kbdfans/phaseone/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "on_state": 0 | 19 | "on_state": 0 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 4, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/kbnordic/nordic60/rev_a/config.h b/keyboards/kbnordic/nordic60/rev_a/config.h index 5298868bcf..6089b4d084 100644 --- a/keyboards/kbnordic/nordic60/rev_a/config.h +++ b/keyboards/kbnordic/nordic60/rev_a/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 16 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kbnordic/nordic60/rev_a/info.json b/keyboards/kbnordic/nordic60/rev_a/info.json index 126de687b8..26053d476c 100644 --- a/keyboards/kbnordic/nordic60/rev_a/info.json +++ b/keyboards/kbnordic/nordic60/rev_a/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kc60/config.h b/keyboards/kc60/config.h index 640584ee65..a3051f0d5f 100644 --- a/keyboards/kc60/config.h +++ b/keyboards/kc60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kc60/info.json b/keyboards/kc60/info.json index 2bbe66429f..1b463caa16 100644 --- a/keyboards/kc60/info.json +++ b/keyboards/kc60/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 16, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/keebformom/config.h b/keyboards/keebformom/config.h index f2fd71a8d0..6359343883 100644 --- a/keyboards/keebformom/config.h +++ b/keyboards/keebformom/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 40 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebformom/info.json b/keyboards/keebformom/info.json index ffc134d5d2..fc0910a5a7 100644 --- a/keyboards/keebformom/info.json +++ b/keyboards/keebformom/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "F4" | 12 | "pin": "F4" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 40, | ||
| 15 | "max_brightness": 150, | 16 | "max_brightness": 150, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/keebio/bamfk1/config.h b/keyboards/keebio/bamfk1/config.h index dd26a53277..0aeaffa895 100644 --- a/keyboards/keebio/bamfk1/config.h +++ b/keyboards/keebio/bamfk1/config.h | |||
| @@ -11,7 +11,6 @@ | |||
| 11 | #define ENCODERS_CW_KEY { { 1, 1 }, { 3, 1 } } | 11 | #define ENCODERS_CW_KEY { { 1, 1 }, { 3, 1 } } |
| 12 | #define ENCODERS_CCW_KEY { { 0, 1 }, { 2, 1 } } | 12 | #define ENCODERS_CCW_KEY { { 0, 1 }, { 2, 1 } } |
| 13 | 13 | ||
| 14 | # define RGBLED_NUM 16 | ||
| 15 | # define RGBLIGHT_HUE_STEP 8 | 14 | # define RGBLIGHT_HUE_STEP 8 |
| 16 | # define RGBLIGHT_SAT_STEP 8 | 15 | # define RGBLIGHT_SAT_STEP 8 |
| 17 | # define RGBLIGHT_VAL_STEP 8 | 16 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/bamfk1/info.json b/keyboards/keebio/bamfk1/info.json index ab0bd9c89b..9c9cd011e8 100644 --- a/keyboards/keebio/bamfk1/info.json +++ b/keyboards/keebio/bamfk1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/keebio/bamfk4/config.h b/keyboards/keebio/bamfk4/config.h index 33bd6e8269..b14a5ee212 100644 --- a/keyboards/keebio/bamfk4/config.h +++ b/keyboards/keebio/bamfk4/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | # define RGBLED_NUM 32 | ||
| 7 | # define RGBLIGHT_HUE_STEP 8 | 6 | # define RGBLIGHT_HUE_STEP 8 |
| 8 | # define RGBLIGHT_SAT_STEP 8 | 7 | # define RGBLIGHT_SAT_STEP 8 |
| 9 | # define RGBLIGHT_VAL_STEP 8 | 8 | # define RGBLIGHT_VAL_STEP 8 |
| @@ -61,7 +60,7 @@ | |||
| 61 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | 60 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
| 62 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 160 | 61 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 160 |
| 63 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 62 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
| 64 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 63 | # define RGB_MATRIX_LED_COUNT 32 |
| 65 | # define RGB_DISABLE_WHEN_USB_SUSPENDED | 64 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
| 66 | # define RGB_MATRIX_KEYPRESSES | 65 | # define RGB_MATRIX_KEYPRESSES |
| 67 | //# endif | 66 | //# endif |
diff --git a/keyboards/keebio/bamfk4/info.json b/keyboards/keebio/bamfk4/info.json index 35150c58d1..4de5a920ab 100644 --- a/keyboards/keebio/bamfk4/info.json +++ b/keyboards/keebio/bamfk4/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "WS2812" | 15 | "driver": "WS2812" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 32, | ||
| 18 | "max_brightness": 120, | 19 | "max_brightness": 120, |
| 19 | "sleep": true | 20 | "sleep": true |
| 20 | }, | 21 | }, |
diff --git a/keyboards/keebio/bdn9/rev1/config.h b/keyboards/keebio/bdn9/rev1/config.h index fb50494fd5..184cdf08d5 100644 --- a/keyboards/keebio/bdn9/rev1/config.h +++ b/keyboards/keebio/bdn9/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/bdn9/rev1/info.json b/keyboards/keebio/bdn9/rev1/info.json index fd9800b838..4d49e0c324 100644 --- a/keyboards/keebio/bdn9/rev1/info.json +++ b/keyboards/keebio/bdn9/rev1/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "levels": 7 | 16 | "levels": 7 |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 4, | ||
| 19 | "sleep": true | 20 | "sleep": true |
| 20 | }, | 21 | }, |
| 21 | "ws2812": { | 22 | "ws2812": { |
diff --git a/keyboards/keebio/bdn9/rev2/config.h b/keyboards/keebio/bdn9/rev2/config.h index 671374e652..6d001e6532 100644 --- a/keyboards/keebio/bdn9/rev2/config.h +++ b/keyboards/keebio/bdn9/rev2/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define TAP_CODE_DELAY 10 | 20 | #define TAP_CODE_DELAY 10 |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 11 | ||
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
| 25 | # define RGBLIGHT_VAL_STEP 8 | 24 | # define RGBLIGHT_VAL_STEP 8 |
| @@ -35,7 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | # define RGBLIGHT_EFFECT_TWINKLE | 34 | # define RGBLIGHT_EFFECT_TWINKLE |
| 36 | // RGB Matrix | 35 | // RGB Matrix |
| 37 | # ifdef RGB_MATRIX_ENABLE | 36 | # ifdef RGB_MATRIX_ENABLE |
| 38 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 37 | # define RGB_MATRIX_LED_COUNT 11 |
| 39 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 38 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 40 | # define RGB_MATRIX_KEYPRESSES | 39 | # define RGB_MATRIX_KEYPRESSES |
| 41 | // RGB Matrix Animation modes. Explicitly enabled | 40 | // RGB Matrix Animation modes. Explicitly enabled |
diff --git a/keyboards/keebio/bdn9/rev2/info.json b/keyboards/keebio/bdn9/rev2/info.json index 3b0b2b29a1..c65e166406 100644 --- a/keyboards/keebio/bdn9/rev2/info.json +++ b/keyboards/keebio/bdn9/rev2/info.json | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | "device_version": "2.0.0" | 5 | "device_version": "2.0.0" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | 7 | "rgblight": { |
| 8 | "led_count": 11, | ||
| 8 | "sleep": true | 9 | "sleep": true |
| 9 | }, | 10 | }, |
| 10 | "ws2812": { | 11 | "ws2812": { |
diff --git a/keyboards/keebio/bfo9000/config.h b/keyboards/keebio/bfo9000/config.h index ecc01620e6..0b8941e776 100644 --- a/keyboards/keebio/bfo9000/config.h +++ b/keyboards/keebio/bfo9000/config.h | |||
| @@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | /* ws2812 RGB LED */ | ||
| 27 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 28 | |||
| 29 | /* | 26 | /* |
| 30 | * Feature disable options | 27 | * Feature disable options |
| 31 | * These options are also useful to firmware size reduction. | 28 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/keebio/bfo9000/info.json b/keyboards/keebio/bfo9000/info.json index 39b8cd7e2c..5738ac6953 100644 --- a/keyboards/keebio/bfo9000/info.json +++ b/keyboards/keebio/bfo9000/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 20, | ||
| 20 | "split_count": [10, 10] | 21 | "split_count": [10, 10] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/keebio/chocopad/config.h b/keyboards/keebio/chocopad/config.h index 14c93278a6..401de718c1 100644 --- a/keyboards/keebio/chocopad/config.h +++ b/keyboards/keebio/chocopad/config.h | |||
| @@ -19,4 +19,3 @@ | |||
| 19 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 20 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 21 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
| 22 | #define RGBLED_NUM 4 | ||
diff --git a/keyboards/keebio/chocopad/info.json b/keyboards/keebio/chocopad/info.json index 44d846da74..d671417c92 100644 --- a/keyboards/keebio/chocopad/info.json +++ b/keyboards/keebio/chocopad/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B5", | 17 | "pin": "B5", |
| 18 | "levels": 6 | 18 | "levels": 6 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 4 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/keebio/dilly/config.h b/keyboards/keebio/dilly/config.h index b2727f1ab2..401de718c1 100644 --- a/keyboards/keebio/dilly/config.h +++ b/keyboards/keebio/dilly/config.h | |||
| @@ -19,5 +19,3 @@ | |||
| 19 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 20 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 21 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
| 22 | |||
| 23 | #define RGBLED_NUM 10 | ||
diff --git a/keyboards/keebio/dilly/info.json b/keyboards/keebio/dilly/info.json index 29322a8044..015a8986d7 100644 --- a/keyboards/keebio/dilly/info.json +++ b/keyboards/keebio/dilly/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B5" | 17 | "pin": "B5" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 10 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/keebio/dsp40/rev1/config.h b/keyboards/keebio/dsp40/rev1/config.h index b148616d42..633b5341da 100644 --- a/keyboards/keebio/dsp40/rev1/config.h +++ b/keyboards/keebio/dsp40/rev1/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define BACKLIGHT_PWM_CHANNEL 1 | 22 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 23 | #define BACKLIGHT_PAL_MODE 1 | 23 | #define BACKLIGHT_PAL_MODE 1 |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 4 | ||
| 26 | #define RGBLIGHT_HUE_STEP 8 | 25 | #define RGBLIGHT_HUE_STEP 8 |
| 27 | #define RGBLIGHT_SAT_STEP 8 | 26 | #define RGBLIGHT_SAT_STEP 8 |
| 28 | #define RGBLIGHT_VAL_STEP 8 | 27 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/dsp40/rev1/info.json b/keyboards/keebio/dsp40/rev1/info.json index 1d0949e1f9..0aa071b951 100644 --- a/keyboards/keebio/dsp40/rev1/info.json +++ b/keyboards/keebio/dsp40/rev1/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "levels": 7 | 23 | "levels": 7 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 4, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/keebio/ergodicity/config.h b/keyboards/keebio/ergodicity/config.h index f8dbfdf602..6b9dcfd57e 100644 --- a/keyboards/keebio/ergodicity/config.h +++ b/keyboards/keebio/ergodicity/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/ergodicity/info.json b/keyboards/keebio/ergodicity/info.json index a4a71275b9..8c5bfab673 100644 --- a/keyboards/keebio/ergodicity/info.json +++ b/keyboards/keebio/ergodicity/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 12, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/keebio/foldkb/rev1/config.h b/keyboards/keebio/foldkb/rev1/config.h index 917475fab7..f162dd2f10 100644 --- a/keyboards/keebio/foldkb/rev1/config.h +++ b/keyboards/keebio/foldkb/rev1/config.h | |||
| @@ -34,5 +34,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 38 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 37 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) |
diff --git a/keyboards/keebio/foldkb/rev1/info.json b/keyboards/keebio/foldkb/rev1/info.json index 467aaaa4b6..c680785933 100644 --- a/keyboards/keebio/foldkb/rev1/info.json +++ b/keyboards/keebio/foldkb/rev1/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "soft_serial_pin": "D0" | 25 | "soft_serial_pin": "D0" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 16, | ||
| 28 | "led_map": [0, 1, 2, 3, 12, 13, 14, 15, 4, 5, 6, 7, 8, 9, 10, 11], | 29 | "led_map": [0, 1, 2, 3, 12, 13, 14, 15, 4, 5, 6, 7, 8, 9, 10, 11], |
| 29 | "split_count": [8, 8] | 30 | "split_count": [8, 8] |
| 30 | }, | 31 | }, |
diff --git a/keyboards/keebio/fourier/config.h b/keyboards/keebio/fourier/config.h index 59ea066451..44286c7817 100644 --- a/keyboards/keebio/fourier/config.h +++ b/keyboards/keebio/fourier/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define RGBLIGHT_EFFECT_RGB_TEST | 37 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 38 | #define RGBLIGHT_EFFECT_ALTERNATING | 38 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 39 | #define RGBLIGHT_EFFECT_TWINKLE | 39 | #define RGBLIGHT_EFFECT_TWINKLE |
| 40 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 41 | 40 | ||
| 42 | /* | 41 | /* |
| 43 | * Feature disable options | 42 | * Feature disable options |
diff --git a/keyboards/keebio/fourier/info.json b/keyboards/keebio/fourier/info.json index 7d12c8c60b..9f2147ca24 100644 --- a/keyboards/keebio/fourier/info.json +++ b/keyboards/keebio/fourier/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "soft_serial_pin": "D0" | 23 | "soft_serial_pin": "D0" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 14, | ||
| 26 | "split_count": [7, 7] | 27 | "split_count": [7, 7] |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/keebio/iris/rev1/config.h b/keyboards/keebio/iris/rev1/config.h index 7fd5c0ff95..ec1e07d8fb 100644 --- a/keyboards/keebio/iris/rev1/config.h +++ b/keyboards/keebio/iris/rev1/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | 25 | /* ws2812 RGB LED */ |
| 26 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/iris/rev1/info.json b/keyboards/keebio/iris/rev1/info.json index af3c7acd42..a389e7ae09 100644 --- a/keyboards/keebio/iris/rev1/info.json +++ b/keyboards/keebio/iris/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/keebio/iris/rev1_led/config.h b/keyboards/keebio/iris/rev1_led/config.h index 7fd5c0ff95..ec1e07d8fb 100644 --- a/keyboards/keebio/iris/rev1_led/config.h +++ b/keyboards/keebio/iris/rev1_led/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | 25 | /* ws2812 RGB LED */ |
| 26 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/iris/rev1_led/info.json b/keyboards/keebio/iris/rev1_led/info.json index bc19a0cc8b..0be141b00f 100644 --- a/keyboards/keebio/iris/rev1_led/info.json +++ b/keyboards/keebio/iris/rev1_led/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/keebio/iris/rev2/config.h b/keyboards/keebio/iris/rev2/config.h index 7fd5c0ff95..ec1e07d8fb 100644 --- a/keyboards/keebio/iris/rev2/config.h +++ b/keyboards/keebio/iris/rev2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | 25 | /* ws2812 RGB LED */ |
| 26 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/iris/rev2/info.json b/keyboards/keebio/iris/rev2/info.json index 2eef2853d8..f9c025f9ce 100644 --- a/keyboards/keebio/iris/rev2/info.json +++ b/keyboards/keebio/iris/rev2/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/keebio/iris/rev3/config.h b/keyboards/keebio/iris/rev3/config.h index 2bc112261a..9c0c7e07c7 100644 --- a/keyboards/keebio/iris/rev3/config.h +++ b/keyboards/keebio/iris/rev3/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | /* ws2812 RGB LED */ | 27 | /* ws2812 RGB LED */ |
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/iris/rev3/info.json b/keyboards/keebio/iris/rev3/info.json index 4d427f7527..8c188a9620 100644 --- a/keyboards/keebio/iris/rev3/info.json +++ b/keyboards/keebio/iris/rev3/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "levels": 5 | 19 | "levels": 5 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 12, | ||
| 22 | "split_count": [6, 6] | 23 | "split_count": [6, 6] |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/keebio/iris/rev4/config.h b/keyboards/keebio/iris/rev4/config.h index 2a278b2fb2..e5b7a7633e 100644 --- a/keyboards/keebio/iris/rev4/config.h +++ b/keyboards/keebio/iris/rev4/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | /* ws2812 RGB LED */ | 27 | /* ws2812 RGB LED */ |
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/iris/rev4/info.json b/keyboards/keebio/iris/rev4/info.json index d0aa0d12c9..4ba2f6e193 100644 --- a/keyboards/keebio/iris/rev4/info.json +++ b/keyboards/keebio/iris/rev4/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "levels": 5 | 19 | "levels": 5 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 12, | ||
| 22 | "split_count": [6, 6] | 23 | "split_count": [6, 6] |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/keebio/iris/rev5/config.h b/keyboards/keebio/iris/rev5/config.h index 78e747168d..7bfc3e8ff8 100644 --- a/keyboards/keebio/iris/rev5/config.h +++ b/keyboards/keebio/iris/rev5/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define BACKLIGHT_DEFAULT_LEVEL 3 | 22 | #define BACKLIGHT_DEFAULT_LEVEL 3 |
| 23 | 23 | ||
| 24 | /* ws2812 RGB LED */ | 24 | /* ws2812 RGB LED */ |
| 25 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/iris/rev5/info.json b/keyboards/keebio/iris/rev5/info.json index ec8b01893a..30e5c6f999 100644 --- a/keyboards/keebio/iris/rev5/info.json +++ b/keyboards/keebio/iris/rev5/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "levels": 5 | 19 | "levels": 5 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 12, | ||
| 22 | "split_count": [6, 6] | 23 | "split_count": [6, 6] |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/keebio/iris/rev6/config.h b/keyboards/keebio/iris/rev6/config.h index a79c4cf788..359cb509ef 100644 --- a/keyboards/keebio/iris/rev6/config.h +++ b/keyboards/keebio/iris/rev6/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define SPLIT_HAND_PIN D5 | 20 | #define SPLIT_HAND_PIN D5 |
| 21 | 21 | ||
| 22 | /* ws2812 RGB LED */ | 22 | /* ws2812 RGB LED */ |
| 23 | # define RGBLED_NUM 68 | ||
| 24 | # define RGBLIGHT_HUE_STEP 8 | 23 | # define RGBLIGHT_HUE_STEP 8 |
| 25 | # define RGBLIGHT_SAT_STEP 8 | 24 | # define RGBLIGHT_SAT_STEP 8 |
| 26 | # define RGBLIGHT_VAL_STEP 8 | 25 | # define RGBLIGHT_VAL_STEP 8 |
| @@ -78,7 +77,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 78 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | 77 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
| 79 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 160 | 78 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 160 |
| 80 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 79 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
| 81 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 80 | # define RGB_MATRIX_LED_COUNT 68 |
| 82 | # define RGB_MATRIX_SPLIT { 34, 34 } | 81 | # define RGB_MATRIX_SPLIT { 34, 34 } |
| 83 | # define RGB_DISABLE_WHEN_USB_SUSPENDED | 82 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
| 84 | # define RGB_MATRIX_KEYPRESSES | 83 | # define RGB_MATRIX_KEYPRESSES |
diff --git a/keyboards/keebio/iris/rev6/info.json b/keyboards/keebio/iris/rev6/info.json index 58c96976ed..59617c4cba 100644 --- a/keyboards/keebio/iris/rev6/info.json +++ b/keyboards/keebio/iris/rev6/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E6" | 21 | "pin": "E6" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 68, | ||
| 24 | "max_brightness": 120, | 25 | "max_brightness": 120, |
| 25 | "sleep": true, | 26 | "sleep": true, |
| 26 | "split_count": [34, 34] | 27 | "split_count": [34, 34] |
diff --git a/keyboards/keebio/iris/rev7/config.h b/keyboards/keebio/iris/rev7/config.h index 236028158e..511fb22a07 100644 --- a/keyboards/keebio/iris/rev7/config.h +++ b/keyboards/keebio/iris/rev7/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define SPLIT_HAND_PIN D5 | 20 | #define SPLIT_HAND_PIN D5 |
| 21 | 21 | ||
| 22 | /* ws2812 RGB LED */ | 22 | /* ws2812 RGB LED */ |
| 23 | # define RGBLED_NUM 68 | ||
| 24 | # define RGBLIGHT_HUE_STEP 8 | 23 | # define RGBLIGHT_HUE_STEP 8 |
| 25 | # define RGBLIGHT_SAT_STEP 8 | 24 | # define RGBLIGHT_SAT_STEP 8 |
| 26 | # define RGBLIGHT_VAL_STEP 8 | 25 | # define RGBLIGHT_VAL_STEP 8 |
| @@ -78,7 +77,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 78 | //# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | 77 | //# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
| 79 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 | 78 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 |
| 80 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 79 | # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
| 81 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 80 | # define RGB_MATRIX_LED_COUNT 68 |
| 82 | # define RGB_MATRIX_SPLIT { 34, 34 } | 81 | # define RGB_MATRIX_SPLIT { 34, 34 } |
| 83 | # define RGB_DISABLE_WHEN_USB_SUSPENDED | 82 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
| 84 | # define RGB_MATRIX_KEYPRESSES | 83 | # define RGB_MATRIX_KEYPRESSES |
diff --git a/keyboards/keebio/iris/rev7/info.json b/keyboards/keebio/iris/rev7/info.json index beb479f01b..738fe857eb 100644 --- a/keyboards/keebio/iris/rev7/info.json +++ b/keyboards/keebio/iris/rev7/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "E6" | 22 | "pin": "E6" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 68, | ||
| 25 | "max_brightness": 120, | 26 | "max_brightness": 120, |
| 26 | "sleep": true, | 27 | "sleep": true, |
| 27 | "split_count": [34, 34] | 28 | "split_count": [34, 34] |
diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h index d8a0161dba..0771ad9e25 100644 --- a/keyboards/keebio/kbo5000/rev1/config.h +++ b/keyboards/keebio/kbo5000/rev1/config.h | |||
| @@ -38,4 +38,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | #define RGBLIGHT_EFFECT_RGB_TEST | 38 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 39 | #define RGBLIGHT_EFFECT_ALTERNATING | 39 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 40 | #define RGBLIGHT_EFFECT_TWINKLE | 40 | #define RGBLIGHT_EFFECT_TWINKLE |
| 41 | #define RGBLED_NUM 16 // Number of LEDs | ||
diff --git a/keyboards/keebio/kbo5000/rev1/info.json b/keyboards/keebio/kbo5000/rev1/info.json index 78bbb01357..fd93ad86d5 100644 --- a/keyboards/keebio/kbo5000/rev1/info.json +++ b/keyboards/keebio/kbo5000/rev1/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B5" | 22 | "pin": "B5" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], | 26 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], |
| 26 | "split_count": [8, 8] | 27 | "split_count": [8, 8] |
| 27 | }, | 28 | }, |
diff --git a/keyboards/keebio/laplace/config.h b/keyboards/keebio/laplace/config.h index 93ef4c9130..7328c4731a 100644 --- a/keyboards/keebio/laplace/config.h +++ b/keyboards/keebio/laplace/config.h | |||
| @@ -28,6 +28,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 14 | ||
| 32 | 31 | ||
| 33 | #define TAPPING_TERM 200 | 32 | #define TAPPING_TERM 200 |
diff --git a/keyboards/keebio/laplace/info.json b/keyboards/keebio/laplace/info.json index 1899e88236..5fd29b1fbe 100644 --- a/keyboards/keebio/laplace/info.json +++ b/keyboards/keebio/laplace/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1147", | 8 | "pid": "0x1147", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D4" | 15 | "pin": "D4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keebio/levinson/rev1/config.h b/keyboards/keebio/levinson/rev1/config.h index b6d4d64719..2fd8b7d4d0 100644 --- a/keyboards/keebio/levinson/rev1/config.h +++ b/keyboards/keebio/levinson/rev1/config.h | |||
| @@ -23,6 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_SUPPORT_ENABLE | 23 | #define LOCKING_SUPPORT_ENABLE |
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | |||
| 27 | /* ws2812 RGB LED */ | ||
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
diff --git a/keyboards/keebio/levinson/rev1/info.json b/keyboards/keebio/levinson/rev1/info.json index f947546b3d..0a98e032d4 100644 --- a/keyboards/keebio/levinson/rev1/info.json +++ b/keyboards/keebio/levinson/rev1/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "levels": 7 | 17 | "levels": 7 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/keebio/levinson/rev2/config.h b/keyboards/keebio/levinson/rev2/config.h index b6d4d64719..2fd8b7d4d0 100644 --- a/keyboards/keebio/levinson/rev2/config.h +++ b/keyboards/keebio/levinson/rev2/config.h | |||
| @@ -23,6 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_SUPPORT_ENABLE | 23 | #define LOCKING_SUPPORT_ENABLE |
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | |||
| 27 | /* ws2812 RGB LED */ | ||
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
diff --git a/keyboards/keebio/levinson/rev2/info.json b/keyboards/keebio/levinson/rev2/info.json index ea62141edd..962f555e12 100644 --- a/keyboards/keebio/levinson/rev2/info.json +++ b/keyboards/keebio/levinson/rev2/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "levels": 7 | 17 | "levels": 7 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/keebio/levinson/rev3/config.h b/keyboards/keebio/levinson/rev3/config.h index 3521356e7d..e1c73cd56e 100644 --- a/keyboards/keebio/levinson/rev3/config.h +++ b/keyboards/keebio/levinson/rev3/config.h | |||
| @@ -25,6 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define LOCKING_SUPPORT_ENABLE | 25 | #define LOCKING_SUPPORT_ENABLE |
| 26 | /* Locking resynchronize hack */ | 26 | /* Locking resynchronize hack */ |
| 27 | #define LOCKING_RESYNC_ENABLE | 27 | #define LOCKING_RESYNC_ENABLE |
| 28 | |||
| 29 | /* ws2812 RGB LED */ | ||
| 30 | #define RGBLED_NUM 12 // Number of LEDs | ||
diff --git a/keyboards/keebio/levinson/rev3/info.json b/keyboards/keebio/levinson/rev3/info.json index 81230247b6..cac1c3ac35 100644 --- a/keyboards/keebio/levinson/rev3/info.json +++ b/keyboards/keebio/levinson/rev3/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "levels": 7 | 23 | "levels": 7 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 12, | ||
| 26 | "split_count": [6, 6] | 27 | "split_count": [6, 6] |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/keebio/nyquist/rev1/config.h b/keyboards/keebio/nyquist/rev1/config.h index e4878b790a..6fdc15c582 100644 --- a/keyboards/keebio/nyquist/rev1/config.h +++ b/keyboards/keebio/nyquist/rev1/config.h | |||
| @@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGBLED_NUM 12 | ||
| 27 | |||
| 28 | /* | 25 | /* |
| 29 | * Feature disable options | 26 | * Feature disable options |
| 30 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/keebio/nyquist/rev1/info.json b/keyboards/keebio/nyquist/rev1/info.json index b75a678797..cd729aa87b 100644 --- a/keyboards/keebio/nyquist/rev1/info.json +++ b/keyboards/keebio/nyquist/rev1/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "soft_serial_pin": "D0" | 13 | "soft_serial_pin": "D0" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 12, | ||
| 16 | "split_count": [6, 6] | 17 | "split_count": [6, 6] |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/keebio/nyquist/rev2/config.h b/keyboards/keebio/nyquist/rev2/config.h index e4878b790a..6fdc15c582 100644 --- a/keyboards/keebio/nyquist/rev2/config.h +++ b/keyboards/keebio/nyquist/rev2/config.h | |||
| @@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGBLED_NUM 12 | ||
| 27 | |||
| 28 | /* | 25 | /* |
| 29 | * Feature disable options | 26 | * Feature disable options |
| 30 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/keebio/nyquist/rev2/info.json b/keyboards/keebio/nyquist/rev2/info.json index 4a802ad454..f6b80cb946 100644 --- a/keyboards/keebio/nyquist/rev2/info.json +++ b/keyboards/keebio/nyquist/rev2/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | "levels": 7 | 14 | "levels": 7 |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 12, | ||
| 17 | "split_count": [6, 6] | 18 | "split_count": [6, 6] |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/keebio/nyquist/rev3/config.h b/keyboards/keebio/nyquist/rev3/config.h index 8d3be7827d..7e1e36bda3 100644 --- a/keyboards/keebio/nyquist/rev3/config.h +++ b/keyboards/keebio/nyquist/rev3/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 12 | ||
| 39 | 38 | ||
| 40 | /* | 39 | /* |
| 41 | * Feature disable options | 40 | * Feature disable options |
diff --git a/keyboards/keebio/nyquist/rev3/info.json b/keyboards/keebio/nyquist/rev3/info.json index 9eb4c51323..9012b3ab22 100644 --- a/keyboards/keebio/nyquist/rev3/info.json +++ b/keyboards/keebio/nyquist/rev3/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/keebio/quefrency/rev1/config.h b/keyboards/keebio/quefrency/rev1/config.h index f439fd05af..ee52660c6c 100644 --- a/keyboards/keebio/quefrency/rev1/config.h +++ b/keyboards/keebio/quefrency/rev1/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 40 | 39 | ||
| 41 | // Set 65% column (option 1) and Macro (option 2) on by default | 40 | // Set 65% column (option 1) and Macro (option 2) on by default |
| 42 | #define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x60 | 41 | #define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x60 |
diff --git a/keyboards/keebio/quefrency/rev1/info.json b/keyboards/keebio/quefrency/rev1/info.json index cf44ce3b81..ba82cdcb2f 100644 --- a/keyboards/keebio/quefrency/rev1/info.json +++ b/keyboards/keebio/quefrency/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "split_count": [8, 8] | 13 | "split_count": [8, 8] |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/keebio/quefrency/rev2/config.h b/keyboards/keebio/quefrency/rev2/config.h index 29c55072ea..65b8ea7f8c 100644 --- a/keyboards/keebio/quefrency/rev2/config.h +++ b/keyboards/keebio/quefrency/rev2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define CAPS_LOCK_LED_PIN B6 | 23 | #define CAPS_LOCK_LED_PIN B6 |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | 25 | /* ws2812 RGB LED */ |
| 26 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/quefrency/rev2/info.json b/keyboards/keebio/quefrency/rev2/info.json index d1871c887b..c076a697f5 100644 --- a/keyboards/keebio/quefrency/rev2/info.json +++ b/keyboards/keebio/quefrency/rev2/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B5" | 22 | "pin": "B5" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], | 26 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], |
| 26 | "split_count": [8, 8] | 27 | "split_count": [8, 8] |
| 27 | }, | 28 | }, |
diff --git a/keyboards/keebio/quefrency/rev3/config.h b/keyboards/keebio/quefrency/rev3/config.h index 29c55072ea..65b8ea7f8c 100644 --- a/keyboards/keebio/quefrency/rev3/config.h +++ b/keyboards/keebio/quefrency/rev3/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define CAPS_LOCK_LED_PIN B6 | 23 | #define CAPS_LOCK_LED_PIN B6 |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | 25 | /* ws2812 RGB LED */ |
| 26 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keebio/quefrency/rev3/info.json b/keyboards/keebio/quefrency/rev3/info.json index 93dd6774b5..66deb75951 100644 --- a/keyboards/keebio/quefrency/rev3/info.json +++ b/keyboards/keebio/quefrency/rev3/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B5" | 22 | "pin": "B5" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], | 26 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], |
| 26 | "split_count": [8, 8] | 27 | "split_count": [8, 8] |
| 27 | }, | 28 | }, |
diff --git a/keyboards/keebio/quefrency/rev4/config.h b/keyboards/keebio/quefrency/rev4/config.h index 84e9d85dd4..abb3b8b340 100644 --- a/keyboards/keebio/quefrency/rev4/config.h +++ b/keyboards/keebio/quefrency/rev4/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | /* ws2812 RGB LED */ | 26 | /* ws2812 RGB LED */ |
| 27 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 28 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 27 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) |
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/keebio/quefrency/rev4/info.json b/keyboards/keebio/quefrency/rev4/info.json index 53b30b5d70..8ca39b9145 100644 --- a/keyboards/keebio/quefrency/rev4/info.json +++ b/keyboards/keebio/quefrency/rev4/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 16, | ||
| 22 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], | 23 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], |
| 23 | "split_count": [8, 8] | 24 | "split_count": [8, 8] |
| 24 | }, | 25 | }, |
diff --git a/keyboards/keebio/quefrency/rev5/config.h b/keyboards/keebio/quefrency/rev5/config.h index 84e9d85dd4..abb3b8b340 100644 --- a/keyboards/keebio/quefrency/rev5/config.h +++ b/keyboards/keebio/quefrency/rev5/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | /* ws2812 RGB LED */ | 26 | /* ws2812 RGB LED */ |
| 27 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 28 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 27 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) |
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/keebio/quefrency/rev5/info.json b/keyboards/keebio/quefrency/rev5/info.json index 15aeef9426..f922b8cb94 100644 --- a/keyboards/keebio/quefrency/rev5/info.json +++ b/keyboards/keebio/quefrency/rev5/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 16, | ||
| 22 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], | 23 | "led_map": [1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8], |
| 23 | "split_count": [8, 8] | 24 | "split_count": [8, 8] |
| 24 | }, | 25 | }, |
diff --git a/keyboards/keebio/rorschach/rev1/config.h b/keyboards/keebio/rorschach/rev1/config.h index 979899d547..f683a1c360 100644 --- a/keyboards/keebio/rorschach/rev1/config.h +++ b/keyboards/keebio/rorschach/rev1/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 12 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/rorschach/rev1/info.json b/keyboards/keebio/rorschach/rev1/info.json index a0b1188a7c..23666a557b 100644 --- a/keyboards/keebio/rorschach/rev1/info.json +++ b/keyboards/keebio/rorschach/rev1/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B5", | 17 | "pin": "B5", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 12 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/keebio/stick/config.h b/keyboards/keebio/stick/config.h index a80bbe7495..1308487070 100644 --- a/keyboards/keebio/stick/config.h +++ b/keyboards/keebio/stick/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* WS2812 RGB LED */ | 20 | /* WS2812 RGB LED */ |
| 21 | # define RGBLED_NUM 12 | ||
| 22 | # define RGBLIGHT_HUE_STEP 8 | 21 | # define RGBLIGHT_HUE_STEP 8 |
| 23 | # define RGBLIGHT_SAT_STEP 8 | 22 | # define RGBLIGHT_SAT_STEP 8 |
| 24 | # define RGBLIGHT_VAL_STEP 8 | 23 | # define RGBLIGHT_VAL_STEP 8 |
| @@ -34,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | # define RGBLIGHT_EFFECT_TWINKLE | 33 | # define RGBLIGHT_EFFECT_TWINKLE |
| 35 | // RGB Matrix | 34 | // RGB Matrix |
| 36 | # ifdef RGB_MATRIX_ENABLE | 35 | # ifdef RGB_MATRIX_ENABLE |
| 37 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 36 | # define RGB_MATRIX_LED_COUNT 12 |
| 38 | // RGB Matrix Animation modes. Explicitly enabled | 37 | // RGB Matrix Animation modes. Explicitly enabled |
| 39 | // For full list of effects, see: | 38 | // For full list of effects, see: |
| 40 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 39 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
diff --git a/keyboards/keebio/stick/info.json b/keyboards/keebio/stick/info.json index 7466a46e8c..0c517b5898 100644 --- a/keyboards/keebio/stick/info.json +++ b/keyboards/keebio/stick/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ] | 18 | ] |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 12, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/keebio/tukey/config.h b/keyboards/keebio/tukey/config.h index 54d3f668a7..9d0eff7a35 100644 --- a/keyboards/keebio/tukey/config.h +++ b/keyboards/keebio/tukey/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/tukey/info.json b/keyboards/keebio/tukey/info.json index 3c4951b407..6a013bc3bb 100644 --- a/keyboards/keebio/tukey/info.json +++ b/keyboards/keebio/tukey/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x1112", | 8 | "pid": "0x1112", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keebio/viterbi/rev1/config.h b/keyboards/keebio/viterbi/rev1/config.h index 204afe952c..18b5d426e4 100644 --- a/keyboards/keebio/viterbi/rev1/config.h +++ b/keyboards/keebio/viterbi/rev1/config.h | |||
| @@ -21,6 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | |||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGBLED_NUM 14 | ||
diff --git a/keyboards/keebio/viterbi/rev1/info.json b/keyboards/keebio/viterbi/rev1/info.json index 19dba27984..a003331f25 100644 --- a/keyboards/keebio/viterbi/rev1/info.json +++ b/keyboards/keebio/viterbi/rev1/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "device_version": "1.0.0" | 8 | "device_version": "1.0.0" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | 10 | "rgblight": { |
| 11 | "led_count": 14, | ||
| 11 | "split_count": [7, 7] | 12 | "split_count": [7, 7] |
| 12 | }, | 13 | }, |
| 13 | "ws2812": { | 14 | "ws2812": { |
diff --git a/keyboards/keebio/viterbi/rev2/config.h b/keyboards/keebio/viterbi/rev2/config.h index 0c858c6164..010fcffc9b 100644 --- a/keyboards/keebio/viterbi/rev2/config.h +++ b/keyboards/keebio/viterbi/rev2/config.h | |||
| @@ -23,6 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_SUPPORT_ENABLE | 23 | #define LOCKING_SUPPORT_ENABLE |
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | |||
| 27 | /* ws2812 RGB LED */ | ||
| 28 | #define RGBLED_NUM 14 | ||
diff --git a/keyboards/keebio/viterbi/rev2/info.json b/keyboards/keebio/viterbi/rev2/info.json index 0dfbc12a17..88ab2cd137 100644 --- a/keyboards/keebio/viterbi/rev2/info.json +++ b/keyboards/keebio/viterbi/rev2/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "levels": 7 | 17 | "levels": 7 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 14, | ||
| 20 | "split_count": [7, 7] | 21 | "split_count": [7, 7] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/keebio/wavelet/config.h b/keyboards/keebio/wavelet/config.h index b6d4d64719..2fd8b7d4d0 100644 --- a/keyboards/keebio/wavelet/config.h +++ b/keyboards/keebio/wavelet/config.h | |||
| @@ -23,6 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_SUPPORT_ENABLE | 23 | #define LOCKING_SUPPORT_ENABLE |
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | |||
| 27 | /* ws2812 RGB LED */ | ||
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
diff --git a/keyboards/keebio/wavelet/info.json b/keyboards/keebio/wavelet/info.json index c40265fc5b..3b88fcdd77 100644 --- a/keyboards/keebio/wavelet/info.json +++ b/keyboards/keebio/wavelet/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B5", | 17 | "pin": "B5", |
| 18 | "levels": 7 | 18 | "levels": 7 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 12 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/keebio/wtf60/config.h b/keyboards/keebio/wtf60/config.h index d2aff68bee..1623483d2a 100644 --- a/keyboards/keebio/wtf60/config.h +++ b/keyboards/keebio/wtf60/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #define AUDIO_PIN C6 | 19 | #define AUDIO_PIN C6 |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 16 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebio/wtf60/info.json b/keyboards/keebio/wtf60/info.json index da393c2843..dee4f90382 100644 --- a/keyboards/keebio/wtf60/info.json +++ b/keyboards/keebio/wtf60/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/keebmonkey/kbmg68/config.h b/keyboards/keebmonkey/kbmg68/config.h index 73dacd2869..2777b11d52 100644 --- a/keyboards/keebmonkey/kbmg68/config.h +++ b/keyboards/keebmonkey/kbmg68/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 68 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebmonkey/kbmg68/info.json b/keyboards/keebmonkey/kbmg68/info.json index 76f2f98ed2..fd2becbe50 100644 --- a/keyboards/keebmonkey/kbmg68/info.json +++ b/keyboards/keebmonkey/kbmg68/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 68, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/keebsforall/coarse60/config.h b/keyboards/keebsforall/coarse60/config.h index 20493f173c..9be0f484f2 100644 --- a/keyboards/keebsforall/coarse60/config.h +++ b/keyboards/keebsforall/coarse60/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 14 | ||
| 29 | #define WS2812_SPI SPID2 | 28 | #define WS2812_SPI SPID2 |
| 30 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 29 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 31 | #define WS2812_SPI_SCK_PAL_MODE 0 | 30 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/keebsforall/coarse60/info.json b/keyboards/keebsforall/coarse60/info.json index 11ec69872f..3085eb90b5 100644 --- a/keyboards/keebsforall/coarse60/info.json +++ b/keyboards/keebsforall/coarse60/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "levels": 6, | 23 | "levels": 6, |
| 24 | "breathing": true | 24 | "breathing": true |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 14 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "B15", | 30 | "pin": "B15", |
| 28 | "driver": "spi" | 31 | "driver": "spi" |
diff --git a/keyboards/keebwerk/nano_slider/config.h b/keyboards/keebwerk/nano_slider/config.h index a67f02b27c..5790a58b03 100644 --- a/keyboards/keebwerk/nano_slider/config.h +++ b/keyboards/keebwerk/nano_slider/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define SLIDER_PIN D4 | 20 | #define SLIDER_PIN D4 |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 4 | ||
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
| 25 | # define RGBLIGHT_VAL_STEP 8 | 24 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keebwerk/nano_slider/info.json b/keyboards/keebwerk/nano_slider/info.json index d47152dc7b..ba1937e832 100644 --- a/keyboards/keebwerk/nano_slider/info.json +++ b/keyboards/keebwerk/nano_slider/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 4, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kegen/gboy/config.h b/keyboards/kegen/gboy/config.h index 2b008e5ca7..9f8fb290d5 100644 --- a/keyboards/kegen/gboy/config.h +++ b/keyboards/kegen/gboy/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kegen/gboy/info.json b/keyboards/kegen/gboy/info.json index f66eefd2da..35f3aa87b1 100644 --- a/keyboards/kegen/gboy/info.json +++ b/keyboards/kegen/gboy/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 15 | 18 | "levels": 15 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 14 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D1" | 24 | "pin": "D1" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/keybage/radpad/config.h b/keyboards/keybage/radpad/config.h index 450380415d..029aa12c95 100644 --- a/keyboards/keybage/radpad/config.h +++ b/keyboards/keybage/radpad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keybage/radpad/info.json b/keyboards/keybage/radpad/info.json index 026f431d5c..f170975f0a 100644 --- a/keyboards/keybage/radpad/info.json +++ b/keyboards/keybage/radpad/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "matrix": [1, 3] | 23 | "matrix": [1, 3] |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 16, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/keycapsss/kimiko/rev1/config.h b/keyboards/keycapsss/kimiko/rev1/config.h index 2ddcf1a143..8e44b27ace 100644 --- a/keyboards/keycapsss/kimiko/rev1/config.h +++ b/keyboards/keycapsss/kimiko/rev1/config.h | |||
| @@ -16,10 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #ifdef RGBLIGHT_ENABLE | ||
| 20 | # define RGBLED_NUM 60 // Total number of LEDs | ||
| 21 | #endif | ||
| 22 | |||
| 23 | // Limit the power draw | 19 | // Limit the power draw |
| 24 | #ifdef IOS_DEVICE_ENABLE | 20 | #ifdef IOS_DEVICE_ENABLE |
| 25 | #define RGBLIGHT_LIMIT_VAL 40 | 21 | #define RGBLIGHT_LIMIT_VAL 40 |
diff --git a/keyboards/keycapsss/kimiko/rev1/info.json b/keyboards/keycapsss/kimiko/rev1/info.json index c9af182427..e0106f4423 100644 --- a/keyboards/keycapsss/kimiko/rev1/info.json +++ b/keyboards/keycapsss/kimiko/rev1/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "soft_serial_pin": "D2" | 22 | "soft_serial_pin": "D2" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 60, | ||
| 25 | "split_count": [30, 30] | 26 | "split_count": [30, 30] |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/keycapsss/o4l_5x12/config.h b/keyboards/keycapsss/o4l_5x12/config.h index 47d71ba911..4fa58a42c9 100644 --- a/keyboards/keycapsss/o4l_5x12/config.h +++ b/keyboards/keycapsss/o4l_5x12/config.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | # define RGBLED_NUM 12 | ||
| 4 | # define RGBLIGHT_HUE_STEP 4 | 3 | # define RGBLIGHT_HUE_STEP 4 |
| 5 | # define RGBLIGHT_SAT_STEP 4 | 4 | # define RGBLIGHT_SAT_STEP 4 |
| 6 | # define RGBLIGHT_VAL_STEP 4 | 5 | # define RGBLIGHT_VAL_STEP 4 |
diff --git a/keyboards/keycapsss/o4l_5x12/info.json b/keyboards/keycapsss/o4l_5x12/info.json index 0766e0a2e4..15be2161d4 100644 --- a/keyboards/keycapsss/o4l_5x12/info.json +++ b/keyboards/keycapsss/o4l_5x12/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0512", | 8 | "pid": "0x0512", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keygem/kg60ansi/config.h b/keyboards/keygem/kg60ansi/config.h index d2cf17fe2b..cf2fe9e01b 100644 --- a/keyboards/keygem/kg60ansi/config.h +++ b/keyboards/keygem/kg60ansi/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 64 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keygem/kg60ansi/info.json b/keyboards/keygem/kg60ansi/info.json index 2d4fa5365b..cf9e7837a8 100644 --- a/keyboards/keygem/kg60ansi/info.json +++ b/keyboards/keygem/kg60ansi/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "F7" | 12 | "pin": "F7" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 64, | ||
| 15 | "max_brightness": 108 | 16 | "max_brightness": 108 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/keygem/kg65rgbv2/config.h b/keyboards/keygem/kg65rgbv2/config.h index ab1fab73ff..cf2fe9e01b 100644 --- a/keyboards/keygem/kg65rgbv2/config.h +++ b/keyboards/keygem/kg65rgbv2/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 68 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/keygem/kg65rgbv2/info.json b/keyboards/keygem/kg65rgbv2/info.json index 8dccdc233d..a0e34eba71 100644 --- a/keyboards/keygem/kg65rgbv2/info.json +++ b/keyboards/keygem/kg65rgbv2/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "F7" | 12 | "pin": "F7" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 68, | ||
| 15 | "max_brightness": 96 | 16 | "max_brightness": 96 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/keyhive/absinthe/config.h b/keyboards/keyhive/absinthe/config.h index 0449ce46b0..7b4910325f 100644 --- a/keyboards/keyhive/absinthe/config.h +++ b/keyboards/keyhive/absinthe/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 32 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keyhive/absinthe/info.json b/keyboards/keyhive/absinthe/info.json index 1d461251e9..c1bcfedba2 100644 --- a/keyboards/keyhive/absinthe/info.json +++ b/keyboards/keyhive/absinthe/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 32, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/keyhive/ergosaurus/config.h b/keyboards/keyhive/ergosaurus/config.h index 822b8104e5..1b2f4d983c 100644 --- a/keyboards/keyhive/ergosaurus/config.h +++ b/keyboards/keyhive/ergosaurus/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 32 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keyhive/ergosaurus/info.json b/keyboards/keyhive/ergosaurus/info.json index 476846b853..98ee6bca70 100644 --- a/keyboards/keyhive/ergosaurus/info.json +++ b/keyboards/keyhive/ergosaurus/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "pin": "B6" | 11 | "pin": "B6" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 32, | ||
| 14 | "max_brightness": 200, | 15 | "max_brightness": 200, |
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
diff --git a/keyboards/keyhive/smallice/config.h b/keyboards/keyhive/smallice/config.h index 8247293e1d..33fe6febfc 100644 --- a/keyboards/keyhive/smallice/config.h +++ b/keyboards/keyhive/smallice/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 12 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keyhive/smallice/info.json b/keyboards/keyhive/smallice/info.json index 8c5cf8f1c8..47c131d2fc 100644 --- a/keyboards/keyhive/smallice/info.json +++ b/keyboards/keyhive/smallice/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/keyhive/uno/rev1/config.h b/keyboards/keyhive/uno/rev1/config.h index 414590f643..2783955239 100644 --- a/keyboards/keyhive/uno/rev1/config.h +++ b/keyboards/keyhive/uno/rev1/config.h | |||
| @@ -17,7 +17,3 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 20 | |||
| 21 | #ifdef RGBLIGHT_ENABLE | ||
| 22 | #define RGBLED_NUM 1 | ||
| 23 | #endif | ||
diff --git a/keyboards/keyhive/uno/rev1/info.json b/keyboards/keyhive/uno/rev1/info.json index 69fe9afd77..7e5030ba2a 100644 --- a/keyboards/keyhive/uno/rev1/info.json +++ b/keyboards/keyhive/uno/rev1/info.json | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | ||
| 7 | "led_count": 1 | ||
| 8 | }, | ||
| 6 | "ws2812": { | 9 | "ws2812": { |
| 7 | "pin": "F6" | 10 | "pin": "F6" |
| 8 | }, | 11 | }, |
diff --git a/keyboards/keyhive/uno/rev2/config.h b/keyboards/keyhive/uno/rev2/config.h index 414590f643..2783955239 100644 --- a/keyboards/keyhive/uno/rev2/config.h +++ b/keyboards/keyhive/uno/rev2/config.h | |||
| @@ -17,7 +17,3 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 20 | |||
| 21 | #ifdef RGBLIGHT_ENABLE | ||
| 22 | #define RGBLED_NUM 1 | ||
| 23 | #endif | ||
diff --git a/keyboards/keyhive/uno/rev2/info.json b/keyboards/keyhive/uno/rev2/info.json index 0af41bab77..cfa07576da 100644 --- a/keyboards/keyhive/uno/rev2/info.json +++ b/keyboards/keyhive/uno/rev2/info.json | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | "usb": { | 3 | "usb": { |
| 4 | "device_version": "0.0.2" | 4 | "device_version": "0.0.2" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | ||
| 7 | "led_count": 1 | ||
| 8 | }, | ||
| 6 | "ws2812": { | 9 | "ws2812": { |
| 7 | "pin": "D1" | 10 | "pin": "D1" |
| 8 | }, | 11 | }, |
diff --git a/keyboards/keyhive/ut472/config.h b/keyboards/keyhive/ut472/config.h index 5ab9348126..1455dfdcc4 100644 --- a/keyboards/keyhive/ut472/config.h +++ b/keyboards/keyhive/ut472/config.h | |||
| @@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 8 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 34 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 35 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 36 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keyhive/ut472/info.json b/keyboards/keyhive/ut472/info.json index 9755bd6569..a4354cd1f1 100644 --- a/keyboards/keyhive/ut472/info.json +++ b/keyboards/keyhive/ut472/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0472", | 8 | "pid": "0x0472", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C6" | 15 | "pin": "C6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keyquest/enclave/config.h b/keyboards/keyquest/enclave/config.h index 24ee223fce..1b8d4181e1 100644 --- a/keyboards/keyquest/enclave/config.h +++ b/keyboards/keyquest/enclave/config.h | |||
| @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 14 | #pragma once | 14 | #pragma once |
| 15 | 15 | ||
| 16 | /* RGB light setup*/ | 16 | /* RGB light setup*/ |
| 17 | #define RGBLED_NUM 2 | ||
| 18 | #define RGBLIGHT_HUE_STEP 10 | 17 | #define RGBLIGHT_HUE_STEP 10 |
| 19 | #define RGBLIGHT_SAT_STEP 17 | 18 | #define RGBLIGHT_SAT_STEP 17 |
| 20 | #define RGBLIGHT_VAL_STEP 17 | 19 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/keyquest/enclave/info.json b/keyboards/keyquest/enclave/info.json index 9b3e5faf7c..2258cf5eff 100644 --- a/keyboards/keyquest/enclave/info.json +++ b/keyboards/keyquest/enclave/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "pin": "B5" | 11 | "pin": "B5" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 2, | ||
| 14 | "max_brightness": 200, | 15 | "max_brightness": 200, |
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
diff --git a/keyboards/keysofkings/twokey/config.h b/keyboards/keysofkings/twokey/config.h index 6fea0e2cb6..29c0d69b05 100755 --- a/keyboards/keysofkings/twokey/config.h +++ b/keyboards/keysofkings/twokey/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 5 | ||
| 37 | #define RGBLIGHT_HUE_STEP 4 | 36 | #define RGBLIGHT_HUE_STEP 4 |
| 38 | #define RGBLIGHT_SAT_STEP 4 | 37 | #define RGBLIGHT_SAT_STEP 4 |
| 39 | #define RGBLIGHT_VAL_STEP 4 | 38 | #define RGBLIGHT_VAL_STEP 4 |
diff --git a/keyboards/keysofkings/twokey/info.json b/keyboards/keysofkings/twokey/info.json index 8040b94fac..cd9c4b9ed1 100644 --- a/keyboards/keysofkings/twokey/info.json +++ b/keyboards/keysofkings/twokey/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAE12", | 8 | "pid": "0xAE12", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 5 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/keystonecaps/gameroyadvance/config.h b/keyboards/keystonecaps/gameroyadvance/config.h index adca3366f2..c0e4a7daaf 100644 --- a/keyboards/keystonecaps/gameroyadvance/config.h +++ b/keyboards/keystonecaps/gameroyadvance/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 0 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/keystonecaps/gameroyadvance/info.json b/keyboards/keystonecaps/gameroyadvance/info.json index 884bc706e4..118ce4ed41 100644 --- a/keyboards/keystonecaps/gameroyadvance/info.json +++ b/keyboards/keystonecaps/gameroyadvance/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B5", "pin_b": "B4"} | 18 | {"pin_a": "B5", "pin_b": "B4"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 0 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "C7" | 25 | "pin": "C7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kikoslab/ellora65/config.h b/keyboards/kikoslab/ellora65/config.h deleted file mode 100644 index c6fba5ebcf..0000000000 --- a/keyboards/kikoslab/ellora65/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Swiftrax <swiftrax@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /*RGB TINGS*/ | ||
| 21 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/kikoslab/ellora65/info.json b/keyboards/kikoslab/ellora65/info.json index 5f3646476b..0ab7f7015a 100644 --- a/keyboards/kikoslab/ellora65/info.json +++ b/keyboards/kikoslab/ellora65/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B0", "pin_b": "B1"} | 18 | {"pin_a": "B0", "pin_b": "B1"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 12 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "E6" | 25 | "pin": "E6" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kingly_keys/ave/config.h b/keyboards/kingly_keys/ave/config.h index af9ffae03d..8d024b26a5 100644 --- a/keyboards/kingly_keys/ave/config.h +++ b/keyboards/kingly_keys/ave/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #if defined(RGBLIGHT_ENABLE) | 20 | #if defined(RGBLIGHT_ENABLE) |
| 21 | # define RGBLED_NUM 2 | ||
| 22 | # define RGBLIGHT_EFFECT_BREATHING | 21 | # define RGBLIGHT_EFFECT_BREATHING |
| 23 | #endif | 22 | #endif |
| 24 | 23 | ||
diff --git a/keyboards/kingly_keys/ave/ortho/info.json b/keyboards/kingly_keys/ave/ortho/info.json index 0de5b82bdd..c3fb2f83d5 100644 --- a/keyboards/kingly_keys/ave/ortho/info.json +++ b/keyboards/kingly_keys/ave/ortho/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B2", "pin_b": "B1"} | 18 | {"pin_a": "B2", "pin_b": "B1"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 2 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B7" | 25 | "pin": "B7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kingly_keys/ave/staggered/info.json b/keyboards/kingly_keys/ave/staggered/info.json index b3795f8101..9a86093a72 100644 --- a/keyboards/kingly_keys/ave/staggered/info.json +++ b/keyboards/kingly_keys/ave/staggered/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B2", "pin_b": "B1"} | 18 | {"pin_a": "B2", "pin_b": "B1"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 2 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B7" | 25 | "pin": "B7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kingly_keys/little_foot/config.h b/keyboards/kingly_keys/little_foot/config.h index fe391e91a1..60ad9c31a4 100644 --- a/keyboards/kingly_keys/little_foot/config.h +++ b/keyboards/kingly_keys/little_foot/config.h | |||
| @@ -22,9 +22,6 @@ | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGBLED_NUM 10 // Number of LEDs | ||
| 27 | |||
| 28 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kingly_keys/little_foot/info.json b/keyboards/kingly_keys/little_foot/info.json index c3dfe66910..b5fc1c8474 100644 --- a/keyboards/kingly_keys/little_foot/info.json +++ b/keyboards/kingly_keys/little_foot/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 10 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "F4" | 16 | "pin": "F4" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/kingly_keys/romac/config.h b/keyboards/kingly_keys/romac/config.h index 0f5a7a6d7f..9cc6a85e97 100644 --- a/keyboards/kingly_keys/romac/config.h +++ b/keyboards/kingly_keys/romac/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | /* Locking resynchronize hack */ | 6 | /* Locking resynchronize hack */ |
| 7 | #define LOCKING_RESYNC_ENABLE | 7 | #define LOCKING_RESYNC_ENABLE |
| 8 | 8 | ||
| 9 | #define RGBLED_NUM 0 | ||
| 10 | #define RGBLIGHT_HUE_STEP 8 | 9 | #define RGBLIGHT_HUE_STEP 8 |
| 11 | #define RGBLIGHT_SAT_STEP 8 | 10 | #define RGBLIGHT_SAT_STEP 8 |
| 12 | #define RGBLIGHT_VAL_STEP 8 | 11 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kingly_keys/romac_plus/config.h b/keyboards/kingly_keys/romac_plus/config.h index 2d715dbe51..bf865825ff 100644 --- a/keyboards/kingly_keys/romac_plus/config.h +++ b/keyboards/kingly_keys/romac_plus/config.h | |||
| @@ -6,9 +6,6 @@ | |||
| 6 | /* Locking resynchronize hack */ | 6 | /* Locking resynchronize hack */ |
| 7 | #define LOCKING_RESYNC_ENABLE | 7 | #define LOCKING_RESYNC_ENABLE |
| 8 | 8 | ||
| 9 | /* ws2812 RGB LED */ | ||
| 10 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 11 | |||
| 12 | #define RGBLIGHT_EFFECT_BREATHING | 9 | #define RGBLIGHT_EFFECT_BREATHING |
| 13 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 10 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 14 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 11 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kingly_keys/romac_plus/info.json b/keyboards/kingly_keys/romac_plus/info.json index a5bb27e397..b0f88b87ba 100644 --- a/keyboards/kingly_keys/romac_plus/info.json +++ b/keyboards/kingly_keys/romac_plus/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B3", "pin_b": "B2"} | 18 | {"pin_a": "B3", "pin_b": "B2"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 4 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F7" | 25 | "pin": "F7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kingly_keys/ropro/config.h b/keyboards/kingly_keys/ropro/config.h index 3dba502238..8d94471592 100644 --- a/keyboards/kingly_keys/ropro/config.h +++ b/keyboards/kingly_keys/ropro/config.h | |||
| @@ -22,8 +22,6 @@ | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 18 | ||
| 26 | |||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kingly_keys/ropro/info.json b/keyboards/kingly_keys/ropro/info.json index ad77ae5608..598598b100 100644 --- a/keyboards/kingly_keys/ropro/info.json +++ b/keyboards/kingly_keys/ropro/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "B7", "pin_b": "D5"} | 18 | {"pin_a": "B7", "pin_b": "D5"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 18 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D3" | 25 | "pin": "D3" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kingly_keys/smd_milk/config.h b/keyboards/kingly_keys/smd_milk/config.h index cb3fcd2e0d..829fc10db8 100644 --- a/keyboards/kingly_keys/smd_milk/config.h +++ b/keyboards/kingly_keys/smd_milk/config.h | |||
| @@ -21,9 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | /* ws2812 RGB LED */ | ||
| 25 | #define RGBLED_NUM 4 // Number of LEDs | ||
| 26 | |||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kingly_keys/smd_milk/info.json b/keyboards/kingly_keys/smd_milk/info.json index d2f408e51f..fcb039b7c7 100644 --- a/keyboards/kingly_keys/smd_milk/info.json +++ b/keyboards/kingly_keys/smd_milk/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 4 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B3" | 16 | "pin": "B3" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/kingly_keys/soap/config.h b/keyboards/kingly_keys/soap/config.h index 682f1a7531..adce2a42d5 100644 --- a/keyboards/kingly_keys/soap/config.h +++ b/keyboards/kingly_keys/soap/config.h | |||
| @@ -30,4 +30,3 @@ | |||
| 30 | #define RGBLIGHT_EFFECT_RGB_TEST | 30 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 31 | #define RGBLIGHT_EFFECT_ALTERNATING | 31 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 32 | #define RGBLIGHT_EFFECT_TWINKLE | 32 | #define RGBLIGHT_EFFECT_TWINKLE |
| 33 | #define RGBLED_NUM 3 | ||
diff --git a/keyboards/kingly_keys/soap/info.json b/keyboards/kingly_keys/soap/info.json index b10260aa0b..74a51ead57 100644 --- a/keyboards/kingly_keys/soap/info.json +++ b/keyboards/kingly_keys/soap/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0003", | 8 | "pid": "0x0003", |
| 9 | "device_version": "0.0.4" | 9 | "device_version": "0.0.4" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 3 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B6" | 15 | "pin": "B6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kira75/config.h b/keyboards/kira75/config.h index b51a90cb7e..8d1b1dad39 100644 --- a/keyboards/kira75/config.h +++ b/keyboards/kira75/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 18 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kira75/info.json b/keyboards/kira75/info.json index 48e4bdf85e..d52e375cbb 100644 --- a/keyboards/kira75/info.json +++ b/keyboards/kira75/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 18 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/kiwikey/borderland/config.h b/keyboards/kiwikey/borderland/config.h index e4a2d7f68a..d5da66cb68 100644 --- a/keyboards/kiwikey/borderland/config.h +++ b/keyboards/kiwikey/borderland/config.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | 5 | ||
| 6 | #define TAP_CODE_DELAY 10 | 6 | #define TAP_CODE_DELAY 10 |
| 7 | 7 | ||
| 8 | #define RGBLED_NUM 18 | ||
| 9 | #define RGBLIGHT_HUE_STEP 8 | 8 | #define RGBLIGHT_HUE_STEP 8 |
| 10 | #define RGBLIGHT_SAT_STEP 8 | 9 | #define RGBLIGHT_SAT_STEP 8 |
| 11 | #define RGBLIGHT_VAL_STEP 8 | 10 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kiwikey/borderland/info.json b/keyboards/kiwikey/borderland/info.json index 7ecd81e07b..b5f4af07a9 100644 --- a/keyboards/kiwikey/borderland/info.json +++ b/keyboards/kiwikey/borderland/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "F5", "pin_b": "F6"} | 18 | {"pin_a": "F5", "pin_b": "F6"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 18 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B2" | 25 | "pin": "B2" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/kiwikey/kawii9/config.h b/keyboards/kiwikey/kawii9/config.h index 6a4a90e77f..c0aea17206 100644 --- a/keyboards/kiwikey/kawii9/config.h +++ b/keyboards/kiwikey/kawii9/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kiwikey/kawii9/info.json b/keyboards/kiwikey/kawii9/info.json index 7537e7fe8a..87995d7955 100644 --- a/keyboards/kiwikey/kawii9/info.json +++ b/keyboards/kiwikey/kawii9/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0303", | 8 | "pid": "0x0303", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kiwikey/wanderland/config.h b/keyboards/kiwikey/wanderland/config.h index 6ff8c526fc..250c0defd0 100644 --- a/keyboards/kiwikey/wanderland/config.h +++ b/keyboards/kiwikey/wanderland/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kiwikey/wanderland/info.json b/keyboards/kiwikey/wanderland/info.json index b41eb189f9..906116e0b2 100644 --- a/keyboards/kiwikey/wanderland/info.json +++ b/keyboards/kiwikey/wanderland/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 18, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kona_classic/config.h b/keyboards/kona_classic/config.h index dd6631f545..363e1d894a 100644 --- a/keyboards/kona_classic/config.h +++ b/keyboards/kona_classic/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 30 // Number of LEDs | ||
| 33 | #define RGBLIGHT_HUE_STEP 5 | 32 | #define RGBLIGHT_HUE_STEP 5 |
| 34 | #define RGBLIGHT_SAT_STEP 10 | 33 | #define RGBLIGHT_SAT_STEP 10 |
| 35 | #define RGBLIGHT_VAL_STEP 10 | 34 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/kona_classic/info.json b/keyboards/kona_classic/info.json index bc79963cb1..61f8c9c2ca 100644 --- a/keyboards/kona_classic/info.json +++ b/keyboards/kona_classic/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 30 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B2" | 15 | "pin": "B2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kopibeng/mnk88/config.h b/keyboards/kopibeng/mnk88/config.h index 50711479bc..e08e78d79c 100644 --- a/keyboards/kopibeng/mnk88/config.h +++ b/keyboards/kopibeng/mnk88/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 20 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kopibeng/mnk88/info.json b/keyboards/kopibeng/mnk88/info.json index 4b37d664dc..068d849a4d 100644 --- a/keyboards/kopibeng/mnk88/info.json +++ b/keyboards/kopibeng/mnk88/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "A10" | 12 | "pin": "A10" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 20, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/kopibeng/xt60/config.h b/keyboards/kopibeng/xt60/config.h index c3cda1644c..f64c2ccb8f 100644 --- a/keyboards/kopibeng/xt60/config.h +++ b/keyboards/kopibeng/xt60/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 14 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kopibeng/xt60/info.json b/keyboards/kopibeng/xt60/info.json index 343e555620..1a6c74d6a6 100644 --- a/keyboards/kopibeng/xt60/info.json +++ b/keyboards/kopibeng/xt60/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kopibeng/xt60_singa/config.h b/keyboards/kopibeng/xt60_singa/config.h index c3cda1644c..f64c2ccb8f 100644 --- a/keyboards/kopibeng/xt60_singa/config.h +++ b/keyboards/kopibeng/xt60_singa/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 14 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kopibeng/xt60_singa/info.json b/keyboards/kopibeng/xt60_singa/info.json index 52fd82b69a..615fa76900 100644 --- a/keyboards/kopibeng/xt60_singa/info.json +++ b/keyboards/kopibeng/xt60_singa/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/kopibeng/xt65/config.h b/keyboards/kopibeng/xt65/config.h index 85079802b6..dd2eca9807 100644 --- a/keyboards/kopibeng/xt65/config.h +++ b/keyboards/kopibeng/xt65/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 12 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kopibeng/xt65/info.json b/keyboards/kopibeng/xt65/info.json index cd724d34d8..d97b755f96 100644 --- a/keyboards/kopibeng/xt65/info.json +++ b/keyboards/kopibeng/xt65/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "D5" | 21 | "pin": "D5" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 12, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/kopibeng/xt8x/config.h b/keyboards/kopibeng/xt8x/config.h index 5210c8fadf..650623f0d9 100644 --- a/keyboards/kopibeng/xt8x/config.h +++ b/keyboards/kopibeng/xt8x/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #define INDICATOR_PIN_0 B13 | 19 | #define INDICATOR_PIN_0 B13 |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 19 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kopibeng/xt8x/info.json b/keyboards/kopibeng/xt8x/info.json index e9db42d939..37e3dd6e6f 100644 --- a/keyboards/kopibeng/xt8x/info.json +++ b/keyboards/kopibeng/xt8x/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "A10" | 21 | "pin": "A10" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 19, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/kprepublic/bm16s/config.h b/keyboards/kprepublic/bm16s/config.h index fb73fedb04..de59f7015c 100755 --- a/keyboards/kprepublic/bm16s/config.h +++ b/keyboards/kprepublic/bm16s/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 16 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kprepublic/bm16s/info.json b/keyboards/kprepublic/bm16s/info.json index 262ce39fba..6aae3c48eb 100644 --- a/keyboards/kprepublic/bm16s/info.json +++ b/keyboards/kprepublic/bm16s/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x016B", | 8 | "pid": "0x016B", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E2" | 15 | "pin": "E2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/kprepublic/bm43a/config.h b/keyboards/kprepublic/bm43a/config.h index c1e97c7dec..6295678002 100644 --- a/keyboards/kprepublic/bm43a/config.h +++ b/keyboards/kprepublic/bm43a/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kprepublic/bm43a/info.json b/keyboards/kprepublic/bm43a/info.json index 0d33a5ddbb..1934d3d4da 100644 --- a/keyboards/kprepublic/bm43a/info.json +++ b/keyboards/kprepublic/bm43a/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E2" | 21 | "pin": "E2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 10, | ||
| 24 | "max_brightness": 180, | 25 | "max_brightness": 180, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/kprepublic/bm43hsrgb/config.h b/keyboards/kprepublic/bm43hsrgb/config.h index 8f72c8fb8d..afd1de3211 100755 --- a/keyboards/kprepublic/bm43hsrgb/config.h +++ b/keyboards/kprepublic/bm43hsrgb/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 53 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kprepublic/bm43hsrgb/info.json b/keyboards/kprepublic/bm43hsrgb/info.json index 0b0cbd01f5..6f00b3d1aa 100755 --- a/keyboards/kprepublic/bm43hsrgb/info.json +++ b/keyboards/kprepublic/bm43hsrgb/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "E2" | 12 | "pin": "E2" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 53, | ||
| 15 | "max_brightness": 180, | 16 | "max_brightness": 180, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/config.h b/keyboards/kprepublic/bm60hsrgb/rev1/config.h index eebd3381d5..6a3bee5a52 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev1/config.h +++ b/keyboards/kprepublic/bm60hsrgb/rev1/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGB_MATRIX_LED_COUNT 69 | 20 | #define RGB_MATRIX_LED_COUNT 69 |
| 21 | # define RGBLED_NUM 69 | ||
| 22 | # define RGB_MATRIX_KEYPRESSES | 21 | # define RGB_MATRIX_KEYPRESSES |
| 23 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 24 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value | 23 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value |
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/config.h b/keyboards/kprepublic/bm60hsrgb/rev2/config.h index c2aafb9adc..bb35256190 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb/rev2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | //rgb light setting | 18 | //rgb light setting |
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/info.json b/keyboards/kprepublic/bm60hsrgb/rev2/info.json index bb6533b823..1ec6bb9ab9 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb/rev2/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "custom" | 15 | "driver": "custom" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 6, | ||
| 18 | "max_brightness": 150 | 19 | "max_brightness": 150 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h b/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h index a11d579239..2f02594e15 100644 --- a/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h +++ b/keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGB_MATRIX_LED_COUNT 69 | 19 | #define RGB_MATRIX_LED_COUNT 69 |
| 20 | #define RGBLED_NUM 69 | ||
| 21 | #define RGB_MATRIX_KEYPRESSES | 20 | #define RGB_MATRIX_KEYPRESSES |
| 22 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 140 | 21 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 140 |
| 23 | #define RGB_MATRIX_KEYPRESSES | 22 | #define RGB_MATRIX_KEYPRESSES |
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h index 1cc17d6c86..f3d8b14684 100644 --- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | //rgb light setting | 18 | //rgb light setting |
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json index d91f6a8531..0b7d8d2c68 100644 --- a/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb_ec/rev2/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "IS31FL3733" | 15 | "driver": "IS31FL3733" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 6, | ||
| 18 | "max_brightness": 150 | 19 | "max_brightness": 150 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h b/keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h index 506610a5e8..96e838b253 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGB_MATRIX_LED_COUNT 70 | 20 | #define RGB_MATRIX_LED_COUNT 70 |
| 21 | # define RGBLED_NUM 70 | ||
| 22 | # define RGB_MATRIX_KEYPRESSES | 21 | # define RGB_MATRIX_KEYPRESSES |
| 23 | // #define RGBLIGHT_HUE_STEP 8 | 22 | // #define RGBLIGHT_HUE_STEP 8 |
| 24 | // #define RGBLIGHT_SAT_STEP 8 | 23 | // #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev1/info.json b/keyboards/kprepublic/bm60hsrgb_iso/rev1/info.json index 6e9256523f..800ff0de31 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev1/info.json +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev1/info.json | |||
| @@ -14,9 +14,6 @@ | |||
| 14 | "rgb_matrix": { | 14 | "rgb_matrix": { |
| 15 | "driver": "WS2812" | 15 | "driver": "WS2812" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "max_brightness": 180 | ||
| 19 | }, | ||
| 20 | "matrix_pins": { | 17 | "matrix_pins": { |
| 21 | "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], | 18 | "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], |
| 22 | "rows": ["B0", "B1", "B2", "B3", "E6"] | 19 | "rows": ["B0", "B1", "B2", "B3", "E6"] |
diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h index 7af983c5e7..ee4f4a979f 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | //rgb light setting | 20 | //rgb light setting |
| 21 | #define RGBLED_NUM 6 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -106,7 +105,7 @@ | |||
| 106 | #ifdef RGBLIGHT_ENABLE | 105 | #ifdef RGBLIGHT_ENABLE |
| 107 | # define WS2812_LED_TOTAL 0 | 106 | # define WS2812_LED_TOTAL 0 |
| 108 | #else | 107 | #else |
| 109 | # define WS2812_LED_TOTAL RGBLED_NUM | 108 | # define WS2812_LED_TOTAL 6 |
| 110 | #endif | 109 | #endif |
| 111 | 110 | ||
| 112 | #define RGB_MATRIX_LED_COUNT (ISSI_LED_TOTAL + WS2812_LED_TOTAL) | 111 | #define RGB_MATRIX_LED_COUNT (ISSI_LED_TOTAL + WS2812_LED_TOTAL) |
diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json index 6326d871df..701a5bca19 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "custom" | 15 | "driver": "custom" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 6, | ||
| 18 | "max_brightness": 150 | 19 | "max_brightness": 150 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h b/keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h index 5cbf2ce5e9..c0a30e5125 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGB_MATRIX_LED_COUNT 67 | 20 | #define RGB_MATRIX_LED_COUNT 67 |
| 21 | #define RGBLED_NUM 67 | ||
| 22 | #define RGB_MATRIX_KEYPRESSES | 21 | #define RGB_MATRIX_KEYPRESSES |
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json b/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json index d74223e107..11aa2657e6 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "WS2812" | 15 | "driver": "WS2812" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 67, | ||
| 18 | "max_brightness": 180, | 19 | "max_brightness": 180, |
| 19 | "sleep": true | 20 | "sleep": true |
| 20 | }, | 21 | }, |
diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h index 2feead3386..12111c48f1 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | //rgb light setting | 18 | //rgb light setting |
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -102,7 +101,7 @@ | |||
| 102 | #ifdef RGBLIGHT_ENABLE | 101 | #ifdef RGBLIGHT_ENABLE |
| 103 | # define WS2812_LED_TOTAL 0 | 102 | # define WS2812_LED_TOTAL 0 |
| 104 | #else | 103 | #else |
| 105 | # define WS2812_LED_TOTAL RGBLED_NUM | 104 | # define WS2812_LED_TOTAL 6 |
| 106 | #endif | 105 | #endif |
| 107 | 106 | ||
| 108 | #define RGB_MATRIX_LED_COUNT (ISSI_LED_TOTAL + WS2812_LED_TOTAL) | 107 | #define RGB_MATRIX_LED_COUNT (ISSI_LED_TOTAL + WS2812_LED_TOTAL) |
diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json b/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json index 01d09b5946..0adf611aae 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "custom" | 15 | "driver": "custom" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 6, | ||
| 18 | "max_brightness": 150 | 19 | "max_brightness": 150 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/kprepublic/bm65hsrgb/rev1/config.h b/keyboards/kprepublic/bm65hsrgb/rev1/config.h index e2522723fc..ef410e9441 100644 --- a/keyboards/kprepublic/bm65hsrgb/rev1/config.h +++ b/keyboards/kprepublic/bm65hsrgb/rev1/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | // The number of LEDs connected | 20 | // The number of LEDs connected |
| 21 | #define RGB_MATRIX_LED_COUNT 73 | 21 | #define RGB_MATRIX_LED_COUNT 73 |
| 22 | #define RGBLED_NUM 73 | ||
| 23 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 22 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 24 | 23 | ||
| 25 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h index 235f11eef9..8718c066d0 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGB_MATRIX_LED_COUNT 74 | 20 | #define RGB_MATRIX_LED_COUNT 74 |
| 21 | #define RGBLED_NUM 74 | ||
| 22 | #define RGB_MATRIX_KEYPRESSES | 21 | #define RGB_MATRIX_KEYPRESSES |
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json b/keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json index e1205e248b..30c75e448a 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 74, | ||
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
| 15 | "ws2812": { | 16 | "ws2812": { |
diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/config.h b/keyboards/kprepublic/bm68hsrgb/rev1/config.h index cef5a0939b..a3ef1df3b3 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev1/config.h +++ b/keyboards/kprepublic/bm68hsrgb/rev1/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | // The number of LEDs connected | 20 | // The number of LEDs connected |
| 21 | #define RGB_MATRIX_LED_COUNT 74 | 21 | #define RGB_MATRIX_LED_COUNT 74 |
| 22 | # define RGBLED_NUM 74 | ||
| 23 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 22 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 24 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
| 25 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value | 24 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value |
diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/info.json b/keyboards/kprepublic/bm68hsrgb/rev1/info.json index b3747af5b1..a965121f64 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev1/info.json +++ b/keyboards/kprepublic/bm68hsrgb/rev1/info.json | |||
| @@ -14,9 +14,6 @@ | |||
| 14 | "rgb_matrix": { | 14 | "rgb_matrix": { |
| 15 | "driver": "WS2812" | 15 | "driver": "WS2812" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "max_brightness": 180 | ||
| 19 | }, | ||
| 20 | "matrix_pins": { | 17 | "matrix_pins": { |
| 21 | "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], | 18 | "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"], |
| 22 | "rows": ["B0", "B1", "B2", "B3", "E6"] | 19 | "rows": ["B0", "B1", "B2", "B3", "E6"] |
diff --git a/keyboards/kprepublic/bm68hsrgb/rev2/config.h b/keyboards/kprepublic/bm68hsrgb/rev2/config.h index 53aabdaf94..2ea220c70c 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev2/config.h +++ b/keyboards/kprepublic/bm68hsrgb/rev2/config.h | |||
| @@ -16,9 +16,6 @@ | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define USB_POLLING_INTERVAL_MS 1 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 6 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kprepublic/bm68hsrgb/rev2/info.json b/keyboards/kprepublic/bm68hsrgb/rev2/info.json index b7c827e0ea..263e132e2e 100644 --- a/keyboards/kprepublic/bm68hsrgb/rev2/info.json +++ b/keyboards/kprepublic/bm68hsrgb/rev2/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "IS31FL3741" | 15 | "driver": "IS31FL3741" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 6, | ||
| 18 | "max_brightness": 150 | 19 | "max_brightness": 150 |
| 19 | }, | 20 | }, |
| 20 | "matrix_pins": { | 21 | "matrix_pins": { |
diff --git a/keyboards/kprepublic/bm80hsrgb/config.h b/keyboards/kprepublic/bm80hsrgb/config.h index a9ba033fb0..fdd928e6fe 100644 --- a/keyboards/kprepublic/bm80hsrgb/config.h +++ b/keyboards/kprepublic/bm80hsrgb/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | // The number of LEDs connected | 20 | // The number of LEDs connected |
| 21 | #define RGB_MATRIX_LED_COUNT 87 | 21 | #define RGB_MATRIX_LED_COUNT 87 |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 87 | ||
| 24 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 23 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 25 | //#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 24 | //#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 26 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 25 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
diff --git a/keyboards/kprepublic/bm980hsrgb/config.h b/keyboards/kprepublic/bm980hsrgb/config.h index 7ecc626803..73c222c113 100644 --- a/keyboards/kprepublic/bm980hsrgb/config.h +++ b/keyboards/kprepublic/bm980hsrgb/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | // The number of LEDs connected | 20 | // The number of LEDs connected |
| 21 | #define RGB_MATRIX_LED_COUNT 98 | 21 | #define RGB_MATRIX_LED_COUNT 98 |
| 22 | # define RGBLED_NUM 98 | ||
| 23 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 22 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 24 | //#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 23 | //#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 25 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 24 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h index ef9be1f6f4..63dba82432 100644 --- a/keyboards/kprepublic/cospad/config.h +++ b/keyboards/kprepublic/cospad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | // #define RGBLIGHT_HUE_STEP 8 | 20 | // #define RGBLIGHT_HUE_STEP 8 |
| 22 | // #define RGBLIGHT_SAT_STEP 8 | 21 | // #define RGBLIGHT_SAT_STEP 8 |
| 23 | // #define RGBLIGHT_VAL_STEP 8 | 22 | // #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/info.json index fefd60be79..90b9dab4a1 100644 --- a/keyboards/kprepublic/cospad/info.json +++ b/keyboards/kprepublic/cospad/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 4, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/kprepublic/jj40/config.h b/keyboards/kprepublic/jj40/config.h index d77984fc69..d9bc6bc9fb 100644 --- a/keyboards/kprepublic/jj40/config.h +++ b/keyboards/kprepublic/jj40/config.h | |||
| @@ -15,8 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | /* RGB underglow */ | 17 | /* RGB underglow */ |
| 18 | // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. | ||
| 19 | #define RGBLED_NUM 5 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 18 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json index 2627ffbff9..e42de6f271 100644 --- a/keyboards/kprepublic/jj40/info.json +++ b/keyboards/kprepublic/jj40/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "levels": 12, | 19 | "levels": 12, |
| 20 | "breathing": true | 20 | "breathing": true |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 5 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "driver": "i2c" | 26 | "driver": "i2c" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/kprepublic/jj4x4/config.h b/keyboards/kprepublic/jj4x4/config.h index 5646d4c653..2e1fefef99 100644 --- a/keyboards/kprepublic/jj4x4/config.h +++ b/keyboards/kprepublic/jj4x4/config.h | |||
| @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB underglow */ | 20 | /* RGB underglow */ |
| 21 | // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. | ||
| 22 | #define RGBLED_NUM 4 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json index fce30c67b0..35a4de519f 100644 --- a/keyboards/kprepublic/jj4x4/info.json +++ b/keyboards/kprepublic/jj4x4/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "levels": 12, | 19 | "levels": 12, |
| 20 | "breathing": true | 20 | "breathing": true |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 4 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "driver": "i2c" | 26 | "driver": "i2c" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/kprepublic/jj50/config.h b/keyboards/kprepublic/jj50/config.h index 3220fd6477..81f567f8e0 100644 --- a/keyboards/kprepublic/jj50/config.h +++ b/keyboards/kprepublic/jj50/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #pragma once | 21 | #pragma once |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 12 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json index a83d42ab6a..8cccf2b588 100644 --- a/keyboards/kprepublic/jj50/info.json +++ b/keyboards/kprepublic/jj50/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 12, | 18 | "levels": 12, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 12 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "driver": "i2c" | 25 | "driver": "i2c" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/ktec/daisy/config.h b/keyboards/ktec/daisy/config.h index bb568aef38..401511982b 100644 --- a/keyboards/ktec/daisy/config.h +++ b/keyboards/ktec/daisy/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 8 | ||
| 21 | # define RGBLIGHT_HUE_STEP 12 | 20 | # define RGBLIGHT_HUE_STEP 12 |
| 22 | # define RGBLIGHT_SAT_STEP 25 | 21 | # define RGBLIGHT_SAT_STEP 25 |
| 23 | # define RGBLIGHT_VAL_STEP 12 | 22 | # define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/ktec/daisy/info.json b/keyboards/ktec/daisy/info.json index ddd45dae05..0b7d7d83d5 100644 --- a/keyboards/ktec/daisy/info.json +++ b/keyboards/ktec/daisy/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "C6", | 21 | "caps_lock": "C6", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 8 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "C7" | 28 | "pin": "C7" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/ktec/staryu/config.h b/keyboards/ktec/staryu/config.h index 31f2930ac1..58fa32d052 100755 --- a/keyboards/ktec/staryu/config.h +++ b/keyboards/ktec/staryu/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 1 // Number of LEDs | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/info.json index 3600de0c35..da277a0ae0 100644 --- a/keyboards/ktec/staryu/info.json +++ b/keyboards/ktec/staryu/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "pin": "C6" | 19 | "pin": "C6" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 1, | ||
| 22 | "max_brightness": 200 | 23 | "max_brightness": 200 |
| 23 | }, | 24 | }, |
| 24 | "processor": "atmega32u2", | 25 | "processor": "atmega32u2", |
diff --git a/keyboards/kudox/columner/config.h b/keyboards/kudox/columner/config.h index 7506090b1e..5a73136286 100644 --- a/keyboards/kudox/columner/config.h +++ b/keyboards/kudox/columner/config.h | |||
| @@ -21,8 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #undef RGBLED_NUM | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox/columner/info.json b/keyboards/kudox/columner/info.json index 7c106b1448..61ccbcde1a 100644 --- a/keyboards/kudox/columner/info.json +++ b/keyboards/kudox/columner/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/kudox/rev1/config.h b/keyboards/kudox/rev1/config.h index 80ac84c64f..2f5a7ceafe 100644 --- a/keyboards/kudox/rev1/config.h +++ b/keyboards/kudox/rev1/config.h | |||
| @@ -21,8 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #undef RGBLED_NUM | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox/rev1/info.json b/keyboards/kudox/rev1/info.json index efb55bb989..815e53f2f2 100644 --- a/keyboards/kudox/rev1/info.json +++ b/keyboards/kudox/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/kudox/rev2/config.h b/keyboards/kudox/rev2/config.h index 80ac84c64f..2f5a7ceafe 100644 --- a/keyboards/kudox/rev2/config.h +++ b/keyboards/kudox/rev2/config.h | |||
| @@ -21,8 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #undef RGBLED_NUM | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox/rev2/info.json b/keyboards/kudox/rev2/info.json index 9dab738c38..37ceadaea4 100644 --- a/keyboards/kudox/rev2/info.json +++ b/keyboards/kudox/rev2/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/kudox/rev3/config.h b/keyboards/kudox/rev3/config.h index 7506090b1e..5a73136286 100644 --- a/keyboards/kudox/rev3/config.h +++ b/keyboards/kudox/rev3/config.h | |||
| @@ -21,8 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #undef RGBLED_NUM | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox/rev3/info.json b/keyboards/kudox/rev3/info.json index a7e73c84ae..556c0efdde 100644 --- a/keyboards/kudox/rev3/info.json +++ b/keyboards/kudox/rev3/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/kudox_full/rev1/config.h b/keyboards/kudox_full/rev1/config.h index 84d08bce54..2437f4fa0c 100644 --- a/keyboards/kudox_full/rev1/config.h +++ b/keyboards/kudox_full/rev1/config.h | |||
| @@ -8,8 +8,6 @@ | |||
| 8 | /* Locking resynchronize hack */ | 8 | /* Locking resynchronize hack */ |
| 9 | #define LOCKING_RESYNC_ENABLE | 9 | #define LOCKING_RESYNC_ENABLE |
| 10 | 10 | ||
| 11 | #undef RGBLED_NUM | ||
| 12 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 13 | #define RGBLIGHT_EFFECT_BREATHING | 11 | #define RGBLIGHT_EFFECT_BREATHING |
| 14 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 12 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 15 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 13 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox_full/rev1/info.json b/keyboards/kudox_full/rev1/info.json index 45958b56c9..24a45fb167 100644 --- a/keyboards/kudox_full/rev1/info.json +++ b/keyboards/kudox_full/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/kudox_game/rev1/config.h b/keyboards/kudox_game/rev1/config.h index 5fddd8102a..c01494287f 100644 --- a/keyboards/kudox_game/rev1/config.h +++ b/keyboards/kudox_game/rev1/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #undef RGBLED_NUM | ||
| 26 | #define RGBLED_NUM 7 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox_game/rev1/info.json b/keyboards/kudox_game/rev1/info.json index 7868308ead..8ae8755404 100644 --- a/keyboards/kudox_game/rev1/info.json +++ b/keyboards/kudox_game/rev1/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "1.0.0" | 3 | "device_version": "1.0.0" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 7 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "D3" | 9 | "pin": "D3" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/kudox_game/rev2/config.h b/keyboards/kudox_game/rev2/config.h index 7b6ef67bd9..14945ae12d 100644 --- a/keyboards/kudox_game/rev2/config.h +++ b/keyboards/kudox_game/rev2/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #undef RGBLED_NUM | ||
| 26 | #define RGBLED_NUM 7 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/kudox_game/rev2/info.json b/keyboards/kudox_game/rev2/info.json index 4a441b7385..41565a6a42 100644 --- a/keyboards/kudox_game/rev2/info.json +++ b/keyboards/kudox_game/rev2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "2.0.0" | 3 | "device_version": "2.0.0" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 7 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "D3" | 9 | "pin": "D3" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/labyrinth75/config.h b/keyboards/labyrinth75/config.h index 193e83efe9..34a7ec6ba7 100644 --- a/keyboards/labyrinth75/config.h +++ b/keyboards/labyrinth75/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | //# define RGBLIGHT_HUE_STEP 8 | 20 | //# define RGBLIGHT_HUE_STEP 8 |
| 22 | //# define RGBLIGHT_SAT_STEP 8 | 21 | //# define RGBLIGHT_SAT_STEP 8 |
| 23 | //# define RGBLIGHT_VAL_STEP 8 | 22 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/labyrinth75/info.json b/keyboards/labyrinth75/info.json index 797627865e..c88af7f9f0 100644 --- a/keyboards/labyrinth75/info.json +++ b/keyboards/labyrinth75/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "bootmagic": { | 16 | "bootmagic": { |
| 17 | "matrix": [0, 2] | 17 | "matrix": [0, 2] |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B0" | 23 | "pin": "B0" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/latincompass/latin17rgb/config.h b/keyboards/latincompass/latin17rgb/config.h index b8fd564c4f..85a1f71ba4 100644 --- a/keyboards/latincompass/latin17rgb/config.h +++ b/keyboards/latincompass/latin17rgb/config.h | |||
| @@ -95,7 +95,6 @@ | |||
| 95 | #define RGBLIGHT_EFFECT_RGB_TEST | 95 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 96 | #define RGBLIGHT_EFFECT_ALTERNATING | 96 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 97 | #define RGBLIGHT_EFFECT_TWINKLE | 97 | #define RGBLIGHT_EFFECT_TWINKLE |
| 98 | #define RGBLED_NUM 8 | ||
| 99 | #define RGBLIGHT_HUE_STEP 5 | 98 | #define RGBLIGHT_HUE_STEP 5 |
| 100 | #define RGBLIGHT_SAT_STEP 5 | 99 | #define RGBLIGHT_SAT_STEP 5 |
| 101 | #define RGBLIGHT_VAL_STEP 5 | 100 | #define RGBLIGHT_VAL_STEP 5 |
diff --git a/keyboards/latincompass/latin17rgb/info.json b/keyboards/latincompass/latin17rgb/info.json index 6c759d1a39..33da10b463 100644 --- a/keyboards/latincompass/latin17rgb/info.json +++ b/keyboards/latincompass/latin17rgb/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 8, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/latincompass/latin47ble/config.h b/keyboards/latincompass/latin47ble/config.h index 627b4be9a8..6c5f2226ba 100644 --- a/keyboards/latincompass/latin47ble/config.h +++ b/keyboards/latincompass/latin47ble/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 3 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/latincompass/latin47ble/info.json b/keyboards/latincompass/latin47ble/info.json index b9a9b7eb95..426e4ab242 100644 --- a/keyboards/latincompass/latin47ble/info.json +++ b/keyboards/latincompass/latin47ble/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["D0", "D1", "D2", "D3"] | 13 | "rows": ["D0", "D1", "D2", "D3"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 3 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "B7" | 20 | "pin": "B7" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/latincompass/latin64ble/config.h b/keyboards/latincompass/latin64ble/config.h index 326f4795c0..4e61d819c1 100644 --- a/keyboards/latincompass/latin64ble/config.h +++ b/keyboards/latincompass/latin64ble/config.h | |||
| @@ -15,9 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ | |||
| 15 | 15 | ||
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 2 | ||
| 19 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 20 | |||
| 21 | #define RGBLIGHT_VAL_STEP 25 | 18 | #define RGBLIGHT_VAL_STEP 25 |
| 22 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 20 | 19 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 20 |
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/latincompass/latin64ble/info.json b/keyboards/latincompass/latin64ble/info.json index d59a5fb02c..ebf2c6d976 100644 --- a/keyboards/latincompass/latin64ble/info.json +++ b/keyboards/latincompass/latin64ble/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6C71", | 8 | "pid": "0x6C71", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 2 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/latincompass/latinpad/config.h b/keyboards/latincompass/latinpad/config.h index d166baebc7..d68f3b9241 100644 --- a/keyboards/latincompass/latinpad/config.h +++ b/keyboards/latincompass/latinpad/config.h | |||
| @@ -18,8 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/ | |||
| 18 | 18 | ||
| 19 | #define SSD1306OLED | 19 | #define SSD1306OLED |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 18 | 21 | #define RGB_MATRIX_LED_COUNT 18 |
| 22 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 23 | // RGB Matrix Animation modes. Explicitly enabled | 22 | // RGB Matrix Animation modes. Explicitly enabled |
| 24 | // For full list of effects, see: | 23 | // For full list of effects, see: |
| 25 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 24 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
diff --git a/keyboards/lazydesigners/bolt/config.h b/keyboards/lazydesigners/bolt/config.h index 03650873c0..4836ed6272 100644 --- a/keyboards/lazydesigners/bolt/config.h +++ b/keyboards/lazydesigners/bolt/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 13 | ||
| 32 | /* #define RGBLIGHT_HUE_STEP 8 */ | 31 | /* #define RGBLIGHT_HUE_STEP 8 */ |
| 33 | /* #define RGBLIGHT_SAT_STEP 8 */ | 32 | /* #define RGBLIGHT_SAT_STEP 8 */ |
| 34 | /* #define RGBLIGHT_VAL_STEP 8 */ | 33 | /* #define RGBLIGHT_VAL_STEP 8 */ |
diff --git a/keyboards/lazydesigners/bolt/info.json b/keyboards/lazydesigners/bolt/info.json index 7dd6a491ac..4b8e756486 100644 --- a/keyboards/lazydesigners/bolt/info.json +++ b/keyboards/lazydesigners/bolt/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 13, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/lazydesigners/cassette8/config.h b/keyboards/lazydesigners/cassette8/config.h index 605e9ea5e2..7d60baf76c 100755 --- a/keyboards/lazydesigners/cassette8/config.h +++ b/keyboards/lazydesigners/cassette8/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 15 | ||
| 31 | /* #define RGBLIGHT_HUE_STEP 8 */ | 30 | /* #define RGBLIGHT_HUE_STEP 8 */ |
| 32 | /* #define RGBLIGHT_SAT_STEP 8 */ | 31 | /* #define RGBLIGHT_SAT_STEP 8 */ |
| 33 | /* #define RGBLIGHT_VAL_STEP 8 */ | 32 | /* #define RGBLIGHT_VAL_STEP 8 */ |
diff --git a/keyboards/lazydesigners/cassette8/info.json b/keyboards/lazydesigners/cassette8/info.json index 65141cc9fc..e4fb627f5f 100755 --- a/keyboards/lazydesigners/cassette8/info.json +++ b/keyboards/lazydesigners/cassette8/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 15, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/lazydesigners/dimple/config.h b/keyboards/lazydesigners/dimple/config.h index 316b896eb3..70bd5789e5 100644 --- a/keyboards/lazydesigners/dimple/config.h +++ b/keyboards/lazydesigners/dimple/config.h | |||
| @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 50 | ||
| 38 | /* #define RGBLIGHT_HUE_STEP 8 */ | 37 | /* #define RGBLIGHT_HUE_STEP 8 */ |
| 39 | /* #define RGBLIGHT_SAT_STEP 8 */ | 38 | /* #define RGBLIGHT_SAT_STEP 8 */ |
| 40 | /* #define RGBLIGHT_VAL_STEP 8 */ | 39 | /* #define RGBLIGHT_VAL_STEP 8 */ |
diff --git a/keyboards/lazydesigners/dimple/ortho/info.json b/keyboards/lazydesigners/dimple/ortho/info.json index 0045ec1af8..e05754d0b8 100644 --- a/keyboards/lazydesigners/dimple/ortho/info.json +++ b/keyboards/lazydesigners/dimple/ortho/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 50, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/lazydesigners/dimple/staggered/info.json b/keyboards/lazydesigners/dimple/staggered/info.json index 44aa78dfa8..c0fefad6eb 100644 --- a/keyboards/lazydesigners/dimple/staggered/info.json +++ b/keyboards/lazydesigners/dimple/staggered/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 50, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/lazydesigners/dimpleplus/config.h b/keyboards/lazydesigners/dimpleplus/config.h index aa2057509e..4836ed6272 100644 --- a/keyboards/lazydesigners/dimpleplus/config.h +++ b/keyboards/lazydesigners/dimpleplus/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 8 | ||
| 32 | /* #define RGBLIGHT_HUE_STEP 8 */ | 31 | /* #define RGBLIGHT_HUE_STEP 8 */ |
| 33 | /* #define RGBLIGHT_SAT_STEP 8 */ | 32 | /* #define RGBLIGHT_SAT_STEP 8 */ |
| 34 | /* #define RGBLIGHT_VAL_STEP 8 */ | 33 | /* #define RGBLIGHT_VAL_STEP 8 */ |
diff --git a/keyboards/lazydesigners/dimpleplus/info.json b/keyboards/lazydesigners/dimpleplus/info.json index b19286c079..4deb68ad63 100644 --- a/keyboards/lazydesigners/dimpleplus/info.json +++ b/keyboards/lazydesigners/dimpleplus/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 8, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/lazydesigners/the40/config.h b/keyboards/lazydesigners/the40/config.h index c4b07c4a7b..f360d13fde 100644 --- a/keyboards/lazydesigners/the40/config.h +++ b/keyboards/lazydesigners/the40/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/lazydesigners/the40/info.json b/keyboards/lazydesigners/the40/info.json index 1c1c6cfda0..c13914fac0 100644 --- a/keyboards/lazydesigners/the40/info.json +++ b/keyboards/lazydesigners/the40/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 8, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/lazydesigners/the50/config.h b/keyboards/lazydesigners/the50/config.h index 4586df1da2..5f36081323 100644 --- a/keyboards/lazydesigners/the50/config.h +++ b/keyboards/lazydesigners/the50/config.h | |||
| @@ -5,5 +5,3 @@ | |||
| 5 | 5 | ||
| 6 | /* Locking resynchronize hack */ | 6 | /* Locking resynchronize hack */ |
| 7 | #define LOCKING_RESYNC_ENABLE | 7 | #define LOCKING_RESYNC_ENABLE |
| 8 | |||
| 9 | #define RGBLED_NUM 1 | ||
diff --git a/keyboards/lazydesigners/the50/info.json b/keyboards/lazydesigners/the50/info.json index f8b11c8bae..0c76516e80 100644 --- a/keyboards/lazydesigners/the50/info.json +++ b/keyboards/lazydesigners/the50/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 6 | 18 | "levels": 6 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 1, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/lazydesigners/the60/rev2/config.h b/keyboards/lazydesigners/the60/rev2/config.h index 8671583f54..5d9d4c7e75 100755 --- a/keyboards/lazydesigners/the60/rev2/config.h +++ b/keyboards/lazydesigners/the60/rev2/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/lazydesigners/the60/rev2/info.json b/keyboards/lazydesigners/the60/rev2/info.json index 3f8c02b49c..bb9d3b90a7 100755 --- a/keyboards/lazydesigners/the60/rev2/info.json +++ b/keyboards/lazydesigners/the60/rev2/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 10, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/leafcutterlabs/bigknob/config.h b/keyboards/leafcutterlabs/bigknob/config.h index d8b9a4fa0b..935f89491e 100644 --- a/keyboards/leafcutterlabs/bigknob/config.h +++ b/keyboards/leafcutterlabs/bigknob/config.h | |||
| @@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 5 // Number of LEDs | ||
diff --git a/keyboards/leafcutterlabs/bigknob/info.json b/keyboards/leafcutterlabs/bigknob/info.json index 1361138549..f411b702da 100644 --- a/keyboards/leafcutterlabs/bigknob/info.json +++ b/keyboards/leafcutterlabs/bigknob/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | {"pin_a": "D0", "pin_b": "D2"} | 13 | {"pin_a": "D0", "pin_b": "D2"} |
| 14 | ] | 14 | ] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | ||
| 17 | "led_count": 5 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "C7" | 20 | "pin": "C7" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/leeku/finger65/config.h b/keyboards/leeku/finger65/config.h deleted file mode 100644 index 0626eb5d0e..0000000000 --- a/keyboards/leeku/finger65/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2018 Rasmus Schults <rasmusx@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | |||
| 21 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/lets_split/rev1/config.h b/keyboards/lets_split/rev1/config.h index a7b7c4843e..0b8941e776 100644 --- a/keyboards/lets_split/rev1/config.h +++ b/keyboards/lets_split/rev1/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 27 | |||
| 28 | /* | 26 | /* |
| 29 | * Feature disable options | 27 | * Feature disable options |
| 30 | * These options are also useful to firmware size reduction. | 28 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/lets_split/rev1/info.json b/keyboards/lets_split/rev1/info.json index 3c9cea5e5e..6f00161cd5 100644 --- a/keyboards/lets_split/rev1/info.json +++ b/keyboards/lets_split/rev1/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "split": { | 14 | "split": { |
| 15 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 16 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "D3" | 21 | "pin": "D3" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/lets_split/rev2/config.h b/keyboards/lets_split/rev2/config.h index a30fed6078..0b8941e776 100644 --- a/keyboards/lets_split/rev2/config.h +++ b/keyboards/lets_split/rev2/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 27 | |||
| 28 | /* | 26 | /* |
| 29 | * Feature disable options | 27 | * Feature disable options |
| 30 | * These options are also useful to firmware size reduction. | 28 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/lets_split/rev2/info.json b/keyboards/lets_split/rev2/info.json index d25e6de611..8c6d622732 100644 --- a/keyboards/lets_split/rev2/info.json +++ b/keyboards/lets_split/rev2/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "split": { | 14 | "split": { |
| 15 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 12 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "D3" | 21 | "pin": "D3" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/lets_split/sockets/config.h b/keyboards/lets_split/sockets/config.h index 3655ec19c5..dee5c458b2 100644 --- a/keyboards/lets_split/sockets/config.h +++ b/keyboards/lets_split/sockets/config.h | |||
| @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 22 | |||
| 23 | /* Audio settings */ | 21 | /* Audio settings */ |
| 24 | #ifdef AUDIO_ENABLE | 22 | #ifdef AUDIO_ENABLE |
| 25 | #define AUDIO_PIN C6 // Define this to enable the buzzer | 23 | #define AUDIO_PIN C6 // Define this to enable the buzzer |
diff --git a/keyboards/lets_split/sockets/info.json b/keyboards/lets_split/sockets/info.json index cf716c0507..76972243dc 100644 --- a/keyboards/lets_split/sockets/info.json +++ b/keyboards/lets_split/sockets/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "split": { | 14 | "split": { |
| 15 | "soft_serial_pin": "D0" | 15 | "soft_serial_pin": "D0" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 12 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "D4" | 21 | "pin": "D4" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/lfkeyboards/lfk65_hs/config.h b/keyboards/lfkeyboards/lfk65_hs/config.h index ae682e447f..49b58eec2f 100644 --- a/keyboards/lfkeyboards/lfk65_hs/config.h +++ b/keyboards/lfkeyboards/lfk65_hs/config.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 4 | |||
| 5 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} | 3 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} |
| 6 | 4 | ||
| 7 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 8 | #define RGBLIGHT_EFFECT_BREATHING | 5 | #define RGBLIGHT_EFFECT_BREATHING |
| 9 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 6 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 10 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 7 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/lfkeyboards/lfk65_hs/info.json b/keyboards/lfkeyboards/lfk65_hs/info.json index 894a009583..2a15d5c240 100644 --- a/keyboards/lfkeyboards/lfk65_hs/info.json +++ b/keyboards/lfkeyboards/lfk65_hs/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "levels": 8 | 17 | "levels": 8 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "C7" | 23 | "pin": "C7" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/lfkeyboards/lfk78/revb/config.h b/keyboards/lfkeyboards/lfk78/revb/config.h deleted file mode 100644 index 377ea21123..0000000000 --- a/keyboards/lfkeyboards/lfk78/revb/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 31 | ||
diff --git a/keyboards/lfkeyboards/lfk78/revb/info.json b/keyboards/lfkeyboards/lfk78/revb/info.json index 92662bacc7..a3f841bdd1 100644 --- a/keyboards/lfkeyboards/lfk78/revb/info.json +++ b/keyboards/lfkeyboards/lfk78/revb/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "driver": "custom", | 17 | "driver": "custom", |
| 18 | "levels": 8 | 18 | "levels": 8 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 31 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "C7" | 24 | "pin": "C7" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/lfkeyboards/lfk78/revc/config.h b/keyboards/lfkeyboards/lfk78/revc/config.h deleted file mode 100644 index 78343dc888..0000000000 --- a/keyboards/lfkeyboards/lfk78/revc/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 27 | ||
diff --git a/keyboards/lfkeyboards/lfk78/revc/info.json b/keyboards/lfkeyboards/lfk78/revc/info.json index 830205c584..0e2a8132e0 100644 --- a/keyboards/lfkeyboards/lfk78/revc/info.json +++ b/keyboards/lfkeyboards/lfk78/revc/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "driver": "custom", | 17 | "driver": "custom", |
| 18 | "levels": 8 | 18 | "levels": 8 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 27 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "C7" | 24 | "pin": "C7" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/lfkeyboards/lfk78/revj/config.h b/keyboards/lfkeyboards/lfk78/revj/config.h deleted file mode 100644 index 78343dc888..0000000000 --- a/keyboards/lfkeyboards/lfk78/revj/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 27 | ||
diff --git a/keyboards/lfkeyboards/lfk78/revj/info.json b/keyboards/lfkeyboards/lfk78/revj/info.json index 8f9198b089..af37dc6fdb 100644 --- a/keyboards/lfkeyboards/lfk78/revj/info.json +++ b/keyboards/lfkeyboards/lfk78/revj/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "driver": "custom", | 17 | "driver": "custom", |
| 18 | "levels": 8 | 18 | "levels": 8 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 27 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "C7" | 24 | "pin": "C7" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/lfkeyboards/lfkpad/config.h b/keyboards/lfkeyboards/lfkpad/config.h index 5393e47b39..c4b1743a0b 100644 --- a/keyboards/lfkeyboards/lfkpad/config.h +++ b/keyboards/lfkeyboards/lfkpad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 28 | ||
| 21 | # define RGBLIGHT_HUE_STEP 10 | 20 | # define RGBLIGHT_HUE_STEP 10 |
| 22 | # define RGBLIGHT_SAT_STEP 17 | 21 | # define RGBLIGHT_SAT_STEP 17 |
| 23 | # define RGBLIGHT_VAL_STEP 17 | 22 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/lfkeyboards/lfkpad/info.json b/keyboards/lfkeyboards/lfkpad/info.json index d4abb0abdd..4e2e1a0bf4 100644 --- a/keyboards/lfkeyboards/lfkpad/info.json +++ b/keyboards/lfkeyboards/lfkpad/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3231", | 8 | "pid": "0x3231", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 28 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C7" | 15 | "pin": "C7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/lfkeyboards/mini1800/config.h b/keyboards/lfkeyboards/mini1800/config.h index c367ad95c3..3a8f16e0fd 100644 --- a/keyboards/lfkeyboards/mini1800/config.h +++ b/keyboards/lfkeyboards/mini1800/config.h | |||
| @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 26 // Number of LEDs | ||
| 21 | |||
| 22 | #define AUDIO_VOICES | 20 | #define AUDIO_VOICES |
| 23 | #define AUDIO_PIN C6 | 21 | #define AUDIO_PIN C6 |
| 24 | 22 | ||
diff --git a/keyboards/lfkeyboards/mini1800/info.json b/keyboards/lfkeyboards/mini1800/info.json index cf1cc7764b..0e130f30b3 100644 --- a/keyboards/lfkeyboards/mini1800/info.json +++ b/keyboards/lfkeyboards/mini1800/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "driver": "custom", | 17 | "driver": "custom", |
| 18 | "levels": 10 | 18 | "levels": 10 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 26 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "F4" | 24 | "pin": "F4" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/lfkeyboards/smk65/revb/config.h b/keyboards/lfkeyboards/smk65/revb/config.h index af7f6b17b8..dc8021c7bf 100644 --- a/keyboards/lfkeyboards/smk65/revb/config.h +++ b/keyboards/lfkeyboards/smk65/revb/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define DIODE_DIRECTION COL2ROW | 24 | #define DIODE_DIRECTION COL2ROW |
| 25 | #define MATRIX_ROW_PINS {D6, D7, E0, C3, C4} | 25 | #define MATRIX_ROW_PINS {D6, D7, E0, C3, C4} |
| 26 | #define MATRIX_COL_PINS {F2, C5, E5, E4, B7, B6, B5, B4, B3, B2, B1, B0, E1, C0, C1, C2} | 26 | #define MATRIX_COL_PINS {F2, C5, E5, E4, B7, B6, B5, B4, B3, B2, B1, B0, E1, C0, C1, C2} |
| 27 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 28 | 27 | ||
| 29 | //RevB only: | 28 | //RevB only: |
| 30 | 29 | ||
| @@ -33,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | 32 | ||
| 34 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} | 33 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} |
| 35 | 34 | ||
| 36 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 37 | #define RGBLIGHT_EFFECT_BREATHING | 35 | #define RGBLIGHT_EFFECT_BREATHING |
| 38 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 36 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 39 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 37 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/lfkeyboards/smk65/revb/info.json b/keyboards/lfkeyboards/smk65/revb/info.json index f635133e9a..960640ac77 100644 --- a/keyboards/lfkeyboards/smk65/revb/info.json +++ b/keyboards/lfkeyboards/smk65/revb/info.json | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | "backlight": { | 5 | "backlight": { |
| 6 | "levels": 8 | 6 | "levels": 8 |
| 7 | }, | 7 | }, |
| 8 | "rgblight": { | ||
| 9 | "led_count": 20 | ||
| 10 | }, | ||
| 8 | "ws2812": { | 11 | "ws2812": { |
| 9 | "pin": "C7" | 12 | "pin": "C7" |
| 10 | }, | 13 | }, |
diff --git a/keyboards/lfkeyboards/smk65/revf/config.h b/keyboards/lfkeyboards/smk65/revf/config.h index 50ce341053..9e32ac9d3f 100644 --- a/keyboards/lfkeyboards/smk65/revf/config.h +++ b/keyboards/lfkeyboards/smk65/revf/config.h | |||
| @@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* COL2ROW, ROW2COL */ | 31 | /* COL2ROW, ROW2COL */ |
| 32 | #define DIODE_DIRECTION COL2ROW | 32 | #define DIODE_DIRECTION COL2ROW |
| 33 | 33 | ||
| 34 | #define RGBLED_NUM 28 | ||
| 35 | |||
| 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 37 | #define LOCKING_SUPPORT_ENABLE | 35 | #define LOCKING_SUPPORT_ENABLE |
| 38 | /* Locking resynchronize hack */ | 36 | /* Locking resynchronize hack */ |
diff --git a/keyboards/lfkeyboards/smk65/revf/info.json b/keyboards/lfkeyboards/smk65/revf/info.json index 63e9d0abc7..086e7e38c8 100644 --- a/keyboards/lfkeyboards/smk65/revf/info.json +++ b/keyboards/lfkeyboards/smk65/revf/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | }, | 4 | }, |
| 5 | "processor": "atmega32u4", | 5 | "processor": "atmega32u4", |
| 6 | "bootloader": "halfkay", | 6 | "bootloader": "halfkay", |
| 7 | "rgblight": { | ||
| 8 | "led_count": 28 | ||
| 9 | }, | ||
| 7 | "layouts": { | 10 | "layouts": { |
| 8 | "LAYOUT_65_ansi": { | 11 | "LAYOUT_65_ansi": { |
| 9 | "layout": [ | 12 | "layout": [ |
diff --git a/keyboards/lily58/glow_enc/config.h b/keyboards/lily58/glow_enc/config.h deleted file mode 100644 index 84f3b40bc9..0000000000 --- a/keyboards/lily58/glow_enc/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | Copyright 2017 F_YUUCHI | ||
| 5 | Copyright 2020 Ben Roesner (keycapsss.com) | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | #define RGBLED_NUM 72 // Number of LEDs | ||
diff --git a/keyboards/lily58/glow_enc/info.json b/keyboards/lily58/glow_enc/info.json index 2b3e270026..006cf0aa21 100644 --- a/keyboards/lily58/glow_enc/info.json +++ b/keyboards/lily58/glow_enc/info.json | |||
| @@ -38,6 +38,7 @@ | |||
| 38 | "pin": "F4" | 38 | "pin": "F4" |
| 39 | }, | 39 | }, |
| 40 | "rgblight": { | 40 | "rgblight": { |
| 41 | "led_count": 72, | ||
| 41 | "max_brightness": 120, | 42 | "max_brightness": 120, |
| 42 | "split_count": [36, 36] | 43 | "split_count": [36, 36] |
| 43 | }, | 44 | }, |
diff --git a/keyboards/lily58/light/config.h b/keyboards/lily58/light/config.h deleted file mode 100644 index b8a5d05e15..0000000000 --- a/keyboards/lily58/light/config.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | Copyright 2017 F_YUUCHI | ||
| 5 | Copyright 2020 Ben Roesner (keycapsss.com) | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | #define RGBLED_NUM 70 | ||
diff --git a/keyboards/lily58/light/info.json b/keyboards/lily58/light/info.json index ca3ad342fb..1c556e429a 100644 --- a/keyboards/lily58/light/info.json +++ b/keyboards/lily58/light/info.json | |||
| @@ -39,6 +39,7 @@ | |||
| 39 | "pin": "D3" | 39 | "pin": "D3" |
| 40 | }, | 40 | }, |
| 41 | "rgblight": { | 41 | "rgblight": { |
| 42 | "led_count": 70, | ||
| 42 | "max_brightness": 120, | 43 | "max_brightness": 120, |
| 43 | "split_count": [35, 35] | 44 | "split_count": [35, 35] |
| 44 | }, | 45 | }, |
diff --git a/keyboards/lily58/rev1/config.h b/keyboards/lily58/rev1/config.h deleted file mode 100644 index 8e94f9f62b..0000000000 --- a/keyboards/lily58/rev1/config.h +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | Copyright 2017 F_YUUCHI | ||
| 5 | |||
| 6 | This program is free software: you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation, either version 2 of the License, or | ||
| 9 | (at your option) any later version. | ||
| 10 | |||
| 11 | This program is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #pragma once | ||
| 21 | |||
| 22 | /* ws2812 RGB LED */ | ||
| 23 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 24 | |||
| 25 | /* | ||
| 26 | * Feature disable options | ||
| 27 | * These options are also useful to firmware size reduction. | ||
| 28 | */ | ||
| 29 | |||
| 30 | /* disable debug print */ | ||
| 31 | // #define NO_DEBUG | ||
| 32 | |||
| 33 | /* disable print */ | ||
| 34 | // #define NO_PRINT | ||
| 35 | |||
| 36 | /* disable action features */ | ||
| 37 | //#define NO_ACTION_LAYER | ||
| 38 | //#define NO_ACTION_TAPPING | ||
| 39 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/lily58/rev1/info.json b/keyboards/lily58/rev1/info.json index a3e89ec3a7..6f341915bf 100644 --- a/keyboards/lily58/rev1/info.json +++ b/keyboards/lily58/rev1/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | "enabled": true, | 20 | "enabled": true, |
| 21 | "soft_serial_pin": "D2" | 21 | "soft_serial_pin": "D2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "led_count": 12 | ||
| 25 | }, | ||
| 23 | "ws2812": { | 26 | "ws2812": { |
| 24 | "pin": "D3" | 27 | "pin": "D3" |
| 25 | }, | 28 | }, |
diff --git a/keyboards/linworks/fave65h/config.h b/keyboards/linworks/fave65h/config.h index 2c8d4845b1..3f549797d8 100644 --- a/keyboards/linworks/fave65h/config.h +++ b/keyboards/linworks/fave65h/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* Define RGB */ | 20 | /* Define RGB */ |
| 21 | #define RGBLED_NUM 67 | ||
| 22 | #define RGB_MATRIX_LED_COUNT 67 | 21 | #define RGB_MATRIX_LED_COUNT 67 |
| 23 | 22 | ||
| 24 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index ae1d70710a..948b895548 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h | |||
| @@ -15,7 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | /* Underglow */ | 17 | /* Underglow */ |
| 18 | #define RGBLED_NUM 40 | ||
| 19 | #define RGBLIGHT_EFFECT_BREATHING | 18 | #define RGBLIGHT_EFFECT_BREATHING |
| 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/info.json index 77fd539b74..937a9e5393 100644 --- a/keyboards/linworks/fave87/info.json +++ b/keyboards/linworks/fave87/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 40, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/linworks/fave87h/config.h b/keyboards/linworks/fave87h/config.h index ef57446100..e84a0ec929 100644 --- a/keyboards/linworks/fave87h/config.h +++ b/keyboards/linworks/fave87h/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* Define RGB */ | 20 | /* Define RGB */ |
| 21 | #define RGBLED_NUM 87 | ||
| 22 | #define RGB_MATRIX_LED_COUNT 87 | 21 | #define RGB_MATRIX_LED_COUNT 87 |
| 23 | 22 | ||
| 24 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index 8b783a52cd..133b2a973b 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | /* Underglow */ | 22 | /* Underglow */ |
| 23 | #define WS2812_EXTERNAL_PULLUP // This board uses a pull-up + 5 V tolerant GPIO in open drain config ro generate a 5 V signal | 23 | #define WS2812_EXTERNAL_PULLUP // This board uses a pull-up + 5 V tolerant GPIO in open drain config ro generate a 5 V signal |
| 24 | #define RGBLED_NUM 18 | ||
| 25 | /* section for PWM WS2812 driver */ | 24 | /* section for PWM WS2812 driver */ |
| 26 | #define WS2812_PWM_DRIVER PWMD4 | 25 | #define WS2812_PWM_DRIVER PWMD4 |
| 27 | #define WS2812_PWM_CHANNEL 4 | 26 | #define WS2812_PWM_CHANNEL 4 |
diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json index ffb02e57e1..3385f5371d 100644 --- a/keyboards/linworks/whale75/info.json +++ b/keyboards/linworks/whale75/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "force_nkro": true | 9 | "force_nkro": true |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/littlealby/mute/config.h b/keyboards/littlealby/mute/config.h deleted file mode 100644 index 3a5b0356a9..0000000000 --- a/keyboards/littlealby/mute/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* Copyright 2019 albybarber | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGBLIGHT_ENABLE | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #endif | ||
diff --git a/keyboards/littlealby/mute/info.json b/keyboards/littlealby/mute/info.json index a6392a76e7..a4a2a5822e 100644 --- a/keyboards/littlealby/mute/info.json +++ b/keyboards/littlealby/mute/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "max_power": 100 | 10 | "max_power": 100 |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 1 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B6" | 16 | "pin": "B6" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/ll3macorn/bongopad/config.h b/keyboards/ll3macorn/bongopad/config.h index b4d4367f1d..4ee4b5a997 100644 --- a/keyboards/ll3macorn/bongopad/config.h +++ b/keyboards/ll3macorn/bongopad/config.h | |||
| @@ -2,9 +2,6 @@ | |||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | /* rgb underglow */ | ||
| 6 | #define RGBLED_NUM 6 | ||
| 7 | |||
| 8 | /* misc */ | 5 | /* misc */ |
| 9 | #define LAYER_STATE_8BIT | 6 | #define LAYER_STATE_8BIT |
| 10 | #define NO_ACTION_TAPPING | 7 | #define NO_ACTION_TAPPING |
diff --git a/keyboards/ll3macorn/bongopad/info.json b/keyboards/ll3macorn/bongopad/info.json index 6208b749f9..cde72e5882 100644 --- a/keyboards/ll3macorn/bongopad/info.json +++ b/keyboards/ll3macorn/bongopad/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "bootmagic": { | 21 | "bootmagic": { |
| 22 | "matrix": [1, 0] | 22 | "matrix": [1, 0] |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 6 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "E6" | 28 | "pin": "E6" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/lm_keyboard/lm60n/config.h b/keyboards/lm_keyboard/lm60n/config.h index 1fe8d704b6..f91c341b14 100644 --- a/keyboards/lm_keyboard/lm60n/config.h +++ b/keyboards/lm_keyboard/lm60n/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 41 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/lm_keyboard/lm60n/info.json b/keyboards/lm_keyboard/lm60n/info.json index 5fa227b4bf..1d59dca521 100644 --- a/keyboards/lm_keyboard/lm60n/info.json +++ b/keyboards/lm_keyboard/lm60n/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "num_lock": "B7" | 18 | "num_lock": "B7" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 41, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/loki65/config.h b/keyboards/loki65/config.h index 750a12d64f..749321732f 100644 --- a/keyboards/loki65/config.h +++ b/keyboards/loki65/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define WS2812_DMA_CHANNEL 5 | 28 | #define WS2812_DMA_CHANNEL 5 |
| 29 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB | 29 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 37 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/loki65/info.json b/keyboards/loki65/info.json index a1a5e3ef06..5442a3e813 100644 --- a/keyboards/loki65/info.json +++ b/keyboards/loki65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4C36", | 8 | "pid": "0x4C36", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 37 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A9", | 15 | "pin": "A9", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/longnald/corin/config.h b/keyboards/longnald/corin/config.h index 91357b0375..9430c3b672 100644 --- a/keyboards/longnald/corin/config.h +++ b/keyboards/longnald/corin/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | # define RGBLED_NUM 64 | ||
| 22 | # define RGBLIGHT_HUE_STEP 20 | 21 | # define RGBLIGHT_HUE_STEP 20 |
| 23 | # define RGBLIGHT_SAT_STEP 20 | 22 | # define RGBLIGHT_SAT_STEP 20 |
| 24 | # define RGBLIGHT_VAL_STEP 40 | 23 | # define RGBLIGHT_VAL_STEP 40 |
diff --git a/keyboards/longnald/corin/info.json b/keyboards/longnald/corin/info.json index 7fdb386f73..6e7cdaa7bf 100644 --- a/keyboards/longnald/corin/info.json +++ b/keyboards/longnald/corin/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 64, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/lz/erghost/config.h b/keyboards/lz/erghost/config.h index 959fe0bfca..efcc4caded 100644 --- a/keyboards/lz/erghost/config.h +++ b/keyboards/lz/erghost/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | #define DIODE_DIRECTION ROW2COL | 38 | #define DIODE_DIRECTION ROW2COL |
| 39 | 39 | ||
| 40 | #ifdef RGBLIGHT_ENABLE | 40 | #ifdef RGBLIGHT_ENABLE |
| 41 | #define RGBLED_NUM 28 | ||
| 42 | #define RGBLIGHT_HUE_STEP 8 | 41 | #define RGBLIGHT_HUE_STEP 8 |
| 43 | #define RGBLIGHT_SAT_STEP 8 | 42 | #define RGBLIGHT_SAT_STEP 8 |
| 44 | #define RGBLIGHT_VAL_STEP 8 | 43 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/lz/erghost/info.json b/keyboards/lz/erghost/info.json index 08a9f41d55..fe69ea3e53 100644 --- a/keyboards/lz/erghost/info.json +++ b/keyboards/lz/erghost/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "breathing": true | 13 | "breathing": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 28, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/manta60/config.h b/keyboards/manta60/config.h index 3871c9b3e5..e972abe837 100644 --- a/keyboards/manta60/config.h +++ b/keyboards/manta60/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define SELECT_SOFT_SERIAL_SPEED 1 | 20 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 68 | ||
| 23 | # define RGBLIGHT_HUE_STEP 8 | 22 | # define RGBLIGHT_HUE_STEP 8 |
| 24 | # define RGBLIGHT_SAT_STEP 8 | 23 | # define RGBLIGHT_SAT_STEP 8 |
| 25 | # ifndef IOS_DEVICE_ENABLE | 24 | # ifndef IOS_DEVICE_ENABLE |
diff --git a/keyboards/manta60/info.json b/keyboards/manta60/info.json index 3f75de7ddf..c37bfb1d68 100644 --- a/keyboards/manta60/info.json +++ b/keyboards/manta60/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 68, | ||
| 20 | "split_count": [34, 34] | 21 | "split_count": [34, 34] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/manyboard/macro/config.h b/keyboards/manyboard/macro/config.h deleted file mode 100644 index 3927473711..0000000000 --- a/keyboards/manyboard/macro/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 William Ehman | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* RGB Pins */ | ||
| 21 | #define RGBLED_NUM 2 | ||
diff --git a/keyboards/manyboard/macro/info.json b/keyboards/manyboard/macro/info.json index 3df9a79430..10218337d9 100644 --- a/keyboards/manyboard/macro/info.json +++ b/keyboards/manyboard/macro/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B6" | 22 | "pin": "B6" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 2, | ||
| 25 | "max_brightness": 10 | 26 | "max_brightness": 10 |
| 26 | }, | 27 | }, |
| 27 | "processor": "atmega32u4", | 28 | "processor": "atmega32u4", |
diff --git a/keyboards/maple_computing/6ball/config.h b/keyboards/maple_computing/6ball/config.h index 59679e2753..71417380a9 100644 --- a/keyboards/maple_computing/6ball/config.h +++ b/keyboards/maple_computing/6ball/config.h | |||
| @@ -27,6 +27,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 6 // Number of LEDs | ||
| 31 | 30 | ||
| 32 | #define TAPPING_TERM 200 | 31 | #define TAPPING_TERM 200 |
diff --git a/keyboards/maple_computing/6ball/info.json b/keyboards/maple_computing/6ball/info.json index b799baa28c..27f9ae1807 100644 --- a/keyboards/maple_computing/6ball/info.json +++ b/keyboards/maple_computing/6ball/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 6 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/maple_computing/launchpad/rev1/config.h b/keyboards/maple_computing/launchpad/rev1/config.h index 7cf73259b4..05d2733f8b 100644 --- a/keyboards/maple_computing/launchpad/rev1/config.h +++ b/keyboards/maple_computing/launchpad/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/maple_computing/launchpad/rev1/info.json b/keyboards/maple_computing/launchpad/rev1/info.json index 81c23850ec..9e7ec96748 100644 --- a/keyboards/maple_computing/launchpad/rev1/info.json +++ b/keyboards/maple_computing/launchpad/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6007", | 8 | "pid": "0x6007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F6" | 15 | "pin": "F6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/maple_computing/lets_split_eh/eh/config.h b/keyboards/maple_computing/lets_split_eh/eh/config.h index 27de26f6b8..ad601d7d36 100644 --- a/keyboards/maple_computing/lets_split_eh/eh/config.h +++ b/keyboards/maple_computing/lets_split_eh/eh/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | /* ws2812 RGB LED */ | 21 | /* ws2812 RGB LED */ |
| 22 | #define RGBLED_NUM 12 // Number of LEDs (each hand) | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/maple_computing/lets_split_eh/eh/info.json b/keyboards/maple_computing/lets_split_eh/eh/info.json index f14888862f..5df74d73b6 100644 --- a/keyboards/maple_computing/lets_split_eh/eh/info.json +++ b/keyboards/maple_computing/lets_split_eh/eh/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/maple_computing/the_ruler/config.h b/keyboards/maple_computing/the_ruler/config.h index e3b34d1bf0..3182936d76 100644 --- a/keyboards/maple_computing/the_ruler/config.h +++ b/keyboards/maple_computing/the_ruler/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | //#define NO_ACTION_TAPPING | 38 | //#define NO_ACTION_TAPPING |
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 1 // Number of LEDs | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/info.json index 336d48af4c..6848fe66b0 100644 --- a/keyboards/maple_computing/the_ruler/info.json +++ b/keyboards/maple_computing/the_ruler/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6007", | 8 | "pid": "0x6007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/marksard/leftover30/config.h b/keyboards/marksard/leftover30/config.h index 50bdd30c85..de0af78b30 100644 --- a/keyboards/marksard/leftover30/config.h +++ b/keyboards/marksard/leftover30/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/marksard/leftover30/info.json b/keyboards/marksard/leftover30/info.json index 723787f426..237019f339 100644 --- a/keyboards/marksard/leftover30/info.json +++ b/keyboards/marksard/leftover30/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 6, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/marksard/rhymestone/rev1/config.h b/keyboards/marksard/rhymestone/rev1/config.h index c5e0aee8a1..aca844bff7 100644 --- a/keyboards/marksard/rhymestone/rev1/config.h +++ b/keyboards/marksard/rhymestone/rev1/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 40 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
| @@ -34,8 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #endif | 33 | #endif |
| 35 | 34 | ||
| 36 | #ifdef RGB_MATRIX_ENABLE | 35 | #ifdef RGB_MATRIX_ENABLE |
| 37 | #define RGBLED_NUM 40 // Number of LEDs | 36 | #define RGB_MATRIX_LED_COUNT 40 |
| 38 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 39 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 37 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 40 | // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 38 | // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 41 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 39 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
diff --git a/keyboards/marksard/rhymestone/rev1/info.json b/keyboards/marksard/rhymestone/rev1/info.json index 0f471f4e39..45e5489c99 100644 --- a/keyboards/marksard/rhymestone/rev1/info.json +++ b/keyboards/marksard/rhymestone/rev1/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "pin": "D3" | 23 | "pin": "D3" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 40, | ||
| 26 | "max_brightness": 150, | 27 | "max_brightness": 150, |
| 27 | "sleep": true, | 28 | "sleep": true, |
| 28 | "split_count": [20, 20] | 29 | "split_count": [20, 20] |
diff --git a/keyboards/marksard/treadstone32/lite/config.h b/keyboards/marksard/treadstone32/lite/config.h index 93ab8c03c6..dc791335d9 100644 --- a/keyboards/marksard/treadstone32/lite/config.h +++ b/keyboards/marksard/treadstone32/lite/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 22 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | 21 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/marksard/treadstone32/lite/info.json b/keyboards/marksard/treadstone32/lite/info.json index 95f20f21b8..b96cdebde0 100644 --- a/keyboards/marksard/treadstone32/lite/info.json +++ b/keyboards/marksard/treadstone32/lite/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "device_version": "0.1.5" | 4 | "device_version": "0.1.5" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 6, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/marksard/treadstone32/rev1/config.h b/keyboards/marksard/treadstone32/rev1/config.h index 44ff8b2946..291c7d588b 100644 --- a/keyboards/marksard/treadstone32/rev1/config.h +++ b/keyboards/marksard/treadstone32/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 22 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | 21 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/marksard/treadstone32/rev1/info.json b/keyboards/marksard/treadstone32/rev1/info.json index 64b41b1b8c..a746790d44 100644 --- a/keyboards/marksard/treadstone32/rev1/info.json +++ b/keyboards/marksard/treadstone32/rev1/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "device_version": "0.1.0" | 4 | "device_version": "0.1.0" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 6, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/marksard/treadstone48/rev2/config.h b/keyboards/marksard/treadstone48/rev2/config.h index 838b1431cc..3444d07be5 100644 --- a/keyboards/marksard/treadstone48/rev2/config.h +++ b/keyboards/marksard/treadstone48/rev2/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/marksard/treadstone48/rev2/info.json b/keyboards/marksard/treadstone48/rev2/info.json index 5c5401d95a..ae57bc5763 100644 --- a/keyboards/marksard/treadstone48/rev2/info.json +++ b/keyboards/marksard/treadstone48/rev2/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 12, | ||
| 15 | "max_brightness": 220, | 16 | "max_brightness": 220, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/matrix/abelx/config.h b/keyboards/matrix/abelx/config.h index a1eaecf36e..7f6793b979 100644 --- a/keyboards/matrix/abelx/config.h +++ b/keyboards/matrix/abelx/config.h | |||
| @@ -90,7 +90,6 @@ | |||
| 90 | 90 | ||
| 91 | 91 | ||
| 92 | // rgb light setting | 92 | // rgb light setting |
| 93 | #define RGBLED_NUM 9 | ||
| 94 | #define RGBLIGHT_EFFECT_BREATHING | 93 | #define RGBLIGHT_EFFECT_BREATHING |
| 95 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 94 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 96 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 95 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/matrix/abelx/info.json b/keyboards/matrix/abelx/info.json index 60a272dc1f..f020f429d6 100644 --- a/keyboards/matrix/abelx/info.json +++ b/keyboards/matrix/abelx/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xAB87", | 8 | "pid": "0xAB87", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 9 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B4" | 15 | "pin": "B4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/matrix/cain_re/config.h b/keyboards/matrix/cain_re/config.h index 6bccbfbc21..b7ae408242 100644 --- a/keyboards/matrix/cain_re/config.h +++ b/keyboards/matrix/cain_re/config.h | |||
| @@ -30,8 +30,6 @@ | |||
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | 32 | ||
| 33 | |||
| 34 | #define RGBLED_NUM 14 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 33 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 34 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 35 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/matrix/cain_re/info.json b/keyboards/matrix/cain_re/info.json index 827690e3c6..b2ceda7e65 100644 --- a/keyboards/matrix/cain_re/info.json +++ b/keyboards/matrix/cain_re/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "sleep": true, | 13 | "sleep": true, |
| 13 | "led_map": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3] | 14 | "led_map": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3] |
| 14 | }, | 15 | }, |
diff --git a/keyboards/matrix/falcon/config.h b/keyboards/matrix/falcon/config.h index d817e8b6f2..4d7eb62efa 100644 --- a/keyboards/matrix/falcon/config.h +++ b/keyboards/matrix/falcon/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | //#define NO_PRINT | 27 | //#define NO_PRINT |
| 28 | 28 | ||
| 29 | //rgb light setting | 29 | //rgb light setting |
| 30 | #define RGBLED_NUM 4 | ||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/matrix/falcon/info.json b/keyboards/matrix/falcon/info.json index 6c0bb7b085..86cfbe66fe 100644 --- a/keyboards/matrix/falcon/info.json +++ b/keyboards/matrix/falcon/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "indicators": { | 16 | "indicators": { |
| 17 | "caps_lock": "E2" | 17 | "caps_lock": "E2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 4 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D1" | 23 | "pin": "D1" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/matrix/m12og/rev1/config.h b/keyboards/matrix/m12og/rev1/config.h index db94fb2a9a..5ed4aa0075 100644 --- a/keyboards/matrix/m12og/rev1/config.h +++ b/keyboards/matrix/m12og/rev1/config.h | |||
| @@ -42,6 +42,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 42 | #define RGBLIGHT_EFFECT_ALTERNATING | 42 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 43 | #define RGBLIGHT_EFFECT_TWINKLE | 43 | #define RGBLIGHT_EFFECT_TWINKLE |
| 44 | 44 | ||
| 45 | |||
| 46 | #define RGBLED_NUM 16 | ||
| 47 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB | 45 | #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB |
diff --git a/keyboards/matrix/m12og/rev1/info.json b/keyboards/matrix/m12og/rev1/info.json index 7f5942a82e..8187c81539 100644 --- a/keyboards/matrix/m12og/rev1/info.json +++ b/keyboards/matrix/m12og/rev1/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "scroll_lock": "B5" | 13 | "scroll_lock": "B5" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 16, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/matrix/m12og/rev2/config.h b/keyboards/matrix/m12og/rev2/config.h index bb47aaf286..353521e6b8 100644 --- a/keyboards/matrix/m12og/rev2/config.h +++ b/keyboards/matrix/m12og/rev2/config.h | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | #define RGBLIGHT_EFFECT_RGB_TEST | 14 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 15 | #define RGBLIGHT_EFFECT_ALTERNATING | 15 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 16 | #define RGBLIGHT_EFFECT_TWINKLE | 16 | #define RGBLIGHT_EFFECT_TWINKLE |
| 17 | #define RGBLED_NUM 16 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/matrix/m12og/rev2/info.json b/keyboards/matrix/m12og/rev2/info.json index e20234efa4..7eb5c328d5 100644 --- a/keyboards/matrix/m12og/rev2/info.json +++ b/keyboards/matrix/m12og/rev2/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/matrix/m20add/config.h b/keyboards/matrix/m20add/config.h index 421773affc..5e301cf1c4 100644 --- a/keyboards/matrix/m20add/config.h +++ b/keyboards/matrix/m20add/config.h | |||
| @@ -79,7 +79,6 @@ | |||
| 79 | #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 | 79 | #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 |
| 80 | 80 | ||
| 81 | // rgb light setting | 81 | // rgb light setting |
| 82 | #define RGBLED_NUM 20 | ||
| 83 | #define RGBLIGHT_EFFECT_BREATHING | 82 | #define RGBLIGHT_EFFECT_BREATHING |
| 84 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 83 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 85 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 84 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -94,4 +93,4 @@ | |||
| 94 | 93 | ||
| 95 | #define DRIVER_ADDR_1 0b1110100 | 94 | #define DRIVER_ADDR_1 0b1110100 |
| 96 | #define DRIVER_COUNT 1 | 95 | #define DRIVER_COUNT 1 |
| 97 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 96 | #define RGB_MATRIX_LED_COUNT 20 |
diff --git a/keyboards/matrix/m20add/info.json b/keyboards/matrix/m20add/info.json index 7d88bb81f5..25abd25827 100644 --- a/keyboards/matrix/m20add/info.json +++ b/keyboards/matrix/m20add/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x20AD", | 8 | "pid": "0x20AD", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 20 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B4" | 15 | "pin": "B4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/matrix/me/config.h b/keyboards/matrix/me/config.h index 8ee1b57bde..2ba6684fd7 100644 --- a/keyboards/matrix/me/config.h +++ b/keyboards/matrix/me/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | //#define NO_PRINT | 27 | //#define NO_PRINT |
| 28 | 28 | ||
| 29 | //rgb light setting | 29 | //rgb light setting |
| 30 | #define RGBLED_NUM 4 | ||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/matrix/me/info.json b/keyboards/matrix/me/info.json index 935035317c..2cc91e3220 100644 --- a/keyboards/matrix/me/info.json +++ b/keyboards/matrix/me/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "E6", | 17 | "caps_lock": "E6", |
| 18 | "scroll_lock": "D2" | 18 | "scroll_lock": "D2" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 4 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/matrix/noah/config.h b/keyboards/matrix/noah/config.h index 5a74ab5206..05b2a0a5f1 100644 --- a/keyboards/matrix/noah/config.h +++ b/keyboards/matrix/noah/config.h | |||
| @@ -75,7 +75,6 @@ | |||
| 75 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | 75 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
| 76 | 76 | ||
| 77 | /* indicator rgb */ | 77 | /* indicator rgb */ |
| 78 | #define RGBLED_NUM 7 | ||
| 79 | #define RGBLIGHT_EFFECT_BREATHING | 78 | #define RGBLIGHT_EFFECT_BREATHING |
| 80 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 79 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 81 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 80 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/matrix/noah/info.json b/keyboards/matrix/noah/info.json index 33dedc6bce..67c5fe0221 100644 --- a/keyboards/matrix/noah/info.json +++ b/keyboards/matrix/noah/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0065", | 8 | "pid": "0x0065", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 7 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1" | 15 | "pin": "B1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/maxr1998/pulse4k/config.h b/keyboards/maxr1998/pulse4k/config.h index 0b552acfda..c6cf684b8e 100644 --- a/keyboards/maxr1998/pulse4k/config.h +++ b/keyboards/maxr1998/pulse4k/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 2 // number of LEDs | ||
| 35 | 34 | ||
| 36 | /* | 35 | /* |
| 37 | * Feature disable options | 36 | * Feature disable options |
diff --git a/keyboards/maxr1998/pulse4k/info.json b/keyboards/maxr1998/pulse4k/info.json index 2d3b6e8a4b..004545cbbf 100644 --- a/keyboards/maxr1998/pulse4k/info.json +++ b/keyboards/maxr1998/pulse4k/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 2 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mechanickeys/undead60m/config.h b/keyboards/mechanickeys/undead60m/config.h index 762f183b00..5135b7049e 100644 --- a/keyboards/mechanickeys/undead60m/config.h +++ b/keyboards/mechanickeys/undead60m/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* RGB Underglow */ | 19 | /* RGB Underglow */ |
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechanickeys/undead60m/info.json b/keyboards/mechanickeys/undead60m/info.json index 348818ea0d..9941c93b12 100644 --- a/keyboards/mechanickeys/undead60m/info.json +++ b/keyboards/mechanickeys/undead60m/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h index ae92085bde..7fac8316cf 100644 --- a/keyboards/mechbrewery/mb65s/config.h +++ b/keyboards/mechbrewery/mb65s/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 16 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechbrewery/mb65s/info.json b/keyboards/mechbrewery/mb65s/info.json index ce113f1353..c8c0392da9 100644 --- a/keyboards/mechbrewery/mb65s/info.json +++ b/keyboards/mechbrewery/mb65s/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E2" | 21 | "pin": "E2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 16, | ||
| 24 | "max_brightness": 240, | 25 | "max_brightness": 240, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/mechkeys/acr60/config.h b/keyboards/mechkeys/acr60/config.h index 8f261b69f2..d8d51dbdb2 100644 --- a/keyboards/mechkeys/acr60/config.h +++ b/keyboards/mechkeys/acr60/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 20 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechkeys/acr60/info.json b/keyboards/mechkeys/acr60/info.json index 422b3f6270..a1f6677ef6 100644 --- a/keyboards/mechkeys/acr60/info.json +++ b/keyboards/mechkeys/acr60/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "B2", | 21 | "caps_lock": "B2", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 20 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "E2" | 28 | "pin": "E2" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/mechkeys/alu84/config.h b/keyboards/mechkeys/alu84/config.h index 16e5930364..021d49fce1 100755 --- a/keyboards/mechkeys/alu84/config.h +++ b/keyboards/mechkeys/alu84/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | # define RGBLED_NUM 16 | ||
| 21 | # define RGBLIGHT_HUE_STEP 10 | 20 | # define RGBLIGHT_HUE_STEP 10 |
| 22 | # define RGBLIGHT_SAT_STEP 10 | 21 | # define RGBLIGHT_SAT_STEP 10 |
| 23 | # define RGBLIGHT_VAL_STEP 10 | 22 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/mechkeys/alu84/info.json b/keyboards/mechkeys/alu84/info.json index 5251bc600b..300364005c 100644 --- a/keyboards/mechkeys/alu84/info.json +++ b/keyboards/mechkeys/alu84/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 16 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/mechkeys/espectro/config.h b/keyboards/mechkeys/espectro/config.h index a7436fb00c..5f4a59674b 100755 --- a/keyboards/mechkeys/espectro/config.h +++ b/keyboards/mechkeys/espectro/config.h | |||
| @@ -22,7 +22,6 @@ | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 18 | ||
| 26 | #define RGBLIGHT_HUE_STEP 10 | 25 | #define RGBLIGHT_HUE_STEP 10 |
| 27 | #define RGBLIGHT_SAT_STEP 10 | 26 | #define RGBLIGHT_SAT_STEP 10 |
| 28 | #define RGBLIGHT_VAL_STEP 10 | 27 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/mechkeys/espectro/info.json b/keyboards/mechkeys/espectro/info.json index 40d6710829..769749ccb7 100644 --- a/keyboards/mechkeys/espectro/info.json +++ b/keyboards/mechkeys/espectro/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "scroll_lock": "B1", | 23 | "scroll_lock": "B1", |
| 24 | "on_state": 0 | 24 | "on_state": 0 |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 18 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "E2" | 30 | "pin": "E2" |
| 28 | }, | 31 | }, |
diff --git a/keyboards/mechkeys/mechmini/v1/config.h b/keyboards/mechkeys/mechmini/v1/config.h index f76d0f01e1..2e1fefef99 100644 --- a/keyboards/mechkeys/mechmini/v1/config.h +++ b/keyboards/mechkeys/mechmini/v1/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB underglow */ | 20 | /* RGB underglow */ |
| 21 | #define RGBLED_NUM 16 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechkeys/mechmini/v1/info.json b/keyboards/mechkeys/mechmini/v1/info.json index eea1d15feb..e8cb6f16bf 100644 --- a/keyboards/mechkeys/mechmini/v1/info.json +++ b/keyboards/mechkeys/mechmini/v1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/mechkeys/mechmini/v2/config.h b/keyboards/mechkeys/mechmini/v2/config.h index 9517f6a731..6cd3f0e231 100755 --- a/keyboards/mechkeys/mechmini/v2/config.h +++ b/keyboards/mechkeys/mechmini/v2/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 14 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 34 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 35 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 36 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechkeys/mechmini/v2/info.json b/keyboards/mechkeys/mechmini/v2/info.json index 53f60637f9..84b73be44e 100644 --- a/keyboards/mechkeys/mechmini/v2/info.json +++ b/keyboards/mechkeys/mechmini/v2/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B6" | 17 | "pin": "B6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "E2" | 23 | "pin": "E2" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/mechkeys/mk60/config.h b/keyboards/mechkeys/mk60/config.h index 6ee939f23c..39ae589193 100644 --- a/keyboards/mechkeys/mk60/config.h +++ b/keyboards/mechkeys/mk60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechkeys/mk60/info.json b/keyboards/mechkeys/mk60/info.json index fee9951e73..6b34629ef4 100644 --- a/keyboards/mechkeys/mk60/info.json +++ b/keyboards/mechkeys/mk60/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 12, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/mechllama/g35/v1/config.h b/keyboards/mechllama/g35/v1/config.h deleted file mode 100644 index 1aee08380c..0000000000 --- a/keyboards/mechllama/g35/v1/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Kaylyn Bogle | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define RGBLED_NUM 41 | ||
diff --git a/keyboards/mechllama/g35/v1/info.json b/keyboards/mechllama/g35/v1/info.json index c5d4c69e7b..36d542dc58 100644 --- a/keyboards/mechllama/g35/v1/info.json +++ b/keyboards/mechllama/g35/v1/info.json | |||
| @@ -6,5 +6,8 @@ | |||
| 6 | "cols": ["D6", "D7", "B4", "B5", "B6", "F0", "D5"], | 6 | "cols": ["D6", "D7", "B4", "B5", "B6", "F0", "D5"], |
| 7 | "rows": ["F5", "F6", "F4", "F1", "D4"] | 7 | "rows": ["F5", "F6", "F4", "F1", "D4"] |
| 8 | }, | 8 | }, |
| 9 | "diode_direction": "COL2ROW" | 9 | "diode_direction": "COL2ROW", |
| 10 | "rgblight": { | ||
| 11 | "led_count": 41 | ||
| 12 | } | ||
| 10 | } | 13 | } |
diff --git a/keyboards/mechllama/g35/v2/config.h b/keyboards/mechllama/g35/v2/config.h deleted file mode 100644 index 7c15560a1a..0000000000 --- a/keyboards/mechllama/g35/v2/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Kaylyn Bogle | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define RGBLED_NUM 6 | ||
diff --git a/keyboards/mechllama/g35/v2/info.json b/keyboards/mechllama/g35/v2/info.json index 563625f428..aa6bab7525 100644 --- a/keyboards/mechllama/g35/v2/info.json +++ b/keyboards/mechllama/g35/v2/info.json | |||
| @@ -6,5 +6,8 @@ | |||
| 6 | "cols": ["D6", "D7", "B4", "B5", "B6", "F6", "D5"], | 6 | "cols": ["D6", "D7", "B4", "B5", "B6", "F6", "D5"], |
| 7 | "rows": ["F5", "F4", "F1", "F0", "D4"] | 7 | "rows": ["F5", "F4", "F1", "F0", "D4"] |
| 8 | }, | 8 | }, |
| 9 | "diode_direction": "COL2ROW" | 9 | "diode_direction": "COL2ROW", |
| 10 | "rgblight": { | ||
| 11 | "led_count": 6 | ||
| 12 | } | ||
| 10 | } | 13 | } |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h index 1e549f9a89..59a4427981 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h +++ b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #define RGBLED_NUM 23 | ||
| 4 | #define RGBLIGHT_EFFECT_BREATHING | 3 | #define RGBLIGHT_EFFECT_BREATHING |
| 5 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 4 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 6 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 5 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/info.json b/keyboards/mechlovin/adelais/rgb_led/rev2/info.json index 4ac693f894..e3a711736e 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev2/info.json +++ b/keyboards/mechlovin/adelais/rgb_led/rev2/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | {"pin_a": "A4", "pin_b": "A3"} | 16 | {"pin_a": "A4", "pin_b": "A3"} |
| 17 | ] | 17 | ] |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 23 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "A15" | 23 | "pin": "A15" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h index c4f801b40d..6680bb246f 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h +++ b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define WS2812_SPI SPID1 // default: SPID1 | 21 | #define WS2812_SPI SPID1 // default: SPID1 |
| 22 | #define WS2812_SPI_MOSI_PAL_MODE 5 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 | 22 | #define WS2812_SPI_MOSI_PAL_MODE 5 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 |
| 23 | #define RGBLED_NUM 23 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/info.json b/keyboards/mechlovin/adelais/rgb_led/rev3/info.json index d1775ccb83..a4b71a1938 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev3/info.json +++ b/keyboards/mechlovin/adelais/rgb_led/rev3/info.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | "num_lock": "A0", | 23 | "num_lock": "A0", |
| 24 | "scroll_lock": "C15" | 24 | "scroll_lock": "C15" |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | ||
| 27 | "led_count": 23 | ||
| 28 | }, | ||
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "A7", | 30 | "pin": "A7", |
| 28 | "driver": "spi" | 31 | "driver": "spi" |
diff --git a/keyboards/mechlovin/adelais/standard_led/arm/config.h b/keyboards/mechlovin/adelais/standard_led/arm/config.h index 1c9b61b9df..d7169c0443 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 20 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 21 | #define BACKLIGHT_PWM_CHANNEL 3 | 21 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 23 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/adelais/standard_led/arm/info.json b/keyboards/mechlovin/adelais/standard_led/arm/info.json index 9c6bd46a70..c4b97fbd78 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/info.json +++ b/keyboards/mechlovin/adelais/standard_led/arm/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "pin": "B0", | 9 | "pin": "B0", |
| 10 | "breathing": true | 10 | "breathing": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 23 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "A7" | 16 | "pin": "A7" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h b/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h index 0e23efaf3a..b4c3ab93e8 100644 --- a/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h +++ b/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h | |||
| @@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* COL2ROW, ROW2COL*/ | 31 | /* COL2ROW, ROW2COL*/ |
| 32 | #define DIODE_DIRECTION ROW2COL | 32 | #define DIODE_DIRECTION ROW2COL |
| 33 | 33 | ||
| 34 | #define RGBLED_NUM 23 | ||
| 35 | #define RGBLIGHT_EFFECT_BREATHING | 34 | #define RGBLIGHT_EFFECT_BREATHING |
| 36 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 35 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 37 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 36 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json b/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json index 31de7de957..61904c585f 100644 --- a/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json +++ b/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "pin": "B5", | 14 | "pin": "B5", |
| 15 | "breathing": true | 15 | "breathing": true |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | ||
| 18 | "led_count": 23 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "E2" | 21 | "pin": "E2" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/mechlovin/delphine/mono_led/config.h b/keyboards/mechlovin/delphine/mono_led/config.h index eafe772665..79571978e3 100644 --- a/keyboards/mechlovin/delphine/mono_led/config.h +++ b/keyboards/mechlovin/delphine/mono_led/config.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #pragma once | 2 | #pragma once |
| 3 | 3 | ||
| 4 | #ifdef RGBLIGHT_ENABLE | 4 | #ifdef RGBLIGHT_ENABLE |
| 5 | #define RGBLED_NUM 13 | ||
| 6 | #define RGBLIGHT_HUE_STEP 8 | 5 | #define RGBLIGHT_HUE_STEP 8 |
| 7 | #define RGBLIGHT_SAT_STEP 8 | 6 | #define RGBLIGHT_SAT_STEP 8 |
| 8 | #define RGBLIGHT_VAL_STEP 8 | 7 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/delphine/mono_led/info.json b/keyboards/mechlovin/delphine/mono_led/info.json index 71756a3daa..c59d9fbf2d 100644 --- a/keyboards/mechlovin/delphine/mono_led/info.json +++ b/keyboards/mechlovin/delphine/mono_led/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 13, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/mechlovin/delphine/rgb_led/config.h b/keyboards/mechlovin/delphine/rgb_led/config.h index 18b2e78d05..0f5432e977 100644 --- a/keyboards/mechlovin/delphine/rgb_led/config.h +++ b/keyboards/mechlovin/delphine/rgb_led/config.h | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #ifdef RGBLIGHT_ENABLE | 3 | #ifdef RGBLIGHT_ENABLE |
| 4 | #define RGBLED_NUM 13 | ||
| 5 | #define RGBLIGHT_HUE_STEP 8 | 4 | #define RGBLIGHT_HUE_STEP 8 |
| 6 | #define RGBLIGHT_SAT_STEP 8 | 5 | #define RGBLIGHT_SAT_STEP 8 |
| 7 | #define RGBLIGHT_VAL_STEP 8 | 6 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/delphine/rgb_led/info.json b/keyboards/mechlovin/delphine/rgb_led/info.json index d3ba766de4..26729d4494 100644 --- a/keyboards/mechlovin/delphine/rgb_led/info.json +++ b/keyboards/mechlovin/delphine/rgb_led/info.json | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 13, | ||
| 7 | "sleep": true | 8 | "sleep": true |
| 8 | }, | 9 | }, |
| 9 | "ws2812": { | 10 | "ws2812": { |
diff --git a/keyboards/mechlovin/foundation/config.h b/keyboards/mechlovin/foundation/config.h index a508e4f24f..54ef985e9a 100644 --- a/keyboards/mechlovin/foundation/config.h +++ b/keyboards/mechlovin/foundation/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 22 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/foundation/info.json b/keyboards/mechlovin/foundation/info.json index 7023dc18e2..5e05fd12bf 100644 --- a/keyboards/mechlovin/foundation/info.json +++ b/keyboards/mechlovin/foundation/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 22, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/mechlovin/hannah60rgb/rev2/config.h b/keyboards/mechlovin/hannah60rgb/rev2/config.h index 81335f31be..641a33378e 100644 --- a/keyboards/mechlovin/hannah60rgb/rev2/config.h +++ b/keyboards/mechlovin/hannah60rgb/rev2/config.h | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #ifdef RGBLIGHT_ENABLE | 3 | #ifdef RGBLIGHT_ENABLE |
| 4 | # define RGBLED_NUM 18 | ||
| 5 | # define RGBLIGHT_EFFECT_BREATHING | 4 | # define RGBLIGHT_EFFECT_BREATHING |
| 6 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 5 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 7 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 6 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/hannah60rgb/rev2/info.json b/keyboards/mechlovin/hannah60rgb/rev2/info.json index 61ce6898c8..04d6db27c0 100644 --- a/keyboards/mechlovin/hannah60rgb/rev2/info.json +++ b/keyboards/mechlovin/hannah60rgb/rev2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6002", | 8 | "pid": "0x6002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A15" | 15 | "pin": "A15" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mechlovin/hannah910/rev1/config.h b/keyboards/mechlovin/hannah910/rev1/config.h deleted file mode 100644 index 7b793c75b9..0000000000 --- a/keyboards/mechlovin/hannah910/rev1/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 9 \ No newline at end of file | ||
diff --git a/keyboards/mechlovin/hannah910/rev1/info.json b/keyboards/mechlovin/hannah910/rev1/info.json index 49eb2af5c1..0dea587cb5 100644 --- a/keyboards/mechlovin/hannah910/rev1/info.json +++ b/keyboards/mechlovin/hannah910/rev1/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 9 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/mechlovin/hannah910/rev2/config.h b/keyboards/mechlovin/hannah910/rev2/config.h deleted file mode 100644 index c37c581ae6..0000000000 --- a/keyboards/mechlovin/hannah910/rev2/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 28 \ No newline at end of file | ||
diff --git a/keyboards/mechlovin/hannah910/rev2/info.json b/keyboards/mechlovin/hannah910/rev2/info.json index 43f6ab51a1..177831d153 100644 --- a/keyboards/mechlovin/hannah910/rev2/info.json +++ b/keyboards/mechlovin/hannah910/rev2/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 28 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/mechlovin/hannah910/rev3/config.h b/keyboards/mechlovin/hannah910/rev3/config.h deleted file mode 100644 index fbb878ab6a..0000000000 --- a/keyboards/mechlovin/hannah910/rev3/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 28 | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/info.json b/keyboards/mechlovin/hannah910/rev3/info.json index d6b606913d..df5a850bf5 100644 --- a/keyboards/mechlovin/hannah910/rev3/info.json +++ b/keyboards/mechlovin/hannah910/rev3/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 28 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/mechlovin/infinity87/rev1/standard/config.h b/keyboards/mechlovin/infinity87/rev1/standard/config.h index 68ee0c5479..8427cb2140 100644 --- a/keyboards/mechlovin/infinity87/rev1/standard/config.h +++ b/keyboards/mechlovin/infinity87/rev1/standard/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 26 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/infinity87/rev1/standard/info.json b/keyboards/mechlovin/infinity87/rev1/standard/info.json index 99401953e1..f042e94761 100644 --- a/keyboards/mechlovin/infinity87/rev1/standard/info.json +++ b/keyboards/mechlovin/infinity87/rev1/standard/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 26, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mechlovin/infinity87/rev2/config.h b/keyboards/mechlovin/infinity87/rev2/config.h index ac00293d82..205f8c7abc 100644 --- a/keyboards/mechlovin/infinity87/rev2/config.h +++ b/keyboards/mechlovin/infinity87/rev2/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define DIODE_DIRECTION ROW2COL | 35 | #define DIODE_DIRECTION ROW2COL |
| 36 | 36 | ||
| 37 | #ifdef RGBLIGHT_ENABLE | 37 | #ifdef RGBLIGHT_ENABLE |
| 38 | #define RGBLED_NUM 24 | ||
| 39 | #define RGBLIGHT_HUE_STEP 8 | 38 | #define RGBLIGHT_HUE_STEP 8 |
| 40 | #define RGBLIGHT_SAT_STEP 8 | 39 | #define RGBLIGHT_SAT_STEP 8 |
| 41 | #define RGBLIGHT_VAL_STEP 8 | 40 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/infinity87/rev2/info.json b/keyboards/mechlovin/infinity87/rev2/info.json index ff98dd28e5..19868b66fe 100644 --- a/keyboards/mechlovin/infinity87/rev2/info.json +++ b/keyboards/mechlovin/infinity87/rev2/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "scroll_lock": "B4" | 18 | "scroll_lock": "B4" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 24, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/mechlovin/infinity88/config.h b/keyboards/mechlovin/infinity88/config.h index e21a446353..9f5eaf5d87 100644 --- a/keyboards/mechlovin/infinity88/config.h +++ b/keyboards/mechlovin/infinity88/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define BACKLIGHT_PWM_DRIVER PWMD3 | 20 | #define BACKLIGHT_PWM_DRIVER PWMD3 |
| 21 | #define BACKLIGHT_PWM_CHANNEL 3 | 21 | #define BACKLIGHT_PWM_CHANNEL 3 |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 26 | ||
| 24 | /*== all animations enable ==*/#define RGBLIGHT_EFFECT_BREATHING | 23 | /*== all animations enable ==*/#define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/infinity88/info.json b/keyboards/mechlovin/infinity88/info.json index cd8d87eb34..d69b97712f 100644 --- a/keyboards/mechlovin/infinity88/info.json +++ b/keyboards/mechlovin/infinity88/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "num_lock": "A3" | 22 | "num_lock": "A3" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 26, | ||
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
| 27 | "ws2812": { | 28 | "ws2812": { |
diff --git a/keyboards/mechlovin/infinityce/config.h b/keyboards/mechlovin/infinityce/config.h index 88c6c21dfa..061ea19c09 100644 --- a/keyboards/mechlovin/infinityce/config.h +++ b/keyboards/mechlovin/infinityce/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 31 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/infinityce/info.json b/keyboards/mechlovin/infinityce/info.json index 1c49d54106..35cec0e699 100644 --- a/keyboards/mechlovin/infinityce/info.json +++ b/keyboards/mechlovin/infinityce/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 31 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/mechlovin/kanu/config.h b/keyboards/mechlovin/kanu/config.h index bfa2908890..c7bed0450a 100644 --- a/keyboards/mechlovin/kanu/config.h +++ b/keyboards/mechlovin/kanu/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/kanu/info.json b/keyboards/mechlovin/kanu/info.json index 1e8dafd2d7..1ac79221b7 100644 --- a/keyboards/mechlovin/kanu/info.json +++ b/keyboards/mechlovin/kanu/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 6 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/mechlovin/kay60/config.h b/keyboards/mechlovin/kay60/config.h index 766455991b..8a6f5afd63 100644 --- a/keyboards/mechlovin/kay60/config.h +++ b/keyboards/mechlovin/kay60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 22 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/kay60/info.json b/keyboards/mechlovin/kay60/info.json index 549a00fe20..f2ed7367c7 100644 --- a/keyboards/mechlovin/kay60/info.json +++ b/keyboards/mechlovin/kay60/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "caps_lock": "B0" | 17 | "caps_lock": "B0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 22, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/mechlovin/kay65/config.h b/keyboards/mechlovin/kay65/config.h index af7979c0c1..8a6f5afd63 100644 --- a/keyboards/mechlovin/kay65/config.h +++ b/keyboards/mechlovin/kay65/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 24 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/kay65/info.json b/keyboards/mechlovin/kay65/info.json index 8d6872ad63..14aace0170 100644 --- a/keyboards/mechlovin/kay65/info.json +++ b/keyboards/mechlovin/kay65/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 24, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/mechlovin/olly/bb/config.h b/keyboards/mechlovin/olly/bb/config.h index 5e08eb5615..5c86bf9604 100644 --- a/keyboards/mechlovin/olly/bb/config.h +++ b/keyboards/mechlovin/olly/bb/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define MATRIX_ROW_PINS {D6, A5, A4, A3, A6} | 35 | #define MATRIX_ROW_PINS {D6, A5, A4, A3, A6} |
| 36 | 36 | ||
| 37 | #ifdef RGBLIGHT_ENABLE | 37 | #ifdef RGBLIGHT_ENABLE |
| 38 | #define RGBLED_NUM 24 | ||
| 39 | /*== all animations enable ==*/ | 38 | /*== all animations enable ==*/ |
| 40 | #define RGBLIGHT_EFFECT_BREATHING | 39 | #define RGBLIGHT_EFFECT_BREATHING |
| 41 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 40 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/mechlovin/olly/bb/info.json b/keyboards/mechlovin/olly/bb/info.json index c1aab7d24c..51ba7cdf5c 100644 --- a/keyboards/mechlovin/olly/bb/info.json +++ b/keyboards/mechlovin/olly/bb/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "breathing": true | 13 | "breathing": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 24, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/mechlovin/olly/jf/config.h b/keyboards/mechlovin/olly/jf/config.h index 312b95860f..271830740b 100644 --- a/keyboards/mechlovin/olly/jf/config.h +++ b/keyboards/mechlovin/olly/jf/config.h | |||
| @@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | /* COL2ROW, ROW2COL */ | 37 | /* COL2ROW, ROW2COL */ |
| 38 | #define DIODE_DIRECTION ROW2COL | 38 | #define DIODE_DIRECTION ROW2COL |
| 39 | 39 | ||
| 40 | #define RGBLED_NUM 27 | ||
| 41 | /*== all animations enable ==*/ | 40 | /*== all animations enable ==*/ |
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/mechlovin/olly/jf/info.json b/keyboards/mechlovin/olly/jf/info.json index 3864a45fa2..5152ece20d 100644 --- a/keyboards/mechlovin/olly/jf/info.json +++ b/keyboards/mechlovin/olly/jf/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "scroll_lock": "B2" | 18 | "scroll_lock": "B2" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 27, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/mechlovin/olly/octagon/config.h b/keyboards/mechlovin/olly/octagon/config.h index a1127f6aad..4630f81cac 100644 --- a/keyboards/mechlovin/olly/octagon/config.h +++ b/keyboards/mechlovin/olly/octagon/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 26 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mechlovin/olly/octagon/info.json b/keyboards/mechlovin/olly/octagon/info.json index 81893874e0..f1ceec7ed8 100644 --- a/keyboards/mechlovin/olly/octagon/info.json +++ b/keyboards/mechlovin/olly/octagon/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xD750", | 8 | "pid": "0xD750", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 26 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A7" | 15 | "pin": "A7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mechlovin/olly/orion/config.h b/keyboards/mechlovin/olly/orion/config.h index c7187dae3e..350695d34c 100644 --- a/keyboards/mechlovin/olly/orion/config.h +++ b/keyboards/mechlovin/olly/orion/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | # define RGBLED_NUM 24 | ||
| 22 | # define RGBLIGHT_HUE_STEP 8 | 21 | # define RGBLIGHT_HUE_STEP 8 |
| 23 | # define RGBLIGHT_SAT_STEP 8 | 22 | # define RGBLIGHT_SAT_STEP 8 |
| 24 | # define RGBLIGHT_VAL_STEP 8 | 23 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/olly/orion/info.json b/keyboards/mechlovin/olly/orion/info.json index 366ed46934..de3ac401eb 100644 --- a/keyboards/mechlovin/olly/orion/info.json +++ b/keyboards/mechlovin/olly/orion/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "scroll_lock": "A14" | 19 | "scroll_lock": "A14" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 24, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/mechlovin/pisces/config.h b/keyboards/mechlovin/pisces/config.h index 3a7da2efae..9fb77b22d3 100644 --- a/keyboards/mechlovin/pisces/config.h +++ b/keyboards/mechlovin/pisces/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/pisces/info.json b/keyboards/mechlovin/pisces/info.json index 3ac6c0e52a..7a63c54d85 100644 --- a/keyboards/mechlovin/pisces/info.json +++ b/keyboards/mechlovin/pisces/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "caps_lock": "B2" | 20 | "caps_lock": "B2" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 12, | ||
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/mechlovin/serratus/config.h b/keyboards/mechlovin/serratus/config.h index 63dee10a57..c67b965609 100644 --- a/keyboards/mechlovin/serratus/config.h +++ b/keyboards/mechlovin/serratus/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | #define DIODE_DIRECTION ROW2COL | 39 | #define DIODE_DIRECTION ROW2COL |
| 40 | 40 | ||
| 41 | #ifdef RGBLIGHT_ENABLE | 41 | #ifdef RGBLIGHT_ENABLE |
| 42 | #define RGBLED_NUM 24 | ||
| 43 | #define RGBLIGHT_HUE_STEP 8 | 42 | #define RGBLIGHT_HUE_STEP 8 |
| 44 | #define RGBLIGHT_SAT_STEP 8 | 43 | #define RGBLIGHT_SAT_STEP 8 |
| 45 | #define RGBLIGHT_VAL_STEP 8 | 44 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/serratus/info.json b/keyboards/mechlovin/serratus/info.json index db4f017f53..9288254f05 100644 --- a/keyboards/mechlovin/serratus/info.json +++ b/keyboards/mechlovin/serratus/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "scroll_lock": "B4" | 18 | "scroll_lock": "B4" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 24, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/mechlovin/zed60/config.h b/keyboards/mechlovin/zed60/config.h index bcd8ac989d..632d8c92bc 100644 --- a/keyboards/mechlovin/zed60/config.h +++ b/keyboards/mechlovin/zed60/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 22 | ||
| 22 | 21 | ||
| 23 | #define WS2812_SPI SPID1 // default: SPID1 | 22 | #define WS2812_SPI SPID1 // default: SPID1 |
| 24 | #define WS2812_SPI_MOSI_PAL_MODE 5 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 | 23 | #define WS2812_SPI_MOSI_PAL_MODE 5 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 |
diff --git a/keyboards/mechlovin/zed60/info.json b/keyboards/mechlovin/zed60/info.json index 4b2ff8b9fb..68395ba521 100644 --- a/keyboards/mechlovin/zed60/info.json +++ b/keyboards/mechlovin/zed60/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "caps_lock": "A4" | 17 | "caps_lock": "A4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 22, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/mechlovin/zed65/mono_led/config.h b/keyboards/mechlovin/zed65/mono_led/config.h index 3b7f3e6d1b..f40f4cd018 100644 --- a/keyboards/mechlovin/zed65/mono_led/config.h +++ b/keyboards/mechlovin/zed65/mono_led/config.h | |||
| @@ -61,7 +61,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 61 | #define VIA_QMK_LED_MATRIX_ENABLE | 61 | #define VIA_QMK_LED_MATRIX_ENABLE |
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | # define RGBLED_NUM 24 | ||
| 65 | # define RGBLIGHT_HUE_STEP 8 | 64 | # define RGBLIGHT_HUE_STEP 8 |
| 66 | # define RGBLIGHT_SAT_STEP 8 | 65 | # define RGBLIGHT_SAT_STEP 8 |
| 67 | # define RGBLIGHT_VAL_STEP 8 | 66 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechlovin/zed65/mono_led/info.json b/keyboards/mechlovin/zed65/mono_led/info.json index 8949852855..2374a4ee91 100644 --- a/keyboards/mechlovin/zed65/mono_led/info.json +++ b/keyboards/mechlovin/zed65/mono_led/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 24, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h index 6963ef94e7..6586815614 100644 --- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h +++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 24 | ||
| 22 | 21 | ||
| 23 | #define WS2812_SPI SPID2 // default: SPID1 | 22 | #define WS2812_SPI SPID2 // default: SPID1 |
| 24 | #define WS2812_SPI_MOSI_PAL_MODE 0 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 | 23 | #define WS2812_SPI_MOSI_PAL_MODE 0 // MOSI pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 |
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json index c1df85a776..916f107b5d 100644 --- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json +++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "caps_lock": "C14" | 17 | "caps_lock": "C14" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 24, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/mechstudio/ud_40_ortho/config.h b/keyboards/mechstudio/ud_40_ortho/config.h index 36d3166957..0145ca49bd 100644 --- a/keyboards/mechstudio/ud_40_ortho/config.h +++ b/keyboards/mechstudio/ud_40_ortho/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 10 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechstudio/ud_40_ortho/info.json b/keyboards/mechstudio/ud_40_ortho/info.json index 4f2a178665..e3cf711beb 100644 --- a/keyboards/mechstudio/ud_40_ortho/info.json +++ b/keyboards/mechstudio/ud_40_ortho/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "esc_output": "F0" | 18 | "esc_output": "F0" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 10, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/mechwild/mokulua/mirrored/config.h b/keyboards/mechwild/mokulua/mirrored/config.h index 05b2baf6ca..49c98b2398 100644 --- a/keyboards/mechwild/mokulua/mirrored/config.h +++ b/keyboards/mechwild/mokulua/mirrored/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #define SPLIT_OLED_ENABLE | 15 | #define SPLIT_OLED_ENABLE |
| 16 | 16 | ||
| 17 | /* RGB options */ | 17 | /* RGB options */ |
| 18 | # define RGBLED_NUM 16 | ||
| 19 | # define RGBLIGHT_HUE_STEP 8 | 18 | # define RGBLIGHT_HUE_STEP 8 |
| 20 | # define RGBLIGHT_SAT_STEP 8 | 19 | # define RGBLIGHT_SAT_STEP 8 |
| 21 | # define RGBLIGHT_VAL_STEP 8 | 20 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechwild/mokulua/mirrored/info.json b/keyboards/mechwild/mokulua/mirrored/info.json index fcc137877b..5fce89abbf 100644 --- a/keyboards/mechwild/mokulua/mirrored/info.json +++ b/keyboards/mechwild/mokulua/mirrored/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "soft_serial_pin": "D3" | 22 | "soft_serial_pin": "D3" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "sleep": true, | 26 | "sleep": true, |
| 26 | "split_count": [8, 8] | 27 | "split_count": [8, 8] |
| 27 | }, | 28 | }, |
diff --git a/keyboards/mechwild/mokulua/standard/config.h b/keyboards/mechwild/mokulua/standard/config.h index de5d1937ee..68190083cf 100644 --- a/keyboards/mechwild/mokulua/standard/config.h +++ b/keyboards/mechwild/mokulua/standard/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #define SPLIT_OLED_ENABLE | 15 | #define SPLIT_OLED_ENABLE |
| 16 | 16 | ||
| 17 | /* RGB options */ | 17 | /* RGB options */ |
| 18 | # define RGBLED_NUM 16 | ||
| 19 | # define RGBLIGHT_HUE_STEP 8 | 18 | # define RGBLIGHT_HUE_STEP 8 |
| 20 | # define RGBLIGHT_SAT_STEP 8 | 19 | # define RGBLIGHT_SAT_STEP 8 |
| 21 | # define RGBLIGHT_VAL_STEP 8 | 20 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechwild/mokulua/standard/info.json b/keyboards/mechwild/mokulua/standard/info.json index 17214ae6e3..23f7edb102 100644 --- a/keyboards/mechwild/mokulua/standard/info.json +++ b/keyboards/mechwild/mokulua/standard/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "soft_serial_pin": "D3" | 22 | "soft_serial_pin": "D3" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "sleep": true, | 26 | "sleep": true, |
| 26 | "split_count": [8, 8] | 27 | "split_count": [8, 8] |
| 27 | }, | 28 | }, |
diff --git a/keyboards/mechwild/murphpad/config.h b/keyboards/mechwild/murphpad/config.h index f75085b0fa..c73094e271 100644 --- a/keyboards/mechwild/murphpad/config.h +++ b/keyboards/mechwild/murphpad/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | #define OLED_FONT_H "keyboards/mechwild/murphpad/lib/murphpadfont.c" | 22 | #define OLED_FONT_H "keyboards/mechwild/murphpad/lib/murphpadfont.c" |
| 23 | 23 | ||
| 24 | # define RGBLED_NUM 8 | ||
| 25 | # define RGBLIGHT_HUE_STEP 8 | 24 | # define RGBLIGHT_HUE_STEP 8 |
| 26 | # define RGBLIGHT_SAT_STEP 8 | 25 | # define RGBLIGHT_SAT_STEP 8 |
| 27 | # define RGBLIGHT_VAL_STEP 8 | 26 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechwild/murphpad/info.json b/keyboards/mechwild/murphpad/info.json index 72068bc19d..23d618f2fb 100644 --- a/keyboards/mechwild/murphpad/info.json +++ b/keyboards/mechwild/murphpad/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "matrix": [0, 1] | 23 | "matrix": [0, 1] |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 8, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/mechwild/obe/config.h b/keyboards/mechwild/obe/config.h index dae58e13ad..240886e7c1 100644 --- a/keyboards/mechwild/obe/config.h +++ b/keyboards/mechwild/obe/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define TAP_CODE_DELAY 10 | 20 | #define TAP_CODE_DELAY 10 |
| 21 | 21 | ||
| 22 | /* RGB settings, uncomment this define to enable RGB */ | 22 | /* RGB settings, uncomment this define to enable RGB */ |
| 23 | # define RGBLED_NUM 10 | ||
| 24 | # define RGBLIGHT_HUE_STEP 8 | 23 | # define RGBLIGHT_HUE_STEP 8 |
| 25 | # define RGBLIGHT_SAT_STEP 8 | 24 | # define RGBLIGHT_SAT_STEP 8 |
| 26 | # define RGBLIGHT_VAL_STEP 8 | 25 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechwild/obe/info.json b/keyboards/mechwild/obe/info.json index 4a8747143e..72d0910304 100644 --- a/keyboards/mechwild/obe/info.json +++ b/keyboards/mechwild/obe/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "matrix": [5, 4] | 26 | "matrix": [5, 4] |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 10, | ||
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
| 31 | "ws2812": { | 32 | "ws2812": { |
diff --git a/keyboards/mechwild/puckbuddy/config.h b/keyboards/mechwild/puckbuddy/config.h index 9c743be434..576976c2ea 100644 --- a/keyboards/mechwild/puckbuddy/config.h +++ b/keyboards/mechwild/puckbuddy/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define TAP_CODE_DELAY 10 | 32 | #define TAP_CODE_DELAY 10 |
| 33 | 33 | ||
| 34 | /* RGB settings, uncomment this define to enable RGB */ | 34 | /* RGB settings, uncomment this define to enable RGB */ |
| 35 | # define RGBLED_NUM 3 | ||
| 36 | # define RGBLIGHT_HUE_STEP 8 | 35 | # define RGBLIGHT_HUE_STEP 8 |
| 37 | # define RGBLIGHT_SAT_STEP 8 | 36 | # define RGBLIGHT_SAT_STEP 8 |
| 38 | # define RGBLIGHT_VAL_STEP 8 | 37 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechwild/puckbuddy/info.json b/keyboards/mechwild/puckbuddy/info.json index 617c212635..a106a9ec99 100644 --- a/keyboards/mechwild/puckbuddy/info.json +++ b/keyboards/mechwild/puckbuddy/info.json | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | "on_state": 0 | 24 | "on_state": 0 |
| 25 | }, | 25 | }, |
| 26 | "rgblight": { | 26 | "rgblight": { |
| 27 | "led_count": 3, | ||
| 27 | "sleep": true | 28 | "sleep": true |
| 28 | }, | 29 | }, |
| 29 | "ws2812": { | 30 | "ws2812": { |
diff --git a/keyboards/mechwild/waka60/config.h b/keyboards/mechwild/waka60/config.h index d4334804c5..240886e7c1 100644 --- a/keyboards/mechwild/waka60/config.h +++ b/keyboards/mechwild/waka60/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define TAP_CODE_DELAY 10 | 20 | #define TAP_CODE_DELAY 10 |
| 21 | 21 | ||
| 22 | /* RGB settings, uncomment this define to enable RGB */ | 22 | /* RGB settings, uncomment this define to enable RGB */ |
| 23 | # define RGBLED_NUM 3 | ||
| 24 | # define RGBLIGHT_HUE_STEP 8 | 23 | # define RGBLIGHT_HUE_STEP 8 |
| 25 | # define RGBLIGHT_SAT_STEP 8 | 24 | # define RGBLIGHT_SAT_STEP 8 |
| 26 | # define RGBLIGHT_VAL_STEP 8 | 25 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mechwild/waka60/info.json b/keyboards/mechwild/waka60/info.json index 8c54eb67eb..f349eb8b2d 100644 --- a/keyboards/mechwild/waka60/info.json +++ b/keyboards/mechwild/waka60/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.1" | 9 | "device_version": "1.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 3, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mehkee96/config.h b/keyboards/mehkee96/config.h index e5f456306d..12e4413a7a 100644 --- a/keyboards/mehkee96/config.h +++ b/keyboards/mehkee96/config.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #define RGBLED_NUM 18 | ||
| 4 | #define RGBLIGHT_EFFECT_BREATHING | 3 | #define RGBLIGHT_EFFECT_BREATHING |
| 5 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 4 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 6 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 5 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mehkee96/info.json b/keyboards/mehkee96/info.json index f192bb5036..45d6758a79 100644 --- a/keyboards/mehkee96/info.json +++ b/keyboards/mehkee96/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/meletrix/zoom87/config.h b/keyboards/meletrix/zoom87/config.h index cfbd6c5294..10d5c76168 100644 --- a/keyboards/meletrix/zoom87/config.h +++ b/keyboards/meletrix/zoom87/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 20 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/meletrix/zoom87/info.json b/keyboards/meletrix/zoom87/info.json index 6372bc8d72..66a6e6cb59 100644 --- a/keyboards/meletrix/zoom87/info.json +++ b/keyboards/meletrix/zoom87/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "D2" | 21 | "pin": "D2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 20, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h index d9d3ca39c8..1770383617 100755 --- a/keyboards/melgeek/mj6xy/rev3/config.h +++ b/keyboards/melgeek/mj6xy/rev3/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | # define RGBLIGHT_EFFECT_TWINKLE | 28 | # define RGBLIGHT_EFFECT_TWINKLE |
| 29 | # define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) | 29 | # define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6) |
| 30 | # define RGBLIGHT_DEFAULT_SPD 10 | 30 | # define RGBLIGHT_DEFAULT_SPD 10 |
| 31 | # define RGBLED_NUM 16 | ||
| 32 | # define RGBLIGHT_HUE_STEP 8 | 31 | # define RGBLIGHT_HUE_STEP 8 |
| 33 | # define RGBLIGHT_SAT_STEP 8 | 32 | # define RGBLIGHT_SAT_STEP 8 |
| 34 | # define RGBLIGHT_VAL_STEP 8 | 33 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/info.json index 25ecb448dd..dbe5399b9a 100644 --- a/keyboards/melgeek/mj6xy/rev3/info.json +++ b/keyboards/melgeek/mj6xy/rev3/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "levels": 10 | 10 | "levels": 10 |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 16, | ||
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
| 15 | "ws2812": { | 16 | "ws2812": { |
diff --git a/keyboards/meow48/config.h b/keyboards/meow48/config.h index 20de09ce92..aacf48e9c4 100644 --- a/keyboards/meow48/config.h +++ b/keyboards/meow48/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define OLED_BRIGHTNESS 100 | 20 | #define OLED_BRIGHTNESS 100 |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 48 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/meow48/info.json b/keyboards/meow48/info.json index 3e0c172370..936732a8ae 100644 --- a/keyboards/meow48/info.json +++ b/keyboards/meow48/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 48, | ||
| 15 | "max_brightness": 100, | 16 | "max_brightness": 100, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/merge/uc1/config.h b/keyboards/merge/uc1/config.h index 486e6a48a0..b62efc4aae 100644 --- a/keyboards/merge/uc1/config.h +++ b/keyboards/merge/uc1/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 12 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/merge/uc1/info.json b/keyboards/merge/uc1/info.json index a3b0b778e8..818b34b78c 100644 --- a/keyboards/merge/uc1/info.json +++ b/keyboards/merge/uc1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/merge/um70/config.h b/keyboards/merge/um70/config.h index b68c84b426..04569dc989 100644 --- a/keyboards/merge/um70/config.h +++ b/keyboards/merge/um70/config.h | |||
| @@ -20,9 +20,8 @@ | |||
| 20 | #define MASTER_LEFT | 20 | #define MASTER_LEFT |
| 21 | #define SPLIT_MODS_ENABLE | 21 | #define SPLIT_MODS_ENABLE |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 83 | ||
| 24 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
| 25 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 24 | # define RGB_MATRIX_LED_COUNT 83 |
| 26 | # define RGB_MATRIX_SPLIT { 39, 44 } | 25 | # define RGB_MATRIX_SPLIT { 39, 44 } |
| 27 | #endif | 26 | #endif |
| 28 | 27 | ||
diff --git a/keyboards/merge/um70/info.json b/keyboards/merge/um70/info.json index e3e976d2f9..95f3bb1cea 100644 --- a/keyboards/merge/um70/info.json +++ b/keyboards/merge/um70/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "D3" | 25 | "pin": "D3" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 83, | ||
| 28 | "max_brightness": 150, | 29 | "max_brightness": 150, |
| 29 | "sleep": true, | 30 | "sleep": true, |
| 30 | "split_count": [39, 44] | 31 | "split_count": [39, 44] |
diff --git a/keyboards/merge/um80/config.h b/keyboards/merge/um80/config.h index 396d6ef87e..70a5d7ba59 100644 --- a/keyboards/merge/um80/config.h +++ b/keyboards/merge/um80/config.h | |||
| @@ -20,9 +20,8 @@ | |||
| 20 | #define MASTER_LEFT | 20 | #define MASTER_LEFT |
| 21 | #define SPLIT_MODS_ENABLE | 21 | #define SPLIT_MODS_ENABLE |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 100 | ||
| 24 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
| 25 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 24 | # define RGB_MATRIX_LED_COUNT 100 |
| 26 | # define RGB_MATRIX_SPLIT { 48, 52 } | 25 | # define RGB_MATRIX_SPLIT { 48, 52 } |
| 27 | #endif | 26 | #endif |
| 28 | 27 | ||
diff --git a/keyboards/merge/um80/info.json b/keyboards/merge/um80/info.json index 0cdec21a3c..554d1997a3 100644 --- a/keyboards/merge/um80/info.json +++ b/keyboards/merge/um80/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "D3" | 25 | "pin": "D3" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 100, | ||
| 28 | "max_brightness": 120, | 29 | "max_brightness": 120, |
| 29 | "sleep": true, | 30 | "sleep": true, |
| 30 | "split_count": [48, 52] | 31 | "split_count": [48, 52] |
diff --git a/keyboards/meson/config.h b/keyboards/meson/config.h index e89175723b..684a24c971 100644 --- a/keyboards/meson/config.h +++ b/keyboards/meson/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define USE_I2C | 20 | #define USE_I2C |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 10 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/meson/info.json b/keyboards/meson/info.json index a078bd163f..4b079696e1 100644 --- a/keyboards/meson/info.json +++ b/keyboards/meson/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 10, | ||
| 19 | "sleep": true, | 20 | "sleep": true, |
| 20 | "split_count": [5, 5] | 21 | "split_count": [5, 5] |
| 21 | }, | 22 | }, |
diff --git a/keyboards/mexsistor/ludmila/config.h b/keyboards/mexsistor/ludmila/config.h index ef34043237..8596b47af3 100644 --- a/keyboards/mexsistor/ludmila/config.h +++ b/keyboards/mexsistor/ludmila/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | /* COL2ROW, ROW2COL */ | 38 | /* COL2ROW, ROW2COL */ |
| 39 | #define DIODE_DIRECTION COL2ROW | 39 | #define DIODE_DIRECTION COL2ROW |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 4 | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mexsistor/ludmila/info.json b/keyboards/mexsistor/ludmila/info.json index 0fc10ca6a7..a270e76ade 100644 --- a/keyboards/mexsistor/ludmila/info.json +++ b/keyboards/mexsistor/ludmila/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | ] | 14 | ] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 4, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/mincedshon/ecila/config.h b/keyboards/mincedshon/ecila/config.h index 092ba58d37..296a0d7a44 100644 --- a/keyboards/mincedshon/ecila/config.h +++ b/keyboards/mincedshon/ecila/config.h | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | #define RGBLIGHT_EFFECT_RGB_TEST | 13 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 14 | #define RGBLIGHT_EFFECT_ALTERNATING | 14 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 15 | #define RGBLIGHT_EFFECT_TWINKLE | 15 | #define RGBLIGHT_EFFECT_TWINKLE |
| 16 | #define RGBLED_NUM 6 | ||
| 17 | #define RGBLIGHT_HUE_STEP 8 | 16 | #define RGBLIGHT_HUE_STEP 8 |
| 18 | #define RGBLIGHT_SAT_STEP 8 | 17 | #define RGBLIGHT_SAT_STEP 8 |
| 19 | #define RGBLIGHT_VAL_STEP 8 | 18 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mincedshon/ecila/info.json b/keyboards/mincedshon/ecila/info.json index 4ec8b61161..ddaa334d74 100644 --- a/keyboards/mincedshon/ecila/info.json +++ b/keyboards/mincedshon/ecila/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "pin": "B0" | 11 | "pin": "B0" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 6, | ||
| 14 | "max_brightness": 150, | 15 | "max_brightness": 150, |
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
diff --git a/keyboards/miniaxe/config.h b/keyboards/miniaxe/config.h index 8d0955d769..729112a021 100644 --- a/keyboards/miniaxe/config.h +++ b/keyboards/miniaxe/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 6 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/miniaxe/info.json b/keyboards/miniaxe/info.json index 6f6c68d8d0..9fe7166356 100644 --- a/keyboards/miniaxe/info.json +++ b/keyboards/miniaxe/info.json | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | "split": { | 11 | "split": { |
| 12 | "soft_serial_pin": "D0" | 12 | "soft_serial_pin": "D0" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | ||
| 15 | "led_count": 6 | ||
| 16 | }, | ||
| 14 | "ws2812": { | 17 | "ws2812": { |
| 15 | "pin": "F4" | 18 | "pin": "F4" |
| 16 | }, | 19 | }, |
diff --git a/keyboards/minimacro5/config.h b/keyboards/minimacro5/config.h index 317e150935..b669fed3f7 100644 --- a/keyboards/minimacro5/config.h +++ b/keyboards/minimacro5/config.h | |||
| @@ -31,4 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 5 // Number of LEDs | ||
diff --git a/keyboards/minimacro5/info.json b/keyboards/minimacro5/info.json index e417a689ae..a48527ee08 100644 --- a/keyboards/minimacro5/info.json +++ b/keyboards/minimacro5/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0007", | 8 | "pid": "0x0007", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 5 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B5" | 15 | "pin": "B5" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/minimon/index_tab/config.h b/keyboards/minimon/index_tab/config.h index 4082490fb5..8d555dcf9f 100644 --- a/keyboards/minimon/index_tab/config.h +++ b/keyboards/minimon/index_tab/config.h | |||
| @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 10 | ||
| 25 | |||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/minimon/index_tab/info.json b/keyboards/minimon/index_tab/info.json index cbf1f316a5..0e60aa1327 100644 --- a/keyboards/minimon/index_tab/info.json +++ b/keyboards/minimon/index_tab/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 10, | ||
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
| 15 | "ws2812": { | 16 | "ws2812": { |
diff --git a/keyboards/mint60/config.h b/keyboards/mint60/config.h index b36045f4d0..f01a9e0ebb 100644 --- a/keyboards/mint60/config.h +++ b/keyboards/mint60/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 8 | ||
| 26 | |||
| 27 | #define RGBLIGHT_HUE_STEP 10 | 25 | #define RGBLIGHT_HUE_STEP 10 |
| 28 | #define RGBLIGHT_SAT_STEP 17 | 26 | #define RGBLIGHT_SAT_STEP 17 |
| 29 | 27 | ||
diff --git a/keyboards/mint60/info.json b/keyboards/mint60/info.json index cdec63f48f..b649a88c0a 100644 --- a/keyboards/mint60/info.json +++ b/keyboards/mint60/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 8, | ||
| 20 | "split": true | 21 | "split": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/misonoworks/chocolatebar/config.h b/keyboards/misonoworks/chocolatebar/config.h index 55e57fb872..3f7b2a040f 100644 --- a/keyboards/misonoworks/chocolatebar/config.h +++ b/keyboards/misonoworks/chocolatebar/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/misonoworks/chocolatebar/info.json b/keyboards/misonoworks/chocolatebar/info.json index 65087ac481..09a0c094e5 100644 --- a/keyboards/misonoworks/chocolatebar/info.json +++ b/keyboards/misonoworks/chocolatebar/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 12 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B1" | 16 | "pin": "B1" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/misonoworks/karina/config.h b/keyboards/misonoworks/karina/config.h index eba5475d83..6ce2c3a706 100644 --- a/keyboards/misonoworks/karina/config.h +++ b/keyboards/misonoworks/karina/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 19 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/misonoworks/karina/info.json b/keyboards/misonoworks/karina/info.json index 2fc140cba6..2b3d9230bd 100644 --- a/keyboards/misonoworks/karina/info.json +++ b/keyboards/misonoworks/karina/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 19 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "D1" | 16 | "pin": "D1" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/misterknife/knife66/config.h b/keyboards/misterknife/knife66/config.h index 2cc286468e..dcb25e4d71 100644 --- a/keyboards/misterknife/knife66/config.h +++ b/keyboards/misterknife/knife66/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 6 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/misterknife/knife66/info.json b/keyboards/misterknife/knife66/info.json index 0d73f3ca68..9c6f061034 100644 --- a/keyboards/misterknife/knife66/info.json +++ b/keyboards/misterknife/knife66/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "driver": "pwm" | 13 | "driver": "pwm" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 6, | ||
| 16 | "max_brightness": 200, | 17 | "max_brightness": 200, |
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
diff --git a/keyboards/misterknife/knife66_iso/config.h b/keyboards/misterknife/knife66_iso/config.h index d2642f3cfd..301bd4e10b 100644 --- a/keyboards/misterknife/knife66_iso/config.h +++ b/keyboards/misterknife/knife66_iso/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 6 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/misterknife/knife66_iso/info.json b/keyboards/misterknife/knife66_iso/info.json index f7c3c68f3b..d546af23d8 100644 --- a/keyboards/misterknife/knife66_iso/info.json +++ b/keyboards/misterknife/knife66_iso/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "driver": "pwm" | 13 | "driver": "pwm" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 6, | ||
| 16 | "max_brightness": 160, | 17 | "max_brightness": 160, |
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
diff --git a/keyboards/miuni32/config.h b/keyboards/miuni32/config.h index 76fa3df3f4..3182936d76 100644 --- a/keyboards/miuni32/config.h +++ b/keyboards/miuni32/config.h | |||
| @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | //#define NO_ACTION_TAPPING | 38 | //#define NO_ACTION_TAPPING |
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | #define RGBLED_NUM 17 // Number of LEDs | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/miuni32/info.json b/keyboards/miuni32/info.json index 0c1c5d7c44..80f8e18bb0 100644 --- a/keyboards/miuni32/info.json +++ b/keyboards/miuni32/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 17 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mixi/config.h b/keyboards/mixi/config.h index 5ee863e024..635393434e 100644 --- a/keyboards/mixi/config.h +++ b/keyboards/mixi/config.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | /* Locking resynchronize hack */ | 6 | /* Locking resynchronize hack */ |
| 7 | #define LOCKING_RESYNC_ENABLE | 7 | #define LOCKING_RESYNC_ENABLE |
| 8 | 8 | ||
| 9 | #define RGBLED_NUM 5 | ||
| 10 | #define RGBLIGHT_HUE_STEP 8 | 9 | #define RGBLIGHT_HUE_STEP 8 |
| 11 | #define RGBLIGHT_SAT_STEP 8 | 10 | #define RGBLIGHT_SAT_STEP 8 |
| 12 | #define RGBLIGHT_VAL_STEP 8 | 11 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mixi/info.json b/keyboards/mixi/info.json index 7a69ec93fa..43c7d8df69 100644 --- a/keyboards/mixi/info.json +++ b/keyboards/mixi/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 5, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mlego/m48/rev1/config.h b/keyboards/mlego/m48/rev1/config.h index 303b7ae5b5..49860215fa 100644 --- a/keyboards/mlego/m48/rev1/config.h +++ b/keyboards/mlego/m48/rev1/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #ifdef RGBLIGHT_ENABLE | 18 | #ifdef RGBLIGHT_ENABLE |
| 19 | #define RGBLIGHT_LAYERS | 19 | #define RGBLIGHT_LAYERS |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 20 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/info.json index 4ccf9ede92..99c71ad37a 100644 --- a/keyboards/mlego/m48/rev1/info.json +++ b/keyboards/mlego/m48/rev1/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "num_lock": "B12", | 18 | "num_lock": "B12", |
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/mlego/m60/rev1/config.h b/keyboards/mlego/m60/rev1/config.h index dc6c4c225d..71050b6ad4 100644 --- a/keyboards/mlego/m60/rev1/config.h +++ b/keyboards/mlego/m60/rev1/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #define RGBLIGHT_LAYERS | 20 | #define RGBLIGHT_LAYERS |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 20 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m60/rev1/info.json b/keyboards/mlego/m60/rev1/info.json index bbe9f86112..112b590f54 100644 --- a/keyboards/mlego/m60/rev1/info.json +++ b/keyboards/mlego/m60/rev1/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "num_lock": "B12", | 18 | "num_lock": "B12", |
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h index ea26c474ae..6f08c76e46 100644 --- a/keyboards/mlego/m60_split/rev1/config.h +++ b/keyboards/mlego/m60_split/rev1/config.h | |||
| @@ -28,8 +28,6 @@ | |||
| 28 | 28 | ||
| 29 | #define RGBLIGHT_DEFAULT_HUE 213 | 29 | #define RGBLIGHT_DEFAULT_HUE 213 |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 16 | ||
| 32 | |||
| 33 | #define RGBLIGHT_EFFECT_BREATHING | 31 | #define RGBLIGHT_EFFECT_BREATHING |
| 34 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 35 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json index 8d236baac1..deeffe7753 100644 --- a/keyboards/mlego/m60_split/rev1/info.json +++ b/keyboards/mlego/m60_split/rev1/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B15" | 22 | "pin": "B15" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "max_brightness": 128, | 26 | "max_brightness": 128, |
| 26 | "split_count": [8, 8] | 27 | "split_count": [8, 8] |
| 27 | }, | 28 | }, |
diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h index 5431a749e0..7373aa2adf 100644 --- a/keyboards/mlego/m60_split/rev2/config.h +++ b/keyboards/mlego/m60_split/rev2/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | #ifdef RGBLIGHT_ENABLE | 28 | #ifdef RGBLIGHT_ENABLE |
| 29 | #define RGBLIGHT_LAYERS | 29 | #define RGBLIGHT_LAYERS |
| 30 | #define RGBLED_NUM 16 | ||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 30 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json index f0e64efb0b..bfa70ec0bd 100644 --- a/keyboards/mlego/m60_split/rev2/info.json +++ b/keyboards/mlego/m60_split/rev2/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 16, | ||
| 22 | "split_count": [8, 8] | 23 | "split_count": [8, 8] |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/mlego/m65/rev1/config.h b/keyboards/mlego/m65/rev1/config.h index 2ed846b170..22e463a856 100644 --- a/keyboards/mlego/m65/rev1/config.h +++ b/keyboards/mlego/m65/rev1/config.h | |||
| @@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define RGBLIGHT_LAYERS | 20 | #define RGBLIGHT_LAYERS |
| 21 | 21 | ||
| 22 | #undef RGBLED_NUM | ||
| 23 | #define RGBLED_NUM 20 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m65/rev1/info.json b/keyboards/mlego/m65/rev1/info.json index 3c939ef4c2..ebc79fbe96 100644 --- a/keyboards/mlego/m65/rev1/info.json +++ b/keyboards/mlego/m65/rev1/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "num_lock": "B12", | 18 | "num_lock": "B12", |
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/mlego/m65/rev2/config.h b/keyboards/mlego/m65/rev2/config.h index 791b73e2f6..47672b678c 100644 --- a/keyboards/mlego/m65/rev2/config.h +++ b/keyboards/mlego/m65/rev2/config.h | |||
| @@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define RGBLIGHT_LAYERS | 20 | #define RGBLIGHT_LAYERS |
| 21 | 21 | ||
| 22 | #undef RGBLED_NUM | ||
| 23 | #define RGBLED_NUM 20 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m65/rev2/info.json b/keyboards/mlego/m65/rev2/info.json index 64df0a2ba6..68c1ba9133 100644 --- a/keyboards/mlego/m65/rev2/info.json +++ b/keyboards/mlego/m65/rev2/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "num_lock": "B12", | 18 | "num_lock": "B12", |
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/mlego/m65/rev3/config.h b/keyboards/mlego/m65/rev3/config.h index 81f02bc411..824f66d57d 100644 --- a/keyboards/mlego/m65/rev3/config.h +++ b/keyboards/mlego/m65/rev3/config.h | |||
| @@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | 21 | ||
| 22 | #define RGBLIGHT_LAYERS | 22 | #define RGBLIGHT_LAYERS |
| 23 | #undef RGBLED_NUM | ||
| 24 | #define RGBLED_NUM 20 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m65/rev3/info.json b/keyboards/mlego/m65/rev3/info.json index b72b706587..577973e9d3 100644 --- a/keyboards/mlego/m65/rev3/info.json +++ b/keyboards/mlego/m65/rev3/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "num_lock": "B12", | 18 | "num_lock": "B12", |
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/mlego/m65/rev4/config.h b/keyboards/mlego/m65/rev4/config.h index 942f360688..3ab8aef5cc 100644 --- a/keyboards/mlego/m65/rev4/config.h +++ b/keyboards/mlego/m65/rev4/config.h | |||
| @@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | 21 | ||
| 22 | #define RGBLIGHT_LAYERS | 22 | #define RGBLIGHT_LAYERS |
| 23 | #undef RGBLED_NUM | ||
| 24 | #define RGBLED_NUM 20 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mlego/m65/rev4/info.json b/keyboards/mlego/m65/rev4/info.json index d671845e62..86e3ea36e2 100644 --- a/keyboards/mlego/m65/rev4/info.json +++ b/keyboards/mlego/m65/rev4/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "num_lock": "B12", | 18 | "num_lock": "B12", |
| 19 | "scroll_lock": "B13" | 19 | "scroll_lock": "B13" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 20 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/momoka_ergo/config.h b/keyboards/momoka_ergo/config.h index 9f4cc586e4..e4bf78dff0 100644 --- a/keyboards/momoka_ergo/config.h +++ b/keyboards/momoka_ergo/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define SELECT_SOFT_SERIAL_SPEED 5 | 20 | #define SELECT_SOFT_SERIAL_SPEED 5 |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 22 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_CHRISTMAS | 23 | #define RGBLIGHT_EFFECT_CHRISTMAS |
| 25 | #define RGBLIGHT_EFFECT_KNIGHT | 24 | #define RGBLIGHT_EFFECT_KNIGHT |
diff --git a/keyboards/momoka_ergo/info.json b/keyboards/momoka_ergo/info.json index 99f8dbd51a..21d0839542 100644 --- a/keyboards/momoka_ergo/info.json +++ b/keyboards/momoka_ergo/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D1" | 17 | "soft_serial_pin": "D1" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 22, | ||
| 20 | "split_count": [11, 11] | 21 | "split_count": [11, 11] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/monstargear/xo87/rgb/config.h b/keyboards/monstargear/xo87/rgb/config.h index 34d301311b..770c20f019 100644 --- a/keyboards/monstargear/xo87/rgb/config.h +++ b/keyboards/monstargear/xo87/rgb/config.h | |||
| @@ -22,7 +22,6 @@ | |||
| 22 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100 // limits maximum brightness of LEDs to 100 out of 255. | 22 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100 // limits maximum brightness of LEDs to 100 out of 255. |
| 23 | #define RGB_MATRIX_KEYPRESSES | 23 | #define RGB_MATRIX_KEYPRESSES |
| 24 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 24 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 25 | #define RGBLED_NUM 110 | ||
| 26 | // RGB Matrix Animation modes. Explicitly enabled | 25 | // RGB Matrix Animation modes. Explicitly enabled |
| 27 | // For full list of effects, see: | 26 | // For full list of effects, see: |
| 28 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 27 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
diff --git a/keyboards/monstargear/xo87/solderable/config.h b/keyboards/monstargear/xo87/solderable/config.h index f8e73dccb8..1725018300 100644 --- a/keyboards/monstargear/xo87/solderable/config.h +++ b/keyboards/monstargear/xo87/solderable/config.h | |||
| @@ -24,9 +24,6 @@ | |||
| 24 | #define KEYLED_ROW_PINS { E5,B4,B5,F0,C6,D5 } | 24 | #define KEYLED_ROW_PINS { E5,B4,B5,F0,C6,D5 } |
| 25 | #define KEYLED_COL_PINS { C4,C2,C0,E0,D4,E4,B6,B2,F4,A0,F2,A4,F1,A7,D3,A3 } | 25 | #define KEYLED_COL_PINS { C4,C2,C0,E0,D4,E4,B6,B2,F4,A0,F2,A4,F1,A7,D3,A3 } |
| 26 | 26 | ||
| 27 | #define RGB_MATRIX_LED_COUNT 21 | ||
| 28 | #define DRIVER_COUNT 2 | ||
| 29 | #define RGBLED_NUM 21 | ||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/monstargear/xo87/solderable/info.json b/keyboards/monstargear/xo87/solderable/info.json index 9a38968618..98afa6e228 100644 --- a/keyboards/monstargear/xo87/solderable/info.json +++ b/keyboards/monstargear/xo87/solderable/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "driver": "custom", | 17 | "driver": "custom", |
| 18 | "pin": "F0" | 18 | "pin": "F0" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 21 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D7" | 24 | "pin": "D7" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/montsinger/rebound/rev4/config.h b/keyboards/montsinger/rebound/rev4/config.h index b0b9bb6c17..274c715a93 100644 --- a/keyboards/montsinger/rebound/rev4/config.h +++ b/keyboards/montsinger/rebound/rev4/config.h | |||
| @@ -18,6 +18,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #define LOCKING_SUPPORT_ENABLE | 18 | #define LOCKING_SUPPORT_ENABLE |
| 19 | /* Locking resynchronize hack */ | 19 | /* Locking resynchronize hack */ |
| 20 | #define LOCKING_RESYNC_ENABLE | 20 | #define LOCKING_RESYNC_ENABLE |
| 21 | |||
| 22 | /* ws2812 RGB LED */ | ||
| 23 | #define RGBLED_NUM 17 | ||
diff --git a/keyboards/montsinger/rebound/rev4/info.json b/keyboards/montsinger/rebound/rev4/info.json index 9f4e89497e..565e56701f 100644 --- a/keyboards/montsinger/rebound/rev4/info.json +++ b/keyboards/montsinger/rebound/rev4/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "D2", "pin_b": "D3"} | 18 | {"pin_a": "D2", "pin_b": "D3"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 17 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B6" | 25 | "pin": "B6" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/mt/blocked65/config.h b/keyboards/mt/blocked65/config.h index b61be3ea8f..cfa335c00b 100644 --- a/keyboards/mt/blocked65/config.h +++ b/keyboards/mt/blocked65/config.h | |||
| @@ -34,4 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 14 | ||
diff --git a/keyboards/mt/blocked65/info.json b/keyboards/mt/blocked65/info.json index db328f8dad..ceb71d1efa 100644 --- a/keyboards/mt/blocked65/info.json +++ b/keyboards/mt/blocked65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E2" | 15 | "pin": "E2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mt/mt40/config.h b/keyboards/mt/mt40/config.h index bb90137436..32e880e6a2 100644 --- a/keyboards/mt/mt40/config.h +++ b/keyboards/mt/mt40/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/info.json index 4d3cab4eba..f53e9f60d4 100644 --- a/keyboards/mt/mt40/info.json +++ b/keyboards/mt/mt40/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D2" | 17 | "pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/mt/mt64rgb/config.h b/keyboards/mt/mt64rgb/config.h index 6bb1089509..c9bd211f1f 100644 --- a/keyboards/mt/mt64rgb/config.h +++ b/keyboards/mt/mt64rgb/config.h | |||
| @@ -90,7 +90,6 @@ | |||
| 90 | // #define RGBLIGHT_EFFECT_RGB_TEST | 90 | // #define RGBLIGHT_EFFECT_RGB_TEST |
| 91 | // #define RGBLIGHT_EFFECT_ALTERNATING | 91 | // #define RGBLIGHT_EFFECT_ALTERNATING |
| 92 | #define RGBLIGHT_EFFECT_TWINKLE | 92 | #define RGBLIGHT_EFFECT_TWINKLE |
| 93 | #define RGBLED_NUM 18 | ||
| 94 | #define RGBLIGHT_HUE_STEP 5 | 93 | #define RGBLIGHT_HUE_STEP 5 |
| 95 | #define RGBLIGHT_SAT_STEP 5 | 94 | #define RGBLIGHT_SAT_STEP 5 |
| 96 | #define RGBLIGHT_VAL_STEP 5 | 95 | #define RGBLIGHT_VAL_STEP 5 |
diff --git a/keyboards/mt/mt64rgb/info.json b/keyboards/mt/mt64rgb/info.json index ad62d19acb..0ba7cff765 100644 --- a/keyboards/mt/mt64rgb/info.json +++ b/keyboards/mt/mt64rgb/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mt/mt84/config.h b/keyboards/mt/mt84/config.h index ee9ebb0802..dcd6d783f5 100644 --- a/keyboards/mt/mt84/config.h +++ b/keyboards/mt/mt84/config.h | |||
| @@ -86,7 +86,6 @@ | |||
| 86 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | 86 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 87 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 87 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| 88 | # define RGBLIGHT_EFFECT_BREATHING | 88 | # define RGBLIGHT_EFFECT_BREATHING |
| 89 | # define RGBLED_NUM 18 | ||
| 90 | # define RGBLIGHT_HUE_STEP 8 | 89 | # define RGBLIGHT_HUE_STEP 8 |
| 91 | # define RGBLIGHT_SAT_STEP 8 | 90 | # define RGBLIGHT_SAT_STEP 8 |
| 92 | # define RGBLIGHT_VAL_STEP 8 | 91 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mt/mt84/info.json b/keyboards/mt/mt84/info.json index 371ef6bb59..f42d02b0fe 100644 --- a/keyboards/mt/mt84/info.json +++ b/keyboards/mt/mt84/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h index eff34dc521..401de718c1 100644 --- a/keyboards/mt/mt980/config.h +++ b/keyboards/mt/mt980/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 24 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json index 809474914f..13ee940f79 100644 --- a/keyboards/mt/mt980/info.json +++ b/keyboards/mt/mt980/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "E2" | 26 | "pin": "E2" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 24, | ||
| 29 | "max_brightness": 185 | 30 | "max_brightness": 185 |
| 30 | }, | 31 | }, |
| 31 | "bootmagic": { | 32 | "bootmagic": { |
diff --git a/keyboards/mt/ncr80/hotswap/config.h b/keyboards/mt/ncr80/hotswap/config.h index 59b05a0f9b..161525549b 100644 --- a/keyboards/mt/ncr80/hotswap/config.h +++ b/keyboards/mt/ncr80/hotswap/config.h | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 81 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mt/ncr80/hotswap/info.json b/keyboards/mt/ncr80/hotswap/info.json index f02a2f7405..670538a9a1 100644 --- a/keyboards/mt/ncr80/hotswap/info.json +++ b/keyboards/mt/ncr80/hotswap/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "pin": "E2" | 23 | "pin": "E2" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 81, | ||
| 26 | "max_brightness": 180 | 27 | "max_brightness": 180 |
| 27 | }, | 28 | }, |
| 28 | "processor": "atmega32u4", | 29 | "processor": "atmega32u4", |
diff --git a/keyboards/mt/split75/config.h b/keyboards/mt/split75/config.h index 35fe9a097f..688f30a251 100644 --- a/keyboards/mt/split75/config.h +++ b/keyboards/mt/split75/config.h | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | #define MATRIX_ROWS 8 | 7 | #define MATRIX_ROWS 8 |
| 8 | #define MATRIX_COLS 14 | 8 | #define MATRIX_COLS 14 |
| 9 | 9 | ||
| 10 | #define RGBLED_NUM 8 | ||
| 11 | #define RGBLIGHT_EFFECT_BREATHING | 10 | #define RGBLIGHT_EFFECT_BREATHING |
| 12 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 11 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 13 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 12 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/mt/split75/info.json b/keyboards/mt/split75/info.json index 0ac1bbde8a..0fe612ebf0 100644 --- a/keyboards/mt/split75/info.json +++ b/keyboards/mt/split75/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D4" | 12 | "pin": "D4" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 8, | ||
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
| 17 | "ws2812": { | 18 | "ws2812": { |
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h index c64507dedd..f5e5dd16ec 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/config.h +++ b/keyboards/mtbkeys/mtb60/hotswap/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json index 4929ca1952..d14ef0fca8 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/info.json +++ b/keyboards/mtbkeys/mtb60/hotswap/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h index c64507dedd..f5e5dd16ec 100644 --- a/keyboards/mtbkeys/mtb60/solder/config.h +++ b/keyboards/mtbkeys/mtb60/solder/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json index 33b623d1d3..31a7340137 100644 --- a/keyboards/mtbkeys/mtb60/solder/info.json +++ b/keyboards/mtbkeys/mtb60/solder/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mwstudio/alicekk/config.h b/keyboards/mwstudio/alicekk/config.h index 2e8b3f3bec..ed091bc482 100644 --- a/keyboards/mwstudio/alicekk/config.h +++ b/keyboards/mwstudio/alicekk/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 19 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 20 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 20 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
| 21 | #define RGBLED_NUM 87 | ||
| 22 | 21 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/mwstudio/alicekk/info.json b/keyboards/mwstudio/alicekk/info.json index b77bbd8bdf..6ed32cefe6 100644 --- a/keyboards/mwstudio/alicekk/info.json +++ b/keyboards/mwstudio/alicekk/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "B1" | 21 | "pin": "B1" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 87, | ||
| 24 | "max_brightness": 200 | 25 | "max_brightness": 200 |
| 25 | }, | 26 | }, |
| 26 | "processor": "STM32F103", | 27 | "processor": "STM32F103", |
diff --git a/keyboards/mwstudio/mw65_black/config.h b/keyboards/mwstudio/mw65_black/config.h index f987360d4a..cf0d26844e 100644 --- a/keyboards/mwstudio/mw65_black/config.h +++ b/keyboards/mwstudio/mw65_black/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 21 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mwstudio/mw65_black/info.json b/keyboards/mwstudio/mw65_black/info.json index baa73a6e3b..fade81d7ef 100644 --- a/keyboards/mwstudio/mw65_black/info.json +++ b/keyboards/mwstudio/mw65_black/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6500", | 8 | "pid": "0x6500", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 21 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C7" | 15 | "pin": "C7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/mwstudio/mw660/config.h b/keyboards/mwstudio/mw660/config.h index 8c5cad9bef..87659c1f67 100644 --- a/keyboards/mwstudio/mw660/config.h +++ b/keyboards/mwstudio/mw660/config.h | |||
| @@ -16,9 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define DRIVER_LED_TOTAL 34 | ||
| 20 | #define RGBLED_NUM 34 | ||
| 21 | |||
| 22 | #define WS2812_PWM_DRIVER PWMD4 // default: PWMD2 | 19 | #define WS2812_PWM_DRIVER PWMD4 // default: PWMD2 |
| 23 | #define WS2812_PWM_CHANNEL 3 // default: 2 | 20 | #define WS2812_PWM_CHANNEL 3 // default: 2 |
| 24 | //#define WS2812_PWM_COMPLEMENTARY_OUTPUT // Define for a complementary timer output (TIMx_CHyN); omit for a normal timer output (TIMx_CHy). | 21 | //#define WS2812_PWM_COMPLEMENTARY_OUTPUT // Define for a complementary timer output (TIMx_CHyN); omit for a normal timer output (TIMx_CHy). |
diff --git a/keyboards/mwstudio/mw660/info.json b/keyboards/mwstudio/mw660/info.json index 5d1edb296f..fdbd7564a7 100644 --- a/keyboards/mwstudio/mw660/info.json +++ b/keyboards/mwstudio/mw660/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "nkro": true, | 12 | "nkro": true, |
| 13 | "rgblight": true | 13 | "rgblight": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 34 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "B8" | 19 | "pin": "B8" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/mwstudio/mw75/config.h b/keyboards/mwstudio/mw75/config.h index eb28a68faa..9f7ac76614 100644 --- a/keyboards/mwstudio/mw75/config.h +++ b/keyboards/mwstudio/mw75/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 19 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 20 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 20 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
| 21 | #define RGB_MATRIX_LED_COUNT 97 | 21 | #define RGB_MATRIX_LED_COUNT 97 |
| 22 | #define RGBLED_NUM 97 | ||
| 23 | #define RGB_MATRIX_KEYPRESSES | 22 | #define RGB_MATRIX_KEYPRESSES |
| 24 | 23 | ||
| 25 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | 24 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS |
diff --git a/keyboards/mwstudio/mw75/info.json b/keyboards/mwstudio/mw75/info.json index 2c9c02d0ac..5637110e55 100644 --- a/keyboards/mwstudio/mw75/info.json +++ b/keyboards/mwstudio/mw75/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "matrix": [0, 1] | 25 | "matrix": [0, 1] |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 97, | ||
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
| 30 | "ws2812": { | 31 | "ws2812": { |
diff --git a/keyboards/mwstudio/mw75r2/config.h b/keyboards/mwstudio/mw75r2/config.h index c05921e372..7d706246b9 100644 --- a/keyboards/mwstudio/mw75r2/config.h +++ b/keyboards/mwstudio/mw75r2/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 | 19 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 |
| 20 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 20 | #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
| 21 | #define RGB_MATRIX_LED_COUNT 21 | 21 | #define RGB_MATRIX_LED_COUNT 21 |
| 22 | #define RGBLED_NUM 21 | ||
| 23 | 22 | ||
| 24 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | 23 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS |
| 25 | #define ENABLE_RGB_MATRIX_BREATHING | 24 | #define ENABLE_RGB_MATRIX_BREATHING |
diff --git a/keyboards/mwstudio/mw75r2/info.json b/keyboards/mwstudio/mw75r2/info.json index fd286ee509..535d4e41d5 100644 --- a/keyboards/mwstudio/mw75r2/info.json +++ b/keyboards/mwstudio/mw75r2/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 21, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/mxss/config.h b/keyboards/mxss/config.h index d33ee88ce8..83aa5f9978 100644 --- a/keyboards/mxss/config.h +++ b/keyboards/mxss/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 20 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/mxss/info.json b/keyboards/mxss/info.json index 7828803ae1..ae02495e32 100644 --- a/keyboards/mxss/info.json +++ b/keyboards/mxss/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5353", | 8 | "pid": "0x5353", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 20 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C7" | 15 | "pin": "C7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/nack/config.h b/keyboards/nack/config.h index 7240672afe..89540a7930 100644 --- a/keyboards/nack/config.h +++ b/keyboards/nack/config.h | |||
| @@ -22,8 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 23 | #define WS2812_SPI SPID1 | 23 | #define WS2812_SPI SPID1 |
| 24 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 24 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
| 25 | #define RGBLED_NUM 52 | 25 | #define RGB_MATRIX_LED_COUNT 52 |
| 26 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 27 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 // Max brightness of LEDs | 26 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 // Max brightness of LEDs |
| 28 | #define RGB_MATRIX_DEFAULT_VAL 64 | 27 | #define RGB_MATRIX_DEFAULT_VAL 64 |
| 29 | #define RGB_MATRIX_HUE_STEP 10 | 28 | #define RGB_MATRIX_HUE_STEP 10 |
diff --git a/keyboards/nacly/splitreus62/config.h b/keyboards/nacly/splitreus62/config.h index 7a5962801c..fe1acecf24 100644 --- a/keyboards/nacly/splitreus62/config.h +++ b/keyboards/nacly/splitreus62/config.h | |||
| @@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 29 | |||
| 30 | /* | 28 | /* |
| 31 | * Feature disable options | 29 | * Feature disable options |
| 32 | * These options are also useful to firmware size reduction. | 30 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/nacly/splitreus62/info.json b/keyboards/nacly/splitreus62/info.json index 775f3c2497..c499277889 100644 --- a/keyboards/nacly/splitreus62/info.json +++ b/keyboards/nacly/splitreus62/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/neito/config.h b/keyboards/neito/config.h index fb5d1cd72e..0f3e64cc1e 100644 --- a/keyboards/neito/config.h +++ b/keyboards/neito/config.h | |||
| @@ -29,7 +29,6 @@ | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 11 | ||
| 33 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 34 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
| 35 | #define RGBLIGHT_VAL_STEP 8 | 34 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/neito/info.json b/keyboards/neito/info.json index dede656f17..0844181eec 100644 --- a/keyboards/neito/info.json +++ b/keyboards/neito/info.json | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | "pin": "D5" | 30 | "pin": "D5" |
| 31 | }, | 31 | }, |
| 32 | "rgblight": { | 32 | "rgblight": { |
| 33 | "led_count": 11, | ||
| 33 | "max_brightness": 200, | 34 | "max_brightness": 200, |
| 34 | "led_map": [4, 3, 2, 1, 0, 10, 9, 8, 7, 6, 5] | 35 | "led_map": [4, 3, 2, 1, 0, 10, 9, 8, 7, 6, 5] |
| 35 | }, | 36 | }, |
diff --git a/keyboards/neokeys/g67/element_hs/config.h b/keyboards/neokeys/g67/element_hs/config.h index 167b33c37c..a15d1b8e55 100644 --- a/keyboards/neokeys/g67/element_hs/config.h +++ b/keyboards/neokeys/g67/element_hs/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | #define RGBLED_NUM 77 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/neokeys/g67/element_hs/info.json b/keyboards/neokeys/g67/element_hs/info.json index 6079a80b19..be0c281ffd 100644 --- a/keyboards/neokeys/g67/element_hs/info.json +++ b/keyboards/neokeys/g67/element_hs/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F0" | 17 | "pin": "F0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 77, | ||
| 20 | "max_brightness": 150, | 21 | "max_brightness": 150, |
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
diff --git a/keyboards/neokeys/g67/hotswap/config.h b/keyboards/neokeys/g67/hotswap/config.h index 747a9ff55b..0a5632e37b 100644 --- a/keyboards/neokeys/g67/hotswap/config.h +++ b/keyboards/neokeys/g67/hotswap/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | #define RGBLED_NUM 77 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/neokeys/g67/hotswap/info.json b/keyboards/neokeys/g67/hotswap/info.json index 7f527e6a5f..4daca8c0d1 100644 --- a/keyboards/neokeys/g67/hotswap/info.json +++ b/keyboards/neokeys/g67/hotswap/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "F0" | 17 | "pin": "F0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 77, | ||
| 20 | "max_brightness": 150, | 21 | "max_brightness": 150, |
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
diff --git a/keyboards/neokeys/g67/soldered/config.h b/keyboards/neokeys/g67/soldered/config.h index 363f00c636..0a5632e37b 100644 --- a/keyboards/neokeys/g67/soldered/config.h +++ b/keyboards/neokeys/g67/soldered/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/neokeys/g67/soldered/info.json b/keyboards/neokeys/g67/soldered/info.json index 3cf0320a43..006fd7e338 100644 --- a/keyboards/neokeys/g67/soldered/info.json +++ b/keyboards/neokeys/g67/soldered/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "F0" | 22 | "pin": "F0" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 18, | ||
| 25 | "max_brightness": 150, | 26 | "max_brightness": 150, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/neson_design/700e/config.h b/keyboards/neson_design/700e/config.h index e35f0c4d0a..7d33c31fbc 100644 --- a/keyboards/neson_design/700e/config.h +++ b/keyboards/neson_design/700e/config.h | |||
| @@ -38,7 +38,6 @@ | |||
| 38 | #define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL+DRIVER_2_LED_TOTAL) | 38 | #define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL+DRIVER_2_LED_TOTAL) |
| 39 | 39 | ||
| 40 | //rgb light setting | 40 | //rgb light setting |
| 41 | #define RGBLED_NUM 68 | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/neson_design/700e/info.json b/keyboards/neson_design/700e/info.json index 3f339ad554..a6db575ba2 100644 --- a/keyboards/neson_design/700e/info.json +++ b/keyboards/neson_design/700e/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "indicators": { | 16 | "indicators": { |
| 17 | "caps_lock": "F5" | 17 | "caps_lock": "F5" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 68 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D5" | 23 | "pin": "D5" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/neson_design/n6/config.h b/keyboards/neson_design/n6/config.h index 9a4c8240c0..30d0e2567b 100644 --- a/keyboards/neson_design/n6/config.h +++ b/keyboards/neson_design/n6/config.h | |||
| @@ -38,7 +38,6 @@ | |||
| 38 | #define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL+DRIVER_2_LED_TOTAL) | 38 | #define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL+DRIVER_2_LED_TOTAL) |
| 39 | 39 | ||
| 40 | //rgb light setting | 40 | //rgb light setting |
| 41 | #define RGBLED_NUM 65 | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | 41 | #define RGBLIGHT_EFFECT_BREATHING |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/neson_design/n6/info.json b/keyboards/neson_design/n6/info.json index 770748fa29..6d6d434754 100644 --- a/keyboards/neson_design/n6/info.json +++ b/keyboards/neson_design/n6/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "B3" | 20 | "pin": "B3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 65, | ||
| 23 | "max_brightness": 192 | 24 | "max_brightness": 192 |
| 24 | }, | 25 | }, |
| 25 | "processor": "atmega32u4", | 26 | "processor": "atmega32u4", |
diff --git a/keyboards/newgame40/config.h b/keyboards/newgame40/config.h index 18c605eb62..49fbdb31de 100644 --- a/keyboards/newgame40/config.h +++ b/keyboards/newgame40/config.h | |||
| @@ -28,25 +28,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 25 // Number of LEDs | ||
| 32 | #define RGBLIGHT_HUE_STEP 10 | 31 | #define RGBLIGHT_HUE_STEP 10 |
| 33 | #define RGBLIGHT_SAT_STEP 17 | 32 | #define RGBLIGHT_SAT_STEP 17 |
| 34 | 33 | ||
| 35 | #ifndef IOS_DEVICE_ENABLE | ||
| 36 | #if RGBLED_NUM <= 6 | ||
| 37 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 38 | #else | ||
| 39 | #define RGBLIGHT_LIMIT_VAL 130 | ||
| 40 | #endif | ||
| 41 | #define RGBLIGHT_VAL_STEP 17 | ||
| 42 | #else | ||
| 43 | #if RGBLED_NUM <= 6 | ||
| 44 | #define RGBLIGHT_LIMIT_VAL 90 | ||
| 45 | #else | ||
| 46 | #define RGBLIGHT_LIMIT_VAL 45 | ||
| 47 | #endif | ||
| 48 | #define RGBLIGHT_VAL_STEP 4 | ||
| 49 | #endif | ||
| 50 | #define RGBLIGHT_HUE_STEP 10 | 34 | #define RGBLIGHT_HUE_STEP 10 |
| 51 | #define RGBLIGHT_SAT_STEP 17 | 35 | #define RGBLIGHT_SAT_STEP 17 |
| 52 | 36 | ||
diff --git a/keyboards/newgame40/info.json b/keyboards/newgame40/info.json index 2cbb4c117d..9affddfabb 100644 --- a/keyboards/newgame40/info.json +++ b/keyboards/newgame40/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["F7", "B1", "B3", "B2"] | 13 | "rows": ["F7", "B1", "B3", "B2"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 25 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "F6" | 20 | "pin": "F6" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/newgame40/post_config.h b/keyboards/newgame40/post_config.h new file mode 100644 index 0000000000..247178beec --- /dev/null +++ b/keyboards/newgame40/post_config.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #ifndef IOS_DEVICE_ENABLE | ||
| 4 | # if RGBLED_NUM <= 6 | ||
| 5 | # define RGBLIGHT_LIMIT_VAL 255 | ||
| 6 | # else | ||
| 7 | # define RGBLIGHT_LIMIT_VAL 130 | ||
| 8 | # endif | ||
| 9 | # define RGBLIGHT_VAL_STEP 17 | ||
| 10 | #else | ||
| 11 | # if RGBLED_NUM <= 6 | ||
| 12 | # define RGBLIGHT_LIMIT_VAL 90 | ||
| 13 | # else | ||
| 14 | # define RGBLIGHT_LIMIT_VAL 45 | ||
| 15 | # endif | ||
| 16 | # define RGBLIGHT_VAL_STEP 4 | ||
| 17 | #endif | ||
diff --git a/keyboards/nightly_boards/adellein/config.h b/keyboards/nightly_boards/adellein/config.h index d1703c1c80..39245e1cf0 100644 --- a/keyboards/nightly_boards/adellein/config.h +++ b/keyboards/nightly_boards/adellein/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nightly_boards/adellein/info.json b/keyboards/nightly_boards/adellein/info.json index 81e21e9377..df81389ac3 100644 --- a/keyboards/nightly_boards/adellein/info.json +++ b/keyboards/nightly_boards/adellein/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "C7", "pin_b": "C6"} | 18 | {"pin_a": "C7", "pin_b": "C6"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 14 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D5" | 25 | "pin": "D5" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/nightly_boards/alter/rev1/config.h b/keyboards/nightly_boards/alter/rev1/config.h index edeeabfb62..39860878c9 100644 --- a/keyboards/nightly_boards/alter/rev1/config.h +++ b/keyboards/nightly_boards/alter/rev1/config.h | |||
| @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 18 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/nightly_boards/alter/rev1/info.json b/keyboards/nightly_boards/alter/rev1/info.json index b8acddfd74..af5688ed79 100644 --- a/keyboards/nightly_boards/alter/rev1/info.json +++ b/keyboards/nightly_boards/alter/rev1/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "scroll_lock": "B4" | 19 | "scroll_lock": "B4" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 18, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/nightly_boards/conde60/config.h b/keyboards/nightly_boards/conde60/config.h index 541d2e289e..3204c5492b 100644 --- a/keyboards/nightly_boards/conde60/config.h +++ b/keyboards/nightly_boards/conde60/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nightly_boards/conde60/info.json b/keyboards/nightly_boards/conde60/info.json index e318151c8c..3c6369c243 100644 --- a/keyboards/nightly_boards/conde60/info.json +++ b/keyboards/nightly_boards/conde60/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "rows": ["B1", "B2", "F0", "F1", "F4"] | 13 | "rows": ["B1", "B2", "F0", "F1", "F4"] |
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | ||
| 17 | "led_count": 12 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "D5" | 20 | "pin": "D5" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/nightly_boards/n2/config.h b/keyboards/nightly_boards/n2/config.h index a8fe38e2c3..39860878c9 100644 --- a/keyboards/nightly_boards/n2/config.h +++ b/keyboards/nightly_boards/n2/config.h | |||
| @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 2 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/nightly_boards/n2/info.json b/keyboards/nightly_boards/n2/info.json index 7879f0e5ca..93aeb4b6b4 100644 --- a/keyboards/nightly_boards/n2/info.json +++ b/keyboards/nightly_boards/n2/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 2, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/nightly_boards/n40_o/config.h b/keyboards/nightly_boards/n40_o/config.h index 474742b6af..3a25ad1261 100644 --- a/keyboards/nightly_boards/n40_o/config.h +++ b/keyboards/nightly_boards/n40_o/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nightly_boards/n40_o/info.json b/keyboards/nightly_boards/n40_o/info.json index ec403fb647..967dd81793 100644 --- a/keyboards/nightly_boards/n40_o/info.json +++ b/keyboards/nightly_boards/n40_o/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | {"pin_a": "B6", "pin_b": "C6"} | 20 | {"pin_a": "B6", "pin_b": "C6"} |
| 21 | ] | 21 | ] |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "led_count": 12 | ||
| 25 | }, | ||
| 23 | "ws2812": { | 26 | "ws2812": { |
| 24 | "pin": "B4" | 27 | "pin": "B4" |
| 25 | }, | 28 | }, |
diff --git a/keyboards/nightly_boards/n60_s/config.h b/keyboards/nightly_boards/n60_s/config.h index 59922cdcb1..d973424454 100644 --- a/keyboards/nightly_boards/n60_s/config.h +++ b/keyboards/nightly_boards/n60_s/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | 28 | ||
| 29 | /* Underglow */ | 29 | /* Underglow */ |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 12 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/nightly_boards/n60_s/info.json b/keyboards/nightly_boards/n60_s/info.json index 309b7e29b7..487fc5457a 100644 --- a/keyboards/nightly_boards/n60_s/info.json +++ b/keyboards/nightly_boards/n60_s/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 12, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/nightly_boards/n87/config.h b/keyboards/nightly_boards/n87/config.h index de715e0af8..753e947e23 100644 --- a/keyboards/nightly_boards/n87/config.h +++ b/keyboards/nightly_boards/n87/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/nightly_boards/n87/info.json b/keyboards/nightly_boards/n87/info.json index 5c23018d55..633bd51f94 100644 --- a/keyboards/nightly_boards/n87/info.json +++ b/keyboards/nightly_boards/n87/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 16, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/nightly_boards/n9/config.h b/keyboards/nightly_boards/n9/config.h index 569276e7d1..39860878c9 100644 --- a/keyboards/nightly_boards/n9/config.h +++ b/keyboards/nightly_boards/n9/config.h | |||
| @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 8 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/nightly_boards/n9/info.json b/keyboards/nightly_boards/n9/info.json index aea9164191..1ee9a51fcd 100644 --- a/keyboards/nightly_boards/n9/info.json +++ b/keyboards/nightly_boards/n9/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 8, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/nightly_boards/octopad/config.h b/keyboards/nightly_boards/octopad/config.h index 27c3d4bd02..10aebd0d07 100644 --- a/keyboards/nightly_boards/octopad/config.h +++ b/keyboards/nightly_boards/octopad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nightly_boards/octopad/info.json b/keyboards/nightly_boards/octopad/info.json index c78a58937d..6a889bece6 100644 --- a/keyboards/nightly_boards/octopad/info.json +++ b/keyboards/nightly_boards/octopad/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | {"pin_a": "F4", "pin_b": "F5"} | 19 | {"pin_a": "F4", "pin_b": "F5"} |
| 20 | ] | 20 | ] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 8 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "F7" | 26 | "pin": "F7" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/nix_studio/oxalys80/config.h b/keyboards/nix_studio/oxalys80/config.h index f7cdccf510..6db75f57fe 100644 --- a/keyboards/nix_studio/oxalys80/config.h +++ b/keyboards/nix_studio/oxalys80/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 24 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 34 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 35 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 36 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/nix_studio/oxalys80/info.json b/keyboards/nix_studio/oxalys80/info.json index 571471ecc5..8db4be5622 100644 --- a/keyboards/nix_studio/oxalys80/info.json +++ b/keyboards/nix_studio/oxalys80/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "B3" | 20 | "pin": "B3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 24, | ||
| 23 | "max_brightness": 200, | 24 | "max_brightness": 200, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/novelkeys/nk1/config.h b/keyboards/novelkeys/nk1/config.h index de4c80545c..16f211c2e3 100644 --- a/keyboards/novelkeys/nk1/config.h +++ b/keyboards/novelkeys/nk1/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 9 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/novelkeys/nk1/info.json b/keyboards/novelkeys/nk1/info.json index 3060778e30..ee582b8444 100755 --- a/keyboards/novelkeys/nk1/info.json +++ b/keyboards/novelkeys/nk1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 9, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/novelkeys/nk20/config.h b/keyboards/novelkeys/nk20/config.h index 23b8d2915a..55d8b53e83 100644 --- a/keyboards/novelkeys/nk20/config.h +++ b/keyboards/novelkeys/nk20/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 | 25 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 |
| 26 | #define WS2812_DMA_CHANNEL 3 | 26 | #define WS2812_DMA_CHANNEL 3 |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 20 | ||
| 29 | #define RGB_MATRIX_LED_COUNT 20 | 28 | #define RGB_MATRIX_LED_COUNT 20 |
| 30 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 210 | 29 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 210 |
| 31 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 30 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/novelkeys/nk65b/config.h b/keyboards/novelkeys/nk65b/config.h index a22f9b1685..e236351344 100755 --- a/keyboards/novelkeys/nk65b/config.h +++ b/keyboards/novelkeys/nk65b/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 | 25 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 |
| 26 | #define WS2812_DMA_CHANNEL 3 | 26 | #define WS2812_DMA_CHANNEL 3 |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 68 | ||
| 29 | #define RGB_MATRIX_LED_COUNT 68 | 28 | #define RGB_MATRIX_LED_COUNT 68 |
| 30 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130 | 29 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130 |
| 31 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 30 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/novelkeys/nk87b/config.h b/keyboards/novelkeys/nk87b/config.h index 49d3104c45..a0bbb315d4 100644 --- a/keyboards/novelkeys/nk87b/config.h +++ b/keyboards/novelkeys/nk87b/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 | 25 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 |
| 26 | #define WS2812_DMA_CHANNEL 3 | 26 | #define WS2812_DMA_CHANNEL 3 |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 87 | ||
| 29 | #define RGB_MATRIX_LED_COUNT 87 | 28 | #define RGB_MATRIX_LED_COUNT 87 |
| 30 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 114 | 29 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 114 |
| 31 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 30 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/novelkeys/novelpad/config.h b/keyboards/novelkeys/novelpad/config.h index 8678c1ca04..49ab28c713 100755 --- a/keyboards/novelkeys/novelpad/config.h +++ b/keyboards/novelkeys/novelpad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | // #define RGBLIGHT_HUE_STEP 8 | 20 | // #define RGBLIGHT_HUE_STEP 8 |
| 22 | // #define RGBLIGHT_SAT_STEP 8 | 21 | // #define RGBLIGHT_SAT_STEP 8 |
| 23 | // #define RGBLIGHT_VAL_STEP 8 | 22 | // #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/novelkeys/novelpad/info.json b/keyboards/novelkeys/novelpad/info.json index e98746ab29..a7dad32996 100644 --- a/keyboards/novelkeys/novelpad/info.json +++ b/keyboards/novelkeys/novelpad/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 10 | 18 | "levels": 10 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 4 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "D3" | 24 | "pin": "D3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/noxary/268_2_rgb/config.h b/keyboards/noxary/268_2_rgb/config.h index 051782f146..34af3add7d 100644 --- a/keyboards/noxary/268_2_rgb/config.h +++ b/keyboards/noxary/268_2_rgb/config.h | |||
| @@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define RGBLIGHT_EFFECT_RGB_TEST | 25 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 26 | #define RGBLIGHT_EFFECT_ALTERNATING | 26 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 27 | #define RGBLIGHT_EFFECT_TWINKLE | 27 | #define RGBLIGHT_EFFECT_TWINKLE |
| 28 | #define RGBLED_NUM 16 | ||
| 29 | #define RGBLIGHT_HUE_STEP 16 | 28 | #define RGBLIGHT_HUE_STEP 16 |
| 30 | #define RGBLIGHT_SAT_STEP 16 | 29 | #define RGBLIGHT_SAT_STEP 16 |
| 31 | #define RGBLIGHT_VAL_STEP 16 | 30 | #define RGBLIGHT_VAL_STEP 16 |
diff --git a/keyboards/noxary/268_2_rgb/info.json b/keyboards/noxary/268_2_rgb/info.json index d1f57bc5fc..5ad8fca682 100644 --- a/keyboards/noxary/268_2_rgb/info.json +++ b/keyboards/noxary/268_2_rgb/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B5" | 23 | "pin": "B5" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/noxary/x268/config.h b/keyboards/noxary/x268/config.h index 0f7486408c..5cd505cdfd 100644 --- a/keyboards/noxary/x268/config.h +++ b/keyboards/noxary/x268/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 16 | ||
| 32 | #define RGBLIGHT_HUE_STEP 16 | 31 | #define RGBLIGHT_HUE_STEP 16 |
| 33 | #define RGBLIGHT_SAT_STEP 16 | 32 | #define RGBLIGHT_SAT_STEP 16 |
| 34 | #define RGBLIGHT_VAL_STEP 16 | 33 | #define RGBLIGHT_VAL_STEP 16 |
diff --git a/keyboards/noxary/x268/info.json b/keyboards/noxary/x268/info.json index 1bfcf109f4..d75376b26b 100644 --- a/keyboards/noxary/x268/info.json +++ b/keyboards/noxary/x268/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B5" | 23 | "pin": "B5" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/nullbitsco/nibble/config.h b/keyboards/nullbitsco/nibble/config.h index 2d12e6668e..d33b8afb5e 100644 --- a/keyboards/nullbitsco/nibble/config.h +++ b/keyboards/nullbitsco/nibble/config.h | |||
| @@ -39,7 +39,6 @@ | |||
| 39 | #define MATRIX_COL_PINS { } | 39 | #define MATRIX_COL_PINS { } |
| 40 | 40 | ||
| 41 | /* Optional SMT LED pins */ | 41 | /* Optional SMT LED pins */ |
| 42 | #define RGBLED_NUM 10 | ||
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 42 | #define RGBLIGHT_EFFECT_BREATHING |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 45 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nullbitsco/nibble/info.json b/keyboards/nullbitsco/nibble/info.json index 075d0f9a5b..cc66623b09 100644 --- a/keyboards/nullbitsco/nibble/info.json +++ b/keyboards/nullbitsco/nibble/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | ] | 13 | ] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 10, | ||
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/nullbitsco/snap/config.h b/keyboards/nullbitsco/snap/config.h index 8fe9dc717e..b3b3bf57b2 100644 --- a/keyboards/nullbitsco/snap/config.h +++ b/keyboards/nullbitsco/snap/config.h | |||
| @@ -58,7 +58,6 @@ | |||
| 58 | #define MATRIX_EXT_PIN_RIGHT B6 | 58 | #define MATRIX_EXT_PIN_RIGHT B6 |
| 59 | 59 | ||
| 60 | /* Optional SMT LED pins */ | 60 | /* Optional SMT LED pins */ |
| 61 | #define RGBLED_NUM 10 | ||
| 62 | #define RGBLIGHT_EFFECT_BREATHING | 61 | #define RGBLIGHT_EFFECT_BREATHING |
| 63 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 64 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 63 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nullbitsco/snap/info.json b/keyboards/nullbitsco/snap/info.json index ee04366ae6..b16015c123 100644 --- a/keyboards/nullbitsco/snap/info.json +++ b/keyboards/nullbitsco/snap/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | 10 | "rgblight": { |
| 11 | "led_count": 10, | ||
| 11 | "sleep": true, | 12 | "sleep": true, |
| 12 | "led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5], | 13 | "led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5], |
| 13 | "split_count": [5, 5] | 14 | "split_count": [5, 5] |
diff --git a/keyboards/nullbitsco/tidbit/config.h b/keyboards/nullbitsco/tidbit/config.h index 346a8fb8a8..56477ea5c4 100644 --- a/keyboards/nullbitsco/tidbit/config.h +++ b/keyboards/nullbitsco/tidbit/config.h | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | #define USB_SUSPEND_WAKEUP_DELAY 200 | 23 | #define USB_SUSPEND_WAKEUP_DELAY 200 |
| 24 | 24 | ||
| 25 | /* Optional SMT LED pins */ | 25 | /* Optional SMT LED pins */ |
| 26 | #define RGBLED_NUM 8 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/nullbitsco/tidbit/info.json b/keyboards/nullbitsco/tidbit/info.json index 0ed0a5e7b8..00e8a9d7df 100644 --- a/keyboards/nullbitsco/tidbit/info.json +++ b/keyboards/nullbitsco/tidbit/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0x6064", | 7 | "pid": "0x6064", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 8 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "B6" | 14 | "pin": "B6" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/numatreus/config.h b/keyboards/numatreus/config.h index 774687565a..640da7ba9c 100644 --- a/keyboards/numatreus/config.h +++ b/keyboards/numatreus/config.h | |||
| @@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | /* Locking resynchronize hack */ | 19 | /* Locking resynchronize hack */ |
| 20 | #define LOCKING_RESYNC_ENABLE | 20 | #define LOCKING_RESYNC_ENABLE |
| 21 | 21 | ||
| 22 | // keyboard RGB LED support | ||
| 23 | // see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes | ||
| 24 | #define RGBLED_NUM 6 | ||
| 25 | |||
| 26 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
| 27 | 23 | ||
| 28 | #define RGBLIGHT_HUE_STEP 10 | 24 | #define RGBLIGHT_HUE_STEP 10 |
diff --git a/keyboards/numatreus/info.json b/keyboards/numatreus/info.json index 54f5bde1bd..2166b1308f 100644 --- a/keyboards/numatreus/info.json +++ b/keyboards/numatreus/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "D3" | 17 | "pin": "D3" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 6, | ||
| 20 | "max_brightness": 200 | 21 | "max_brightness": 200 |
| 21 | }, | 22 | }, |
| 22 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
diff --git a/keyboards/obosob/arch_36/config.h b/keyboards/obosob/arch_36/config.h index e584bb045c..1b6189b42e 100644 --- a/keyboards/obosob/arch_36/config.h +++ b/keyboards/obosob/arch_36/config.h | |||
| @@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | ||
| 21 | #define RGBLED_NUM 12 | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
| 25 | 21 | ||
| 26 | #define EE_HANDS | 22 | #define EE_HANDS |
diff --git a/keyboards/obosob/arch_36/info.json b/keyboards/obosob/arch_36/info.json index b888049bc5..464cd01be8 100644 --- a/keyboards/obosob/arch_36/info.json +++ b/keyboards/obosob/arch_36/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6], | 21 | "led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6], |
| 21 | "split_count": [6, 6] | 22 | "split_count": [6, 6] |
| 22 | }, | 23 | }, |
diff --git a/keyboards/oddforge/vea/config.h b/keyboards/oddforge/vea/config.h index 3ef7dc1103..19ff41d44a 100644 --- a/keyboards/oddforge/vea/config.h +++ b/keyboards/oddforge/vea/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | 26 | ||
| 27 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | 27 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 |
| 28 | 28 | ||
| 29 | #define RGBLED_NUM 18 | ||
| 30 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/oddforge/vea/info.json b/keyboards/oddforge/vea/info.json index d8fa61179b..6cb8ae5f2a 100644 --- a/keyboards/oddforge/vea/info.json +++ b/keyboards/oddforge/vea/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D4" | 12 | "pin": "D4" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 18, | ||
| 15 | "sleep": true | 16 | "sleep": true |
| 16 | }, | 17 | }, |
| 17 | "ws2812": { | 18 | "ws2812": { |
diff --git a/keyboards/ogre/ergo_single/config.h b/keyboards/ogre/ergo_single/config.h index 690b44eb06..facded4a0e 100644 --- a/keyboards/ogre/ergo_single/config.h +++ b/keyboards/ogre/ergo_single/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 14 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ogre/ergo_single/info.json b/keyboards/ogre/ergo_single/info.json index c51af75fe0..1c0346131b 100644 --- a/keyboards/ogre/ergo_single/info.json +++ b/keyboards/ogre/ergo_single/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 14, | ||
| 17 | "led_map": [0, 1, 2, 3, 4, 5, 6, 13, 12, 11, 10, 9, 8, 7] | 18 | "led_map": [0, 1, 2, 3, 4, 5, 6, 13, 12, 11, 10, 9, 8, 7] |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/ogre/ergo_split/config.h b/keyboards/ogre/ergo_split/config.h index adff7abc3e..d510497b8e 100644 --- a/keyboards/ogre/ergo_split/config.h +++ b/keyboards/ogre/ergo_split/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define SPLIT_HAND_PIN D1 | 20 | #define SPLIT_HAND_PIN D1 |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 14 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ogre/ergo_split/info.json b/keyboards/ogre/ergo_split/info.json index 3321f0e1be..7ef564ba28 100644 --- a/keyboards/ogre/ergo_split/info.json +++ b/keyboards/ogre/ergo_split/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D3" | 17 | "soft_serial_pin": "D3" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 14, | ||
| 20 | "led_map": [6, 5, 4, 3, 2, 1, 0, 13, 12, 11, 10, 9, 8, 7], | 21 | "led_map": [6, 5, 4, 3, 2, 1, 0, 13, 12, 11, 10, 9, 8, 7], |
| 21 | "split_count": [7, 7] | 22 | "split_count": [7, 7] |
| 22 | }, | 23 | }, |
diff --git a/keyboards/ok60/config.h b/keyboards/ok60/config.h index f11b35919e..539027c468 100644 --- a/keyboards/ok60/config.h +++ b/keyboards/ok60/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 10 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ok60/info.json b/keyboards/ok60/info.json index a999639739..6a29520abe 100644 --- a/keyboards/ok60/info.json +++ b/keyboards/ok60/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 10 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "F6" | 24 | "pin": "F6" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/om60/config.h b/keyboards/om60/config.h index 885af3328e..533a851c43 100644 --- a/keyboards/om60/config.h +++ b/keyboards/om60/config.h | |||
| @@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* Locking resynchronize hack */ | 34 | /* Locking resynchronize hack */ |
| 35 | #define LOCKING_RESYNC_ENABLE | 35 | #define LOCKING_RESYNC_ENABLE |
| 36 | 36 | ||
| 37 | #ifndef RGBLED_NUM | ||
| 38 | #define RGBLED_NUM 69 | ||
| 39 | #endif | ||
| 40 | |||
| 41 | #define RGBLIGHT_EFFECT_BREATHING | 37 | #define RGBLIGHT_EFFECT_BREATHING |
| 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 38 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 39 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/om60/info.json b/keyboards/om60/info.json index cc34ff7dd2..7192e8b62f 100644 --- a/keyboards/om60/info.json +++ b/keyboards/om60/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | ] | 14 | ] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 69, | ||
| 17 | "sleep": true, | 18 | "sleep": true, |
| 18 | "led_map": [0, 1, 2, 3, 8, 7, 6, 5, 4, 9, 10, 11, 12, 13, 18, 17, 16, 15, 14, 19, 20, 21, 22, 23, 28, 27, 26, 25, 24, 29, 30, 31, 32, 33, 38, 37, 36, 35, 34, 39, 40, 41, 42, 43, 48, 47, 46, 45, 44, 49, 50, 51, 52, 53, 58, 57, 56, 55, 54, 59, 60, 61, 62, 63, 68, 67, 66, 65, 64] | 19 | "led_map": [0, 1, 2, 3, 8, 7, 6, 5, 4, 9, 10, 11, 12, 13, 18, 17, 16, 15, 14, 19, 20, 21, 22, 23, 28, 27, 26, 25, 24, 29, 30, 31, 32, 33, 38, 37, 36, 35, 34, 39, 40, 41, 42, 43, 48, 47, 46, 45, 44, 49, 50, 51, 52, 53, 58, 57, 56, 55, 54, 59, 60, 61, 62, 63, 68, 67, 66, 65, 64] |
| 19 | }, | 20 | }, |
diff --git a/keyboards/omkbd/ergodash/mini/config.h b/keyboards/omkbd/ergodash/mini/config.h index 38c62de36a..0f7df79b27 100644 --- a/keyboards/omkbd/ergodash/mini/config.h +++ b/keyboards/omkbd/ergodash/mini/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | #define RGBLIGHT_EFFECT_RGB_TEST | 39 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 40 | #define RGBLIGHT_EFFECT_ALTERNATING | 40 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 41 | #define RGBLIGHT_EFFECT_TWINKLE | 41 | #define RGBLIGHT_EFFECT_TWINKLE |
| 42 | #define RGBLED_NUM 20 | ||
| 43 | 42 | ||
| 44 | #define SELECT_SOFT_SERIAL_SPEED 1 | 43 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 45 | /*Sets the protocol speed when using serial communication*/ | 44 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/ergodash/mini/info.json b/keyboards/omkbd/ergodash/mini/info.json index 169bc9f0c5..45f66b5381 100644 --- a/keyboards/omkbd/ergodash/mini/info.json +++ b/keyboards/omkbd/ergodash/mini/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "soft_serial_pin": "D0" | 21 | "soft_serial_pin": "D0" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 20, | ||
| 24 | "split_count": [10, 10] | 25 | "split_count": [10, 10] |
| 25 | }, | 26 | }, |
| 26 | "ws2812": { | 27 | "ws2812": { |
diff --git a/keyboards/omkbd/ergodash/rev1/config.h b/keyboards/omkbd/ergodash/rev1/config.h index 11f057d600..0f7df79b27 100644 --- a/keyboards/omkbd/ergodash/rev1/config.h +++ b/keyboards/omkbd/ergodash/rev1/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | #define RGBLIGHT_EFFECT_RGB_TEST | 39 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 40 | #define RGBLIGHT_EFFECT_ALTERNATING | 40 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 41 | #define RGBLIGHT_EFFECT_TWINKLE | 41 | #define RGBLIGHT_EFFECT_TWINKLE |
| 42 | #define RGBLED_NUM 24 | ||
| 43 | 42 | ||
| 44 | #define SELECT_SOFT_SERIAL_SPEED 1 | 43 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 45 | /*Sets the protocol speed when using serial communication*/ | 44 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/ergodash/rev1/info.json b/keyboards/omkbd/ergodash/rev1/info.json index b73694688c..25d82553ae 100644 --- a/keyboards/omkbd/ergodash/rev1/info.json +++ b/keyboards/omkbd/ergodash/rev1/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "soft_serial_pin": "D0" | 21 | "soft_serial_pin": "D0" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 24, | ||
| 24 | "led_map": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12], | 25 | "led_map": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12], |
| 25 | "split_count": [12, 12] | 26 | "split_count": [12, 12] |
| 26 | }, | 27 | }, |
diff --git a/keyboards/omkbd/runner3680/3x6/config.h b/keyboards/omkbd/runner3680/3x6/config.h index ee17cb6adf..516c08d061 100644 --- a/keyboards/omkbd/runner3680/3x6/config.h +++ b/keyboards/omkbd/runner3680/3x6/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 36 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/3x6/info.json b/keyboards/omkbd/runner3680/3x6/info.json index 7a7141816b..10af33d955 100644 --- a/keyboards/omkbd/runner3680/3x6/info.json +++ b/keyboards/omkbd/runner3680/3x6/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 36, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [18, 18] | 25 | "split_count": [18, 18] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/3x7/config.h b/keyboards/omkbd/runner3680/3x7/config.h index deed54f177..516c08d061 100644 --- a/keyboards/omkbd/runner3680/3x7/config.h +++ b/keyboards/omkbd/runner3680/3x7/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 42 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/3x7/info.json b/keyboards/omkbd/runner3680/3x7/info.json index d23f6f5098..48fd1bb81f 100644 --- a/keyboards/omkbd/runner3680/3x7/info.json +++ b/keyboards/omkbd/runner3680/3x7/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 42, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [21, 21] | 25 | "split_count": [21, 21] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/3x8/config.h b/keyboards/omkbd/runner3680/3x8/config.h index 29907f0c36..516c08d061 100644 --- a/keyboards/omkbd/runner3680/3x8/config.h +++ b/keyboards/omkbd/runner3680/3x8/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 48 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/3x8/info.json b/keyboards/omkbd/runner3680/3x8/info.json index 9f3d4b6bc2..4c4d227a79 100644 --- a/keyboards/omkbd/runner3680/3x8/info.json +++ b/keyboards/omkbd/runner3680/3x8/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 48, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [24, 24] | 25 | "split_count": [24, 24] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/4x6/config.h b/keyboards/omkbd/runner3680/4x6/config.h index 29907f0c36..516c08d061 100644 --- a/keyboards/omkbd/runner3680/4x6/config.h +++ b/keyboards/omkbd/runner3680/4x6/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 48 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/4x6/info.json b/keyboards/omkbd/runner3680/4x6/info.json index a21eb2f4bb..7d284dead0 100644 --- a/keyboards/omkbd/runner3680/4x6/info.json +++ b/keyboards/omkbd/runner3680/4x6/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 48, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [24, 24] | 25 | "split_count": [24, 24] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/4x7/config.h b/keyboards/omkbd/runner3680/4x7/config.h index cd1964b135..516c08d061 100644 --- a/keyboards/omkbd/runner3680/4x7/config.h +++ b/keyboards/omkbd/runner3680/4x7/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 56 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/4x7/info.json b/keyboards/omkbd/runner3680/4x7/info.json index e3d06566d6..a40442fd57 100644 --- a/keyboards/omkbd/runner3680/4x7/info.json +++ b/keyboards/omkbd/runner3680/4x7/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 56, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [28, 28] | 25 | "split_count": [28, 28] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/4x8/config.h b/keyboards/omkbd/runner3680/4x8/config.h index d8ec59f294..516c08d061 100644 --- a/keyboards/omkbd/runner3680/4x8/config.h +++ b/keyboards/omkbd/runner3680/4x8/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 64 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/4x8/info.json b/keyboards/omkbd/runner3680/4x8/info.json index 90b63fb9ff..e9bedb76a5 100644 --- a/keyboards/omkbd/runner3680/4x8/info.json +++ b/keyboards/omkbd/runner3680/4x8/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 64, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [32, 32] | 25 | "split_count": [32, 32] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/5x6/config.h b/keyboards/omkbd/runner3680/5x6/config.h index c80f743de5..516c08d061 100644 --- a/keyboards/omkbd/runner3680/5x6/config.h +++ b/keyboards/omkbd/runner3680/5x6/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 60 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/5x6/info.json b/keyboards/omkbd/runner3680/5x6/info.json index c41074c9c1..67cc3d98ab 100644 --- a/keyboards/omkbd/runner3680/5x6/info.json +++ b/keyboards/omkbd/runner3680/5x6/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 60, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [30, 30] | 25 | "split_count": [30, 30] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/5x6_5x8/config.h b/keyboards/omkbd/runner3680/5x6_5x8/config.h index 09c67164d7..e62710264f 100644 --- a/keyboards/omkbd/runner3680/5x6_5x8/config.h +++ b/keyboards/omkbd/runner3680/5x6_5x8/config.h | |||
| @@ -36,7 +36,6 @@ | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 70 | ||
| 40 | #endif | 39 | #endif |
| 41 | #ifdef RGB_MATRIX_ENABLE | 40 | #ifdef RGB_MATRIX_ENABLE |
| 42 | #define RGB_MATRIX_LED_COUNT 70 | 41 | #define RGB_MATRIX_LED_COUNT 70 |
diff --git a/keyboards/omkbd/runner3680/5x6_5x8/info.json b/keyboards/omkbd/runner3680/5x6_5x8/info.json index 754135e4c3..c4fce3c600 100644 --- a/keyboards/omkbd/runner3680/5x6_5x8/info.json +++ b/keyboards/omkbd/runner3680/5x6_5x8/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "pin": "D3" | 23 | "pin": "D3" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 70, | ||
| 26 | "max_brightness": 100, | 27 | "max_brightness": 100, |
| 27 | "split_count": [30, 40] | 28 | "split_count": [30, 40] |
| 28 | }, | 29 | }, |
diff --git a/keyboards/omkbd/runner3680/5x7/config.h b/keyboards/omkbd/runner3680/5x7/config.h index e2b58fb4a0..516c08d061 100644 --- a/keyboards/omkbd/runner3680/5x7/config.h +++ b/keyboards/omkbd/runner3680/5x7/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 70 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/5x7/info.json b/keyboards/omkbd/runner3680/5x7/info.json index f27590f402..579596e8a8 100644 --- a/keyboards/omkbd/runner3680/5x7/info.json +++ b/keyboards/omkbd/runner3680/5x7/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 70, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [35, 35] | 25 | "split_count": [35, 35] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/omkbd/runner3680/5x8/config.h b/keyboards/omkbd/runner3680/5x8/config.h index 6b86ad423c..516c08d061 100644 --- a/keyboards/omkbd/runner3680/5x8/config.h +++ b/keyboards/omkbd/runner3680/5x8/config.h | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | 35 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | 36 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | 37 | #define RGBLIGHT_EFFECT_TWINKLE |
| 38 | #define RGBLED_NUM 80 | ||
| 39 | 38 | ||
| 40 | #define SELECT_SOFT_SERIAL_SPEED 1 | 39 | #define SELECT_SOFT_SERIAL_SPEED 1 |
| 41 | /*Sets the protocol speed when using serial communication*/ | 40 | /*Sets the protocol speed when using serial communication*/ |
diff --git a/keyboards/omkbd/runner3680/5x8/info.json b/keyboards/omkbd/runner3680/5x8/info.json index ae35f61128..7e35f883a8 100644 --- a/keyboards/omkbd/runner3680/5x8/info.json +++ b/keyboards/omkbd/runner3680/5x8/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 80, | ||
| 23 | "max_brightness": 100, | 24 | "max_brightness": 100, |
| 24 | "split_count": [40, 40] | 25 | "split_count": [40, 40] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/org60/config.h b/keyboards/org60/config.h index e2b275251d..8ad0b8935f 100644 --- a/keyboards/org60/config.h +++ b/keyboards/org60/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 33 | #define RGBLIGHT_HUE_STEP 10 | 32 | #define RGBLIGHT_HUE_STEP 10 |
| 34 | #define RGBLIGHT_SAT_STEP 17 | 33 | #define RGBLIGHT_SAT_STEP 17 |
| 35 | #define RGBLIGHT_VAL_STEP 17 | 34 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/org60/info.json b/keyboards/org60/info.json index 7ceeef8312..005c5b6648 100644 --- a/keyboards/org60/info.json +++ b/keyboards/org60/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "F5", | 17 | "pin": "F5", |
| 18 | "levels": 6 | 18 | "levels": 6 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 20 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "F6" | 24 | "pin": "F6" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/orthocode/config.h b/keyboards/orthocode/config.h index 9a0d961ddd..d272e9fdd7 100644 --- a/keyboards/orthocode/config.h +++ b/keyboards/orthocode/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #define TAP_CODE_DELAY 10 | 19 | #define TAP_CODE_DELAY 10 |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 10 /*Change for the number of leds on the strip you attach*/ | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/orthocode/info.json b/keyboards/orthocode/info.json index 8cba3b1554..16e6158bd5 100644 --- a/keyboards/orthocode/info.json +++ b/keyboards/orthocode/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | ] | 20 | ] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 10, | ||
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/owlab/jelly_epoch/hotswap/config.h b/keyboards/owlab/jelly_epoch/hotswap/config.h index b40244be73..63b75c2ce9 100644 --- a/keyboards/owlab/jelly_epoch/hotswap/config.h +++ b/keyboards/owlab/jelly_epoch/hotswap/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | # define RGBLIGHT_EFFECT_SNAKE | 27 | # define RGBLIGHT_EFFECT_SNAKE |
| 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | 29 | # define RGBLIGHT_EFFECT_TWINKLE |
| 30 | # define RGBLED_NUM 24 | ||
| 31 | # define RGBLIGHT_HUE_STEP 8 | 30 | # define RGBLIGHT_HUE_STEP 8 |
| 32 | # define RGBLIGHT_SAT_STEP 8 | 31 | # define RGBLIGHT_SAT_STEP 8 |
| 33 | # define RGBLIGHT_VAL_STEP 10 | 32 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/owlab/jelly_epoch/hotswap/info.json b/keyboards/owlab/jelly_epoch/hotswap/info.json index c30c06fb67..c85c31bf0b 100644 --- a/keyboards/owlab/jelly_epoch/hotswap/info.json +++ b/keyboards/owlab/jelly_epoch/hotswap/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "rows": ["B0", "B1", "B2", "B3", "A15", "B10"] | 14 | "rows": ["B0", "B1", "B2", "B3", "A15", "B10"] |
| 15 | }, | 15 | }, |
| 16 | "diode_direction": "COL2ROW", | 16 | "diode_direction": "COL2ROW", |
| 17 | "rgblight": { | ||
| 18 | "led_count": 24 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "B15" | 21 | "pin": "B15" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/owlab/jelly_epoch/soldered/config.h b/keyboards/owlab/jelly_epoch/soldered/config.h index b40244be73..63b75c2ce9 100644 --- a/keyboards/owlab/jelly_epoch/soldered/config.h +++ b/keyboards/owlab/jelly_epoch/soldered/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | # define RGBLIGHT_EFFECT_SNAKE | 27 | # define RGBLIGHT_EFFECT_SNAKE |
| 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | 29 | # define RGBLIGHT_EFFECT_TWINKLE |
| 30 | # define RGBLED_NUM 24 | ||
| 31 | # define RGBLIGHT_HUE_STEP 8 | 30 | # define RGBLIGHT_HUE_STEP 8 |
| 32 | # define RGBLIGHT_SAT_STEP 8 | 31 | # define RGBLIGHT_SAT_STEP 8 |
| 33 | # define RGBLIGHT_VAL_STEP 10 | 32 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/owlab/jelly_epoch/soldered/info.json b/keyboards/owlab/jelly_epoch/soldered/info.json index 4c66855d6b..e7fed3d285 100644 --- a/keyboards/owlab/jelly_epoch/soldered/info.json +++ b/keyboards/owlab/jelly_epoch/soldered/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "rows": ["B0", "B1", "B2", "B3", "A15", "B10"] | 14 | "rows": ["B0", "B1", "B2", "B3", "A15", "B10"] |
| 15 | }, | 15 | }, |
| 16 | "diode_direction": "COL2ROW", | 16 | "diode_direction": "COL2ROW", |
| 17 | "rgblight": { | ||
| 18 | "led_count": 24 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "B15" | 21 | "pin": "B15" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/owlab/spring/config.h b/keyboards/owlab/spring/config.h index 15d1e18d0b..591a7e1c2e 100644 --- a/keyboards/owlab/spring/config.h +++ b/keyboards/owlab/spring/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | # define RGBLIGHT_EFFECT_RGB_TEST | 28 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | # define RGBLIGHT_EFFECT_ALTERNATING | 29 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | # define RGBLIGHT_EFFECT_TWINKLE | 30 | # define RGBLIGHT_EFFECT_TWINKLE |
| 31 | # define RGBLED_NUM 8 | ||
| 32 | # define RGBLIGHT_HUE_STEP 8 | 31 | # define RGBLIGHT_HUE_STEP 8 |
| 33 | # define RGBLIGHT_SAT_STEP 8 | 32 | # define RGBLIGHT_SAT_STEP 8 |
| 34 | # define RGBLIGHT_VAL_STEP 10 | 33 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/owlab/spring/info.json b/keyboards/owlab/spring/info.json index cdf5143061..27bb44672e 100644 --- a/keyboards/owlab/spring/info.json +++ b/keyboards/owlab/spring/info.json | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | "rows": ["B0", "B7", "D0", "D1", "D2"] | 14 | "rows": ["B0", "B7", "D0", "D1", "D2"] |
| 15 | }, | 15 | }, |
| 16 | "diode_direction": "COL2ROW", | 16 | "diode_direction": "COL2ROW", |
| 17 | "rgblight": { | ||
| 18 | "led_count": 8 | ||
| 19 | }, | ||
| 17 | "ws2812": { | 20 | "ws2812": { |
| 18 | "pin": "D3" | 21 | "pin": "D3" |
| 19 | }, | 22 | }, |
diff --git a/keyboards/owlab/voice65/hotswap/config.h b/keyboards/owlab/voice65/hotswap/config.h index 17222658f3..1dfd7cbc50 100644 --- a/keyboards/owlab/voice65/hotswap/config.h +++ b/keyboards/owlab/voice65/hotswap/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | # define RGBLIGHT_EFFECT_SNAKE | 27 | # define RGBLIGHT_EFFECT_SNAKE |
| 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | 29 | # define RGBLIGHT_EFFECT_TWINKLE |
| 30 | # define RGBLED_NUM 20 | ||
| 31 | # define RGBLIGHT_HUE_STEP 8 | 30 | # define RGBLIGHT_HUE_STEP 8 |
| 32 | # define RGBLIGHT_SAT_STEP 8 | 31 | # define RGBLIGHT_SAT_STEP 8 |
| 33 | # define RGBLIGHT_VAL_STEP 10 | 32 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/owlab/voice65/hotswap/info.json b/keyboards/owlab/voice65/hotswap/info.json index 6b6474ab68..d8601bae00 100644 --- a/keyboards/owlab/voice65/hotswap/info.json +++ b/keyboards/owlab/voice65/hotswap/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "B15" | 26 | "pin": "B15" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 20, | ||
| 29 | "max_brightness": 180 | 30 | "max_brightness": 180 |
| 30 | }, | 31 | }, |
| 31 | "processor": "STM32F303", | 32 | "processor": "STM32F303", |
diff --git a/keyboards/owlab/voice65/soldered/config.h b/keyboards/owlab/voice65/soldered/config.h index 6f41edccd0..9c1b4bca93 100644 --- a/keyboards/owlab/voice65/soldered/config.h +++ b/keyboards/owlab/voice65/soldered/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | # define RGBLIGHT_EFFECT_SNAKE | 27 | # define RGBLIGHT_EFFECT_SNAKE |
| 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | 28 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | 29 | # define RGBLIGHT_EFFECT_TWINKLE |
| 30 | # define RGBLED_NUM 20 | ||
| 31 | # define RGBLIGHT_HUE_STEP 8 | 30 | # define RGBLIGHT_HUE_STEP 8 |
| 32 | # define RGBLIGHT_SAT_STEP 8 | 31 | # define RGBLIGHT_SAT_STEP 8 |
| 33 | # define RGBLIGHT_VAL_STEP 10 | 32 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/owlab/voice65/soldered/info.json b/keyboards/owlab/voice65/soldered/info.json index 3b38b45da4..964c3bdcda 100644 --- a/keyboards/owlab/voice65/soldered/info.json +++ b/keyboards/owlab/voice65/soldered/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "B15" | 26 | "pin": "B15" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 20, | ||
| 29 | "max_brightness": 180 | 30 | "max_brightness": 180 |
| 30 | }, | 31 | }, |
| 31 | "processor": "STM32F303", | 32 | "processor": "STM32F303", |
diff --git a/keyboards/p3d/glitch/config.h b/keyboards/p3d/glitch/config.h index a754828053..cc72fe4c95 100644 --- a/keyboards/p3d/glitch/config.h +++ b/keyboards/p3d/glitch/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 25 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/p3d/glitch/info.json b/keyboards/p3d/glitch/info.json index 4f323df447..c42cc3dbf4 100644 --- a/keyboards/p3d/glitch/info.json +++ b/keyboards/p3d/glitch/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | {"pin_a": "F6", "pin_b": "F7", "resolution": 2} | 19 | {"pin_a": "F6", "pin_b": "F7", "resolution": 2} |
| 20 | ] | 20 | ] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 25 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "B1" | 26 | "pin": "B1" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/panc40/config.h b/keyboards/panc40/config.h index edc623d08f..401de718c1 100644 --- a/keyboards/panc40/config.h +++ b/keyboards/panc40/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 8 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/panc40/info.json b/keyboards/panc40/info.json index 89c9639139..93b5972aa6 100644 --- a/keyboards/panc40/info.json +++ b/keyboards/panc40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6060", | 8 | "pid": "0x6060", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D2" | 15 | "pin": "D2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/panc60/config.h b/keyboards/panc60/config.h index d324ea3f81..d849732a07 100644 --- a/keyboards/panc60/config.h +++ b/keyboards/panc60/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 12 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/panc60/info.json b/keyboards/panc60/info.json index 077949cd09..05793bd412 100644 --- a/keyboards/panc60/info.json +++ b/keyboards/panc60/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/pearl/config.h b/keyboards/pearl/config.h index 2a51abdab2..d849732a07 100644 --- a/keyboards/pearl/config.h +++ b/keyboards/pearl/config.h | |||
| @@ -27,4 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/pearl/info.json b/keyboards/pearl/info.json index 8ac8ef0a7e..a56cf0aca2 100644 --- a/keyboards/pearl/info.json +++ b/keyboards/pearl/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | "backlight": { | 15 | "backlight": { |
| 16 | "pin": "D4" | 16 | "pin": "D4" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 12 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "driver": "i2c" | 22 | "driver": "i2c" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/pearlboards/atlas/config.h b/keyboards/pearlboards/atlas/config.h index 8ddf2721ae..c40767ca73 100644 --- a/keyboards/pearlboards/atlas/config.h +++ b/keyboards/pearlboards/atlas/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | #define RGBLIGHT_EFFECT_SNAKE | 39 | #define RGBLIGHT_EFFECT_SNAKE |
| 40 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 40 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 41 | #define RGBLIGHT_EFFECT_TWINKLE | 41 | #define RGBLIGHT_EFFECT_TWINKLE |
| 42 | #define RGBLED_NUM 8 | ||
| 43 | #define RGBLIGHT_HUE_STEP 8 | 42 | #define RGBLIGHT_HUE_STEP 8 |
| 44 | #define RGBLIGHT_SAT_STEP 8 | 43 | #define RGBLIGHT_SAT_STEP 8 |
| 45 | #define RGBLIGHT_VAL_STEP 8 | 44 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pearlboards/atlas/info.json b/keyboards/pearlboards/atlas/info.json index fb50400855..37f9242208 100644 --- a/keyboards/pearlboards/atlas/info.json +++ b/keyboards/pearlboards/atlas/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "on_state": 0 | 25 | "on_state": 0 |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 8, | ||
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
| 30 | "ws2812": { | 31 | "ws2812": { |
diff --git a/keyboards/pearlboards/pandora/config.h b/keyboards/pearlboards/pandora/config.h index f0941ad8f6..6d9a834202 100644 --- a/keyboards/pearlboards/pandora/config.h +++ b/keyboards/pearlboards/pandora/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_SNAKE | 29 | #define RGBLIGHT_EFFECT_SNAKE |
| 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 12 | ||
| 33 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 34 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
| 35 | #define RGBLIGHT_VAL_STEP 8 | 34 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pearlboards/pandora/info.json b/keyboards/pearlboards/pandora/info.json index f75d96f47f..d800231020 100644 --- a/keyboards/pearlboards/pandora/info.json +++ b/keyboards/pearlboards/pandora/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 12, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/pearlboards/pearl/config.h b/keyboards/pearlboards/pearl/config.h index 0847811645..62ae942627 100644 --- a/keyboards/pearlboards/pearl/config.h +++ b/keyboards/pearlboards/pearl/config.h | |||
| @@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define RGBLIGHT_EFFECT_SNAKE | 40 | #define RGBLIGHT_EFFECT_SNAKE |
| 41 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 41 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 42 | #define RGBLIGHT_EFFECT_TWINKLE | 42 | #define RGBLIGHT_EFFECT_TWINKLE |
| 43 | # define RGBLED_NUM 10 | ||
| 44 | # define RGBLIGHT_HUE_STEP 8 | 43 | # define RGBLIGHT_HUE_STEP 8 |
| 45 | # define RGBLIGHT_SAT_STEP 8 | 44 | # define RGBLIGHT_SAT_STEP 8 |
| 46 | # define RGBLIGHT_VAL_STEP 8 | 45 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pearlboards/pearl/info.json b/keyboards/pearlboards/pearl/info.json index cbc50e6244..149804a2a5 100644 --- a/keyboards/pearlboards/pearl/info.json +++ b/keyboards/pearlboards/pearl/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "on_state": 0 | 20 | "on_state": 0 |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 10, | ||
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/pearlboards/zeus/config.h b/keyboards/pearlboards/zeus/config.h index 756ca8a096..b2c0ef0536 100644 --- a/keyboards/pearlboards/zeus/config.h +++ b/keyboards/pearlboards/zeus/config.h | |||
| @@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 43 | #define RGBLIGHT_EFFECT_SNAKE | 43 | #define RGBLIGHT_EFFECT_SNAKE |
| 44 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 44 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 45 | #define RGBLIGHT_EFFECT_TWINKLE | 45 | #define RGBLIGHT_EFFECT_TWINKLE |
| 46 | #define RGBLED_NUM 2 | ||
| 47 | #define RGBLIGHT_HUE_STEP 8 | 46 | #define RGBLIGHT_HUE_STEP 8 |
| 48 | #define RGBLIGHT_SAT_STEP 8 | 47 | #define RGBLIGHT_SAT_STEP 8 |
| 49 | #define RGBLIGHT_VAL_STEP 8 | 48 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pearlboards/zeus/info.json b/keyboards/pearlboards/zeus/info.json index 14d06f6ea5..0dcf6b4c3b 100644 --- a/keyboards/pearlboards/zeus/info.json +++ b/keyboards/pearlboards/zeus/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "on_state": 0 | 25 | "on_state": 0 |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 2, | ||
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
| 30 | "ws2812": { | 31 | "ws2812": { |
diff --git a/keyboards/pearlboards/zeuspad/config.h b/keyboards/pearlboards/zeuspad/config.h index 7acedf7072..bb81c2f295 100644 --- a/keyboards/pearlboards/zeuspad/config.h +++ b/keyboards/pearlboards/zeuspad/config.h | |||
| @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_SNAKE | 34 | #define RGBLIGHT_EFFECT_SNAKE |
| 35 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 35 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 2 | ||
| 38 | #define RGBLIGHT_HUE_STEP 8 | 37 | #define RGBLIGHT_HUE_STEP 8 |
| 39 | #define RGBLIGHT_SAT_STEP 8 | 38 | #define RGBLIGHT_SAT_STEP 8 |
| 40 | #define RGBLIGHT_VAL_STEP 8 | 39 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pearlboards/zeuspad/info.json b/keyboards/pearlboards/zeuspad/info.json index a1bd1d859a..f719a8b2a0 100644 --- a/keyboards/pearlboards/zeuspad/info.json +++ b/keyboards/pearlboards/zeuspad/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 2, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/percent/booster/config.h b/keyboards/percent/booster/config.h index 3f1a469d74..7cce89aa59 100644 --- a/keyboards/percent/booster/config.h +++ b/keyboards/percent/booster/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/info.json index d9d6437ea5..76c96503fb 100644 --- a/keyboards/percent/booster/info.json +++ b/keyboards/percent/booster/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 10, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h index b7aa6ca2e9..d849732a07 100644 --- a/keyboards/percent/canoe/config.h +++ b/keyboards/percent/canoe/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 2 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/info.json index fcbdf6bac8..5cc689c1c2 100644 --- a/keyboards/percent/canoe/info.json +++ b/keyboards/percent/canoe/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 2 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h index 6907429c39..0f45c7154e 100644 --- a/keyboards/percent/skog/config.h +++ b/keyboards/percent/skog/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 2 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/info.json index 19e7f81603..0570481adc 100644 --- a/keyboards/percent/skog/info.json +++ b/keyboards/percent/skog/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "D4", | 17 | "pin": "D4", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 2 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "driver": "i2c" | 24 | "driver": "i2c" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h index 75b78de22d..d849732a07 100644 --- a/keyboards/percent/skog_lite/config.h +++ b/keyboards/percent/skog_lite/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 18 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/info.json index 4133d5c81b..1b868a244f 100644 --- a/keyboards/percent/skog_lite/info.json +++ b/keyboards/percent/skog_lite/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/phantom/config.h b/keyboards/phantom/config.h index 6e2931a9d6..23a98fa480 100644 --- a/keyboards/phantom/config.h +++ b/keyboards/phantom/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 20 | ||
| 21 | # define RGBLIGHT_HUE_STEP 10 | 20 | # define RGBLIGHT_HUE_STEP 10 |
| 22 | # define RGBLIGHT_SAT_STEP 17 | 21 | # define RGBLIGHT_SAT_STEP 17 |
| 23 | # define RGBLIGHT_VAL_STEP 17 | 22 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/phantom/info.json b/keyboards/phantom/info.json index bf858eaf06..745c97a2c9 100644 --- a/keyboards/phantom/info.json +++ b/keyboards/phantom/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "B6", | 17 | "caps_lock": "B6", |
| 18 | "scroll_lock": "B7" | 18 | "scroll_lock": "B7" |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 20 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/pico/65keys/config.h b/keyboards/pico/65keys/config.h index 7506090b1e..5a73136286 100644 --- a/keyboards/pico/65keys/config.h +++ b/keyboards/pico/65keys/config.h | |||
| @@ -21,8 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #undef RGBLED_NUM | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/pico/65keys/info.json b/keyboards/pico/65keys/info.json index c9d61fc434..841f2f8eb7 100644 --- a/keyboards/pico/65keys/info.json +++ b/keyboards/pico/65keys/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/pico/70keys/config.h b/keyboards/pico/70keys/config.h index 7506090b1e..5a73136286 100644 --- a/keyboards/pico/70keys/config.h +++ b/keyboards/pico/70keys/config.h | |||
| @@ -21,8 +21,6 @@ | |||
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | #undef RGBLED_NUM | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/pico/70keys/info.json b/keyboards/pico/70keys/info.json index 09c1cfa5b3..c61bdb0631 100644 --- a/keyboards/pico/70keys/info.json +++ b/keyboards/pico/70keys/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/picolab/frusta_fundamental/config.h b/keyboards/picolab/frusta_fundamental/config.h index 1bd318c9ad..c3cd956eee 100644 --- a/keyboards/picolab/frusta_fundamental/config.h +++ b/keyboards/picolab/frusta_fundamental/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | # define RGBLIGHT_EFFECT_RGB_TEST | 32 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | # define RGBLIGHT_EFFECT_ALTERNATING | 33 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | # define RGBLIGHT_EFFECT_TWINKLE | 34 | # define RGBLIGHT_EFFECT_TWINKLE |
| 35 | # define RGBLED_NUM 67 | ||
| 36 | # define RGBLIGHT_HUE_STEP 8 | 35 | # define RGBLIGHT_HUE_STEP 8 |
| 37 | # define RGBLIGHT_SAT_STEP 8 | 36 | # define RGBLIGHT_SAT_STEP 8 |
| 38 | # define RGBLIGHT_VAL_STEP 8 | 37 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/picolab/frusta_fundamental/info.json b/keyboards/picolab/frusta_fundamental/info.json index 91aadda6ff..1ef4dc17bb 100644 --- a/keyboards/picolab/frusta_fundamental/info.json +++ b/keyboards/picolab/frusta_fundamental/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 67 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/pimentoso/touhoupad/config.h b/keyboards/pimentoso/touhoupad/config.h index 2e36c2f722..231ffbc392 100644 --- a/keyboards/pimentoso/touhoupad/config.h +++ b/keyboards/pimentoso/touhoupad/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 12 | ||
| 19 | #define RGBLIGHT_HUE_STEP 8 | 18 | #define RGBLIGHT_HUE_STEP 8 |
| 20 | #define RGBLIGHT_SAT_STEP 8 | 19 | #define RGBLIGHT_SAT_STEP 8 |
| 21 | #define RGBLIGHT_VAL_STEP 8 | 20 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pimentoso/touhoupad/info.json b/keyboards/pimentoso/touhoupad/info.json index 83b6899d78..ace9e6a57e 100644 --- a/keyboards/pimentoso/touhoupad/info.json +++ b/keyboards/pimentoso/touhoupad/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/pixelspace/capsule65i/config.h b/keyboards/pixelspace/capsule65i/config.h index c6dd26a46a..42f560290c 100644 --- a/keyboards/pixelspace/capsule65i/config.h +++ b/keyboards/pixelspace/capsule65i/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 6 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pixelspace/capsule65i/info.json b/keyboards/pixelspace/capsule65i/info.json index b2ac8f8528..c7fe995e8f 100644 --- a/keyboards/pixelspace/capsule65i/info.json +++ b/keyboards/pixelspace/capsule65i/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "indicators": { | 16 | "indicators": { |
| 17 | "caps_lock": "F6" | 17 | "caps_lock": "F6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "F7" | 23 | "pin": "F7" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/planck/ez/config.h b/keyboards/planck/ez/config.h index 3b10a2b753..1ec2e9febe 100644 --- a/keyboards/planck/ez/config.h +++ b/keyboards/planck/ez/config.h | |||
| @@ -42,7 +42,6 @@ | |||
| 42 | //#define NO_ACTION_ONESHOT | 42 | //#define NO_ACTION_ONESHOT |
| 43 | 43 | ||
| 44 | // #define WS2812_LED_N 2 | 44 | // #define WS2812_LED_N 2 |
| 45 | // #define RGBLED_NUM WS2812_LED_N | ||
| 46 | // #define WS2812_TIM_N 2 | 45 | // #define WS2812_TIM_N 2 |
| 47 | // #define WS2812_TIM_CH 2 | 46 | // #define WS2812_TIM_CH 2 |
| 48 | // #define PORT_WS2812 GPIOA | 47 | // #define PORT_WS2812 GPIOA |
diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index 1d029dae69..c0c8dc2c55 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h | |||
| @@ -45,8 +45,7 @@ | |||
| 45 | /* | 45 | /* |
| 46 | * WS2812 Underglow Matrix options | 46 | * WS2812 Underglow Matrix options |
| 47 | */ | 47 | */ |
| 48 | #define RGBLED_NUM 9 | 48 | #define RGB_MATRIX_LED_COUNT 9 |
| 49 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 50 | 49 | ||
| 51 | #define WS2812_PWM_DRIVER PWMD2 | 50 | #define WS2812_PWM_DRIVER PWMD2 |
| 52 | #define WS2812_PWM_CHANNEL 2 | 51 | #define WS2812_PWM_CHANNEL 2 |
diff --git a/keyboards/planck/rev6/info.json b/keyboards/planck/rev6/info.json index c1e4e527ce..ac0691721c 100644 --- a/keyboards/planck/rev6/info.json +++ b/keyboards/planck/rev6/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xA4F9", | 8 | "pid": "0xA4F9", |
| 9 | "device_version": "0.0.6" | 9 | "device_version": "0.0.6" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 9 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A1", | 15 | "pin": "A1", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/planck/rev6_drop/config.h b/keyboards/planck/rev6_drop/config.h index ff15e9628d..7050fa009c 100644 --- a/keyboards/planck/rev6_drop/config.h +++ b/keyboards/planck/rev6_drop/config.h | |||
| @@ -46,8 +46,7 @@ | |||
| 46 | /* | 46 | /* |
| 47 | * WS2812 Underglow Matrix options | 47 | * WS2812 Underglow Matrix options |
| 48 | */ | 48 | */ |
| 49 | #define RGBLED_NUM 9 | 49 | #define RGB_MATRIX_LED_COUNT 9 |
| 50 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 51 | 50 | ||
| 52 | #define WS2812_PWM_DRIVER PWMD2 | 51 | #define WS2812_PWM_DRIVER PWMD2 |
| 53 | #define WS2812_PWM_CHANNEL 2 | 52 | #define WS2812_PWM_CHANNEL 2 |
diff --git a/keyboards/planck/rev6_drop/info.json b/keyboards/planck/rev6_drop/info.json index 00f1fab14e..c5450f45c0 100644 --- a/keyboards/planck/rev6_drop/info.json +++ b/keyboards/planck/rev6_drop/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xA4F9", | 8 | "pid": "0xA4F9", |
| 9 | "device_version": "0.0.6" | 9 | "device_version": "0.0.6" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 9 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A1", | 15 | "pin": "A1", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/playkbtw/ca66/config.h b/keyboards/playkbtw/ca66/config.h index 9bcb20ae88..401de718c1 100644 --- a/keyboards/playkbtw/ca66/config.h +++ b/keyboards/playkbtw/ca66/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/playkbtw/ca66/info.json b/keyboards/playkbtw/ca66/info.json index 828d5337b2..8b4449d922 100644 --- a/keyboards/playkbtw/ca66/info.json +++ b/keyboards/playkbtw/ca66/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "F0" | 17 | "pin": "F0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "B1" | 23 | "pin": "B1" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/playkbtw/helen80/config.h b/keyboards/playkbtw/helen80/config.h index 1e2d9099ab..84d00e498f 100644 --- a/keyboards/playkbtw/helen80/config.h +++ b/keyboards/playkbtw/helen80/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 87 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/playkbtw/helen80/info.json b/keyboards/playkbtw/helen80/info.json index d9f2c7d2fd..3b68bcc16c 100644 --- a/keyboards/playkbtw/helen80/info.json +++ b/keyboards/playkbtw/helen80/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "E2" | 22 | "pin": "E2" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 87, | ||
| 25 | "max_brightness": 180, | 26 | "max_brightness": 180, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/playkbtw/pk60/config.h b/keyboards/playkbtw/pk60/config.h index 8471167fcd..401de718c1 100644 --- a/keyboards/playkbtw/pk60/config.h +++ b/keyboards/playkbtw/pk60/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 12 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/playkbtw/pk60/info.json b/keyboards/playkbtw/pk60/info.json index 89b414d08f..71e55fc42c 100644 --- a/keyboards/playkbtw/pk60/info.json +++ b/keyboards/playkbtw/pk60/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 12 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/playkbtw/pk64rgb/config.h b/keyboards/playkbtw/pk64rgb/config.h index 9206b74150..da45375e7a 100644 --- a/keyboards/playkbtw/pk64rgb/config.h +++ b/keyboards/playkbtw/pk64rgb/config.h | |||
| @@ -49,7 +49,6 @@ | |||
| 49 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | 49 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 50 | // # define RGBLIGHT_EFFECT_ALTERNATING | 50 | // # define RGBLIGHT_EFFECT_ALTERNATING |
| 51 | # define RGBLIGHT_EFFECT_TWINKLE | 51 | # define RGBLIGHT_EFFECT_TWINKLE |
| 52 | # define RGBLED_NUM 18 | ||
| 53 | # define RGBLIGHT_HUE_STEP 5 | 52 | # define RGBLIGHT_HUE_STEP 5 |
| 54 | # define RGBLIGHT_SAT_STEP 5 | 53 | # define RGBLIGHT_SAT_STEP 5 |
| 55 | # define RGBLIGHT_VAL_STEP 5 | 54 | # define RGBLIGHT_VAL_STEP 5 |
diff --git a/keyboards/playkbtw/pk64rgb/info.json b/keyboards/playkbtw/pk64rgb/info.json index 9ac09639fa..4d557b4c7c 100644 --- a/keyboards/playkbtw/pk64rgb/info.json +++ b/keyboards/playkbtw/pk64rgb/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | }, | 17 | }, |
| 18 | "diode_direction": "COL2ROW", | 18 | "diode_direction": "COL2ROW", |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 18, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/ploopyco/mouse/config.h b/keyboards/ploopyco/mouse/config.h index 62ed32840b..b774237b03 100644 --- a/keyboards/ploopyco/mouse/config.h +++ b/keyboards/ploopyco/mouse/config.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | //#define NO_ACTION_TAPPING | 28 | //#define NO_ACTION_TAPPING |
| 29 | //#define NO_ACTION_ONESHOT | 29 | //#define NO_ACTION_ONESHOT |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 4 | ||
| 32 | #define RGBLIGHT_EFFECT_BREATHING | 31 | #define RGBLIGHT_EFFECT_BREATHING |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 34 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json index b89f82a363..ad41e9ef87 100644 --- a/keyboards/ploopyco/mouse/info.json +++ b/keyboards/ploopyco/mouse/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "B5" | 16 | "pin": "B5" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 4, | ||
| 19 | "max_brightness": 40 | 20 | "max_brightness": 40 |
| 20 | }, | 21 | }, |
| 21 | "processor": "atmega32u4", | 22 | "processor": "atmega32u4", |
diff --git a/keyboards/ploopyco/trackball/rev1_005/config.h b/keyboards/ploopyco/trackball/rev1_005/config.h index e59c0a3e85..33f5b870c0 100644 --- a/keyboards/ploopyco/trackball/rev1_005/config.h +++ b/keyboards/ploopyco/trackball/rev1_005/config.h | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | #define UNUSABLE_PINS \ | 23 | #define UNUSABLE_PINS \ |
| 24 | { D1, D3, B4, B7, D6, C7, F6, F5, F3, F7 } | 24 | { D1, D3, B4, B7, D6, C7, F6, F5, F3, F7 } |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 3 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ploopyco/trackball/rev1_005/info.json b/keyboards/ploopyco/trackball/rev1_005/info.json index c7506f2d84..3588628d87 100644 --- a/keyboards/ploopyco/trackball/rev1_005/info.json +++ b/keyboards/ploopyco/trackball/rev1_005/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "pin": "B5" | 10 | "pin": "B5" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 3, | ||
| 13 | "max_brightness": 40 | 14 | "max_brightness": 40 |
| 14 | } | 15 | } |
| 15 | } | 16 | } |
diff --git a/keyboards/plume/plume65/config.h b/keyboards/plume/plume65/config.h index 051c285f89..14a97dd48a 100644 --- a/keyboards/plume/plume65/config.h +++ b/keyboards/plume/plume65/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 10 | ||
| 20 | // #define RGBLIGHT_HUE_STEP 8 | 19 | // #define RGBLIGHT_HUE_STEP 8 |
| 21 | // #define RGBLIGHT_SAT_STEP 8 | 20 | // #define RGBLIGHT_SAT_STEP 8 |
| 22 | // #define RGBLIGHT_VAL_STEP 8 | 21 | // #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/plume/plume65/info.json b/keyboards/plume/plume65/info.json index 3f38c555e1..aaad820427 100644 --- a/keyboards/plume/plume65/info.json +++ b/keyboards/plume/plume65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x22CF", | 8 | "pid": "0x22CF", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/plut0nium/0x3e/config.h b/keyboards/plut0nium/0x3e/config.h index f9b4f5c97b..ca52aace3d 100644 --- a/keyboards/plut0nium/0x3e/config.h +++ b/keyboards/plut0nium/0x3e/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | /* | 20 | /* |
| 21 | * RGB Underglow | 21 | * RGB Underglow |
| 22 | */ | 22 | */ |
| 23 | #define RGBLED_NUM 6 | ||
| 24 | #define RGBLIGHT_HUE_STEP 12 | 23 | #define RGBLIGHT_HUE_STEP 12 |
| 25 | #define RGBLIGHT_SAT_STEP 8 | 24 | #define RGBLIGHT_SAT_STEP 8 |
| 26 | #define RGBLIGHT_VAL_STEP 8 | 25 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/plut0nium/0x3e/info.json b/keyboards/plut0nium/0x3e/info.json index 280ad0de34..9b44dd227c 100644 --- a/keyboards/plut0nium/0x3e/info.json +++ b/keyboards/plut0nium/0x3e/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "C7" | 22 | "pin": "C7" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 6, | ||
| 25 | "max_brightness": 150, | 26 | "max_brightness": 150, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/plywrks/lune/config.h b/keyboards/plywrks/lune/config.h index 0fd3723e53..4c5383a41a 100644 --- a/keyboards/plywrks/lune/config.h +++ b/keyboards/plywrks/lune/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 8 | ||
| 21 | //# define RGBLIGHT_HUE_STEP 8 | 20 | //# define RGBLIGHT_HUE_STEP 8 |
| 22 | //# define RGBLIGHT_SAT_STEP 8 | 21 | //# define RGBLIGHT_SAT_STEP 8 |
| 23 | //# define RGBLIGHT_VAL_STEP 8 | 22 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/plywrks/lune/info.json b/keyboards/plywrks/lune/info.json index 0804c27c1c..adb2f528e6 100644 --- a/keyboards/plywrks/lune/info.json +++ b/keyboards/plywrks/lune/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7901", | 8 | "pid": "0x7901", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E2" | 15 | "pin": "E2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/pohjolaworks/louhi/config.h b/keyboards/pohjolaworks/louhi/config.h index 842ad09c88..f7ad177e45 100644 --- a/keyboards/pohjolaworks/louhi/config.h +++ b/keyboards/pohjolaworks/louhi/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 14 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/pohjolaworks/louhi/info.json b/keyboards/pohjolaworks/louhi/info.json index 39674dc1ba..b7bebe7f58 100644 --- a/keyboards/pohjolaworks/louhi/info.json +++ b/keyboards/pohjolaworks/louhi/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B5" | 22 | "pin": "B5" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 14, | ||
| 25 | "max_brightness": 230 | 26 | "max_brightness": 230 |
| 26 | }, | 27 | }, |
| 27 | "processor": "atmega32u4", | 28 | "processor": "atmega32u4", |
diff --git a/keyboards/poker87c/config.h b/keyboards/poker87c/config.h index 515793d1fb..b6e1595e30 100644 --- a/keyboards/poker87c/config.h +++ b/keyboards/poker87c/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 95 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/poker87c/info.json b/keyboards/poker87c/info.json index b134de22a5..26088d2617 100644 --- a/keyboards/poker87c/info.json +++ b/keyboards/poker87c/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "E2" | 20 | "pin": "E2" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 95, | ||
| 23 | "max_brightness": 180, | 24 | "max_brightness": 180, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/poker87d/config.h b/keyboards/poker87d/config.h index c7bfeda9a8..b6e1595e30 100644 --- a/keyboards/poker87d/config.h +++ b/keyboards/poker87d/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 125 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/poker87d/info.json b/keyboards/poker87d/info.json index 6765a6ccc0..cb0a452818 100644 --- a/keyboards/poker87d/info.json +++ b/keyboards/poker87d/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "E2" | 25 | "pin": "E2" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 125, | ||
| 28 | "max_brightness": 180, | 29 | "max_brightness": 180, |
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
diff --git a/keyboards/polycarbdiet/s20/config.h b/keyboards/polycarbdiet/s20/config.h index f14e8ae352..c3d0a83f2f 100644 --- a/keyboards/polycarbdiet/s20/config.h +++ b/keyboards/polycarbdiet/s20/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 4 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/polycarbdiet/s20/info.json b/keyboards/polycarbdiet/s20/info.json index 5c948df06d..5a8b431493 100644 --- a/keyboards/polycarbdiet/s20/info.json +++ b/keyboards/polycarbdiet/s20/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 4, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/pom_keyboards/tnln95/config.h b/keyboards/pom_keyboards/tnln95/config.h index fd918c75e5..ea423cddb3 100644 --- a/keyboards/pom_keyboards/tnln95/config.h +++ b/keyboards/pom_keyboards/tnln95/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | 23 | ||
| 24 | /* RGB Configs */ | 24 | /* RGB Configs */ |
| 25 | #define RGBLED_NUM 14 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/pom_keyboards/tnln95/info.json b/keyboards/pom_keyboards/tnln95/info.json index fd896bf550..724f8ff4ec 100644 --- a/keyboards/pom_keyboards/tnln95/info.json +++ b/keyboards/pom_keyboards/tnln95/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 14, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/preonic/rev3/config.h b/keyboards/preonic/rev3/config.h index 2f55894ae6..53e72073b5 100644 --- a/keyboards/preonic/rev3/config.h +++ b/keyboards/preonic/rev3/config.h | |||
| @@ -45,7 +45,6 @@ | |||
| 45 | /* | 45 | /* |
| 46 | * WS2812 Underglow Matrix options | 46 | * WS2812 Underglow Matrix options |
| 47 | */ | 47 | */ |
| 48 | #define RGBLED_NUM 9 | ||
| 49 | #define RGBLIGHT_EFFECT_BREATHING | 48 | #define RGBLIGHT_EFFECT_BREATHING |
| 50 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 49 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 51 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 50 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -57,7 +56,7 @@ | |||
| 57 | #define RGBLIGHT_EFFECT_ALTERNATING | 56 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 58 | #define RGBLIGHT_EFFECT_TWINKLE | 57 | #define RGBLIGHT_EFFECT_TWINKLE |
| 59 | // RGB Matrix support | 58 | // RGB Matrix support |
| 60 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 59 | #define RGB_MATRIX_LED_COUNT 9 |
| 61 | 60 | ||
| 62 | #define WS2812_PWM_DRIVER PWMD2 | 61 | #define WS2812_PWM_DRIVER PWMD2 |
| 63 | #define WS2812_PWM_CHANNEL 2 | 62 | #define WS2812_PWM_CHANNEL 2 |
diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json index d6d494e005..3d6257d46c 100644 --- a/keyboards/preonic/rev3/info.json +++ b/keyboards/preonic/rev3/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xA649", | 6 | "pid": "0xA649", |
| 7 | "device_version": "0.0.3" | 7 | "device_version": "0.0.3" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 9 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "A1", | 13 | "pin": "A1", |
| 11 | "driver": "pwm" | 14 | "driver": "pwm" |
diff --git a/keyboards/preonic/rev3_drop/config.h b/keyboards/preonic/rev3_drop/config.h index ac584dfbfe..fa7b87b7cd 100644 --- a/keyboards/preonic/rev3_drop/config.h +++ b/keyboards/preonic/rev3_drop/config.h | |||
| @@ -45,7 +45,6 @@ | |||
| 45 | /* | 45 | /* |
| 46 | * WS2812 Underglow Matrix options | 46 | * WS2812 Underglow Matrix options |
| 47 | */ | 47 | */ |
| 48 | #define RGBLED_NUM 9 | ||
| 49 | #define RGBLIGHT_EFFECT_BREATHING | 48 | #define RGBLIGHT_EFFECT_BREATHING |
| 50 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 49 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 51 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 50 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -58,7 +57,7 @@ | |||
| 58 | #define RGBLIGHT_EFFECT_TWINKLE | 57 | #define RGBLIGHT_EFFECT_TWINKLE |
| 59 | 58 | ||
| 60 | // RGB Matrix support | 59 | // RGB Matrix support |
| 61 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 60 | #define RGB_MATRIX_LED_COUNT 9 |
| 62 | 61 | ||
| 63 | #define WS2812_PWM_DRIVER PWMD2 | 62 | #define WS2812_PWM_DRIVER PWMD2 |
| 64 | #define WS2812_PWM_CHANNEL 2 | 63 | #define WS2812_PWM_CHANNEL 2 |
diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json index a3eac4eaf4..05a2724169 100644 --- a/keyboards/preonic/rev3_drop/info.json +++ b/keyboards/preonic/rev3_drop/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xA649", | 6 | "pid": "0xA649", |
| 7 | "device_version": "0.0.3" | 7 | "device_version": "0.0.3" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 9 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "A1", | 13 | "pin": "A1", |
| 11 | "driver": "pwm" | 14 | "driver": "pwm" |
diff --git a/keyboards/primekb/meridian/config.h b/keyboards/primekb/meridian/config.h index 0633f8948e..3bb4f22006 100644 --- a/keyboards/primekb/meridian/config.h +++ b/keyboards/primekb/meridian/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 3 | ||
| 21 | #define WS2812_SPI SPID2 | 20 | #define WS2812_SPI SPID2 |
| 22 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 21 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 23 | #define WS2812_SPI_SCK_PAL_MODE 0 | 22 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/primekb/meridian/ktr1010/config.h b/keyboards/primekb/meridian/ktr1010/config.h index e28306587d..3da9ff72c4 100644 --- a/keyboards/primekb/meridian/ktr1010/config.h +++ b/keyboards/primekb/meridian/ktr1010/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 3 | ||
| 21 | // Special timing definitions for KTR101 | 20 | // Special timing definitions for KTR101 |
| 22 | #define WS2812_TIMING 1325 | 21 | #define WS2812_TIMING 1325 |
| 23 | #define WS2812_T0H 350 | 22 | #define WS2812_T0H 350 |
diff --git a/keyboards/primekb/meridian/ktr1010/info.json b/keyboards/primekb/meridian/ktr1010/info.json index 3a330b7306..a9a9362ec9 100644 --- a/keyboards/primekb/meridian/ktr1010/info.json +++ b/keyboards/primekb/meridian/ktr1010/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 3 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "B15" | 6 | "pin": "B15" |
| 4 | } | 7 | } |
diff --git a/keyboards/primekb/meridian/ws2812/config.h b/keyboards/primekb/meridian/ws2812/config.h index 0633f8948e..3bb4f22006 100644 --- a/keyboards/primekb/meridian/ws2812/config.h +++ b/keyboards/primekb/meridian/ws2812/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 3 | ||
| 21 | #define WS2812_SPI SPID2 | 20 | #define WS2812_SPI SPID2 |
| 22 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 21 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 23 | #define WS2812_SPI_SCK_PAL_MODE 0 | 22 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/primekb/meridian/ws2812/info.json b/keyboards/primekb/meridian/ws2812/info.json index 9870232117..4299d367c2 100644 --- a/keyboards/primekb/meridian/ws2812/info.json +++ b/keyboards/primekb/meridian/ws2812/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 3 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "B15", | 6 | "pin": "B15", |
| 4 | "driver": "spi" | 7 | "driver": "spi" |
diff --git a/keyboards/primekb/meridian_rgb/config.h b/keyboards/primekb/meridian_rgb/config.h index 6e481d7778..6003927d20 100644 --- a/keyboards/primekb/meridian_rgb/config.h +++ b/keyboards/primekb/meridian_rgb/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 64 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/primekb/meridian_rgb/info.json b/keyboards/primekb/meridian_rgb/info.json index c967c15811..dca8ceb8bc 100644 --- a/keyboards/primekb/meridian_rgb/info.json +++ b/keyboards/primekb/meridian_rgb/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "F1" | 22 | "pin": "F1" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 64, | ||
| 25 | "max_brightness": 200 | 26 | "max_brightness": 200 |
| 26 | }, | 27 | }, |
| 27 | "processor": "atmega32u4", | 28 | "processor": "atmega32u4", |
diff --git a/keyboards/primekb/prime_e/rgb/config.h b/keyboards/primekb/prime_e/rgb/config.h index 6610d03f04..21388d69a2 100644 --- a/keyboards/primekb/prime_e/rgb/config.h +++ b/keyboards/primekb/prime_e/rgb/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/primekb/prime_e/rgb/info.json b/keyboards/primekb/prime_e/rgb/info.json index 189e448ed9..5a65a70359 100644 --- a/keyboards/primekb/prime_e/rgb/info.json +++ b/keyboards/primekb/prime_e/rgb/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0x0052", | 4 | "pid": "0x0052", |
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 8 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "B7" | 11 | "pin": "B7" |
| 9 | } | 12 | } |
diff --git a/keyboards/program_yoink/config.h b/keyboards/program_yoink/config.h index f8114cd914..a93d342363 100644 --- a/keyboards/program_yoink/config.h +++ b/keyboards/program_yoink/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /*RGB*/ | 20 | /*RGB*/ |
| 21 | #define RGBLED_NUM 5 | ||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/program_yoink/ortho/info.json b/keyboards/program_yoink/ortho/info.json index 4828c997ba..253455f3e9 100644 --- a/keyboards/program_yoink/ortho/info.json +++ b/keyboards/program_yoink/ortho/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 5, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/program_yoink/staggered/info.json b/keyboards/program_yoink/staggered/info.json index 112f10c62a..7e0a0b5dde 100644 --- a/keyboards/program_yoink/staggered/info.json +++ b/keyboards/program_yoink/staggered/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 5, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h index bcb9ffbb09..7e8be8b7f8 100644 --- a/keyboards/projectkb/alice/rev1/config.h +++ b/keyboards/projectkb/alice/rev1/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 14 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/projectkb/alice/rev1/info.json b/keyboards/projectkb/alice/rev1/info.json index 4ed9926907..0564715547 100644 --- a/keyboards/projectkb/alice/rev1/info.json +++ b/keyboards/projectkb/alice/rev1/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 14 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "B15", | 6 | "pin": "B15", |
| 4 | "driver": "spi" | 7 | "driver": "spi" |
diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h index 95f845c931..848c0102c2 100644 --- a/keyboards/projectkb/alice/rev2/config.h +++ b/keyboards/projectkb/alice/rev2/config.h | |||
| @@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 36 | #define RGBLIGHT_EFFECT_RGB_TEST | 36 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 37 | #define RGBLIGHT_EFFECT_ALTERNATING | 37 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 38 | #define RGBLIGHT_EFFECT_TWINKLE | 38 | #define RGBLIGHT_EFFECT_TWINKLE |
| 39 | #define RGBLED_NUM 14 | ||
| 40 | #define WS2812_SPI SPID2 | 39 | #define WS2812_SPI SPID2 |
| 41 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 40 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
| 42 | #define WS2812_SPI_SCK_PAL_MODE 0 | 41 | #define WS2812_SPI_SCK_PAL_MODE 0 |
diff --git a/keyboards/projectkb/alice/rev2/info.json b/keyboards/projectkb/alice/rev2/info.json index 57113b1e3c..6a7046652c 100644 --- a/keyboards/projectkb/alice/rev2/info.json +++ b/keyboards/projectkb/alice/rev2/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 14 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "B15", | 6 | "pin": "B15", |
| 4 | "driver": "spi" | 7 | "driver": "spi" |
diff --git a/keyboards/protozoa/p01/config.h b/keyboards/protozoa/p01/config.h index 46f96e7934..e0f9734fb9 100644 --- a/keyboards/protozoa/p01/config.h +++ b/keyboards/protozoa/p01/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM5 | 24 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM5 |
| 25 | #define WS2812_DMA_CHANNEL 5 | 25 | #define WS2812_DMA_CHANNEL 5 |
| 26 | 26 | ||
| 27 | #define RGBLED_NUM 18 | ||
| 28 | #define RGBLIGHT_HUE_STEP 8 | 27 | #define RGBLIGHT_HUE_STEP 8 |
| 29 | #define RGBLIGHT_SAT_STEP 8 | 28 | #define RGBLIGHT_SAT_STEP 8 |
| 30 | #define RGBLIGHT_VAL_STEP 8 | 29 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/protozoa/p01/info.json b/keyboards/protozoa/p01/info.json index 94089a3b78..47616f1452 100644 --- a/keyboards/protozoa/p01/info.json +++ b/keyboards/protozoa/p01/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5031", | 8 | "pid": "0x5031", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A9", | 15 | "pin": "A9", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/pteron36/config.h b/keyboards/pteron36/config.h index d661f794cc..1148463200 100644 --- a/keyboards/pteron36/config.h +++ b/keyboards/pteron36/config.h | |||
| @@ -40,6 +40,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | 40 | ||
| 41 | // for via | 41 | // for via |
| 42 | #define DYNAMIC_KEYMAP_LAYER_COUNT 7 | 42 | #define DYNAMIC_KEYMAP_LAYER_COUNT 7 |
| 43 | |||
| 44 | //RGB Underglow | ||
| 45 | #define RGBLED_NUM 10 | ||
diff --git a/keyboards/pteron36/info.json b/keyboards/pteron36/info.json index bb5a8ee1eb..418ca0f6b8 100644 --- a/keyboards/pteron36/info.json +++ b/keyboards/pteron36/info.json | |||
| @@ -28,6 +28,9 @@ | |||
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | }, | 30 | }, |
| 31 | "rgblight": { | ||
| 32 | "led_count": 10 | ||
| 33 | }, | ||
| 31 | "ws2812": { | 34 | "ws2812": { |
| 32 | "pin": "B6" | 35 | "pin": "B6" |
| 33 | }, | 36 | }, |
diff --git a/keyboards/qpockets/space_space/rev2/config.h b/keyboards/qpockets/space_space/rev2/config.h index 6603c0e153..02bd670f71 100644 --- a/keyboards/qpockets/space_space/rev2/config.h +++ b/keyboards/qpockets/space_space/rev2/config.h | |||
| @@ -18,7 +18,4 @@ | |||
| 18 | 18 | ||
| 19 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 4 | ||
| 22 | |||
| 23 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 24 | #define RGBLIGHT_DEFAULT_HUE 130 | 21 | #define RGBLIGHT_DEFAULT_HUE 130 |
diff --git a/keyboards/qpockets/space_space/rev2/info.json b/keyboards/qpockets/space_space/rev2/info.json index 635c66db99..45cdb5870a 100644 --- a/keyboards/qpockets/space_space/rev2/info.json +++ b/keyboards/qpockets/space_space/rev2/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | {"pin_a": "C7", "pin_b": "F7", "resolution": 3} | 19 | {"pin_a": "C7", "pin_b": "F7", "resolution": 3} |
| 20 | ] | 20 | ] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 4 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "F0" | 26 | "pin": "F0" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/quad_h/lb75/config.h b/keyboards/quad_h/lb75/config.h index a23a8173eb..6d907961df 100644 --- a/keyboards/quad_h/lb75/config.h +++ b/keyboards/quad_h/lb75/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/quad_h/lb75/info.json b/keyboards/quad_h/lb75/info.json index 95b8ff4026..a2ac6f6aed 100644 --- a/keyboards/quad_h/lb75/info.json +++ b/keyboards/quad_h/lb75/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "B0" | 21 | "pin": "B0" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 16, | ||
| 24 | "max_brightness": 220, | 25 | "max_brightness": 220, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/quarkeys/z40/config.h b/keyboards/quarkeys/z40/config.h index 993304c036..d50067ed98 100644 --- a/keyboards/quarkeys/z40/config.h +++ b/keyboards/quarkeys/z40/config.h | |||
| @@ -47,7 +47,6 @@ | |||
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | #ifdef RGBLIGHT_ENABLE | 49 | #ifdef RGBLIGHT_ENABLE |
| 50 | #define RGBLED_NUM 47 | ||
| 51 | #define RGBLIGHT_HUE_STEP 8 | 50 | #define RGBLIGHT_HUE_STEP 8 |
| 52 | #define RGBLIGHT_SAT_STEP 8 | 51 | #define RGBLIGHT_SAT_STEP 8 |
| 53 | #define RGBLIGHT_VAL_STEP 8 | 52 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/quarkeys/z40/info.json b/keyboards/quarkeys/z40/info.json index 1e3bf7a5e7..973ea332ed 100644 --- a/keyboards/quarkeys/z40/info.json +++ b/keyboards/quarkeys/z40/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 47, | ||
| 15 | "max_brightness": 130, | 16 | "max_brightness": 130, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/quarkeys/z60/hotswap/config.h b/keyboards/quarkeys/z60/hotswap/config.h index 92936268ee..88cc0d4255 100644 --- a/keyboards/quarkeys/z60/hotswap/config.h +++ b/keyboards/quarkeys/z60/hotswap/config.h | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 80 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/quarkeys/z60/hotswap/info.json b/keyboards/quarkeys/z60/hotswap/info.json index 24196d909c..d0287ab275 100644 --- a/keyboards/quarkeys/z60/hotswap/info.json +++ b/keyboards/quarkeys/z60/hotswap/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "D6" | 16 | "pin": "D6" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 80, | ||
| 19 | "max_brightness": 140, | 20 | "max_brightness": 140, |
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
diff --git a/keyboards/quarkeys/z60/solder/config.h b/keyboards/quarkeys/z60/solder/config.h index c4c8f31188..16531d3979 100644 --- a/keyboards/quarkeys/z60/solder/config.h +++ b/keyboards/quarkeys/z60/solder/config.h | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 77 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/quarkeys/z60/solder/info.json b/keyboards/quarkeys/z60/solder/info.json index 6881d0824f..0d1aeb2328 100644 --- a/keyboards/quarkeys/z60/solder/info.json +++ b/keyboards/quarkeys/z60/solder/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "D6" | 16 | "pin": "D6" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 77, | ||
| 19 | "max_brightness": 180, | 20 | "max_brightness": 180, |
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
diff --git a/keyboards/quarkeys/z67/hotswap/config.h b/keyboards/quarkeys/z67/hotswap/config.h index 54b3021a26..88cc0d4255 100644 --- a/keyboards/quarkeys/z67/hotswap/config.h +++ b/keyboards/quarkeys/z67/hotswap/config.h | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 77 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/quarkeys/z67/hotswap/info.json b/keyboards/quarkeys/z67/hotswap/info.json index 4390e557b1..ab4b9562cf 100644 --- a/keyboards/quarkeys/z67/hotswap/info.json +++ b/keyboards/quarkeys/z67/hotswap/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "F0" | 16 | "pin": "F0" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 77, | ||
| 19 | "max_brightness": 180, | 20 | "max_brightness": 180, |
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
diff --git a/keyboards/quarkeys/z67/solder/config.h b/keyboards/quarkeys/z67/solder/config.h index 5cb4154ec3..75f48fd8b2 100644 --- a/keyboards/quarkeys/z67/solder/config.h +++ b/keyboards/quarkeys/z67/solder/config.h | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | 14 | ||
| 15 | #pragma once | 15 | #pragma once |
| 16 | 16 | ||
| 17 | #define RGBLED_NUM 18 | ||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 17 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 18 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 19 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/quarkeys/z67/solder/info.json b/keyboards/quarkeys/z67/solder/info.json index c8fae559d1..f711400f76 100644 --- a/keyboards/quarkeys/z67/solder/info.json +++ b/keyboards/quarkeys/z67/solder/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "F0" | 16 | "pin": "F0" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 18, | ||
| 19 | "max_brightness": 180, | 20 | "max_brightness": 180, |
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
diff --git a/keyboards/qvex/lynepad/config.h b/keyboards/qvex/lynepad/config.h index e266f72ad5..019af525f5 100644 --- a/keyboards/qvex/lynepad/config.h +++ b/keyboards/qvex/lynepad/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 4 | ||
| 32 | #define RGBLIGHT_HUE_STEP 8 | 31 | #define RGBLIGHT_HUE_STEP 8 |
| 33 | #define RGBLIGHT_SAT_STEP 8 | 32 | #define RGBLIGHT_SAT_STEP 8 |
| 34 | #define RGBLIGHT_VAL_STEP 8 | 33 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/qvex/lynepad/info.json b/keyboards/qvex/lynepad/info.json index fa8b71b5d6..57669dfa99 100644 --- a/keyboards/qvex/lynepad/info.json +++ b/keyboards/qvex/lynepad/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "pin": "D3" | 23 | "pin": "D3" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 4, | ||
| 26 | "max_brightness": 240 | 27 | "max_brightness": 240 |
| 27 | }, | 28 | }, |
| 28 | "processor": "atmega32u4", | 29 | "processor": "atmega32u4", |
diff --git a/keyboards/qwertyydox/config.h b/keyboards/qwertyydox/config.h index a2236d2719..ec671f3256 100644 --- a/keyboards/qwertyydox/config.h +++ b/keyboards/qwertyydox/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/qwertyydox/info.json b/keyboards/qwertyydox/info.json index f52ebdecc9..817cc3937b 100644 --- a/keyboards/qwertyydox/info.json +++ b/keyboards/qwertyydox/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | "rows": ["B6", "B2", "B3", "B1"] | 14 | "rows": ["B6", "B2", "B3", "B1"] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 12, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/rainkeebs/delilah/config.h b/keyboards/rainkeebs/delilah/config.h index 3f9d574f77..b7fbc577a2 100644 --- a/keyboards/rainkeebs/delilah/config.h +++ b/keyboards/rainkeebs/delilah/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 8 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 34 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 35 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 36 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rainkeebs/delilah/info.json b/keyboards/rainkeebs/delilah/info.json index 891c484778..f951a12ae0 100644 --- a/keyboards/rainkeebs/delilah/info.json +++ b/keyboards/rainkeebs/delilah/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x645C", | 8 | "pid": "0x645C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B3" | 15 | "pin": "B3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/rainkeebs/yasui/config.h b/keyboards/rainkeebs/yasui/config.h index 5033c1ceac..b7fbc577a2 100644 --- a/keyboards/rainkeebs/yasui/config.h +++ b/keyboards/rainkeebs/yasui/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 10 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 34 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 35 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 36 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rainkeebs/yasui/info.json b/keyboards/rainkeebs/yasui/info.json index c1c874c77b..a3ecbfc557 100644 --- a/keyboards/rainkeebs/yasui/info.json +++ b/keyboards/rainkeebs/yasui/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7973", | 8 | "pid": "0x7973", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D1" | 15 | "pin": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/rart/rart4x4/config.h b/keyboards/rart/rart4x4/config.h index f0e2a2474b..e09993bbd3 100644 --- a/keyboards/rart/rart4x4/config.h +++ b/keyboards/rart/rart4x4/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 7 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rart/rart4x4/info.json b/keyboards/rart/rart4x4/info.json index db0689501c..e1a7948f0b 100644 --- a/keyboards/rart/rart4x4/info.json +++ b/keyboards/rart/rart4x4/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 7, | ||
| 15 | "max_brightness": 240, | 16 | "max_brightness": 240, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/rart/rart67/config.h b/keyboards/rart/rart67/config.h index 402c7ba0f2..e09993bbd3 100644 --- a/keyboards/rart/rart67/config.h +++ b/keyboards/rart/rart67/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 11 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rart/rart67/info.json b/keyboards/rart/rart67/info.json index ce5b452fb6..51990a8298 100644 --- a/keyboards/rart/rart67/info.json +++ b/keyboards/rart/rart67/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B7" | 12 | "pin": "B7" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 11, | ||
| 15 | "max_brightness": 240, | 16 | "max_brightness": 240, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/rart/rart75hs/config.h b/keyboards/rart/rart75hs/config.h index 5fa91c7de4..b87572e02d 100644 --- a/keyboards/rart/rart75hs/config.h +++ b/keyboards/rart/rart75hs/config.h | |||
| @@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_KNIGHT | 29 | #define RGBLIGHT_EFFECT_KNIGHT |
| 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | /* You can change the number of RGB strip */ | ||
| 33 | #define RGBLED_NUM 11 | ||
| 34 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 35 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
| 36 | #define RGBLIGHT_VAL_STEP 8 | 34 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rart/rart75hs/info.json b/keyboards/rart/rart75hs/info.json index 78e9b33991..f582a9c4c7 100644 --- a/keyboards/rart/rart75hs/info.json +++ b/keyboards/rart/rart75hs/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "C0" | 26 | "pin": "C0" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 11, | ||
| 29 | "max_brightness": 240, | 30 | "max_brightness": 240, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/rart/rart80/config.h b/keyboards/rart/rart80/config.h index 115b0cdd26..b87572e02d 100644 --- a/keyboards/rart/rart80/config.h +++ b/keyboards/rart/rart80/config.h | |||
| @@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_KNIGHT | 29 | #define RGBLIGHT_EFFECT_KNIGHT |
| 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | /* You can change the number of RGB strip */ | ||
| 33 | #define RGBLED_NUM 6 | ||
| 34 | #define RGBLIGHT_HUE_STEP 8 | 32 | #define RGBLIGHT_HUE_STEP 8 |
| 35 | #define RGBLIGHT_SAT_STEP 8 | 33 | #define RGBLIGHT_SAT_STEP 8 |
| 36 | #define RGBLIGHT_VAL_STEP 8 | 34 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rart/rart80/info.json b/keyboards/rart/rart80/info.json index 649858d80e..1fd5ce655e 100644 --- a/keyboards/rart/rart80/info.json +++ b/keyboards/rart/rart80/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "D5" | 21 | "pin": "D5" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 6, | ||
| 24 | "max_brightness": 240, | 25 | "max_brightness": 240, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/rart/rartlice/config.h b/keyboards/rart/rartlice/config.h index b242e63013..f5b050fa4e 100644 --- a/keyboards/rart/rartlice/config.h +++ b/keyboards/rart/rartlice/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 11 | ||
| 36 | #define WS2812_SPI SPID2 | 35 | #define WS2812_SPI SPID2 |
| 37 | 36 | ||
| 38 | /* | 37 | /* |
diff --git a/keyboards/rart/rartlice/info.json b/keyboards/rart/rartlice/info.json index b1046227cc..56266f3845 100644 --- a/keyboards/rart/rartlice/info.json +++ b/keyboards/rart/rartlice/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "scroll_lock": "A9", | 19 | "scroll_lock": "A9", |
| 20 | "on_state": 0 | 20 | "on_state": 0 |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 11 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "B15", | 26 | "pin": "B15", |
| 24 | "driver": "spi" | 27 | "driver": "spi" |
diff --git a/keyboards/rart/rartpad/config.h b/keyboards/rart/rartpad/config.h index 4fcac94312..e09993bbd3 100644 --- a/keyboards/rart/rartpad/config.h +++ b/keyboards/rart/rartpad/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 5 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rart/rartpad/info.json b/keyboards/rart/rartpad/info.json index a1a5e6ca9a..ae075ae34d 100644 --- a/keyboards/rart/rartpad/info.json +++ b/keyboards/rart/rartpad/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "F7" | 26 | "pin": "F7" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 5, | ||
| 29 | "max_brightness": 240, | 30 | "max_brightness": 240, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/rate/pistachio/rev1/config.h b/keyboards/rate/pistachio/rev1/config.h index 1e44c5d809..9f66603c8c 100644 --- a/keyboards/rate/pistachio/rev1/config.h +++ b/keyboards/rate/pistachio/rev1/config.h | |||
| @@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define USE_I2C | 20 | #define USE_I2C |
| 21 | 21 | ||
| 22 | /* ws2812 RGB LED */ | ||
| 23 | #define RGBLED_NUM 2 | ||
| 24 | #define RGBLIGHT_LAYERS | 22 | #define RGBLIGHT_LAYERS |
| 25 | #define RGBLIGHT_HUE_STEP 10 | 23 | #define RGBLIGHT_HUE_STEP 10 |
| 26 | #define RGBLIGHT_SAT_STEP 17 | 24 | #define RGBLIGHT_SAT_STEP 17 |
diff --git a/keyboards/rate/pistachio/rev1/info.json b/keyboards/rate/pistachio/rev1/info.json index 60b907c809..96668c03a4 100644 --- a/keyboards/rate/pistachio/rev1/info.json +++ b/keyboards/rate/pistachio/rev1/info.json | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | 2 | "rgblight": { |
| 3 | "led_count": 2, | ||
| 3 | "split_count": [1, 1] | 4 | "split_count": [1, 1] |
| 4 | }, | 5 | }, |
| 5 | "ws2812": { | 6 | "ws2812": { |
diff --git a/keyboards/rate/pistachio/rev2/config.h b/keyboards/rate/pistachio/rev2/config.h index 2852508d9e..91e26ec656 100644 --- a/keyboards/rate/pistachio/rev2/config.h +++ b/keyboards/rate/pistachio/rev2/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Split hand configration */ | 22 | /* Split hand configration */ |
| 23 | #define SPLIT_HAND_MATRIX_GRID D4,D3 | 23 | #define SPLIT_HAND_MATRIX_GRID D4,D3 |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGBLED_NUM 84 | ||
| 27 | #define RGBLIGHT_LAYERS | 25 | #define RGBLIGHT_LAYERS |
| 28 | #define RGBLIGHT_HUE_STEP 10 | 26 | #define RGBLIGHT_HUE_STEP 10 |
| 29 | #define RGBLIGHT_SAT_STEP 17 | 27 | #define RGBLIGHT_SAT_STEP 17 |
diff --git a/keyboards/rate/pistachio/rev2/info.json b/keyboards/rate/pistachio/rev2/info.json index cf2c1db741..1aa2b97e42 100644 --- a/keyboards/rate/pistachio/rev2/info.json +++ b/keyboards/rate/pistachio/rev2/info.json | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | "pin": "D2" | 3 | "pin": "D2" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | 5 | "rgblight": { |
| 6 | "led_count": 84, | ||
| 6 | "max_brightness": 195, | 7 | "max_brightness": 195, |
| 7 | "split_count": [38, 46] | 8 | "split_count": [38, 46] |
| 8 | }, | 9 | }, |
diff --git a/keyboards/rate/pistachio_mp/config.h b/keyboards/rate/pistachio_mp/config.h index 25aac817da..1228e27705 100644 --- a/keyboards/rate/pistachio_mp/config.h +++ b/keyboards/rate/pistachio_mp/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 3 | ||
| 21 | #define RGBLIGHT_HUE_STEP 10 | 20 | #define RGBLIGHT_HUE_STEP 10 |
| 22 | #define RGBLIGHT_SAT_STEP 17 | 21 | #define RGBLIGHT_SAT_STEP 17 |
| 23 | #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE) | 22 | #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE) |
diff --git a/keyboards/rate/pistachio_mp/info.json b/keyboards/rate/pistachio_mp/info.json index 07943e5ca3..5dc54182ae 100644 --- a/keyboards/rate/pistachio_mp/info.json +++ b/keyboards/rate/pistachio_mp/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 3 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "D2" | 16 | "pin": "D2" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/rationalist/ratio65_hotswap/rev_a/config.h b/keyboards/rationalist/ratio65_hotswap/rev_a/config.h index 17ec1a2bab..b6fd6835f3 100644 --- a/keyboards/rationalist/ratio65_hotswap/rev_a/config.h +++ b/keyboards/rationalist/ratio65_hotswap/rev_a/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 18 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rationalist/ratio65_hotswap/rev_a/info.json b/keyboards/rationalist/ratio65_hotswap/rev_a/info.json index c9fb81dad8..ed50bb852c 100644 --- a/keyboards/rationalist/ratio65_hotswap/rev_a/info.json +++ b/keyboards/rationalist/ratio65_hotswap/rev_a/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/rationalist/ratio65_solder/rev_a/config.h b/keyboards/rationalist/ratio65_solder/rev_a/config.h index c3f781ab7c..7de6a86e4f 100644 --- a/keyboards/rationalist/ratio65_solder/rev_a/config.h +++ b/keyboards/rationalist/ratio65_solder/rev_a/config.h | |||
| @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | */ | 16 | */ |
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 18 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rationalist/ratio65_solder/rev_a/info.json b/keyboards/rationalist/ratio65_solder/rev_a/info.json index a35fb50972..a789d1b229 100644 --- a/keyboards/rationalist/ratio65_solder/rev_a/info.json +++ b/keyboards/rationalist/ratio65_solder/rev_a/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/recompile_keys/mio/config.h b/keyboards/recompile_keys/mio/config.h index 1764902c41..1af9965baa 100644 --- a/keyboards/recompile_keys/mio/config.h +++ b/keyboards/recompile_keys/mio/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 8 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/recompile_keys/mio/info.json b/keyboards/recompile_keys/mio/info.json index 2fa1cd9f14..94a7632fc3 100644 --- a/keyboards/recompile_keys/mio/info.json +++ b/keyboards/recompile_keys/mio/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 8, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/rect44/config.h b/keyboards/rect44/config.h index 6fb0d430fb..4697a6ecd9 100644 --- a/keyboards/rect44/config.h +++ b/keyboards/rect44/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 12 | ||
| 20 | # define RGBLIGHT_EFFECT_BREATHING | 19 | # define RGBLIGHT_EFFECT_BREATHING |
| 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/rect44/info.json b/keyboards/rect44/info.json index bf985f6202..efa82165ac 100644 --- a/keyboards/rect44/info.json +++ b/keyboards/rect44/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4DD7", | 8 | "pid": "0x4DD7", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B6" | 15 | "pin": "B6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/redox/rev1/config.h b/keyboards/redox/rev1/config.h index 56ea22e329..fdda27552d 100644 --- a/keyboards/redox/rev1/config.h +++ b/keyboards/redox/rev1/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 14 // Number of LEDs | ||
| 26 | |||
| 27 | /* | 25 | /* |
| 28 | * Feature disable options | 26 | * Feature disable options |
| 29 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/redox/rev1/info.json b/keyboards/redox/rev1/info.json index 9e50ca5baa..c0c5ce6e1a 100644 --- a/keyboards/redox/rev1/info.json +++ b/keyboards/redox/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 14, | ||
| 12 | "split": true | 13 | "split": true |
| 13 | }, | 14 | }, |
| 14 | "layouts": { | 15 | "layouts": { |
diff --git a/keyboards/retro_75/config.h b/keyboards/retro_75/config.h index 5652d5718f..c5a4318594 100644 --- a/keyboards/retro_75/config.h +++ b/keyboards/retro_75/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | // #define RGBLIGHT_HUE_STEP 8 | 20 | // #define RGBLIGHT_HUE_STEP 8 |
| 22 | // #define RGBLIGHT_SAT_STEP 8 | 21 | // #define RGBLIGHT_SAT_STEP 8 |
| 23 | // #define RGBLIGHT_VAL_STEP 8 | 22 | // #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/retro_75/info.json b/keyboards/retro_75/info.json index 1b15ca5e80..f9ec25d671 100644 --- a/keyboards/retro_75/info.json +++ b/keyboards/retro_75/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5275", | 8 | "pid": "0x5275", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A9" | 15 | "pin": "A9" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/reversestudio/decadepad/config.h b/keyboards/reversestudio/decadepad/config.h index a730f35d8c..9fa20a136c 100644 --- a/keyboards/reversestudio/decadepad/config.h +++ b/keyboards/reversestudio/decadepad/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 20 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/reversestudio/decadepad/info.json b/keyboards/reversestudio/decadepad/info.json index 3b56eb8c53..16949f0157 100644 --- a/keyboards/reversestudio/decadepad/info.json +++ b/keyboards/reversestudio/decadepad/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4450", | 8 | "pid": "0x4450", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 20 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D5" | 15 | "pin": "D5" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/reviung/reviung33/config.h b/keyboards/reviung/reviung33/config.h index 30335eda52..39fee7eac5 100644 --- a/keyboards/reviung/reviung33/config.h +++ b/keyboards/reviung/reviung33/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 5 | ||
| 21 | # define RGBLIGHT_HUE_STEP 16 | 20 | # define RGBLIGHT_HUE_STEP 16 |
| 22 | # define RGBLIGHT_SAT_STEP 16 | 21 | # define RGBLIGHT_SAT_STEP 16 |
| 23 | # define RGBLIGHT_VAL_STEP 16 | 22 | # define RGBLIGHT_VAL_STEP 16 |
diff --git a/keyboards/reviung/reviung33/info.json b/keyboards/reviung/reviung33/info.json index 143fe24c13..6fa0fada87 100644 --- a/keyboards/reviung/reviung33/info.json +++ b/keyboards/reviung/reviung33/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 5, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/reviung/reviung41/config.h b/keyboards/reviung/reviung41/config.h index 91078ecd25..2cdea0acbd 100644 --- a/keyboards/reviung/reviung41/config.h +++ b/keyboards/reviung/reviung41/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 11 | ||
| 21 | #define RGBLIGHT_HUE_STEP 16 | 20 | #define RGBLIGHT_HUE_STEP 16 |
| 22 | #define RGBLIGHT_SAT_STEP 16 | 21 | #define RGBLIGHT_SAT_STEP 16 |
| 23 | #define RGBLIGHT_VAL_STEP 16 | 22 | #define RGBLIGHT_VAL_STEP 16 |
diff --git a/keyboards/reviung/reviung41/info.json b/keyboards/reviung/reviung41/info.json index 5ce3ea19a5..5226336a04 100644 --- a/keyboards/reviung/reviung41/info.json +++ b/keyboards/reviung/reviung41/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 11, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/reviung/reviung5/config.h b/keyboards/reviung/reviung5/config.h index 8d934c9214..d412d687ac 100644 --- a/keyboards/reviung/reviung5/config.h +++ b/keyboards/reviung/reviung5/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 4 | ||
| 21 | # define RGBLIGHT_HUE_STEP 16 | 20 | # define RGBLIGHT_HUE_STEP 16 |
| 22 | # define RGBLIGHT_SAT_STEP 16 | 21 | # define RGBLIGHT_SAT_STEP 16 |
| 23 | # define RGBLIGHT_VAL_STEP 16 | 22 | # define RGBLIGHT_VAL_STEP 16 |
diff --git a/keyboards/reviung/reviung5/info.json b/keyboards/reviung/reviung5/info.json index c5e64d49d1..015438eded 100644 --- a/keyboards/reviung/reviung5/info.json +++ b/keyboards/reviung/reviung5/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 4, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/reviung/reviung53/config.h b/keyboards/reviung/reviung53/config.h index ff55a4662f..eed02fe477 100644 --- a/keyboards/reviung/reviung53/config.h +++ b/keyboards/reviung/reviung53/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define RGBLED_NUM 10 | ||
| 7 | #define RGBLIGHT_HUE_STEP 16 | 6 | #define RGBLIGHT_HUE_STEP 16 |
| 8 | #define RGBLIGHT_SAT_STEP 16 | 7 | #define RGBLIGHT_SAT_STEP 16 |
| 9 | #define RGBLIGHT_VAL_STEP 16 | 8 | #define RGBLIGHT_VAL_STEP 16 |
diff --git a/keyboards/reviung/reviung53/info.json b/keyboards/reviung/reviung53/info.json index 4eb6e9e67b..255b6a441c 100644 --- a/keyboards/reviung/reviung53/info.json +++ b/keyboards/reviung/reviung53/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 10, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/rgbkb/mun/config.h b/keyboards/rgbkb/mun/config.h index b5b7c0ce95..8e84cca0f7 100644 --- a/keyboards/rgbkb/mun/config.h +++ b/keyboards/rgbkb/mun/config.h | |||
| @@ -49,7 +49,6 @@ | |||
| 49 | #define SPLIT_TRANSACTION_IDS_KB TOUCH_ENCODER_SYNC, RGB_MENU_SYNC | 49 | #define SPLIT_TRANSACTION_IDS_KB TOUCH_ENCODER_SYNC, RGB_MENU_SYNC |
| 50 | 50 | ||
| 51 | /* RGB LED Configuration */ | 51 | /* RGB LED Configuration */ |
| 52 | #define RGBLED_NUM 98 | ||
| 53 | #define RGBLIGHT_EFFECT_BREATHING | 52 | #define RGBLIGHT_EFFECT_BREATHING |
| 54 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 53 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 55 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 54 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/rgbkb/mun/rev1/info.json b/keyboards/rgbkb/mun/rev1/info.json index 3bf22fa656..865ff816e5 100644 --- a/keyboards/rgbkb/mun/rev1/info.json +++ b/keyboards/rgbkb/mun/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 98, | ||
| 12 | "split_count": [49, 49] | 13 | "split_count": [49, 49] |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/rgbkb/pan/config.h b/keyboards/rgbkb/pan/config.h index b89b6b4f65..242e397db4 100644 --- a/keyboards/rgbkb/pan/config.h +++ b/keyboards/rgbkb/pan/config.h | |||
| @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 64 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| @@ -27,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 29 | #define RGB_MATRIX_LED_COUNT 64 |
| 31 | 30 | ||
| 32 | // RGB Matrix Animation modes. Explicitly enabled | 31 | // RGB Matrix Animation modes. Explicitly enabled |
| 33 | // For full list of effects, see: | 32 | // For full list of effects, see: |
diff --git a/keyboards/rgbkb/pan/info.json b/keyboards/rgbkb/pan/info.json index 5c3ed6f610..1f408bd713 100644 --- a/keyboards/rgbkb/pan/info.json +++ b/keyboards/rgbkb/pan/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "custom" | 12 | "driver": "custom" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 64, | ||
| 15 | "max_brightness": 120 | 16 | "max_brightness": 120 |
| 16 | }, | 17 | }, |
| 17 | "layouts": { | 18 | "layouts": { |
diff --git a/keyboards/rgbkb/sol3/config.h b/keyboards/rgbkb/sol3/config.h index bce51e7fcc..14dc56b121 100644 --- a/keyboards/rgbkb/sol3/config.h +++ b/keyboards/rgbkb/sol3/config.h | |||
| @@ -52,9 +52,6 @@ | |||
| 52 | #define DIP_SWITCH_PINS { A14, B13 } | 52 | #define DIP_SWITCH_PINS { A14, B13 } |
| 53 | #define DIP_SWITCH_PINS_RIGHT { A14, B0 } | 53 | #define DIP_SWITCH_PINS_RIGHT { A14, B0 } |
| 54 | 54 | ||
| 55 | /* RGB LED Configuration */ | ||
| 56 | #define RGBLED_NUM 156 | ||
| 57 | |||
| 58 | // RGB Lighting Animation modes. Explicitly enabled | 55 | // RGB Lighting Animation modes. Explicitly enabled |
| 59 | // For full list of effects, see: | 56 | // For full list of effects, see: |
| 60 | // https://docs.qmk.fm/#/feature_rgblight?id=effect-and-animation-toggles | 57 | // https://docs.qmk.fm/#/feature_rgblight?id=effect-and-animation-toggles |
diff --git a/keyboards/rgbkb/sol3/rev1/info.json b/keyboards/rgbkb/sol3/rev1/info.json index 192760068d..6db25dab19 100644 --- a/keyboards/rgbkb/sol3/rev1/info.json +++ b/keyboards/rgbkb/sol3/rev1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 156, | ||
| 12 | "split_count": [78, 78] | 13 | "split_count": [78, 78] |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/rgbkb/zen/rev1/config.h b/keyboards/rgbkb/zen/rev1/config.h index 88951a1b44..1578432cf8 100644 --- a/keyboards/rgbkb/zen/rev1/config.h +++ b/keyboards/rgbkb/zen/rev1/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 26 | |||
| 27 | /* | 25 | /* |
| 28 | * Feature disable options | 26 | * Feature disable options |
| 29 | * These options are also useful to firmware size reduction. | 27 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/rgbkb/zen/rev1/info.json b/keyboards/rgbkb/zen/rev1/info.json index 940df081c9..81370b916d 100644 --- a/keyboards/rgbkb/zen/rev1/info.json +++ b/keyboards/rgbkb/zen/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D1" | 23 | "pin": "D1" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/rgbkb/zen/rev2/config.h b/keyboards/rgbkb/zen/rev2/config.h index 394fd1630b..6f706c197b 100644 --- a/keyboards/rgbkb/zen/rev2/config.h +++ b/keyboards/rgbkb/zen/rev2/config.h | |||
| @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* ws2812 RGB LED */ | ||
| 26 | #define RGBLED_NUM 34 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/rgbkb/zen/rev2/info.json b/keyboards/rgbkb/zen/rev2/info.json index eed39e5628..c2c4e52ec6 100644 --- a/keyboards/rgbkb/zen/rev2/info.json +++ b/keyboards/rgbkb/zen/rev2/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "split": { | 21 | "split": { |
| 22 | "soft_serial_pin": "D3" | 22 | "soft_serial_pin": "D3" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 34 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "B6" | 28 | "pin": "B6" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/rmi_kb/squishy65/config.h b/keyboards/rmi_kb/squishy65/config.h index b4efbc241c..4184f7de3f 100644 --- a/keyboards/rmi_kb/squishy65/config.h +++ b/keyboards/rmi_kb/squishy65/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/rmi_kb/squishy65/info.json b/keyboards/rmi_kb/squishy65/info.json index 35aeac5706..d94f8ef40e 100644 --- a/keyboards/rmi_kb/squishy65/info.json +++ b/keyboards/rmi_kb/squishy65/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x10B5", | 8 | "pid": "0x10B5", |
| 9 | "device_version": "0.6.5" | 9 | "device_version": "0.6.5" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 18 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B15" | 15 | "pin": "B15" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/rmi_kb/squishyfrl/config.h b/keyboards/rmi_kb/squishyfrl/config.h index 2752477d46..a10887284c 100644 --- a/keyboards/rmi_kb/squishyfrl/config.h +++ b/keyboards/rmi_kb/squishyfrl/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 | ||
| 21 | //# define RGBLIGHT_HUE_STEP 8 | 20 | //# define RGBLIGHT_HUE_STEP 8 |
| 22 | //# define RGBLIGHT_SAT_STEP 8 | 21 | //# define RGBLIGHT_SAT_STEP 8 |
| 23 | //# define RGBLIGHT_VAL_STEP 8 | 22 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rmi_kb/squishyfrl/info.json b/keyboards/rmi_kb/squishyfrl/info.json index f6ab10f5d9..4ec0c9243d 100644 --- a/keyboards/rmi_kb/squishyfrl/info.json +++ b/keyboards/rmi_kb/squishyfrl/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4BE5", | 8 | "pid": "0x4BE5", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C15" | 15 | "pin": "C15" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/rmi_kb/squishytkl/config.h b/keyboards/rmi_kb/squishytkl/config.h index 2752477d46..a10887284c 100644 --- a/keyboards/rmi_kb/squishytkl/config.h +++ b/keyboards/rmi_kb/squishytkl/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 16 | ||
| 21 | //# define RGBLIGHT_HUE_STEP 8 | 20 | //# define RGBLIGHT_HUE_STEP 8 |
| 22 | //# define RGBLIGHT_SAT_STEP 8 | 21 | //# define RGBLIGHT_SAT_STEP 8 |
| 23 | //# define RGBLIGHT_VAL_STEP 8 | 22 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rmi_kb/squishytkl/info.json b/keyboards/rmi_kb/squishytkl/info.json index b49d72c829..bfa51fa28c 100644 --- a/keyboards/rmi_kb/squishytkl/info.json +++ b/keyboards/rmi_kb/squishytkl/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x00B1", | 8 | "pid": "0x00B1", |
| 9 | "device_version": "1.0.0" | 9 | "device_version": "1.0.0" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "C15" | 15 | "pin": "C15" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/rmi_kb/tkl_ff/v2/config.h b/keyboards/rmi_kb/tkl_ff/v2/config.h index abca542be3..b67e386f73 100644 --- a/keyboards/rmi_kb/tkl_ff/v2/config.h +++ b/keyboards/rmi_kb/tkl_ff/v2/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | #define RGBLIGHT_LAYERS | 19 | #define RGBLIGHT_LAYERS |
| 20 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 20 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 21 | 21 | ||
| 22 | # define RGBLED_NUM 26 | ||
| 23 | # define RGBLIGHT_HUE_STEP 32 | 22 | # define RGBLIGHT_HUE_STEP 32 |
| 24 | # define RGBLIGHT_SAT_STEP 32 | 23 | # define RGBLIGHT_SAT_STEP 32 |
| 25 | # define RGBLIGHT_VAL_STEP 32 | 24 | # define RGBLIGHT_VAL_STEP 32 |
diff --git a/keyboards/rmi_kb/tkl_ff/v2/info.json b/keyboards/rmi_kb/tkl_ff/v2/info.json index a7617b5f30..2d5f407346 100644 --- a/keyboards/rmi_kb/tkl_ff/v2/info.json +++ b/keyboards/rmi_kb/tkl_ff/v2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0x10FF" | 3 | "pid": "0x10FF" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 26 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "E2" | 9 | "pin": "E2" |
| 7 | } | 10 | } |
diff --git a/keyboards/rmi_kb/wete/v1/config.h b/keyboards/rmi_kb/wete/v1/config.h index c4d0637afe..b45bf03be5 100644 --- a/keyboards/rmi_kb/wete/v1/config.h +++ b/keyboards/rmi_kb/wete/v1/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 22 | #define BACKLIGHT_PAL_MODE 1 | 22 | #define BACKLIGHT_PAL_MODE 1 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 24 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/rmi_kb/wete/v1/info.json b/keyboards/rmi_kb/wete/v1/info.json index c3ae142d31..df88e509b0 100644 --- a/keyboards/rmi_kb/wete/v1/info.json +++ b/keyboards/rmi_kb/wete/v1/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 24, | 18 | "levels": 24, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 24 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B4" | 25 | "pin": "B4" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/rmi_kb/wete/v2/config.h b/keyboards/rmi_kb/wete/v2/config.h index cba69b35c9..e127a00f75 100644 --- a/keyboards/rmi_kb/wete/v2/config.h +++ b/keyboards/rmi_kb/wete/v2/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define RGBLIGHT_LAYERS | 20 | #define RGBLIGHT_LAYERS |
| 21 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 21 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 22 | 22 | ||
| 23 | # define RGBLED_NUM 18 | ||
| 24 | # define RGBLIGHT_HUE_STEP 32 | 23 | # define RGBLIGHT_HUE_STEP 32 |
| 25 | # define RGBLIGHT_SAT_STEP 32 | 24 | # define RGBLIGHT_SAT_STEP 32 |
| 26 | # define RGBLIGHT_VAL_STEP 32 | 25 | # define RGBLIGHT_VAL_STEP 32 |
diff --git a/keyboards/rmi_kb/wete/v2/info.json b/keyboards/rmi_kb/wete/v2/info.json index f1e87a6e28..b809a6bbca 100644 --- a/keyboards/rmi_kb/wete/v2/info.json +++ b/keyboards/rmi_kb/wete/v2/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "D2", "pin_b": "D1"} | 18 | {"pin_a": "D2", "pin_b": "D1"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 18 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "D0" | 25 | "pin": "D0" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/rocketboard_16/config.h b/keyboards/rocketboard_16/config.h index 54e5a91dcd..3844e57ee0 100644 --- a/keyboards/rocketboard_16/config.h +++ b/keyboards/rocketboard_16/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 16 | ||
| 31 | #define RGBLIGHT_VAL_STEP 8 | 30 | #define RGBLIGHT_VAL_STEP 8 |
| 32 | 31 | ||
| 33 | // OLED stuff | 32 | // OLED stuff |
diff --git a/keyboards/rocketboard_16/info.json b/keyboards/rocketboard_16/info.json index b8eb520125..78ee3d52c2 100644 --- a/keyboards/rocketboard_16/info.json +++ b/keyboards/rocketboard_16/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "matrix": [4, 1] | 25 | "matrix": [4, 1] |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 16, | ||
| 28 | "sleep": true | 29 | "sleep": true |
| 29 | }, | 30 | }, |
| 30 | "ws2812": { | 31 | "ws2812": { |
diff --git a/keyboards/runes/vaengr/config.h b/keyboards/runes/vaengr/config.h index c34bb7b345..ef7f54ba52 100644 --- a/keyboards/runes/vaengr/config.h +++ b/keyboards/runes/vaengr/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 10 | ||
| 31 | #define RGBLIGHT_HUE_STEP 10 | 30 | #define RGBLIGHT_HUE_STEP 10 |
| 32 | #define RGBLIGHT_SAT_STEP 17 | 31 | #define RGBLIGHT_SAT_STEP 17 |
| 33 | #define RGBLIGHT_VAL_STEP 17 | 32 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/runes/vaengr/info.json b/keyboards/runes/vaengr/info.json index e0d553071c..6b4f3034dc 100644 --- a/keyboards/runes/vaengr/info.json +++ b/keyboards/runes/vaengr/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 10, | ||
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
| 15 | "ws2812": { | 16 | "ws2812": { |
diff --git a/keyboards/rura66/rev1/config.h b/keyboards/rura66/rev1/config.h index 95d89c62d9..d4259c9fcf 100644 --- a/keyboards/rura66/rev1/config.h +++ b/keyboards/rura66/rev1/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define MASTER_LEFT | 21 | #define MASTER_LEFT |
| 22 | 22 | ||
| 23 | #ifdef RGBLIGHT_ENABLE | 23 | #ifdef RGBLIGHT_ENABLE |
| 24 | #define RGBLED_NUM 66 // Number of LEDs | ||
| 25 | #define RGBLIGHT_HUE_STEP 8 | 24 | #define RGBLIGHT_HUE_STEP 8 |
| 26 | #define RGBLIGHT_SAT_STEP 8 | 25 | #define RGBLIGHT_SAT_STEP 8 |
| 27 | #define RGBLIGHT_VAL_STEP 8 | 26 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/rura66/rev1/info.json b/keyboards/rura66/rev1/info.json index fb093b9d4e..f3ba680d7d 100644 --- a/keyboards/rura66/rev1/info.json +++ b/keyboards/rura66/rev1/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 66, | ||
| 15 | "max_brightness": 120, | 16 | "max_brightness": 120, |
| 16 | "split_count": [33, 33] | 17 | "split_count": [33, 33] |
| 17 | }, | 18 | }, |
diff --git a/keyboards/ryanbaekr/rb18/config.h b/keyboards/ryanbaekr/rb18/config.h index 835872aed5..e38f0dc862 100644 --- a/keyboards/ryanbaekr/rb18/config.h +++ b/keyboards/ryanbaekr/rb18/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 3 | ||
| 32 | #define RGBLED_HUE_STEP 8 | 31 | #define RGBLED_HUE_STEP 8 |
| 33 | #define RGBLED_SAT_STEP 8 | 32 | #define RGBLED_SAT_STEP 8 |
| 34 | #define RGBLED_VAL_STEP 8 | 33 | #define RGBLED_VAL_STEP 8 |
diff --git a/keyboards/ryanbaekr/rb18/info.json b/keyboards/ryanbaekr/rb18/info.json index 2ee0967486..72135377e2 100644 --- a/keyboards/ryanbaekr/rb18/info.json +++ b/keyboards/ryanbaekr/rb18/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0018", | 8 | "pid": "0x0018", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 3 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/ryanbaekr/rb69/config.h b/keyboards/ryanbaekr/rb69/config.h index 5614dfa100..e9ff04496c 100644 --- a/keyboards/ryanbaekr/rb69/config.h +++ b/keyboards/ryanbaekr/rb69/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 14 | ||
| 32 | #define RGBLED_HUE_STEP 8 | 31 | #define RGBLED_HUE_STEP 8 |
| 33 | #define RGBLED_SAT_STEP 8 | 32 | #define RGBLED_SAT_STEP 8 |
| 34 | #define RGBLED_VAL_STEP 8 | 33 | #define RGBLED_VAL_STEP 8 |
diff --git a/keyboards/ryanbaekr/rb69/info.json b/keyboards/ryanbaekr/rb69/info.json index 0b514a46f6..df70946f87 100644 --- a/keyboards/ryanbaekr/rb69/info.json +++ b/keyboards/ryanbaekr/rb69/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0069", | 8 | "pid": "0x0069", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/ryanbaekr/rb87/config.h b/keyboards/ryanbaekr/rb87/config.h index ca1f8284c5..e38f0dc862 100644 --- a/keyboards/ryanbaekr/rb87/config.h +++ b/keyboards/ryanbaekr/rb87/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 15 | ||
| 32 | #define RGBLED_HUE_STEP 8 | 31 | #define RGBLED_HUE_STEP 8 |
| 33 | #define RGBLED_SAT_STEP 8 | 32 | #define RGBLED_SAT_STEP 8 |
| 34 | #define RGBLED_VAL_STEP 8 | 33 | #define RGBLED_VAL_STEP 8 |
diff --git a/keyboards/ryanbaekr/rb87/info.json b/keyboards/ryanbaekr/rb87/info.json index 8741408aaa..1f9b51221e 100644 --- a/keyboards/ryanbaekr/rb87/info.json +++ b/keyboards/ryanbaekr/rb87/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "pid": "0x0087", | 10 | "pid": "0x0087", |
| 11 | "device_version": "0.0.3" | 11 | "device_version": "0.0.3" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | ||
| 14 | "led_count": 15 | ||
| 15 | }, | ||
| 13 | "ws2812": { | 16 | "ws2812": { |
| 14 | "pin": "B0" | 17 | "pin": "B0" |
| 15 | }, | 18 | }, |
diff --git a/keyboards/ryloo_studio/m0110/config.h b/keyboards/ryloo_studio/m0110/config.h index 9ed41827d0..aa069d3a02 100755 --- a/keyboards/ryloo_studio/m0110/config.h +++ b/keyboards/ryloo_studio/m0110/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | # define RGBLIGHT_EFFECT_RGB_TEST | 33 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | # define RGBLIGHT_EFFECT_ALTERNATING | 34 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | # define RGBLIGHT_EFFECT_TWINKLE | 35 | # define RGBLIGHT_EFFECT_TWINKLE |
| 36 | # define RGBLED_NUM 18 | ||
| 37 | # define RGBLIGHT_HUE_STEP 8 | 36 | # define RGBLIGHT_HUE_STEP 8 |
| 38 | # define RGBLIGHT_SAT_STEP 8 | 37 | # define RGBLIGHT_SAT_STEP 8 |
| 39 | # define RGBLIGHT_VAL_STEP 8 | 38 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ryloo_studio/m0110/info.json b/keyboards/ryloo_studio/m0110/info.json index cded8206f4..3c04c5d096 100644 --- a/keyboards/ryloo_studio/m0110/info.json +++ b/keyboards/ryloo_studio/m0110/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E2" | 21 | "pin": "E2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 18, | ||
| 24 | "max_brightness": 123 | 25 | "max_brightness": 123 |
| 25 | }, | 26 | }, |
| 26 | "processor": "atmega32u4", | 27 | "processor": "atmega32u4", |
diff --git a/keyboards/saevus/cor_tkl/config.h b/keyboards/saevus/cor_tkl/config.h index b42ece99a6..7fedf4dce1 100644 --- a/keyboards/saevus/cor_tkl/config.h +++ b/keyboards/saevus/cor_tkl/config.h | |||
| @@ -20,5 +20,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | /* RGB Matrix setup */ | 21 | /* RGB Matrix setup */ |
| 22 | #define RGB_MATRIX_LED_COUNT 2 | 22 | #define RGB_MATRIX_LED_COUNT 2 |
| 23 | #define RGBLED_NUM 2 | ||
| 24 | #define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral | 23 | #define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral |
diff --git a/keyboards/salicylic_acid3/7skb/rev1/config.h b/keyboards/salicylic_acid3/7skb/rev1/config.h index 5e29165b82..62e6489213 100644 --- a/keyboards/salicylic_acid3/7skb/rev1/config.h +++ b/keyboards/salicylic_acid3/7skb/rev1/config.h | |||
| @@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #ifndef RGBLED_NUM | ||
| 29 | #define RGBLED_NUM 12 | ||
| 30 | #endif | ||
| 31 | |||
| 32 | #define RGBLIGHT_EFFECT_BREATHING | 28 | #define RGBLIGHT_EFFECT_BREATHING |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 34 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/7skb/rev1/info.json b/keyboards/salicylic_acid3/7skb/rev1/info.json index e195344ed1..db6fc58561 100644 --- a/keyboards/salicylic_acid3/7skb/rev1/info.json +++ b/keyboards/salicylic_acid3/7skb/rev1/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/7splus/config.h b/keyboards/salicylic_acid3/7splus/config.h index 1267b547c5..09822bfa88 100644 --- a/keyboards/salicylic_acid3/7splus/config.h +++ b/keyboards/salicylic_acid3/7splus/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | #ifndef RGBLED_NUM | ||
| 28 | #define RGBLED_NUM 31 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/7splus/info.json b/keyboards/salicylic_acid3/7splus/info.json index fa9c166ada..34ab093af0 100644 --- a/keyboards/salicylic_acid3/7splus/info.json +++ b/keyboards/salicylic_acid3/7splus/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 31, | ||
| 20 | "split_count": [11, 20] | 21 | "split_count": [11, 20] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/ergoarrows/config.h b/keyboards/salicylic_acid3/ergoarrows/config.h index 17976de230..c08c9612ef 100644 --- a/keyboards/salicylic_acid3/ergoarrows/config.h +++ b/keyboards/salicylic_acid3/ergoarrows/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | #ifndef RGBLED_NUM | ||
| 28 | #define RGBLED_NUM 86 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/ergoarrows/info.json b/keyboards/salicylic_acid3/ergoarrows/info.json index b058a5367d..b352eb47c7 100644 --- a/keyboards/salicylic_acid3/ergoarrows/info.json +++ b/keyboards/salicylic_acid3/ergoarrows/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 86, | ||
| 20 | "split_count": [43, 43] | 21 | "split_count": [43, 43] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/getta25/rev1/config.h b/keyboards/salicylic_acid3/getta25/rev1/config.h index cdc803a98c..eb0a745116 100644 --- a/keyboards/salicylic_acid3/getta25/rev1/config.h +++ b/keyboards/salicylic_acid3/getta25/rev1/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 9 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/getta25/rev1/info.json b/keyboards/salicylic_acid3/getta25/rev1/info.json index de9fe887e7..09eb5a8388 100644 --- a/keyboards/salicylic_acid3/getta25/rev1/info.json +++ b/keyboards/salicylic_acid3/getta25/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3060", | 8 | "pid": "0x3060", |
| 9 | "device_version": "0.1.3" | 9 | "device_version": "0.1.3" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 9 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/salicylic_acid3/jisplit89/rev1/config.h b/keyboards/salicylic_acid3/jisplit89/rev1/config.h index 06f8e5664e..eb9b97288d 100644 --- a/keyboards/salicylic_acid3/jisplit89/rev1/config.h +++ b/keyboards/salicylic_acid3/jisplit89/rev1/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | #ifndef RGBLED_NUM | ||
| 28 | #define RGBLED_NUM 32 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/jisplit89/rev1/info.json b/keyboards/salicylic_acid3/jisplit89/rev1/info.json index bc2759751e..2a4a51938f 100644 --- a/keyboards/salicylic_acid3/jisplit89/rev1/info.json +++ b/keyboards/salicylic_acid3/jisplit89/rev1/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 32, | ||
| 20 | "split_count": [11, 21] | 21 | "split_count": [11, 21] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/nafuda/config.h b/keyboards/salicylic_acid3/nafuda/config.h index 94d44bfce8..5ff5858933 100644 --- a/keyboards/salicylic_acid3/nafuda/config.h +++ b/keyboards/salicylic_acid3/nafuda/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 7 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/nafuda/info.json b/keyboards/salicylic_acid3/nafuda/info.json index ea2645cf23..a72cf38e7f 100644 --- a/keyboards/salicylic_acid3/nafuda/info.json +++ b/keyboards/salicylic_acid3/nafuda/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3060", | 8 | "pid": "0x3060", |
| 9 | "device_version": "0.1.2" | 9 | "device_version": "0.1.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 7 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/salicylic_acid3/naked48/rev1/config.h b/keyboards/salicylic_acid3/naked48/rev1/config.h index c7246fad76..d185624ef9 100644 --- a/keyboards/salicylic_acid3/naked48/rev1/config.h +++ b/keyboards/salicylic_acid3/naked48/rev1/config.h | |||
| @@ -22,10 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #ifndef RGBLED_NUM | ||
| 26 | #define RGBLED_NUM 48 | ||
| 27 | #endif | ||
| 28 | |||
| 29 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 31 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/naked48/rev1/info.json b/keyboards/salicylic_acid3/naked48/rev1/info.json index a378952d25..43d980508f 100644 --- a/keyboards/salicylic_acid3/naked48/rev1/info.json +++ b/keyboards/salicylic_acid3/naked48/rev1/info.json | |||
| @@ -25,6 +25,9 @@ | |||
| 25 | } | 25 | } |
| 26 | } | 26 | } |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | ||
| 29 | "led_count": 48 | ||
| 30 | }, | ||
| 28 | "ws2812": { | 31 | "ws2812": { |
| 29 | "pin": "D3" | 32 | "pin": "D3" |
| 30 | }, | 33 | }, |
diff --git a/keyboards/salicylic_acid3/naked64/rev1/config.h b/keyboards/salicylic_acid3/naked64/rev1/config.h index 1cf00110ac..b14abaf8e6 100644 --- a/keyboards/salicylic_acid3/naked64/rev1/config.h +++ b/keyboards/salicylic_acid3/naked64/rev1/config.h | |||
| @@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 27 | |||
| 28 | #ifndef IOS_DEVICE_ENABLE | 26 | #ifndef IOS_DEVICE_ENABLE |
| 29 | #define RGBLIGHT_LIMIT_VAL 180 | 27 | #define RGBLIGHT_LIMIT_VAL 180 |
| 30 | #define RGBLIGHT_VAL_STEP 17 | 28 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/naked64/rev1/info.json b/keyboards/salicylic_acid3/naked64/rev1/info.json index cb9a7b341f..ec96590522 100644 --- a/keyboards/salicylic_acid3/naked64/rev1/info.json +++ b/keyboards/salicylic_acid3/naked64/rev1/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | } | 23 | } |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 12, | ||
| 26 | "led_map": [0, 1, 3, 2, 2, 3, 2, 3, 4, 5, 6, 7] | 27 | "led_map": [0, 1, 3, 2, 2, 3, 2, 3, 4, 5, 6, 7] |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/nknl7en/config.h b/keyboards/salicylic_acid3/nknl7en/config.h index c6a70946b3..20af422202 100644 --- a/keyboards/salicylic_acid3/nknl7en/config.h +++ b/keyboards/salicylic_acid3/nknl7en/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | #ifndef RGBLED_NUM | ||
| 28 | #define RGBLED_NUM 21 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/nknl7en/info.json b/keyboards/salicylic_acid3/nknl7en/info.json index db2460d28a..f1f7ee2d46 100644 --- a/keyboards/salicylic_acid3/nknl7en/info.json +++ b/keyboards/salicylic_acid3/nknl7en/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 21, | ||
| 20 | "split_count": [9, 12] | 21 | "split_count": [9, 12] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/nknl7jp/config.h b/keyboards/salicylic_acid3/nknl7jp/config.h index 0d465f97a2..20af422202 100644 --- a/keyboards/salicylic_acid3/nknl7jp/config.h +++ b/keyboards/salicylic_acid3/nknl7jp/config.h | |||
| @@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | /* Locking resynchronize hack */ | 24 | /* Locking resynchronize hack */ |
| 25 | #define LOCKING_RESYNC_ENABLE | 25 | #define LOCKING_RESYNC_ENABLE |
| 26 | 26 | ||
| 27 | #ifndef RGBLED_NUM | ||
| 28 | #define RGBLED_NUM 20 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 27 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/nknl7jp/info.json b/keyboards/salicylic_acid3/nknl7jp/info.json index bcbabe051d..4cda99931e 100644 --- a/keyboards/salicylic_acid3/nknl7jp/info.json +++ b/keyboards/salicylic_acid3/nknl7jp/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 20, | ||
| 20 | "split_count": [9, 11] | 21 | "split_count": [9, 11] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/salicylic_acid3/setta21/rev1/config.h b/keyboards/salicylic_acid3/setta21/rev1/config.h index eb9e0b5b1d..5ff5858933 100644 --- a/keyboards/salicylic_acid3/setta21/rev1/config.h +++ b/keyboards/salicylic_acid3/setta21/rev1/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 21 // Number of LEDs | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/salicylic_acid3/setta21/rev1/info.json b/keyboards/salicylic_acid3/setta21/rev1/info.json index 642bde6298..9027068cd8 100644 --- a/keyboards/salicylic_acid3/setta21/rev1/info.json +++ b/keyboards/salicylic_acid3/setta21/rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3060", | 8 | "pid": "0x3060", |
| 9 | "device_version": "0.1.1" | 9 | "device_version": "0.1.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 21 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/sam/s80/config.h b/keyboards/sam/s80/config.h index 94d716028a..f8ffe4cf43 100644 --- a/keyboards/sam/s80/config.h +++ b/keyboards/sam/s80/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | # define RGBLED_NUM 20 | ||
| 20 | # define RGBLIGHT_HUE_STEP 8 | 19 | # define RGBLIGHT_HUE_STEP 8 |
| 21 | # define RGBLIGHT_SAT_STEP 8 | 20 | # define RGBLIGHT_SAT_STEP 8 |
| 22 | # define RGBLIGHT_VAL_STEP 8 | 21 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sam/s80/info.json b/keyboards/sam/s80/info.json index 73794ba3eb..50bcd2c6f8 100644 --- a/keyboards/sam/s80/info.json +++ b/keyboards/sam/s80/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "E2" | 20 | "pin": "E2" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 20, | ||
| 23 | "max_brightness": 100 | 24 | "max_brightness": 100 |
| 24 | }, | 25 | }, |
| 25 | "processor": "atmega32u4", | 26 | "processor": "atmega32u4", |
diff --git a/keyboards/sam/sg81m/config.h b/keyboards/sam/sg81m/config.h index 97e618fc20..28d76aab24 100644 --- a/keyboards/sam/sg81m/config.h +++ b/keyboards/sam/sg81m/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 10 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sam/sg81m/info.json b/keyboards/sam/sg81m/info.json index 22cc79a48a..95384847f4 100644 --- a/keyboards/sam/sg81m/info.json +++ b/keyboards/sam/sg81m/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "caps_lock": "B0" | 17 | "caps_lock": "B0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 10, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/sawnsprojects/amber80/solder/config.h b/keyboards/sawnsprojects/amber80/solder/config.h index b73345c48f..9cdbac5812 100644 --- a/keyboards/sawnsprojects/amber80/solder/config.h +++ b/keyboards/sawnsprojects/amber80/solder/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* RGB */ | 19 | /* RGB */ |
| 20 | #define RGBLED_NUM 22 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sawnsprojects/amber80/solder/info.json b/keyboards/sawnsprojects/amber80/solder/info.json index d786ecf833..7efd74a2fd 100644 --- a/keyboards/sawnsprojects/amber80/solder/info.json +++ b/keyboards/sawnsprojects/amber80/solder/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "on_state": 0 | 19 | "on_state": 0 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 22, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/sawnsprojects/krush/krush60/solder/config.h b/keyboards/sawnsprojects/krush/krush60/solder/config.h index ec085f23e4..ff4f333a82 100644 --- a/keyboards/sawnsprojects/krush/krush60/solder/config.h +++ b/keyboards/sawnsprojects/krush/krush60/solder/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 20 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sawnsprojects/krush/krush60/solder/info.json b/keyboards/sawnsprojects/krush/krush60/solder/info.json index f0ceb084cc..10393dbeff 100644 --- a/keyboards/sawnsprojects/krush/krush60/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush60/solder/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "F1" | 21 | "pin": "F1" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 20, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/config.h b/keyboards/sawnsprojects/krush/krush65/hotswap/config.h index c6aa467de4..e5700d1b29 100644 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/config.h +++ b/keyboards/sawnsprojects/krush/krush65/hotswap/config.h | |||
| @@ -22,7 +22,6 @@ | |||
| 22 | #define ENCODERS_CCW_KEY { { 12, 4 } } | 22 | #define ENCODERS_CCW_KEY { { 12, 4 } } |
| 23 | 23 | ||
| 24 | /* RGB */ | 24 | /* RGB */ |
| 25 | #define RGBLED_NUM 20 | ||
| 26 | #define RGBLIGHT_HUE_STEP 8 | 25 | #define RGBLIGHT_HUE_STEP 8 |
| 27 | #define RGBLIGHT_SAT_STEP 8 | 26 | #define RGBLIGHT_SAT_STEP 8 |
| 28 | #define RGBLIGHT_VAL_STEP 8 | 27 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json b/keyboards/sawnsprojects/krush/krush65/hotswap/info.json index e4dadab791..07506d85bf 100644 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json +++ b/keyboards/sawnsprojects/krush/krush65/hotswap/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "E6" | 26 | "pin": "E6" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 20, | ||
| 29 | "max_brightness": 200, | 30 | "max_brightness": 200, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/sawnsprojects/krush/krush65/solder/config.h b/keyboards/sawnsprojects/krush/krush65/solder/config.h index c6c5be1962..db211f5b84 100644 --- a/keyboards/sawnsprojects/krush/krush65/solder/config.h +++ b/keyboards/sawnsprojects/krush/krush65/solder/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 20 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sawnsprojects/krush/krush65/solder/info.json b/keyboards/sawnsprojects/krush/krush65/solder/info.json index 596605c37f..b636012098 100644 --- a/keyboards/sawnsprojects/krush/krush65/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush65/solder/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "F1" | 26 | "pin": "F1" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 20, | ||
| 29 | "max_brightness": 200, | 30 | "max_brightness": 200, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/sawnsprojects/satxri6key/config.h b/keyboards/sawnsprojects/satxri6key/config.h index e87262b68e..faf80f1df5 100644 --- a/keyboards/sawnsprojects/satxri6key/config.h +++ b/keyboards/sawnsprojects/satxri6key/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 6 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sawnsprojects/satxri6key/info.json b/keyboards/sawnsprojects/satxri6key/info.json index 1a933245b6..9dcbfb3d3e 100644 --- a/keyboards/sawnsprojects/satxri6key/info.json +++ b/keyboards/sawnsprojects/satxri6key/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/sawnsprojects/vcl65/solder/config.h b/keyboards/sawnsprojects/vcl65/solder/config.h index 21a8755b57..4dda913d3d 100644 --- a/keyboards/sawnsprojects/vcl65/solder/config.h +++ b/keyboards/sawnsprojects/vcl65/solder/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 20 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sawnsprojects/vcl65/solder/info.json b/keyboards/sawnsprojects/vcl65/solder/info.json index b9ece7c67f..0b046df999 100644 --- a/keyboards/sawnsprojects/vcl65/solder/info.json +++ b/keyboards/sawnsprojects/vcl65/solder/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "B7" | 21 | "pin": "B7" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 20, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/sck/gtm/config.h b/keyboards/sck/gtm/config.h index c95d84b30d..9ae2a01bd5 100644 --- a/keyboards/sck/gtm/config.h +++ b/keyboards/sck/gtm/config.h | |||
| @@ -18,5 +18,4 @@ | |||
| 18 | #define RGBLIGHT_EFFECT_RGB_TEST | 18 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 19 | #define RGBLIGHT_EFFECT_ALTERNATING | 19 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 20 | #define RGBLIGHT_EFFECT_TWINKLE | 20 | #define RGBLIGHT_EFFECT_TWINKLE |
| 21 | #define RGBLED_NUM 4 | ||
| 22 | #endif | 21 | #endif |
diff --git a/keyboards/sck/gtm/info.json b/keyboards/sck/gtm/info.json index 422fb0c0f1..3fc2bcc54d 100644 --- a/keyboards/sck/gtm/info.json +++ b/keyboards/sck/gtm/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6090", | 8 | "pid": "0x6090", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/sck/osa/config.h b/keyboards/sck/osa/config.h index 5d40fc0e01..ac82fb4eb0 100644 --- a/keyboards/sck/osa/config.h +++ b/keyboards/sck/osa/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 9 | ||
| 21 | #define RGBLIGHT_HUE_STEP 10 | 20 | #define RGBLIGHT_HUE_STEP 10 |
| 22 | #define RGBLIGHT_SAT_STEP 17 | 21 | #define RGBLIGHT_SAT_STEP 17 |
| 23 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/sck/osa/info.json b/keyboards/sck/osa/info.json index 5c9ca25a8f..2cbf7af652 100644 --- a/keyboards/sck/osa/info.json +++ b/keyboards/sck/osa/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "scroll_lock": "B6" | 19 | "scroll_lock": "B6" |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 9, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/sendyyeah/pix/config.h b/keyboards/sendyyeah/pix/config.h index 3b4ba31700..b574747a53 100644 --- a/keyboards/sendyyeah/pix/config.h +++ b/keyboards/sendyyeah/pix/config.h | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | /* Locking resynchronize hack */ | 25 | /* Locking resynchronize hack */ |
| 26 | #define LOCKING_RESYNC_ENABLE | 26 | #define LOCKING_RESYNC_ENABLE |
| 27 | 27 | ||
| 28 | #define RGBLED_NUM 15 | ||
| 29 | #define RGBLIGHT_HUE_STEP 8 | 28 | #define RGBLIGHT_HUE_STEP 8 |
| 30 | #define RGBLIGHT_SAT_STEP 8 | 29 | #define RGBLIGHT_SAT_STEP 8 |
| 31 | #define RGBLIGHT_VAL_STEP 8 | 30 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sendyyeah/pix/info.json b/keyboards/sendyyeah/pix/info.json index 6c6ef95912..f3e8103dde 100644 --- a/keyboards/sendyyeah/pix/info.json +++ b/keyboards/sendyyeah/pix/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 15, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/senselessclay/ck65/config.h b/keyboards/senselessclay/ck65/config.h index cd09a4f316..7f1195b18c 100644 --- a/keyboards/senselessclay/ck65/config.h +++ b/keyboards/senselessclay/ck65/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | /* RGB Backlighting */ | 41 | /* RGB Backlighting */ |
| 42 | #define RGBLED_NUM 69 | ||
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 42 | #define RGBLIGHT_EFFECT_BREATHING |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 45 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/senselessclay/ck65/info.json b/keyboards/senselessclay/ck65/info.json index 662b73fc17..3653aaf82e 100644 --- a/keyboards/senselessclay/ck65/info.json +++ b/keyboards/senselessclay/ck65/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B1" | 12 | "pin": "B1" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 69, | ||
| 15 | "max_brightness": 122, | 16 | "max_brightness": 122, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/senselessclay/gos65/config.h b/keyboards/senselessclay/gos65/config.h index 176505a8e5..38391089fc 100644 --- a/keyboards/senselessclay/gos65/config.h +++ b/keyboards/senselessclay/gos65/config.h | |||
| @@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 39 | //#define NO_ACTION_ONESHOT | 39 | //#define NO_ACTION_ONESHOT |
| 40 | 40 | ||
| 41 | /* RGB Backlighting */ | 41 | /* RGB Backlighting */ |
| 42 | #define RGBLED_NUM 68 | ||
| 43 | #define RGBLIGHT_EFFECT_BREATHING | 42 | #define RGBLIGHT_EFFECT_BREATHING |
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 45 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/senselessclay/gos65/info.json b/keyboards/senselessclay/gos65/info.json index ee4dbad5e6..ca23cd1a83 100644 --- a/keyboards/senselessclay/gos65/info.json +++ b/keyboards/senselessclay/gos65/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B0" | 12 | "pin": "B0" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 68, | ||
| 15 | "max_brightness": 125, | 16 | "max_brightness": 125, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/sentraq/number_pad/config.h b/keyboards/sentraq/number_pad/config.h index 1ec9ac0afd..0addea9793 100644 --- a/keyboards/sentraq/number_pad/config.h +++ b/keyboards/sentraq/number_pad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 13 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sentraq/number_pad/info.json b/keyboards/sentraq/number_pad/info.json index 47ef2185a0..d0958681bb 100644 --- a/keyboards/sentraq/number_pad/info.json +++ b/keyboards/sentraq/number_pad/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | 10 | "rgblight": { |
| 11 | "led_count": 13, | ||
| 11 | "sleep": true | 12 | "sleep": true |
| 12 | }, | 13 | }, |
| 13 | "ws2812": { | 14 | "ws2812": { |
diff --git a/keyboards/sentraq/s60_x/rgb/config.h b/keyboards/sentraq/s60_x/rgb/config.h index da4d3257a6..401de718c1 100644 --- a/keyboards/sentraq/s60_x/rgb/config.h +++ b/keyboards/sentraq/s60_x/rgb/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 10 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sentraq/s60_x/rgb/info.json b/keyboards/sentraq/s60_x/rgb/info.json index c311c6a513..bfe0b12bbb 100644 --- a/keyboards/sentraq/s60_x/rgb/info.json +++ b/keyboards/sentraq/s60_x/rgb/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "pin": "B7", | 9 | "pin": "B7", |
| 10 | "breathing": true | 10 | "breathing": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 10 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "F6" | 16 | "pin": "F6" |
| 14 | }, | 17 | }, |
diff --git a/keyboards/sentraq/s65_plus/config.h b/keyboards/sentraq/s65_plus/config.h index 900ea0aa40..477128c304 100644 --- a/keyboards/sentraq/s65_plus/config.h +++ b/keyboards/sentraq/s65_plus/config.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #define RGBLIGHT_EFFECT_RGB_TEST | 10 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 11 | #define RGBLIGHT_EFFECT_ALTERNATING | 11 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 12 | #define RGBLIGHT_EFFECT_TWINKLE | 12 | #define RGBLIGHT_EFFECT_TWINKLE |
| 13 | #define RGBLED_NUM 20 | ||
| 14 | #define RGBLIGHT_HUE_STEP 8 | 13 | #define RGBLIGHT_HUE_STEP 8 |
| 15 | #define RGBLIGHT_SAT_STEP 8 | 14 | #define RGBLIGHT_SAT_STEP 8 |
| 16 | #define RGBLIGHT_VAL_STEP 8 | 15 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sentraq/s65_plus/info.json b/keyboards/sentraq/s65_plus/info.json index f9287f2507..a50127f761 100644 --- a/keyboards/sentraq/s65_plus/info.json +++ b/keyboards/sentraq/s65_plus/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/sentraq/s65_x/config.h b/keyboards/sentraq/s65_x/config.h index 900ea0aa40..477128c304 100644 --- a/keyboards/sentraq/s65_x/config.h +++ b/keyboards/sentraq/s65_x/config.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #define RGBLIGHT_EFFECT_RGB_TEST | 10 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 11 | #define RGBLIGHT_EFFECT_ALTERNATING | 11 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 12 | #define RGBLIGHT_EFFECT_TWINKLE | 12 | #define RGBLIGHT_EFFECT_TWINKLE |
| 13 | #define RGBLED_NUM 20 | ||
| 14 | #define RGBLIGHT_HUE_STEP 8 | 13 | #define RGBLIGHT_HUE_STEP 8 |
| 15 | #define RGBLIGHT_SAT_STEP 8 | 14 | #define RGBLIGHT_SAT_STEP 8 |
| 16 | #define RGBLIGHT_VAL_STEP 8 | 15 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sentraq/s65_x/info.json b/keyboards/sentraq/s65_x/info.json index 34af6ac3dc..80266277eb 100644 --- a/keyboards/sentraq/s65_x/info.json +++ b/keyboards/sentraq/s65_x/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "as_caps_lock": true | 19 | "as_caps_lock": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 20, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/sets3n/kk980/config.h b/keyboards/sets3n/kk980/config.h index bff26cfc80..cb1a301ae6 100644 --- a/keyboards/sets3n/kk980/config.h +++ b/keyboards/sets3n/kk980/config.h | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | 35 | ||
| 36 | #define RGBLED_NUM 102 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
| @@ -41,6 +40,6 @@ | |||
| 41 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 40 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 42 | 41 | ||
| 43 | #ifdef RGB_MATRIX_ENABLE | 42 | #ifdef RGB_MATRIX_ENABLE |
| 44 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | 43 | #define RGB_MATRIX_LED_COUNT 102 |
| 45 | #define RGB_MATRIX_KEYPRESSES | 44 | #define RGB_MATRIX_KEYPRESSES |
| 46 | #endif | 45 | #endif |
diff --git a/keyboards/sets3n/kk980/info.json b/keyboards/sets3n/kk980/info.json index f59f186bf4..ffe1134514 100644 --- a/keyboards/sets3n/kk980/info.json +++ b/keyboards/sets3n/kk980/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B7" | 12 | "pin": "B7" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 102, | ||
| 15 | "max_brightness": 230 | 16 | "max_brightness": 230 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/silverbullet44/config.h b/keyboards/silverbullet44/config.h index 4ac6c7b531..437b5d9b37 100644 --- a/keyboards/silverbullet44/config.h +++ b/keyboards/silverbullet44/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define MASTER_RIGHT | 20 | #define MASTER_RIGHT |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 52 | ||
| 23 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 24 | #define RGB_MATRIX_LED_COUNT 52 | 23 | #define RGB_MATRIX_LED_COUNT 52 |
| 25 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 | 24 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 |
diff --git a/keyboards/silverbullet44/info.json b/keyboards/silverbullet44/info.json index 4146b4feee..778d722874 100644 --- a/keyboards/silverbullet44/info.json +++ b/keyboards/silverbullet44/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "driver": "WS2812" | 15 | "driver": "WS2812" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 52, | ||
| 18 | "max_brightness": 150, | 19 | "max_brightness": 150, |
| 19 | "led_map": [0, 1, 2, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 3, 4, 5, 6, 26, 27, 28, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 29, 30, 31, 32], | 20 | "led_map": [0, 1, 2, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 3, 4, 5, 6, 26, 27, 28, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 29, 30, 31, 32], |
| 20 | "split_count": [26, 26] | 21 | "split_count": [26, 26] |
diff --git a/keyboards/singa/config.h b/keyboards/singa/config.h index 75b78de22d..d849732a07 100644 --- a/keyboards/singa/config.h +++ b/keyboards/singa/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 18 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/singa/info.json b/keyboards/singa/info.json index 4c582df858..e2441b48e5 100644 --- a/keyboards/singa/info.json +++ b/keyboards/singa/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/skeletn87/hotswap/config.h b/keyboards/skeletn87/hotswap/config.h index 9b10186c49..c45c42df7a 100644 --- a/keyboards/skeletn87/hotswap/config.h +++ b/keyboards/skeletn87/hotswap/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 10 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/skeletn87/hotswap/info.json b/keyboards/skeletn87/hotswap/info.json index d10022a48b..aedf688c44 100644 --- a/keyboards/skeletn87/hotswap/info.json +++ b/keyboards/skeletn87/hotswap/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "B3" | 26 | "pin": "B3" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 10, | ||
| 29 | "max_brightness": 200, | 30 | "max_brightness": 200, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/skeletn87/soldered/config.h b/keyboards/skeletn87/soldered/config.h index 9b10186c49..c45c42df7a 100644 --- a/keyboards/skeletn87/soldered/config.h +++ b/keyboards/skeletn87/soldered/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 10 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/skeletn87/soldered/info.json b/keyboards/skeletn87/soldered/info.json index a4dd4f18f7..1230438191 100644 --- a/keyboards/skeletn87/soldered/info.json +++ b/keyboards/skeletn87/soldered/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "B2" | 26 | "pin": "B2" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 10, | ||
| 29 | "max_brightness": 200, | 30 | "max_brightness": 200, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/skeletonkbd/skeletonnumpad/config.h b/keyboards/skeletonkbd/skeletonnumpad/config.h index 521df97db7..0682aa94b0 100644 --- a/keyboards/skeletonkbd/skeletonnumpad/config.h +++ b/keyboards/skeletonkbd/skeletonnumpad/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 17 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/skeletonkbd/skeletonnumpad/info.json b/keyboards/skeletonkbd/skeletonnumpad/info.json index f51577a47a..7b93a11323 100644 --- a/keyboards/skeletonkbd/skeletonnumpad/info.json +++ b/keyboards/skeletonkbd/skeletonnumpad/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D4" | 12 | "pin": "D4" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 17, | ||
| 15 | "max_brightness": 120, | 16 | "max_brightness": 120, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/skippys_custom_pcs/rooboard65/config.h b/keyboards/skippys_custom_pcs/rooboard65/config.h index 5932113c94..e83868463a 100644 --- a/keyboards/skippys_custom_pcs/rooboard65/config.h +++ b/keyboards/skippys_custom_pcs/rooboard65/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 68 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/skippys_custom_pcs/rooboard65/info.json b/keyboards/skippys_custom_pcs/rooboard65/info.json index ca86bae4b9..cf05928058 100644 --- a/keyboards/skippys_custom_pcs/rooboard65/info.json +++ b/keyboards/skippys_custom_pcs/rooboard65/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "F7" | 12 | "pin": "F7" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 68, | ||
| 15 | "max_brightness": 96 | 16 | "max_brightness": 96 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/skippys_custom_pcs/roopad/config.h b/keyboards/skippys_custom_pcs/roopad/config.h index 31f83e7d35..c97f2a22df 100644 --- a/keyboards/skippys_custom_pcs/roopad/config.h +++ b/keyboards/skippys_custom_pcs/roopad/config.h | |||
| @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 21 | ||
| 21 | |||
| 22 | #define RGBLIGHT_EFFECT_ALTERNATING | 20 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_CHRISTMAS | 22 | #define RGBLIGHT_EFFECT_CHRISTMAS |
diff --git a/keyboards/skippys_custom_pcs/roopad/info.json b/keyboards/skippys_custom_pcs/roopad/info.json index 0dcd3b5cbe..dd4ff8c1bb 100644 --- a/keyboards/skippys_custom_pcs/roopad/info.json +++ b/keyboards/skippys_custom_pcs/roopad/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 21, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/skmt/15k/config.h b/keyboards/skmt/15k/config.h index 9d7338ccce..6e0360ec7b 100644 --- a/keyboards/skmt/15k/config.h +++ b/keyboards/skmt/15k/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | //#define NO_ACTION_TAPPING | 19 | //#define NO_ACTION_TAPPING |
| 20 | //#define NO_ACTION_ONESHOT | 20 | //#define NO_ACTION_ONESHOT |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 15 // Number of LEDs | ||
| 23 | #define RGB_MATRIX_LED_COUNT 15 // Number of LEDs | 22 | #define RGB_MATRIX_LED_COUNT 15 // Number of LEDs |
| 24 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 23 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
| 25 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 | 24 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 |
diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2/f072/config.h index 9f86b9e55c..67cbf311ae 100644 --- a/keyboards/smithrune/iron165r2/f072/config.h +++ b/keyboards/smithrune/iron165r2/f072/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 22 | #define BACKLIGHT_PAL_MODE 1 | 22 | #define BACKLIGHT_PAL_MODE 1 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 22 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json index 8ced3df775..9e980a15b9 100644 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ b/keyboards/smithrune/iron165r2/f072/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "levels": 20, | 4 | "levels": 20, |
| 5 | "breathing": true | 5 | "breathing": true |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 22 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "B15" | 11 | "pin": "B15" |
| 9 | }, | 12 | }, |
diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h index fa904fdabb..5ce500d1e5 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2/f411/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define BACKLIGHT_PWM_CHANNEL 1 | 21 | #define BACKLIGHT_PWM_CHANNEL 1 |
| 22 | #define BACKLIGHT_PAL_MODE 2 | 22 | #define BACKLIGHT_PAL_MODE 2 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 22 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json index 7fd45874f2..220cc4d019 100644 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ b/keyboards/smithrune/iron165r2/f411/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "levels": 20, | 4 | "levels": 20, |
| 5 | "breathing": true | 5 | "breathing": true |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 22 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "B15", | 11 | "pin": "B15", |
| 9 | "driver": "pwm" | 12 | "driver": "pwm" |
diff --git a/keyboards/smk60/config.h b/keyboards/smk60/config.h index 9cc3f8601e..98fe61d124 100644 --- a/keyboards/smk60/config.h +++ b/keyboards/smk60/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | //#define NO_ACTION_ONESHOT | 21 | //#define NO_ACTION_ONESHOT |
| 22 | 22 | ||
| 23 | //rgb light setting | 23 | //rgb light setting |
| 24 | #define RGBLED_NUM 4 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/smk60/info.json b/keyboards/smk60/info.json index f80f3f260b..7dc1cda0db 100644 --- a/keyboards/smk60/info.json +++ b/keyboards/smk60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6585", | 8 | "pid": "0x6585", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/sneakbox/aliceclonergb/config.h b/keyboards/sneakbox/aliceclonergb/config.h index ceccc0915b..c671886e79 100644 --- a/keyboards/sneakbox/aliceclonergb/config.h +++ b/keyboards/sneakbox/aliceclonergb/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 16 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/sneakbox/aliceclonergb/info.json b/keyboards/sneakbox/aliceclonergb/info.json index e16645e735..b5398e46dc 100644 --- a/keyboards/sneakbox/aliceclonergb/info.json +++ b/keyboards/sneakbox/aliceclonergb/info.json | |||
| @@ -26,6 +26,9 @@ | |||
| 26 | "bootmagic": { | 26 | "bootmagic": { |
| 27 | "matrix": [2, 0] | 27 | "matrix": [2, 0] |
| 28 | }, | 28 | }, |
| 29 | "rgblight": { | ||
| 30 | "led_count": 16 | ||
| 31 | }, | ||
| 29 | "ws2812": { | 32 | "ws2812": { |
| 30 | "pin": "D5" | 33 | "pin": "D5" |
| 31 | }, | 34 | }, |
diff --git a/keyboards/sneakbox/ava/config.h b/keyboards/sneakbox/ava/config.h index a97d34f7f2..78ebef5b30 100644 --- a/keyboards/sneakbox/ava/config.h +++ b/keyboards/sneakbox/ava/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 \ No newline at end of file | 32 | #define RGBLIGHT_VAL_STEP 8 \ No newline at end of file |
diff --git a/keyboards/sneakbox/ava/info.json b/keyboards/sneakbox/ava/info.json index 693794e031..c25da340e6 100644 --- a/keyboards/sneakbox/ava/info.json +++ b/keyboards/sneakbox/ava/info.json | |||
| @@ -22,6 +22,9 @@ | |||
| 22 | "caps_lock": "D6", | 22 | "caps_lock": "D6", |
| 23 | "num_lock": "D4" | 23 | "num_lock": "D4" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | ||
| 26 | "led_count": 14 | ||
| 27 | }, | ||
| 25 | "ws2812": { | 28 | "ws2812": { |
| 26 | "pin": "F7" | 29 | "pin": "F7" |
| 27 | }, | 30 | }, |
diff --git a/keyboards/soda/cherish/config.h b/keyboards/soda/cherish/config.h index 9d07bd0dce..1ab44f422c 100644 --- a/keyboards/soda/cherish/config.h +++ b/keyboards/soda/cherish/config.h | |||
| @@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define RGBLIGHT_EFFECT_RGB_TEST | 48 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 49 | #define RGBLIGHT_EFFECT_ALTERNATING | 49 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 50 | #define RGBLIGHT_EFFECT_TWINKLE | 50 | #define RGBLIGHT_EFFECT_TWINKLE |
| 51 | #define RGBLED_NUM 1 | ||
| 52 | #define RGBLIGHT_HUE_STEP 8 | 51 | #define RGBLIGHT_HUE_STEP 8 |
| 53 | #define RGBLIGHT_SAT_STEP 8 | 52 | #define RGBLIGHT_SAT_STEP 8 |
| 54 | #define RGBLIGHT_VAL_STEP 8 | 53 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/soda/cherish/info.json b/keyboards/soda/cherish/info.json index 71ee91e660..fd9889acdb 100644 --- a/keyboards/soda/cherish/info.json +++ b/keyboards/soda/cherish/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xEB52", | 8 | "pid": "0xEB52", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A13" | 15 | "pin": "A13" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h index c931962b39..9f82ce80ec 100755 --- a/keyboards/sofle/keyhive/config.h +++ b/keyboards/sofle/keyhive/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | // Add RGB underglow | 31 | // Add RGB underglow |
| 32 | // by defining in the keyboard, incompatible keymaps will fail to compile. | 32 | // by defining in the keyboard, incompatible keymaps will fail to compile. |
| 33 | #ifdef RGBLIGHT_ENABLE | 33 | #ifdef RGBLIGHT_ENABLE |
| 34 | # define RGBLED_NUM 74 | ||
| 35 | # define RGBLIGHT_HUE_STEP 10 | 34 | # define RGBLIGHT_HUE_STEP 10 |
| 36 | # define RGBLIGHT_SAT_STEP 17 | 35 | # define RGBLIGHT_SAT_STEP 17 |
| 37 | # define RGBLIGHT_VAL_STEP 17 | 36 | # define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json index 58fdb10912..7807a546c3 100644 --- a/keyboards/sofle/keyhive/info.json +++ b/keyboards/sofle/keyhive/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "pin": "D3" | 10 | "pin": "D3" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 74, | ||
| 13 | "max_brightness": 100, | 14 | "max_brightness": 100, |
| 14 | "led_map": [28, 16, 4, 1, 13, 25, 10, 36, 35, 34, 33, 32, 31, 30, 29, 27, 26, 24, 23, 22, 21, 20, 19, 18, 17, 15, 14, 12, 11, 9, 8, 7, 6, 5, 3, 2, 0, 45, 57, 69, 72, 60, 48, 63, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73], | 15 | "led_map": [28, 16, 4, 1, 13, 25, 10, 36, 35, 34, 33, 32, 31, 30, 29, 27, 26, 24, 23, 22, 21, 20, 19, 18, 17, 15, 14, 12, 11, 9, 8, 7, 6, 5, 3, 2, 0, 45, 57, 69, 72, 60, 48, 63, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73], |
| 15 | "sleep": true, | 16 | "sleep": true, |
diff --git a/keyboards/sowbug/68keys/config.h b/keyboards/sowbug/68keys/config.h index 04b1fced2b..0836a67e88 100644 --- a/keyboards/sowbug/68keys/config.h +++ b/keyboards/sowbug/68keys/config.h | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGB_MATRIX_KEYPRESSES | 21 | #define RGB_MATRIX_KEYPRESSES |
| 22 | #define RGBLED_NUM 68 | 22 | #define RGB_MATRIX_LED_COUNT 68 |
| 23 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 24 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 23 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 25 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 | 24 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 |
| 26 | // RGB Matrix Animation modes. Explicitly enabled | 25 | // RGB Matrix Animation modes. Explicitly enabled |
diff --git a/keyboards/sowbug/ansi_tkl/config.h b/keyboards/sowbug/ansi_tkl/config.h index 08c01e662d..4b1538b645 100644 --- a/keyboards/sowbug/ansi_tkl/config.h +++ b/keyboards/sowbug/ansi_tkl/config.h | |||
| @@ -19,8 +19,7 @@ | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGB_MATRIX_KEYPRESSES | 21 | #define RGB_MATRIX_KEYPRESSES |
| 22 | #define RGBLED_NUM 87 | 22 | #define RGB_MATRIX_LED_COUNT 87 |
| 23 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 24 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 23 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 25 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 | 24 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 |
| 26 | 25 | ||
diff --git a/keyboards/spaceholdings/nebula12/config.h b/keyboards/spaceholdings/nebula12/config.h index 9d044bb4c5..e30f54c02d 100755 --- a/keyboards/spaceholdings/nebula12/config.h +++ b/keyboards/spaceholdings/nebula12/config.h | |||
| @@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | #define WS2812_SPI_SCK_PAL_MODE 0 | 40 | #define WS2812_SPI_SCK_PAL_MODE 0 |
| 41 | #define WS2812_SPI_SCK_PIN B13 | 41 | #define WS2812_SPI_SCK_PIN B13 |
| 42 | 42 | ||
| 43 | #define RGBLED_NUM 10 /* If number is smaller, buffer updates too fast causing glitches */ | ||
| 44 | #define RGBLIGHT_HUE_STEP 8 | 43 | #define RGBLIGHT_HUE_STEP 8 |
| 45 | #define RGBLIGHT_SAT_STEP 8 | 44 | #define RGBLIGHT_SAT_STEP 8 |
| 46 | #define RGBLIGHT_VAL_STEP 8 | 45 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/spaceholdings/nebula12/info.json b/keyboards/spaceholdings/nebula12/info.json index aa5dbc1873..68c8ec1763 100755 --- a/keyboards/spaceholdings/nebula12/info.json +++ b/keyboards/spaceholdings/nebula12/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5337", | 8 | "pid": "0x5337", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B15", | 15 | "pin": "B15", |
| 13 | "driver": "spi" | 16 | "driver": "spi" |
diff --git a/keyboards/spaceholdings/nebula68/config.h b/keyboards/spaceholdings/nebula68/config.h index f053847822..15972c8d77 100755 --- a/keyboards/spaceholdings/nebula68/config.h +++ b/keyboards/spaceholdings/nebula68/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. | 23 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. |
| 24 | #define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. | 24 | #define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 10 | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 28 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/spaceholdings/nebula68/info.json b/keyboards/spaceholdings/nebula68/info.json index 2e1165a810..470ac8db6b 100755 --- a/keyboards/spaceholdings/nebula68/info.json +++ b/keyboards/spaceholdings/nebula68/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "driver": "pwm" | 13 | "driver": "pwm" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 10, | ||
| 16 | "max_brightness": 210 | 17 | "max_brightness": 210 |
| 17 | }, | 18 | }, |
| 18 | "matrix_pins": { | 19 | "matrix_pins": { |
diff --git a/keyboards/spaceman/2_milk/config.h b/keyboards/spaceman/2_milk/config.h deleted file mode 100644 index 6a3ec9c5c1..0000000000 --- a/keyboards/spaceman/2_milk/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* Copyright 2019 Spaceman | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGBLIGHT_ENABLE | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #endif | ||
diff --git a/keyboards/spaceman/2_milk/info.json b/keyboards/spaceman/2_milk/info.json index 333bad3b87..a703c8f890 100644 --- a/keyboards/spaceman/2_milk/info.json +++ b/keyboards/spaceman/2_milk/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3225", | 8 | "pid": "0x3225", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B6" | 15 | "pin": "B6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/splitkb/aurora/lily58/rev1/config.h b/keyboards/splitkb/aurora/lily58/rev1/config.h index 2e19c5d438..1356c62ea1 100644 --- a/keyboards/splitkb/aurora/lily58/rev1/config.h +++ b/keyboards/splitkb/aurora/lily58/rev1/config.h | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | // Not yet available in `info.json` | 29 | // Not yet available in `info.json` |
| 30 | #ifdef RGB_MATRIX_ENABLE | 30 | #ifdef RGB_MATRIX_ENABLE |
| 31 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 31 | # define RGB_MATRIX_LED_COUNT 68 |
| 32 | # define RGB_MATRIX_SPLIT { 34, 34 } | 32 | # define RGB_MATRIX_SPLIT { 34, 34 } |
| 33 | # define SPLIT_TRANSPORT_MIRROR | 33 | # define SPLIT_TRANSPORT_MIRROR |
| 34 | #endif | 34 | #endif |
diff --git a/keyboards/splitkb/aurora/sweep/rev1/config.h b/keyboards/splitkb/aurora/sweep/rev1/config.h index 5f58760e6a..a3b2cc893e 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/config.h +++ b/keyboards/splitkb/aurora/sweep/rev1/config.h | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | // Not yet available in `info.json` | 29 | // Not yet available in `info.json` |
| 30 | #ifdef RGB_MATRIX_ENABLE | 30 | #ifdef RGB_MATRIX_ENABLE |
| 31 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 31 | # define RGB_MATRIX_LED_COUNT 46 |
| 32 | # define RGB_MATRIX_SPLIT { 23, 23 } | 32 | # define RGB_MATRIX_SPLIT { 23, 23 } |
| 33 | # define SPLIT_TRANSPORT_MIRROR | 33 | # define SPLIT_TRANSPORT_MIRROR |
| 34 | #endif | 34 | #endif |
diff --git a/keyboards/splitkb/kyria/rev1/config.h b/keyboards/splitkb/kyria/rev1/config.h index 4ee4e6ae61..6c21b12a84 100644 --- a/keyboards/splitkb/kyria/rev1/config.h +++ b/keyboards/splitkb/kyria/rev1/config.h | |||
| @@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 41 | # define SOFT_SERIAL_PIN D2 | 41 | # define SOFT_SERIAL_PIN D2 |
| 42 | #endif | 42 | #endif |
| 43 | 43 | ||
| 44 | #define RGBLED_NUM 20 | ||
| 45 | |||
| 46 | #ifdef OLED_ENABLE | 44 | #ifdef OLED_ENABLE |
| 47 | # define OLED_DISPLAY_128X64 | 45 | # define OLED_DISPLAY_128X64 |
| 48 | # define SPLIT_OLED_ENABLE | 46 | # define SPLIT_OLED_ENABLE |
| @@ -51,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 51 | /* RGB matrix support */ | 49 | /* RGB matrix support */ |
| 52 | #ifdef RGB_MATRIX_ENABLE | 50 | #ifdef RGB_MATRIX_ENABLE |
| 53 | # define SPLIT_TRANSPORT_MIRROR | 51 | # define SPLIT_TRANSPORT_MIRROR |
| 54 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM // Number of LEDs | 52 | # define RGB_MATRIX_LED_COUNT 20 // Number of LEDs |
| 55 | # define RGB_MATRIX_SPLIT { 10, 10 } | 53 | # define RGB_MATRIX_SPLIT { 10, 10 } |
| 56 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 | 54 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 |
| 57 | # define RGB_DISABLE_WHEN_USB_SUSPENDED | 55 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/splitkb/kyria/rev1/info.json b/keyboards/splitkb/kyria/rev1/info.json index 970f759d23..089ce40216 100644 --- a/keyboards/splitkb/kyria/rev1/info.json +++ b/keyboards/splitkb/kyria/rev1/info.json | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | "device_version": "0.0.1" | 5 | "device_version": "0.0.1" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | 7 | "rgblight": { |
| 8 | "led_count": 20, | ||
| 8 | "split_count": [10, 10] | 9 | "split_count": [10, 10] |
| 9 | }, | 10 | }, |
| 10 | "rgb_matrix": { | 11 | "rgb_matrix": { |
diff --git a/keyboards/splitkb/kyria/rev2/config.h b/keyboards/splitkb/kyria/rev2/config.h index 2b05499965..198688772b 100644 --- a/keyboards/splitkb/kyria/rev2/config.h +++ b/keyboards/splitkb/kyria/rev2/config.h | |||
| @@ -47,8 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | # define SOFT_SERIAL_PIN D2 | 47 | # define SOFT_SERIAL_PIN D2 |
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
| 50 | #define RGBLED_NUM 20 | ||
| 51 | |||
| 52 | #ifdef OLED_ENABLE | 50 | #ifdef OLED_ENABLE |
| 53 | # define OLED_DISPLAY_128X64 | 51 | # define OLED_DISPLAY_128X64 |
| 54 | # define SPLIT_OLED_ENABLE | 52 | # define SPLIT_OLED_ENABLE |
| @@ -57,7 +55,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 57 | /* RGB matrix support */ | 55 | /* RGB matrix support */ |
| 58 | #ifdef RGB_MATRIX_ENABLE | 56 | #ifdef RGB_MATRIX_ENABLE |
| 59 | # define SPLIT_TRANSPORT_MIRROR | 57 | # define SPLIT_TRANSPORT_MIRROR |
| 60 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM // Number of LEDs | 58 | # define RGB_MATRIX_LED_COUNT 20 // Number of LEDs |
| 61 | # define RGB_MATRIX_SPLIT { 10, 10 } | 59 | # define RGB_MATRIX_SPLIT { 10, 10 } |
| 62 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 | 60 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 |
| 63 | # define RGB_DISABLE_WHEN_USB_SUSPENDED | 61 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/splitkb/kyria/rev2/info.json b/keyboards/splitkb/kyria/rev2/info.json index d37794164a..95910a2651 100644 --- a/keyboards/splitkb/kyria/rev2/info.json +++ b/keyboards/splitkb/kyria/rev2/info.json | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | "device_version": "0.0.2" | 5 | "device_version": "0.0.2" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | 7 | "rgblight": { |
| 8 | "led_count": 20, | ||
| 8 | "split_count": [10, 10] | 9 | "split_count": [10, 10] |
| 9 | }, | 10 | }, |
| 10 | "rgb_matrix": { | 11 | "rgb_matrix": { |
diff --git a/keyboards/splitkb/kyria/rev3/config.h b/keyboards/splitkb/kyria/rev3/config.h index ca97f11eea..5168e8678e 100644 --- a/keyboards/splitkb/kyria/rev3/config.h +++ b/keyboards/splitkb/kyria/rev3/config.h | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | // Not yet available in `info.json` | 29 | // Not yet available in `info.json` |
| 30 | #ifdef RGB_MATRIX_ENABLE | 30 | #ifdef RGB_MATRIX_ENABLE |
| 31 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 31 | # define RGB_MATRIX_LED_COUNT 62 |
| 32 | # define RGB_MATRIX_SPLIT { 31, 31 } | 32 | # define RGB_MATRIX_SPLIT { 31, 31 } |
| 33 | # define SPLIT_TRANSPORT_MIRROR | 33 | # define SPLIT_TRANSPORT_MIRROR |
| 34 | #endif | 34 | #endif |
diff --git a/keyboards/splitkb/zima/config.h b/keyboards/splitkb/zima/config.h index e4d400198c..0f6fbbb8f4 100644 --- a/keyboards/splitkb/zima/config.h +++ b/keyboards/splitkb/zima/config.h | |||
| @@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define AUDIO_CLICKY | 21 | #define AUDIO_CLICKY |
| 22 | #define NO_MUSIC_MODE | 22 | #define NO_MUSIC_MODE |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 5 | ||
| 25 | #define RGBLIGHT_HUE_STEP 8 | 24 | #define RGBLIGHT_HUE_STEP 8 |
| 26 | #define RGBLIGHT_SAT_STEP 8 | 25 | #define RGBLIGHT_SAT_STEP 8 |
| 27 | #define RGBLIGHT_VAL_STEP 8 | 26 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/splitkb/zima/info.json b/keyboards/splitkb/zima/info.json index 54de6da046..6fabc14745 100644 --- a/keyboards/splitkb/zima/info.json +++ b/keyboards/splitkb/zima/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 5, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/star75/config.h b/keyboards/star75/config.h index e686b9c6bd..20708ca991 100644 --- a/keyboards/star75/config.h +++ b/keyboards/star75/config.h | |||
| @@ -19,7 +19,6 @@ SPDX-License-Identifier: GPL-2.0-or-later */ | |||
| 19 | #define RGBLIGHT_EFFECT_RGB_TEST | 19 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 20 | #define RGBLIGHT_EFFECT_ALTERNATING | 20 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 21 | #define RGBLIGHT_EFFECT_TWINKLE | 21 | #define RGBLIGHT_EFFECT_TWINKLE |
| 22 | #define RGBLED_NUM 1 | ||
| 23 | #define RGBLIGHT_LAYERS | 22 | #define RGBLIGHT_LAYERS |
| 24 | #define RGBLIGHT_HUE_STEP 8 | 23 | #define RGBLIGHT_HUE_STEP 8 |
| 25 | #define RGBLIGHT_SAT_STEP 8 | 24 | #define RGBLIGHT_SAT_STEP 8 |
diff --git a/keyboards/star75/info.json b/keyboards/star75/info.json index c6368ca568..3fc40e6818 100644 --- a/keyboards/star75/info.json +++ b/keyboards/star75/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B3" | 12 | "pin": "B3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 1, | ||
| 15 | "max_brightness": 180 | 16 | "max_brightness": 180 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/stello65/hs_rev1/config.h b/keyboards/stello65/hs_rev1/config.h index 5454be61db..1cbcf4c939 100644 --- a/keyboards/stello65/hs_rev1/config.h +++ b/keyboards/stello65/hs_rev1/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | # define RGBLED_NUM 4 | ||
| 7 | //# define RGBLIGHT_HUE_STEP 8 | 6 | //# define RGBLIGHT_HUE_STEP 8 |
| 8 | //# define RGBLIGHT_SAT_STEP 8 | 7 | //# define RGBLIGHT_SAT_STEP 8 |
| 9 | //# define RGBLIGHT_VAL_STEP 8 | 8 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/stello65/hs_rev1/info.json b/keyboards/stello65/hs_rev1/info.json index 5b426cfa09..b1dd258e63 100644 --- a/keyboards/stello65/hs_rev1/info.json +++ b/keyboards/stello65/hs_rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0004", | 8 | "pid": "0x0004", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/stello65/sl_rev1/config.h b/keyboards/stello65/sl_rev1/config.h index 5454be61db..1cbcf4c939 100644 --- a/keyboards/stello65/sl_rev1/config.h +++ b/keyboards/stello65/sl_rev1/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | # define RGBLED_NUM 4 | ||
| 7 | //# define RGBLIGHT_HUE_STEP 8 | 6 | //# define RGBLIGHT_HUE_STEP 8 |
| 8 | //# define RGBLIGHT_SAT_STEP 8 | 7 | //# define RGBLIGHT_SAT_STEP 8 |
| 9 | //# define RGBLIGHT_VAL_STEP 8 | 8 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/stello65/sl_rev1/info.json b/keyboards/stello65/sl_rev1/info.json index 36ae919171..f58c86d9ae 100644 --- a/keyboards/stello65/sl_rev1/info.json +++ b/keyboards/stello65/sl_rev1/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0005", | 8 | "pid": "0x0005", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B7" | 15 | "pin": "B7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/stratos/config.h b/keyboards/stratos/config.h index 86b8e3a09e..c87b8d1624 100644 --- a/keyboards/stratos/config.h +++ b/keyboards/stratos/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | /* RGB LEDs */ | 20 | /* RGB LEDs */ |
| 21 | #ifdef RGBLIGHT_ENABLE | 21 | #ifdef RGBLIGHT_ENABLE |
| 22 | #define RGBLED_NUM 14 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/stratos/info.json b/keyboards/stratos/info.json index 51b2132cc2..2cdf427426 100644 --- a/keyboards/stratos/info.json +++ b/keyboards/stratos/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D2" | 12 | "pin": "D2" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 14, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/studiokestra/bourgeau/config.h b/keyboards/studiokestra/bourgeau/config.h index 52f80cf97b..1d0c2f5567 100644 --- a/keyboards/studiokestra/bourgeau/config.h +++ b/keyboards/studiokestra/bourgeau/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 24 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/studiokestra/bourgeau/info.json b/keyboards/studiokestra/bourgeau/info.json index be8ec45d85..95e6ca6954 100644 --- a/keyboards/studiokestra/bourgeau/info.json +++ b/keyboards/studiokestra/bourgeau/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 24, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/studiokestra/cascade/config.h b/keyboards/studiokestra/cascade/config.h index e7f86c43e0..d68859814a 100644 --- a/keyboards/studiokestra/cascade/config.h +++ b/keyboards/studiokestra/cascade/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 16 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/studiokestra/cascade/info.json b/keyboards/studiokestra/cascade/info.json index e4cfff1e3e..550084396c 100644 --- a/keyboards/studiokestra/cascade/info.json +++ b/keyboards/studiokestra/cascade/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/studiokestra/frl84/config.h b/keyboards/studiokestra/frl84/config.h index 4cf30b8a6b..bd02bc17c3 100644 --- a/keyboards/studiokestra/frl84/config.h +++ b/keyboards/studiokestra/frl84/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define RGBLED_NUM 18 | ||
| 7 | #define RGBLIGHT_HUE_STEP 8 | 6 | #define RGBLIGHT_HUE_STEP 8 |
| 8 | #define RGBLIGHT_SAT_STEP 8 | 7 | #define RGBLIGHT_SAT_STEP 8 |
| 9 | #define RGBLIGHT_VAL_STEP 8 | 8 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/studiokestra/frl84/info.json b/keyboards/studiokestra/frl84/info.json index 3db68f99b4..04e00b7b46 100644 --- a/keyboards/studiokestra/frl84/info.json +++ b/keyboards/studiokestra/frl84/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "B0" | 21 | "pin": "B0" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 18, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/studiokestra/galatea/rev2/config.h b/keyboards/studiokestra/galatea/rev2/config.h index e50d693f8c..93783c9858 100644 --- a/keyboards/studiokestra/galatea/rev2/config.h +++ b/keyboards/studiokestra/galatea/rev2/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define RGBLED_NUM 24 | ||
| 7 | #define RGBLIGHT_HUE_STEP 8 | 6 | #define RGBLIGHT_HUE_STEP 8 |
| 8 | #define RGBLIGHT_SAT_STEP 8 | 7 | #define RGBLIGHT_SAT_STEP 8 |
| 9 | #define RGBLIGHT_VAL_STEP 8 | 8 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/studiokestra/galatea/rev2/info.json b/keyboards/studiokestra/galatea/rev2/info.json index 7e6c963a24..87cff34833 100644 --- a/keyboards/studiokestra/galatea/rev2/info.json +++ b/keyboards/studiokestra/galatea/rev2/info.json | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | "pin": "D4" | 33 | "pin": "D4" |
| 34 | }, | 34 | }, |
| 35 | "rgblight": { | 35 | "rgblight": { |
| 36 | "led_count": 24, | ||
| 36 | "max_brightness": 200, | 37 | "max_brightness": 200, |
| 37 | "sleep": true | 38 | "sleep": true |
| 38 | }, | 39 | }, |
diff --git a/keyboards/swiftrax/retropad/config.h b/keyboards/swiftrax/retropad/config.h index b737022959..9601386d13 100644 --- a/keyboards/swiftrax/retropad/config.h +++ b/keyboards/swiftrax/retropad/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 6 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/swiftrax/retropad/info.json b/keyboards/swiftrax/retropad/info.json index 57ce8bd79e..ad243e8208 100644 --- a/keyboards/swiftrax/retropad/info.json +++ b/keyboards/swiftrax/retropad/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "bootmagic": { | 21 | "bootmagic": { |
| 22 | "matrix": [1, 0] | 22 | "matrix": [1, 0] |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 6 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "B7" | 28 | "pin": "B7" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/switchplate/southpaw_65/config.h b/keyboards/switchplate/southpaw_65/config.h index 790d70d9c8..0019dc79e9 100644 --- a/keyboards/switchplate/southpaw_65/config.h +++ b/keyboards/switchplate/southpaw_65/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | #define MATRIX_ROWS 5 | 21 | #define MATRIX_ROWS 5 |
| 22 | #define MATRIX_COLS 19 | 22 | #define MATRIX_COLS 19 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 9 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/switchplate/southpaw_65/info.json b/keyboards/switchplate/southpaw_65/info.json index 245b3ab02a..4c0764bb87 100644 --- a/keyboards/switchplate/southpaw_65/info.json +++ b/keyboards/switchplate/southpaw_65/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "pin": "B5", | 12 | "pin": "B5", |
| 13 | "levels": 10 | 13 | "levels": 10 |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 9 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "C7" | 19 | "pin": "C7" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/takashicompany/center_enter/config.h b/keyboards/takashicompany/center_enter/config.h index 4206ba2a50..e4e9ec843d 100644 --- a/keyboards/takashicompany/center_enter/config.h +++ b/keyboards/takashicompany/center_enter/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 6 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/center_enter/info.json b/keyboards/takashicompany/center_enter/info.json index 81588a97d0..035bc52645 100644 --- a/keyboards/takashicompany/center_enter/info.json +++ b/keyboards/takashicompany/center_enter/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/takashicompany/compacx/config.h b/keyboards/takashicompany/compacx/config.h index be126f0e89..5ef1b7acfa 100644 --- a/keyboards/takashicompany/compacx/config.h +++ b/keyboards/takashicompany/compacx/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 12 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/compacx/info.json b/keyboards/takashicompany/compacx/info.json index dbc317b38d..bad603b549 100644 --- a/keyboards/takashicompany/compacx/info.json +++ b/keyboards/takashicompany/compacx/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true, | 13 | "sleep": true, |
| 13 | "split_count": [6, 6] | 14 | "split_count": [6, 6] |
| 14 | }, | 15 | }, |
diff --git a/keyboards/takashicompany/endzone34/config.h b/keyboards/takashicompany/endzone34/config.h index 84b6a7ea3e..781f473c63 100644 --- a/keyboards/takashicompany/endzone34/config.h +++ b/keyboards/takashicompany/endzone34/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 9 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/endzone34/info.json b/keyboards/takashicompany/endzone34/info.json index 0daedc5dfb..449ffb15ec 100644 --- a/keyboards/takashicompany/endzone34/info.json +++ b/keyboards/takashicompany/endzone34/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 9, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/takashicompany/heavy_left/config.h b/keyboards/takashicompany/heavy_left/config.h index 33bc59a0b1..68ae2c86a1 100644 --- a/keyboards/takashicompany/heavy_left/config.h +++ b/keyboards/takashicompany/heavy_left/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 6 * 2 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/heavy_left/info.json b/keyboards/takashicompany/heavy_left/info.json index 59d98aeb86..670b04984b 100644 --- a/keyboards/takashicompany/heavy_left/info.json +++ b/keyboards/takashicompany/heavy_left/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true, | 13 | "sleep": true, |
| 13 | "split_count": [6, 6] | 14 | "split_count": [6, 6] |
| 14 | }, | 15 | }, |
diff --git a/keyboards/takashicompany/minizone/config.h b/keyboards/takashicompany/minizone/config.h index 72d6aca053..a7619094b2 100644 --- a/keyboards/takashicompany/minizone/config.h +++ b/keyboards/takashicompany/minizone/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | # define RGBLED_NUM 11 | ||
| 7 | # define RGBLIGHT_HUE_STEP 8 | 6 | # define RGBLIGHT_HUE_STEP 8 |
| 8 | # define RGBLIGHT_SAT_STEP 8 | 7 | # define RGBLIGHT_SAT_STEP 8 |
| 9 | # define RGBLIGHT_VAL_STEP 8 | 8 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/minizone/info.json b/keyboards/takashicompany/minizone/info.json index 8d15687ab5..34c5529f80 100644 --- a/keyboards/takashicompany/minizone/info.json +++ b/keyboards/takashicompany/minizone/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 11, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/takashicompany/qoolee/config.h b/keyboards/takashicompany/qoolee/config.h index 4206ba2a50..e4e9ec843d 100644 --- a/keyboards/takashicompany/qoolee/config.h +++ b/keyboards/takashicompany/qoolee/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 6 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/qoolee/info.json b/keyboards/takashicompany/qoolee/info.json index 03591022fc..c89c96541c 100644 --- a/keyboards/takashicompany/qoolee/info.json +++ b/keyboards/takashicompany/qoolee/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 6, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/takashicompany/radialex/config.h b/keyboards/takashicompany/radialex/config.h index be126f0e89..5ef1b7acfa 100644 --- a/keyboards/takashicompany/radialex/config.h +++ b/keyboards/takashicompany/radialex/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 12 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashicompany/radialex/info.json b/keyboards/takashicompany/radialex/info.json index 7aac01a959..194130c4e0 100644 --- a/keyboards/takashicompany/radialex/info.json +++ b/keyboards/takashicompany/radialex/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 12, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/takashiski/hecomi/alpha/config.h b/keyboards/takashiski/hecomi/alpha/config.h index 6a564c2da2..df9febfc3d 100644 --- a/keyboards/takashiski/hecomi/alpha/config.h +++ b/keyboards/takashiski/hecomi/alpha/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | //#define USE_I2C | 20 | //#define USE_I2C |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 16 | ||
| 23 | #define RGBLIGHT_HUE_STEP 8 | 22 | #define RGBLIGHT_HUE_STEP 8 |
| 24 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
| 25 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/takashiski/hecomi/alpha/info.json b/keyboards/takashiski/hecomi/alpha/info.json index b5d4b62bdb..a5f863b1c3 100644 --- a/keyboards/takashiski/hecomi/alpha/info.json +++ b/keyboards/takashiski/hecomi/alpha/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D1" | 17 | "soft_serial_pin": "D1" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 16, | ||
| 20 | "split_count": [8, 8] | 21 | "split_count": [8, 8] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/takashiski/namecard2x4/rev1/config.h b/keyboards/takashiski/namecard2x4/rev1/config.h index c4a349580c..bf14602a6c 100644 --- a/keyboards/takashiski/namecard2x4/rev1/config.h +++ b/keyboards/takashiski/namecard2x4/rev1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 4 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/takashiski/namecard2x4/rev1/info.json b/keyboards/takashiski/namecard2x4/rev1/info.json index 28781bcd0a..de7fc7f8ef 100644 --- a/keyboards/takashiski/namecard2x4/rev1/info.json +++ b/keyboards/takashiski/namecard2x4/rev1/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 4 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "F4" | 6 | "pin": "F4" |
| 4 | }, | 7 | }, |
diff --git a/keyboards/takashiski/namecard2x4/rev2/config.h b/keyboards/takashiski/namecard2x4/rev2/config.h index f90b4e073c..bf14602a6c 100644 --- a/keyboards/takashiski/namecard2x4/rev2/config.h +++ b/keyboards/takashiski/namecard2x4/rev2/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/takashiski/namecard2x4/rev2/info.json b/keyboards/takashiski/namecard2x4/rev2/info.json index 51fe26c555..6543402560 100644 --- a/keyboards/takashiski/namecard2x4/rev2/info.json +++ b/keyboards/takashiski/namecard2x4/rev2/info.json | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "rgblight": { | ||
| 3 | "led_count": 8 | ||
| 4 | }, | ||
| 2 | "ws2812": { | 5 | "ws2812": { |
| 3 | "pin": "D4" | 6 | "pin": "D4" |
| 4 | }, | 7 | }, |
diff --git a/keyboards/taleguers/taleguers75/config.h b/keyboards/taleguers/taleguers75/config.h index 44e2a31101..f3f5a9c35f 100644 --- a/keyboards/taleguers/taleguers75/config.h +++ b/keyboards/taleguers/taleguers75/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 6 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/taleguers/taleguers75/info.json b/keyboards/taleguers/taleguers75/info.json index 64eaee7784..275f9d6efe 100644 --- a/keyboards/taleguers/taleguers75/info.json +++ b/keyboards/taleguers/taleguers75/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 6, | ||
| 22 | "sleep": true, | 23 | "sleep": true, |
| 23 | "led_map": [5, 4, 3, 2, 1, 0] | 24 | "led_map": [5, 4, 3, 2, 1, 0] |
| 24 | }, | 25 | }, |
diff --git a/keyboards/tanuki/config.h b/keyboards/tanuki/config.h index e3d6e2b907..b09625ec9e 100644 --- a/keyboards/tanuki/config.h +++ b/keyboards/tanuki/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 5 | ||
| 36 | #define RGBLIGHT_HUE_STEP 10 | 35 | #define RGBLIGHT_HUE_STEP 10 |
| 37 | #define RGBLIGHT_SAT_STEP 17 | 36 | #define RGBLIGHT_SAT_STEP 17 |
| 38 | #define RGBLIGHT_VAL_STEP 17 | 37 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/tanuki/info.json b/keyboards/tanuki/info.json index b2b5b2f66f..b741bac27e 100644 --- a/keyboards/tanuki/info.json +++ b/keyboards/tanuki/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 5, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/teahouse/ayleen/config.h b/keyboards/teahouse/ayleen/config.h index 948a4ecd34..f409cab98d 100644 --- a/keyboards/teahouse/ayleen/config.h +++ b/keyboards/teahouse/ayleen/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define RGBLED_NUM 2 | ||
| 7 | #define RGBLIGHT_HUE_STEP 8 | 6 | #define RGBLIGHT_HUE_STEP 8 |
| 8 | #define RGBLIGHT_SAT_STEP 8 | 7 | #define RGBLIGHT_SAT_STEP 8 |
| 9 | #define RGBLIGHT_VAL_STEP 8 | 8 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/teahouse/ayleen/info.json b/keyboards/teahouse/ayleen/info.json index f8e983da18..f337b664c5 100644 --- a/keyboards/teahouse/ayleen/info.json +++ b/keyboards/teahouse/ayleen/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "cols": ["F6", "D0", "D1", "D2", "D6", "D7", "B4", "B5", "B6"] | 20 | "cols": ["F6", "D0", "D1", "D2", "D6", "D7", "B4", "B5", "B6"] |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 2, | ||
| 23 | "sleep": true | 24 | "sleep": true |
| 24 | }, | 25 | }, |
| 25 | "ws2812": { | 26 | "ws2812": { |
diff --git a/keyboards/team0110/p1800fl/config.h b/keyboards/team0110/p1800fl/config.h index 792115c45f..088ab5f974 100644 --- a/keyboards/team0110/p1800fl/config.h +++ b/keyboards/team0110/p1800fl/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | # define RGBLIGHT_EFFECT_RGB_TEST | 28 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | # define RGBLIGHT_EFFECT_ALTERNATING | 29 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | # define RGBLIGHT_EFFECT_TWINKLE | 30 | # define RGBLIGHT_EFFECT_TWINKLE |
| 31 | # define RGBLED_NUM 8 | ||
| 32 | # define RGBLIGHT_HUE_STEP 8 | 31 | # define RGBLIGHT_HUE_STEP 8 |
| 33 | # define RGBLIGHT_SAT_STEP 8 | 32 | # define RGBLIGHT_SAT_STEP 8 |
| 34 | # define RGBLIGHT_VAL_STEP 8 | 33 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/team0110/p1800fl/info.json b/keyboards/team0110/p1800fl/info.json index 8073ac5de7..8cf18484cf 100644 --- a/keyboards/team0110/p1800fl/info.json +++ b/keyboards/team0110/p1800fl/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 8, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/technika/config.h b/keyboards/technika/config.h index e2b68ec90d..3717a6d07c 100644 --- a/keyboards/technika/config.h +++ b/keyboards/technika/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 16 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/technika/info.json b/keyboards/technika/info.json index 8331e97d3a..aef2e84002 100644 --- a/keyboards/technika/info.json +++ b/keyboards/technika/info.json | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | "pin": "B15" | 22 | "pin": "B15" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | 24 | "rgblight": { |
| 25 | "led_count": 16, | ||
| 25 | "max_brightness": 200, | 26 | "max_brightness": 200, |
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
diff --git a/keyboards/tenki/config.h b/keyboards/tenki/config.h index 6bac4f3349..387afe71b6 100644 --- a/keyboards/tenki/config.h +++ b/keyboards/tenki/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #define RGBLIGHT_EFFECT_RGB_TEST | 18 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 19 | #define RGBLIGHT_EFFECT_ALTERNATING | 19 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 20 | #define RGBLIGHT_EFFECT_TWINKLE | 20 | #define RGBLIGHT_EFFECT_TWINKLE |
| 21 | #define RGBLED_NUM 3 // Number of LEDs | ||
| 22 | #define RGBLIGHT_HUE_STEP 10 | 21 | #define RGBLIGHT_HUE_STEP 10 |
| 23 | #define RGBLIGHT_SAT_STEP 10 | 22 | #define RGBLIGHT_SAT_STEP 10 |
| 24 | #define RGBLIGHT_VAL_STEP 10 | 23 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/tenki/info.json b/keyboards/tenki/info.json index 7f9600739f..f6ec838b00 100644 --- a/keyboards/tenki/info.json +++ b/keyboards/tenki/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "10.0.1" | 9 | "device_version": "10.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 3, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/tetris/config.h b/keyboards/tetris/config.h index 96298336e8..bd22162116 100755 --- a/keyboards/tetris/config.h +++ b/keyboards/tetris/config.h | |||
| @@ -22,7 +22,6 @@ | |||
| 22 | #define RGBLIGHT_EFFECT_RGB_TEST | 22 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 23 | #define RGBLIGHT_EFFECT_ALTERNATING | 23 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 24 | #define RGBLIGHT_EFFECT_TWINKLE | 24 | #define RGBLIGHT_EFFECT_TWINKLE |
| 25 | #define RGBLED_NUM 47 | ||
| 26 | #define RGBLIGHT_HUE_STEP 8 | 25 | #define RGBLIGHT_HUE_STEP 8 |
| 27 | #define RGBLIGHT_SAT_STEP 8 | 26 | #define RGBLIGHT_SAT_STEP 8 |
| 28 | #define RGBLIGHT_VAL_STEP 8 | 27 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tetris/info.json b/keyboards/tetris/info.json index 7c97497e33..47b827ce1d 100644 --- a/keyboards/tetris/info.json +++ b/keyboards/tetris/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 47, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/tg4x/config.h b/keyboards/tg4x/config.h index 5dab3ee20a..39ae589193 100644 --- a/keyboards/tg4x/config.h +++ b/keyboards/tg4x/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 7 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tg4x/info.json b/keyboards/tg4x/info.json index db3cc0e580..68d70cfbc9 100644 --- a/keyboards/tg4x/info.json +++ b/keyboards/tg4x/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.2.1" | 9 | "device_version": "0.2.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 7, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/tgr/910/config.h b/keyboards/tgr/910/config.h index 2021d94bb4..7e1218690b 100644 --- a/keyboards/tgr/910/config.h +++ b/keyboards/tgr/910/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 19 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tgr/910/info.json b/keyboards/tgr/910/info.json index ae6ffb5a24..2ad4ca9cb2 100644 --- a/keyboards/tgr/910/info.json +++ b/keyboards/tgr/910/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 19 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/tgr/910ce/config.h b/keyboards/tgr/910ce/config.h index 44fff35e61..bf084f49fa 100644 --- a/keyboards/tgr/910ce/config.h +++ b/keyboards/tgr/910ce/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 18 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tgr/910ce/info.json b/keyboards/tgr/910ce/info.json index c58438887a..f93b5d2221 100644 --- a/keyboards/tgr/910ce/info.json +++ b/keyboards/tgr/910ce/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/tgr/alice/config.h b/keyboards/tgr/alice/config.h index cf8aa33045..d849732a07 100644 --- a/keyboards/tgr/alice/config.h +++ b/keyboards/tgr/alice/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tgr/alice/info.json b/keyboards/tgr/alice/info.json index 7d6a0fbc14..356719df15 100644 --- a/keyboards/tgr/alice/info.json +++ b/keyboards/tgr/alice/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 18 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/tgr/tris/config.h b/keyboards/tgr/tris/config.h index f517c91d19..7e1218690b 100644 --- a/keyboards/tgr/tris/config.h +++ b/keyboards/tgr/tris/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 6 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tgr/tris/info.json b/keyboards/tgr/tris/info.json index f628405bcb..ab1defbf40 100644 --- a/keyboards/tgr/tris/info.json +++ b/keyboards/tgr/tris/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/the_royal/liminal/config.h b/keyboards/the_royal/liminal/config.h index 02c222b2b8..6632bb858a 100644 --- a/keyboards/the_royal/liminal/config.h +++ b/keyboards/the_royal/liminal/config.h | |||
| @@ -5,9 +5,6 @@ | |||
| 5 | /* Locking resynchronize hack */ | 5 | /* Locking resynchronize hack */ |
| 6 | #define LOCKING_RESYNC_ENABLE | 6 | #define LOCKING_RESYNC_ENABLE |
| 7 | 7 | ||
| 8 | /* ws2812 RGB LED */ | ||
| 9 | #define RGBLED_NUM 1 // Number of LEDs | ||
| 10 | |||
| 11 | #define RGBLIGHT_HUE_STEP 6 | 8 | #define RGBLIGHT_HUE_STEP 6 |
| 12 | #define RGBLIGHT_SAT_STEP 4 | 9 | #define RGBLIGHT_SAT_STEP 4 |
| 13 | #define RGBLIGHT_VAL_STEP 4 | 10 | #define RGBLIGHT_VAL_STEP 4 |
diff --git a/keyboards/the_royal/liminal/info.json b/keyboards/the_royal/liminal/info.json index c62699df84..1ee4a78c53 100644 --- a/keyboards/the_royal/liminal/info.json +++ b/keyboards/the_royal/liminal/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0003", | 8 | "pid": "0x0003", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D4" | 15 | "pin": "D4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/the_royal/schwann/config.h b/keyboards/the_royal/schwann/config.h index 8cfda8f8e5..ca3ee0662c 100644 --- a/keyboards/the_royal/schwann/config.h +++ b/keyboards/the_royal/schwann/config.h | |||
| @@ -5,9 +5,6 @@ | |||
| 5 | /* Locking resynchronize hack */ | 5 | /* Locking resynchronize hack */ |
| 6 | #define LOCKING_RESYNC_ENABLE | 6 | #define LOCKING_RESYNC_ENABLE |
| 7 | 7 | ||
| 8 | /* ws2812 RGB LED */ | ||
| 9 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 10 | |||
| 11 | #define RGBLIGHT_EFFECT_BREATHING | 8 | #define RGBLIGHT_EFFECT_BREATHING |
| 12 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 9 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 13 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 10 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/the_royal/schwann/info.json b/keyboards/the_royal/schwann/info.json index df765f747c..382217f35c 100644 --- a/keyboards/the_royal/schwann/info.json +++ b/keyboards/the_royal/schwann/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3521", | 8 | "pid": "0x3521", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B3" | 15 | "pin": "B3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/themadnoodle/ncc1701kb/v2/config.h b/keyboards/themadnoodle/ncc1701kb/v2/config.h index 3ce29c3aa3..f08a0cdc2c 100644 --- a/keyboards/themadnoodle/ncc1701kb/v2/config.h +++ b/keyboards/themadnoodle/ncc1701kb/v2/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB BackLight */ | 20 | /* RGB BackLight */ |
| 21 | #define RGBLED_NUM 4 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/themadnoodle/ncc1701kb/v2/info.json b/keyboards/themadnoodle/ncc1701kb/v2/info.json index e6dc6137db..47c9c37c91 100644 --- a/keyboards/themadnoodle/ncc1701kb/v2/info.json +++ b/keyboards/themadnoodle/ncc1701kb/v2/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 4, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/themadnoodle/noodlepad/config.h b/keyboards/themadnoodle/noodlepad/config.h index 3ce29c3aa3..f08a0cdc2c 100644 --- a/keyboards/themadnoodle/noodlepad/config.h +++ b/keyboards/themadnoodle/noodlepad/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB BackLight */ | 20 | /* RGB BackLight */ |
| 21 | #define RGBLED_NUM 4 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/themadnoodle/noodlepad/info.json b/keyboards/themadnoodle/noodlepad/info.json index a460e587af..5e9b8b91b8 100644 --- a/keyboards/themadnoodle/noodlepad/info.json +++ b/keyboards/themadnoodle/noodlepad/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 4, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/thevankeyboards/jetvan/config.h b/keyboards/thevankeyboards/jetvan/config.h index e8aca5e862..ecb3e01760 100644 --- a/keyboards/thevankeyboards/jetvan/config.h +++ b/keyboards/thevankeyboards/jetvan/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | /* Define RGB Underglow */ | 25 | /* Define RGB Underglow */ |
| 26 | #define RGBLED_NUM 10 | ||
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/thevankeyboards/jetvan/info.json b/keyboards/thevankeyboards/jetvan/info.json index 80281fef1f..ed6896dc2e 100644 --- a/keyboards/thevankeyboards/jetvan/info.json +++ b/keyboards/thevankeyboards/jetvan/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x8858", | 8 | "pid": "0x8858", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D0" | 15 | "pin": "D0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/thevankeyboards/minivan/config.h b/keyboards/thevankeyboards/minivan/config.h index 168b85c614..5070f05156 100644 --- a/keyboards/thevankeyboards/minivan/config.h +++ b/keyboards/thevankeyboards/minivan/config.h | |||
| @@ -21,6 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | |||
| 25 | /* RGB Setup */ | ||
| 26 | #define RGBLED_NUM 3 | ||
diff --git a/keyboards/thevankeyboards/minivan/info.json b/keyboards/thevankeyboards/minivan/info.json index d9ae934b6f..cff65e6fed 100644 --- a/keyboards/thevankeyboards/minivan/info.json +++ b/keyboards/thevankeyboards/minivan/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 3, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/tkc/godspeed75/config.h b/keyboards/tkc/godspeed75/config.h index e995bb1c7c..3f67f77910 100644 --- a/keyboards/tkc/godspeed75/config.h +++ b/keyboards/tkc/godspeed75/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | //#define NO_ACTION_TAPPING | 32 | //#define NO_ACTION_TAPPING |
| 33 | //#define NO_ACTION_ONESHOT | 33 | //#define NO_ACTION_ONESHOT |
| 34 | 34 | ||
| 35 | #define RGBLED_NUM 14 | ||
| 36 | #define RGBLIGHT_EFFECT_BREATHING | 35 | #define RGBLIGHT_EFFECT_BREATHING |
| 37 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 36 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 38 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 37 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tkc/godspeed75/info.json b/keyboards/tkc/godspeed75/info.json index 4e45459bb9..6565239b52 100644 --- a/keyboards/tkc/godspeed75/info.json +++ b/keyboards/tkc/godspeed75/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0006", | 8 | "pid": "0x0006", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 14 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A13" | 15 | "pin": "A13" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/tkc/m0lly/config.h b/keyboards/tkc/m0lly/config.h index bc6ea7809f..a2182857fb 100644 --- a/keyboards/tkc/m0lly/config.h +++ b/keyboards/tkc/m0lly/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 30 | ||
| 21 | # define RGBLIGHT_HUE_STEP 5 | 20 | # define RGBLIGHT_HUE_STEP 5 |
| 22 | # define RGBLIGHT_SAT_STEP 10 | 21 | # define RGBLIGHT_SAT_STEP 10 |
| 23 | # define RGBLIGHT_VAL_STEP 10 | 22 | # define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/tkc/m0lly/info.json b/keyboards/tkc/m0lly/info.json index 37a8c19bf8..b58c630089 100644 --- a/keyboards/tkc/m0lly/info.json +++ b/keyboards/tkc/m0lly/info.json | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | "num_lock": "D2", | 27 | "num_lock": "D2", |
| 28 | "scroll_lock": "D4" | 28 | "scroll_lock": "D4" |
| 29 | }, | 29 | }, |
| 30 | "rgblight": { | ||
| 31 | "led_count": 30 | ||
| 32 | }, | ||
| 30 | "ws2812": { | 33 | "ws2812": { |
| 31 | "pin": "D7" | 34 | "pin": "D7" |
| 32 | }, | 35 | }, |
diff --git a/keyboards/tkc/osav2/config.h b/keyboards/tkc/osav2/config.h index 0241c954ff..839108fe8b 100644 --- a/keyboards/tkc/osav2/config.h +++ b/keyboards/tkc/osav2/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 9 | ||
| 21 | // #define RGBLIGHT_HUE_STEP 10 | 20 | // #define RGBLIGHT_HUE_STEP 10 |
| 22 | // #define RGBLIGHT_SAT_STEP 17 | 21 | // #define RGBLIGHT_SAT_STEP 17 |
| 23 | // #define RGBLIGHT_VAL_STEP 17 | 22 | // #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/tkc/osav2/info.json b/keyboards/tkc/osav2/info.json index 8173bb808d..7a59bb65db 100644 --- a/keyboards/tkc/osav2/info.json +++ b/keyboards/tkc/osav2/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 9, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/tkc/tkc1800/config.h b/keyboards/tkc/tkc1800/config.h index dd6631f545..363e1d894a 100644 --- a/keyboards/tkc/tkc1800/config.h +++ b/keyboards/tkc/tkc1800/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 30 // Number of LEDs | ||
| 33 | #define RGBLIGHT_HUE_STEP 5 | 32 | #define RGBLIGHT_HUE_STEP 5 |
| 34 | #define RGBLIGHT_SAT_STEP 10 | 33 | #define RGBLIGHT_SAT_STEP 10 |
| 35 | #define RGBLIGHT_VAL_STEP 10 | 34 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/tkc/tkc1800/info.json b/keyboards/tkc/tkc1800/info.json index 5cf8f83c80..4b61485d2e 100644 --- a/keyboards/tkc/tkc1800/info.json +++ b/keyboards/tkc/tkc1800/info.json | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | "num_lock": "D2", | 27 | "num_lock": "D2", |
| 28 | "scroll_lock": "D4" | 28 | "scroll_lock": "D4" |
| 29 | }, | 29 | }, |
| 30 | "rgblight": { | ||
| 31 | "led_count": 30 | ||
| 32 | }, | ||
| 30 | "ws2812": { | 33 | "ws2812": { |
| 31 | "pin": "D7" | 34 | "pin": "D7" |
| 32 | }, | 35 | }, |
diff --git a/keyboards/tkc/tkl_ab87/config.h b/keyboards/tkc/tkl_ab87/config.h index 667d79d277..c5c9bc5190 100644 --- a/keyboards/tkc/tkl_ab87/config.h +++ b/keyboards/tkc/tkl_ab87/config.h | |||
| @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations | 21 | #define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 22 | ||
| 24 | #define RGBLIGHT_HUE_STEP 8 | 23 | #define RGBLIGHT_HUE_STEP 8 |
| 25 | #define RGBLIGHT_SAT_STEP 8 | 24 | #define RGBLIGHT_SAT_STEP 8 |
| 26 | #define RGBLIGHT_VAL_STEP 8 | 25 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tkc/tkl_ab87/info.json b/keyboards/tkc/tkl_ab87/info.json index 5157fe9bc9..523f923e9b 100644 --- a/keyboards/tkc/tkl_ab87/info.json +++ b/keyboards/tkc/tkl_ab87/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "E2" | 25 | "pin": "E2" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 22, | ||
| 28 | "max_brightness": 200, | 29 | "max_brightness": 200, |
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
diff --git a/keyboards/tkw/grandiceps/config.h b/keyboards/tkw/grandiceps/config.h index 02746f94a8..0fee7d0f77 100644 --- a/keyboards/tkw/grandiceps/config.h +++ b/keyboards/tkw/grandiceps/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define MATRIX_IO_DELAY 5 | 20 | #define MATRIX_IO_DELAY 5 |
| 21 | #define TAP_CODE_DELAY 10 | 21 | #define TAP_CODE_DELAY 10 |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 16 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tkw/grandiceps/info.json b/keyboards/tkw/grandiceps/info.json index d3f6256d46..a7ff7dd90f 100644 --- a/keyboards/tkw/grandiceps/info.json +++ b/keyboards/tkw/grandiceps/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "driver": "pwm" | 11 | "driver": "pwm" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 16, | ||
| 14 | "max_brightness": 120, | 15 | "max_brightness": 120, |
| 15 | "split_count": [8, 8] | 16 | "split_count": [8, 8] |
| 16 | }, | 17 | }, |
diff --git a/keyboards/tkw/stoutgat/v2/config.h b/keyboards/tkw/stoutgat/v2/config.h index 3e5d5a452a..5f391a2187 100644 --- a/keyboards/tkw/stoutgat/v2/config.h +++ b/keyboards/tkw/stoutgat/v2/config.h | |||
| @@ -18,7 +18,6 @@ | |||
| 18 | #define MATRIX_IO_DELAY 5 | 18 | #define MATRIX_IO_DELAY 5 |
| 19 | #define TAP_CODE_DELAY 10 | 19 | #define TAP_CODE_DELAY 10 |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 13 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tkw/stoutgat/v2/info.json b/keyboards/tkw/stoutgat/v2/info.json index e0cc720365..a73b8f5e3b 100644 --- a/keyboards/tkw/stoutgat/v2/info.json +++ b/keyboards/tkw/stoutgat/v2/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "driver": "pwm" | 13 | "driver": "pwm" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 13, | ||
| 16 | "max_brightness": 120 | 17 | "max_brightness": 120 |
| 17 | }, | 18 | }, |
| 18 | "matrix_pins": { | 19 | "matrix_pins": { |
diff --git a/keyboards/tmo50/config.h b/keyboards/tmo50/config.h index 1915c926d3..257a3801a1 100644 --- a/keyboards/tmo50/config.h +++ b/keyboards/tmo50/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 10 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tmo50/info.json b/keyboards/tmo50/info.json index 07edc4d43e..a4327ca708 100644 --- a/keyboards/tmo50/info.json +++ b/keyboards/tmo50/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 10, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/toffee_studio/blueberry/config.h b/keyboards/toffee_studio/blueberry/config.h index 4b24094b22..4708cd179b 100644 --- a/keyboards/toffee_studio/blueberry/config.h +++ b/keyboards/toffee_studio/blueberry/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | # define RGBLED_NUM 22 | ||
| 20 | # define RGBLIGHT_EFFECT_BREATHING | 19 | # define RGBLIGHT_EFFECT_BREATHING |
| 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/toffee_studio/blueberry/info.json b/keyboards/toffee_studio/blueberry/info.json index eb32a1209d..f14afaaced 100644 --- a/keyboards/toffee_studio/blueberry/info.json +++ b/keyboards/toffee_studio/blueberry/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D0" | 12 | "pin": "D0" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 22, | ||
| 15 | "max_brightness": 192, | 16 | "max_brightness": 192, |
| 16 | "led_map": [19, 18, 17, 16, 15, 14, 13, 12, 11, 20, 10, 21, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8] | 17 | "led_map": [19, 18, 17, 16, 15, 14, 13, 12, 11, 20, 10, 21, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8] |
| 17 | }, | 18 | }, |
diff --git a/keyboards/tokyokeyboard/alix40/config.h b/keyboards/tokyokeyboard/alix40/config.h index fad2d49c93..25048d8fb3 100644 --- a/keyboards/tokyokeyboard/alix40/config.h +++ b/keyboards/tokyokeyboard/alix40/config.h | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | #define RGBLIGHT_EFFECT_RGB_TEST | 30 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 31 | #define RGBLIGHT_EFFECT_ALTERNATING | 31 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 32 | #define RGBLIGHT_EFFECT_TWINKLE | 32 | #define RGBLIGHT_EFFECT_TWINKLE |
| 33 | #define RGBLED_NUM 12 | ||
| 34 | #define RGBLIGHT_HUE_STEP 10 | 33 | #define RGBLIGHT_HUE_STEP 10 |
| 35 | #define RGBLIGHT_SAT_STEP 10 | 34 | #define RGBLIGHT_SAT_STEP 10 |
| 36 | #define RGBLIGHT_VAL_STEP 10 | 35 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/tokyokeyboard/alix40/info.json b/keyboards/tokyokeyboard/alix40/info.json index d71fb56f0b..3ac2ae4605 100644 --- a/keyboards/tokyokeyboard/alix40/info.json +++ b/keyboards/tokyokeyboard/alix40/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 31, | 18 | "levels": 31, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 12 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B0" | 25 | "pin": "B0" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/tokyokeyboard/tokyo60/config.h b/keyboards/tokyokeyboard/tokyo60/config.h index dd58e34f08..5ee8401737 100644 --- a/keyboards/tokyokeyboard/tokyo60/config.h +++ b/keyboards/tokyokeyboard/tokyo60/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 10 | ||
| 20 | #define RGBLIGHT_HUE_STEP 12 | 19 | #define RGBLIGHT_HUE_STEP 12 |
| 21 | #define RGBLIGHT_SAT_STEP 12 | 20 | #define RGBLIGHT_SAT_STEP 12 |
| 22 | #define RGBLIGHT_VAL_STEP 12 | 21 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/tokyokeyboard/tokyo60/info.json b/keyboards/tokyokeyboard/tokyo60/info.json index aae81a4a6b..45827bc0fa 100644 --- a/keyboards/tokyokeyboard/tokyo60/info.json +++ b/keyboards/tokyokeyboard/tokyo60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "pin": "B7", | 18 | "pin": "B7", |
| 19 | "levels": 6 | 19 | "levels": 6 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 10 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F7" | 25 | "pin": "F7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/tominabox1/bigboy/config.h b/keyboards/tominabox1/bigboy/config.h index 77d49adbec..b2eb60a077 100755 --- a/keyboards/tominabox1/bigboy/config.h +++ b/keyboards/tominabox1/bigboy/config.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 5 | ||
| 20 | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tominabox1/bigboy/info.json b/keyboards/tominabox1/bigboy/info.json index 87f8473bb8..44bc4dea8d 100644 --- a/keyboards/tominabox1/bigboy/info.json +++ b/keyboards/tominabox1/bigboy/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6262", | 8 | "pid": "0x6262", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 5 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B5" | 15 | "pin": "B5" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/tominabox1/le_chiffre/config.h b/keyboards/tominabox1/le_chiffre/config.h index fb3860b0eb..bc1950aefe 100644 --- a/keyboards/tominabox1/le_chiffre/config.h +++ b/keyboards/tominabox1/le_chiffre/config.h | |||
| @@ -24,9 +24,7 @@ | |||
| 24 | * WS2812 Underglow Matrix options | 24 | * WS2812 Underglow Matrix options |
| 25 | */ | 25 | */ |
| 26 | 26 | ||
| 27 | #define RGBLED_NUM 11 | 27 | #define RGB_MATRIX_LED_COUNT 11 |
| 28 | |||
| 29 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 30 | 28 | ||
| 31 | #define RGBLIGHT_EFFECT_BREATHING | 29 | #define RGBLIGHT_EFFECT_BREATHING |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 30 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/tominabox1/le_chiffre/he/info.json b/keyboards/tominabox1/le_chiffre/he/info.json index bab0d5242c..8c8e7f5b09 100644 --- a/keyboards/tominabox1/le_chiffre/he/info.json +++ b/keyboards/tominabox1/le_chiffre/he/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.3" | 3 | "device_version": "0.0.3" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 11 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "F0" | 9 | "pin": "F0" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/tominabox1/le_chiffre/rev1/info.json b/keyboards/tominabox1/le_chiffre/rev1/info.json index 5222f4ea51..32e08029d5 100644 --- a/keyboards/tominabox1/le_chiffre/rev1/info.json +++ b/keyboards/tominabox1/le_chiffre/rev1/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 11 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "F0" | 9 | "pin": "F0" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/tominabox1/le_chiffre/rev2/info.json b/keyboards/tominabox1/le_chiffre/rev2/info.json index f6773fb9bd..0dd86e5848 100644 --- a/keyboards/tominabox1/le_chiffre/rev2/info.json +++ b/keyboards/tominabox1/le_chiffre/rev2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.2" | 3 | "device_version": "0.0.2" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 11 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "B1" | 9 | "pin": "B1" |
| 7 | }, | 10 | }, |
diff --git a/keyboards/tominabox1/qaz/config.h b/keyboards/tominabox1/qaz/config.h index a9b9df6815..e1992baa6f 100644 --- a/keyboards/tominabox1/qaz/config.h +++ b/keyboards/tominabox1/qaz/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #define RGBLIGHT_EFFECT_RGB_TEST | 15 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 16 | #define RGBLIGHT_EFFECT_ALTERNATING | 16 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 17 | #define RGBLIGHT_EFFECT_TWINKLE | 17 | #define RGBLIGHT_EFFECT_TWINKLE |
| 18 | #define RGBLED_NUM 21 | ||
| 19 | #define RGBLIGHT_HUE_STEP 8 | 18 | #define RGBLIGHT_HUE_STEP 8 |
| 20 | #define RGBLIGHT_SAT_STEP 8 | 19 | #define RGBLIGHT_SAT_STEP 8 |
| 21 | #define RGBLIGHT_VAL_STEP 8 | 20 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tominabox1/qaz/info.json b/keyboards/tominabox1/qaz/info.json index 99ae387af7..98706203c0 100644 --- a/keyboards/tominabox1/qaz/info.json +++ b/keyboards/tominabox1/qaz/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 21 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/tominabox1/underscore33/rev2/config.h b/keyboards/tominabox1/underscore33/rev2/config.h index eac1807676..1ea0b6598d 100644 --- a/keyboards/tominabox1/underscore33/rev2/config.h +++ b/keyboards/tominabox1/underscore33/rev2/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | #define LOCKING_RESYNC_ENABLE | 21 | #define LOCKING_RESYNC_ENABLE |
| 22 | 22 | ||
| 23 | #ifdef RGBLIGHT_ENABLE | 23 | #ifdef RGBLIGHT_ENABLE |
| 24 | #define RGBLED_NUM 12 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tominabox1/underscore33/rev2/info.json b/keyboards/tominabox1/underscore33/rev2/info.json index 2b93047d41..5553a11d9a 100644 --- a/keyboards/tominabox1/underscore33/rev2/info.json +++ b/keyboards/tominabox1/underscore33/rev2/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x3302", | 8 | "pid": "0x3302", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 12 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D6" | 15 | "pin": "D6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/tr60w/config.h b/keyboards/tr60w/config.h index a6dfefb6b9..401de718c1 100644 --- a/keyboards/tr60w/config.h +++ b/keyboards/tr60w/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 4 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tr60w/info.json b/keyboards/tr60w/info.json index 62e5fae73b..b47482ccd8 100644 --- a/keyboards/tr60w/info.json +++ b/keyboards/tr60w/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B7" | 17 | "pin": "B7" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 4 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "F7" | 23 | "pin": "F7" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/trashman/ketch/config.h b/keyboards/trashman/ketch/config.h index 5472320cc0..ff4749b290 100644 --- a/keyboards/trashman/ketch/config.h +++ b/keyboards/trashman/ketch/config.h | |||
| @@ -22,7 +22,6 @@ SOFTWARE. | |||
| 22 | 22 | ||
| 23 | #pragma once | 23 | #pragma once |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 10 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/trashman/ketch/info.json b/keyboards/trashman/ketch/info.json index 592f4e24ac..75bfb0b073 100644 --- a/keyboards/trashman/ketch/info.json +++ b/keyboards/trashman/ketch/info.json | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | "max_power": 100 | 10 | "max_power": 100 |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "led_count": 10, | ||
| 13 | "sleep": true | 14 | "sleep": true |
| 14 | }, | 15 | }, |
| 15 | "ws2812": { | 16 | "ws2812": { |
diff --git a/keyboards/tszaboo/ortho4exent/config.h b/keyboards/tszaboo/ortho4exent/config.h index 2ed9b5c008..ef6b39e64f 100644 --- a/keyboards/tszaboo/ortho4exent/config.h +++ b/keyboards/tszaboo/ortho4exent/config.h | |||
| @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | |||
| 22 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 23 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 24 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/tszaboo/ortho4exent/info.json b/keyboards/tszaboo/ortho4exent/info.json index d1afed5f0c..44b550af26 100644 --- a/keyboards/tszaboo/ortho4exent/info.json +++ b/keyboards/tszaboo/ortho4exent/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/tunks/ergo33/config.h b/keyboards/tunks/ergo33/config.h index 5ab6f8a347..edfd0825c6 100644 --- a/keyboards/tunks/ergo33/config.h +++ b/keyboards/tunks/ergo33/config.h | |||
| @@ -28,14 +28,6 @@ | |||
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | 30 | ||
| 31 | #if !defined(RGBLED_NUM) | ||
| 32 | /* RGB LED count | ||
| 33 | * No external LED PCB: 10 | ||
| 34 | * External LED PCB: 14 | ||
| 35 | */ | ||
| 36 | # define RGBLED_NUM 14 | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* | 31 | /* |
| 40 | * Feature disable options | 32 | * Feature disable options |
| 41 | * These options are also useful to firmware size reduction. | 33 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/tunks/ergo33/info.json b/keyboards/tunks/ergo33/info.json index afca170abd..e5b1e6f519 100644 --- a/keyboards/tunks/ergo33/info.json +++ b/keyboards/tunks/ergo33/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "pid": "0xA0A1", | 7 | "pid": "0xA0A1", |
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 14 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "D4" | 14 | "pin": "D4" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/tw40/config.h b/keyboards/tw40/config.h index 7c93823314..c335ed5cca 100644 --- a/keyboards/tw40/config.h +++ b/keyboards/tw40/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 15 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/tw40/info.json b/keyboards/tw40/info.json index d57206cbc5..b09acc66d1 100644 --- a/keyboards/tw40/info.json +++ b/keyboards/tw40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5457", | 8 | "pid": "0x5457", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 15 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "E6" | 15 | "pin": "E6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/tzarc/djinn/rev1/config.h b/keyboards/tzarc/djinn/rev1/config.h index 5ced700323..5dffc00141 100644 --- a/keyboards/tzarc/djinn/rev1/config.h +++ b/keyboards/tzarc/djinn/rev1/config.h | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | #endif // SERIAL_USART_SPEED | 14 | #endif // SERIAL_USART_SPEED |
| 15 | 15 | ||
| 16 | // RGB configuration | 16 | // RGB configuration |
| 17 | #define RGBLED_NUM 84 | ||
| 18 | #define RGB_MATRIX_LED_COUNT 84 | 17 | #define RGB_MATRIX_LED_COUNT 84 |
| 19 | #define RGB_MATRIX_SPLIT \ | 18 | #define RGB_MATRIX_SPLIT \ |
| 20 | { 42, 42 } | 19 | { 42, 42 } |
diff --git a/keyboards/tzarc/djinn/rev2/config.h b/keyboards/tzarc/djinn/rev2/config.h index 02224e4fc6..12a6372405 100644 --- a/keyboards/tzarc/djinn/rev2/config.h +++ b/keyboards/tzarc/djinn/rev2/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #define SERIAL_USART_FULL_DUPLEX | 17 | #define SERIAL_USART_FULL_DUPLEX |
| 18 | 18 | ||
| 19 | // RGB configuration | 19 | // RGB configuration |
| 20 | #define RGBLED_NUM 86 | ||
| 21 | #define RGB_MATRIX_LED_COUNT 86 | 20 | #define RGB_MATRIX_LED_COUNT 86 |
| 22 | #define RGB_MATRIX_SPLIT \ | 21 | #define RGB_MATRIX_SPLIT \ |
| 23 | { 43, 43 } | 22 | { 43, 43 } |
diff --git a/keyboards/tzarc/ghoul/config.h b/keyboards/tzarc/ghoul/config.h index c027b77565..932ea8eb50 100644 --- a/keyboards/tzarc/ghoul/config.h +++ b/keyboards/tzarc/ghoul/config.h | |||
| @@ -13,4 +13,3 @@ | |||
| 13 | 13 | ||
| 14 | // RGB configuration | 14 | // RGB configuration |
| 15 | #define RGB_MATRIX_LED_COUNT 40 | 15 | #define RGB_MATRIX_LED_COUNT 40 |
| 16 | #define RGBLED_NUM 40 | ||
diff --git a/keyboards/ubest/vn/config.h b/keyboards/ubest/vn/config.h index 26f27d5bde..9ec93057a9 100644 --- a/keyboards/ubest/vn/config.h +++ b/keyboards/ubest/vn/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 8 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ubest/vn/info.json b/keyboards/ubest/vn/info.json index d2ab82b39b..8a84edb4c4 100644 --- a/keyboards/ubest/vn/info.json +++ b/keyboards/ubest/vn/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "E2" | 20 | "pin": "E2" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 8, | ||
| 23 | "max_brightness": 240, | 24 | "max_brightness": 240, |
| 24 | "sleep": true | 25 | "sleep": true |
| 25 | }, | 26 | }, |
diff --git a/keyboards/uk78/config.h b/keyboards/uk78/config.h index ab971a55ad..ce794b87d4 100644 --- a/keyboards/uk78/config.h +++ b/keyboards/uk78/config.h | |||
| @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | #define RGBLIGHT_EFFECT_RGB_TEST | 34 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | #define RGBLED_NUM 20 | ||
| 38 | #define RGBLIGHT_HUE_STEP 8 | 37 | #define RGBLIGHT_HUE_STEP 8 |
| 39 | #define RGBLIGHT_SAT_STEP 8 | 38 | #define RGBLIGHT_SAT_STEP 8 |
| 40 | #define RGBLIGHT_VAL_STEP 8 | 39 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/uk78/info.json b/keyboards/uk78/info.json index f166936a9a..4b07fffb39 100644 --- a/keyboards/uk78/info.json +++ b/keyboards/uk78/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "B6" | 17 | "pin": "B6" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "F6" | 23 | "pin": "F6" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/ungodly/launch_pad/config.h b/keyboards/ungodly/launch_pad/config.h index 9c6459abbd..5505279b1b 100644 --- a/keyboards/ungodly/launch_pad/config.h +++ b/keyboards/ungodly/launch_pad/config.h | |||
| @@ -21,8 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | /* RGB Matrix configuration */ | 22 | /* RGB Matrix configuration */ |
| 23 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
| 24 | # define RGBLED_NUM 22 | 24 | # define RGB_MATRIX_LED_COUNT 22 |
| 25 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 26 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 25 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 27 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 26 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 28 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 27 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h index 4c3789155e..d0153fcff0 100644 --- a/keyboards/unikorn/config.h +++ b/keyboards/unikorn/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | #define RGBLED_NUM 17 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/info.json index 02202bef07..5bd23e612e 100644 --- a/keyboards/unikorn/info.json +++ b/keyboards/unikorn/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 17 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/unison/v04/config.h b/keyboards/unison/v04/config.h index b7cfe159a8..fe28e7fc00 100644 --- a/keyboards/unison/v04/config.h +++ b/keyboards/unison/v04/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | /* RGB Lighting */ | 28 | /* RGB Lighting */ |
| 29 | #define RGBLED_NUM 7 // Layer Indicator(2) + Rotary Encoder(5) | ||
| 30 | #define RGBLIGHT_HUE_STEP 4 | 29 | #define RGBLIGHT_HUE_STEP 4 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/unison/v04/info.json b/keyboards/unison/v04/info.json index b3c9a59392..b9754062af 100644 --- a/keyboards/unison/v04/info.json +++ b/keyboards/unison/v04/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "rows": ["B3", "E6", "F1", "F5", "F7", "B2", "F0", "F4", "F6", "C7"] | 13 | "rows": ["B3", "E6", "F1", "F5", "F7", "B2", "F0", "F4", "F6", "C7"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 7, | ||
| 16 | "led_map": [1, 2, 0, 3, 4, 5, 6] | 17 | "led_map": [1, 2, 0, 3, 4, 5, 6] |
| 17 | }, | 18 | }, |
| 18 | "ws2812": { | 19 | "ws2812": { |
diff --git a/keyboards/utd80/config.h b/keyboards/utd80/config.h index 5d33e9e99c..e535bc7496 100644 --- a/keyboards/utd80/config.h +++ b/keyboards/utd80/config.h | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | 31 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | 32 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | 33 | #define RGBLIGHT_EFFECT_TWINKLE |
| 34 | #define RGBLED_NUM 4 | ||
| 35 | #define RGBLIGHT_HUE_STEP 8 | 34 | #define RGBLIGHT_HUE_STEP 8 |
| 36 | #define RGBLIGHT_SAT_STEP 8 | 35 | #define RGBLIGHT_SAT_STEP 8 |
| 37 | #define RGBLIGHT_VAL_STEP 8 | 36 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/utd80/info.json b/keyboards/utd80/info.json index 5a7bde1da1..1659fbd0ab 100644 --- a/keyboards/utd80/info.json +++ b/keyboards/utd80/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "B6", | 21 | "caps_lock": "B6", |
| 22 | "scroll_lock": "B5" | 22 | "scroll_lock": "B5" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 4 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "E2" | 28 | "pin": "E2" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/uzu42/rev1/config.h b/keyboards/uzu42/rev1/config.h index 033d1ab111..5fc06a6042 100644 --- a/keyboards/uzu42/rev1/config.h +++ b/keyboards/uzu42/rev1/config.h | |||
| @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 54 // Number of LEDs | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/uzu42/rev1/info.json b/keyboards/uzu42/rev1/info.json index a9e0b27826..a25e5fd428 100644 --- a/keyboards/uzu42/rev1/info.json +++ b/keyboards/uzu42/rev1/info.json | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | "pin": "D3" | 20 | "pin": "D3" |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | 22 | "rgblight": { |
| 23 | "led_count": 54, | ||
| 23 | "max_brightness": 120, | 24 | "max_brightness": 120, |
| 24 | "split_count": [27, 27] | 25 | "split_count": [27, 27] |
| 25 | }, | 26 | }, |
diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h index 8eafa8d7b5..34403d0c97 100644 --- a/keyboards/v60_type_r/config.h +++ b/keyboards/v60_type_r/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 1 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/v60_type_r/info.json b/keyboards/v60_type_r/info.json index f219dd1727..8a2b7827ce 100644 --- a/keyboards/v60_type_r/info.json +++ b/keyboards/v60_type_r/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "F7", | 17 | "pin": "F7", |
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 1 | ||
| 22 | }, | ||
| 20 | "processor": "atmega32u4", | 23 | "processor": "atmega32u4", |
| 21 | "bootloader": "atmel-dfu", | 24 | "bootloader": "atmel-dfu", |
| 22 | "community_layouts": ["60_ansi", "60_iso"], | 25 | "community_layouts": ["60_ansi", "60_iso"], |
diff --git a/keyboards/vertex/angle65/config.h b/keyboards/vertex/angle65/config.h index 4db0deb111..74731dd4c9 100644 --- a/keyboards/vertex/angle65/config.h +++ b/keyboards/vertex/angle65/config.h | |||
| @@ -28,6 +28,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 9 | ||
| 32 | #define WS2812_SPI SPID2 | 31 | #define WS2812_SPI SPID2 |
| 33 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 32 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
diff --git a/keyboards/vertex/angle65/info.json b/keyboards/vertex/angle65/info.json index 03649ab072..2ad59e0642 100644 --- a/keyboards/vertex/angle65/info.json +++ b/keyboards/vertex/angle65/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | "caps_lock": "C13", | 20 | "caps_lock": "C13", |
| 21 | "on_state": 0 | 21 | "on_state": 0 |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "led_count": 9 | ||
| 25 | }, | ||
| 23 | "ws2812": { | 26 | "ws2812": { |
| 24 | "pin": "B15" | 27 | "pin": "B15" |
| 25 | }, | 28 | }, |
diff --git a/keyboards/vertex/angler2/config.h b/keyboards/vertex/angler2/config.h index 79cb6d6aae..35c5c2609e 100644 --- a/keyboards/vertex/angler2/config.h +++ b/keyboards/vertex/angler2/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 6 | ||
| 30 | #define RGBLIGHT_HUE_STEP 8 | 29 | #define RGBLIGHT_HUE_STEP 8 |
| 31 | #define RGBLIGHT_SAT_STEP 8 | 30 | #define RGBLIGHT_SAT_STEP 8 |
| 32 | #define RGBLIGHT_VAL_STEP 8 | 31 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/vertex/angler2/info.json b/keyboards/vertex/angler2/info.json index 705af3fb09..db4d8e31cf 100644 --- a/keyboards/vertex/angler2/info.json +++ b/keyboards/vertex/angler2/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "ws2812": { | 21 | "ws2812": { |
| 22 | "pin": "E6" | 22 | "pin": "E6" |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 6 | ||
| 26 | }, | ||
| 24 | "processor": "atmega32u4", | 27 | "processor": "atmega32u4", |
| 25 | "bootloader": "atmel-dfu", | 28 | "bootloader": "atmel-dfu", |
| 26 | "community_layouts": [ | 29 | "community_layouts": [ |
diff --git a/keyboards/vertex/arc60/config.h b/keyboards/vertex/arc60/config.h index 791368b5b2..3cd8a8c938 100644 --- a/keyboards/vertex/arc60/config.h +++ b/keyboards/vertex/arc60/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 9 | ||
| 30 | #define WS2812_SPI SPID2 | 29 | #define WS2812_SPI SPID2 |
| 31 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 30 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
| 32 | 31 | ||
diff --git a/keyboards/vertex/arc60/info.json b/keyboards/vertex/arc60/info.json index 8aa5a709d5..5564b0d3c7 100644 --- a/keyboards/vertex/arc60/info.json +++ b/keyboards/vertex/arc60/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "caps_lock": "C13", | 18 | "caps_lock": "C13", |
| 19 | "on_state": 0 | 19 | "on_state": 0 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 9 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "B15" | 25 | "pin": "B15" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/vertex/arc60h/config.h b/keyboards/vertex/arc60h/config.h index e4cb045353..81b5383ef3 100644 --- a/keyboards/vertex/arc60h/config.h +++ b/keyboards/vertex/arc60h/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 9 | ||
| 33 | #define WS2812_SPI SPID2 | 32 | #define WS2812_SPI SPID2 |
| 34 | #define WS2812_SPI_MOSI_PAL_MODE 5 | 33 | #define WS2812_SPI_MOSI_PAL_MODE 5 |
| 35 | 34 | ||
diff --git a/keyboards/vertex/arc60h/info.json b/keyboards/vertex/arc60h/info.json index 831190a516..baf91b0c61 100644 --- a/keyboards/vertex/arc60h/info.json +++ b/keyboards/vertex/arc60h/info.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | "device_version": "0.0.1", | 9 | "device_version": "0.0.1", |
| 10 | "force_nkro": true | 10 | "force_nkro": true |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | ||
| 13 | "led_count": 9 | ||
| 14 | }, | ||
| 12 | "ws2812": { | 15 | "ws2812": { |
| 13 | "pin": "B15", | 16 | "pin": "B15", |
| 14 | "driver": "spi" | 17 | "driver": "spi" |
diff --git a/keyboards/viendi8l/config.h b/keyboards/viendi8l/config.h index 825ceabbd3..078b8e1e5d 100644 --- a/keyboards/viendi8l/config.h +++ b/keyboards/viendi8l/config.h | |||
| @@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | 35 | ||
| 36 | #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE | 36 | #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE |
| 37 | 37 | ||
| 38 | #define RGBLED_NUM 4 | ||
| 39 | #define RGBLIGHT_DEFAULT_VAL 0 | 38 | #define RGBLIGHT_DEFAULT_VAL 0 |
| 40 | 39 | ||
| 41 | #define WS2812_PWM_COMPLEMENTARY_OUTPUT | 40 | #define WS2812_PWM_COMPLEMENTARY_OUTPUT |
diff --git a/keyboards/viendi8l/info.json b/keyboards/viendi8l/info.json index 301b5cc756..17449f406c 100644 --- a/keyboards/viendi8l/info.json +++ b/keyboards/viendi8l/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0877", | 8 | "pid": "0x0877", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B15", | 15 | "pin": "B15", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/viktus/sp_mini/config.h b/keyboards/viktus/sp_mini/config.h index b6064e3f52..d83026859d 100644 --- a/keyboards/viktus/sp_mini/config.h +++ b/keyboards/viktus/sp_mini/config.h | |||
| @@ -35,8 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | #define RGBLIGHT_EFFECT_ALTERNATING | 35 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 36 | #define RGBLIGHT_EFFECT_TWINKLE | 36 | #define RGBLIGHT_EFFECT_TWINKLE |
| 37 | 37 | ||
| 38 | #define RGBLED_NUM 24 // Number of LEDs | ||
| 39 | |||
| 40 | /* | 38 | /* |
| 41 | * Feature disable options | 39 | * Feature disable options |
| 42 | * These options are also useful to firmware size reduction. | 40 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/viktus/sp_mini/info.json b/keyboards/viktus/sp_mini/info.json index 6c6a5a8d2d..60b4d1996b 100644 --- a/keyboards/viktus/sp_mini/info.json +++ b/keyboards/viktus/sp_mini/info.json | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | } | 27 | } |
| 28 | }, | 28 | }, |
| 29 | "rgblight": { | 29 | "rgblight": { |
| 30 | "led_count": 24, | ||
| 30 | "split_count": [12, 12] | 31 | "split_count": [12, 12] |
| 31 | }, | 32 | }, |
| 32 | "ws2812": { | 33 | "ws2812": { |
diff --git a/keyboards/vitamins_included/rev1/config.h b/keyboards/vitamins_included/rev1/config.h index 81dd72ca9e..fc729396a8 100644 --- a/keyboards/vitamins_included/rev1/config.h +++ b/keyboards/vitamins_included/rev1/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | /* Locking resynchronize hack */ | 28 | /* Locking resynchronize hack */ |
| 29 | #define LOCKING_RESYNC_ENABLE | 29 | #define LOCKING_RESYNC_ENABLE |
| 30 | 30 | ||
| 31 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 32 | #define RGBLIGHT_EFFECT_BREATHING | 31 | #define RGBLIGHT_EFFECT_BREATHING |
| 33 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 32 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 34 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 33 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/vitamins_included/rev1/info.json b/keyboards/vitamins_included/rev1/info.json index f9fd3d018e..579ba50d14 100644 --- a/keyboards/vitamins_included/rev1/info.json +++ b/keyboards/vitamins_included/rev1/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "split": { | 10 | "split": { |
| 11 | "soft_serial_pin": "D0" | 11 | "soft_serial_pin": "D0" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | ||
| 14 | "led_count": 16 | ||
| 15 | }, | ||
| 13 | "ws2812": { | 16 | "ws2812": { |
| 14 | "pin": "F0" | 17 | "pin": "F0" |
| 15 | }, | 18 | }, |
diff --git a/keyboards/vitamins_included/rev2/config.h b/keyboards/vitamins_included/rev2/config.h index b86a722674..b4daf909dd 100644 --- a/keyboards/vitamins_included/rev2/config.h +++ b/keyboards/vitamins_included/rev2/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | 22 | ||
| 23 | #define SPLIT_HAND_PIN B4 | 23 | #define SPLIT_HAND_PIN B4 |
| 24 | 24 | ||
| 25 | #define RGBLED_NUM 12 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/vitamins_included/rev2/info.json b/keyboards/vitamins_included/rev2/info.json index c90a668ba0..3c87742bcd 100644 --- a/keyboards/vitamins_included/rev2/info.json +++ b/keyboards/vitamins_included/rev2/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D0" | 17 | "soft_serial_pin": "D0" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "split_count": [6, 6] | 21 | "split_count": [6, 6] |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/waldo/config.h b/keyboards/waldo/config.h index ee7a78dd0c..ef466015c2 100644 --- a/keyboards/waldo/config.h +++ b/keyboards/waldo/config.h | |||
| @@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 49 | #define RGBLIGHT_EFFECT_RGB_TEST | 49 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 50 | #define RGBLIGHT_EFFECT_ALTERNATING | 50 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 51 | #define RGBLIGHT_EFFECT_TWINKLE | 51 | #define RGBLIGHT_EFFECT_TWINKLE |
| 52 | #define RGBLED_NUM 10 | ||
| 53 | #define RGBLIGHT_HUE_STEP 8 | 52 | #define RGBLIGHT_HUE_STEP 8 |
| 54 | #define RGBLIGHT_SAT_STEP 8 | 53 | #define RGBLIGHT_SAT_STEP 8 |
| 55 | #define RGBLIGHT_VAL_STEP 8 | 54 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/waldo/info.json b/keyboards/waldo/info.json index ff8c704508..76dded55b1 100644 --- a/keyboards/waldo/info.json +++ b/keyboards/waldo/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "breathing": true | 17 | "breathing": true |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 10, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/walletburner/cajal/config.h b/keyboards/walletburner/cajal/config.h index 6d33342cf8..343448b6cd 100644 --- a/keyboards/walletburner/cajal/config.h +++ b/keyboards/walletburner/cajal/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 18 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/walletburner/cajal/info.json b/keyboards/walletburner/cajal/info.json index 36b6647465..6bc160225e 100644 --- a/keyboards/walletburner/cajal/info.json +++ b/keyboards/walletburner/cajal/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | {"pin_a": "D6", "pin_b": "D7"} | 18 | {"pin_a": "D6", "pin_b": "D7"} |
| 19 | ] | 19 | ] |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 18 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F7" | 25 | "pin": "F7" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/walletburner/neuron/config.h b/keyboards/walletburner/neuron/config.h index 2dae864ddb..401de718c1 100644 --- a/keyboards/walletburner/neuron/config.h +++ b/keyboards/walletburner/neuron/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/walletburner/neuron/info.json b/keyboards/walletburner/neuron/info.json index fb6b3e96f8..298664e139 100644 --- a/keyboards/walletburner/neuron/info.json +++ b/keyboards/walletburner/neuron/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6E75", | 8 | "pid": "0x6E75", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1" | 15 | "pin": "B1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wavtype/foundation/config.h b/keyboards/wavtype/foundation/config.h index 4c7cede544..de2168ce7f 100644 --- a/keyboards/wavtype/foundation/config.h +++ b/keyboards/wavtype/foundation/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | # define RGBLED_NUM 16 | ||
| 7 | # define RGBLIGHT_HUE_STEP 8 | 6 | # define RGBLIGHT_HUE_STEP 8 |
| 8 | # define RGBLIGHT_SAT_STEP 8 | 7 | # define RGBLIGHT_SAT_STEP 8 |
| 9 | # define RGBLIGHT_VAL_STEP 8 | 8 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wavtype/foundation/info.json b/keyboards/wavtype/foundation/info.json index c437b1841b..491a975e66 100644 --- a/keyboards/wavtype/foundation/info.json +++ b/keyboards/wavtype/foundation/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 16, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/wavtype/p01_ultra/config.h b/keyboards/wavtype/p01_ultra/config.h index 0e41f95fd0..36013d4094 100644 --- a/keyboards/wavtype/p01_ultra/config.h +++ b/keyboards/wavtype/p01_ultra/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 18 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wavtype/p01_ultra/info.json b/keyboards/wavtype/p01_ultra/info.json index a00bd25951..7f2d0275b2 100644 --- a/keyboards/wavtype/p01_ultra/info.json +++ b/keyboards/wavtype/p01_ultra/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/weirdo/geminate60/config.h b/keyboards/weirdo/geminate60/config.h index 948bd0c7f1..5e0e8b40a9 100644 --- a/keyboards/weirdo/geminate60/config.h +++ b/keyboards/weirdo/geminate60/config.h | |||
| @@ -15,12 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 1 | ||
| 19 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 26 | 20 | ||
diff --git a/keyboards/weirdo/geminate60/info.json b/keyboards/weirdo/geminate60/info.json index e8bda126ea..722d1d3bfe 100644 --- a/keyboards/weirdo/geminate60/info.json +++ b/keyboards/weirdo/geminate60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x676D", | 8 | "pid": "0x676D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A6" | 15 | "pin": "A6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/weirdo/kelowna/rgb64/config.h b/keyboards/weirdo/kelowna/rgb64/config.h index 0a446abeba..5c0ed9cf61 100644 --- a/keyboards/weirdo/kelowna/rgb64/config.h +++ b/keyboards/weirdo/kelowna/rgb64/config.h | |||
| @@ -15,12 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 64 | ||
| 19 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 26 | 20 | ||
diff --git a/keyboards/weirdo/kelowna/rgb64/info.json b/keyboards/weirdo/kelowna/rgb64/info.json index 89053ba9cc..12188f6f30 100644 --- a/keyboards/weirdo/kelowna/rgb64/info.json +++ b/keyboards/weirdo/kelowna/rgb64/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4C64", | 8 | "pid": "0x4C64", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 64 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A6" | 15 | "pin": "A6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/weirdo/ls_60/config.h b/keyboards/weirdo/ls_60/config.h index d2b9299c8f..5c0ed9cf61 100644 --- a/keyboards/weirdo/ls_60/config.h +++ b/keyboards/weirdo/ls_60/config.h | |||
| @@ -15,12 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 1 | ||
| 19 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 26 | 20 | ||
diff --git a/keyboards/weirdo/ls_60/info.json b/keyboards/weirdo/ls_60/info.json index f386d40b66..0dadf9d32c 100644 --- a/keyboards/weirdo/ls_60/info.json +++ b/keyboards/weirdo/ls_60/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x4C53", | 8 | "pid": "0x4C53", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A6" | 15 | "pin": "A6" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/weirdo/naiping/np64/config.h b/keyboards/weirdo/naiping/np64/config.h index 2c31247277..2c7e4c037b 100644 --- a/keyboards/weirdo/naiping/np64/config.h +++ b/keyboards/weirdo/naiping/np64/config.h | |||
| @@ -15,12 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 80 | ||
| 19 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 26 | 20 | ||
diff --git a/keyboards/weirdo/naiping/np64/info.json b/keyboards/weirdo/naiping/np64/info.json index 0f91be1b83..63e6297f7d 100644 --- a/keyboards/weirdo/naiping/np64/info.json +++ b/keyboards/weirdo/naiping/np64/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7064", | 8 | "pid": "0x7064", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 80 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1" | 15 | "pin": "B1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/weirdo/naiping/nphhkb/config.h b/keyboards/weirdo/naiping/nphhkb/config.h index 0a3df009ab..5c0ed9cf61 100644 --- a/keyboards/weirdo/naiping/nphhkb/config.h +++ b/keyboards/weirdo/naiping/nphhkb/config.h | |||
| @@ -15,12 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 78 | ||
| 19 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 26 | 20 | ||
diff --git a/keyboards/weirdo/naiping/nphhkb/info.json b/keyboards/weirdo/naiping/nphhkb/info.json index 730c17c61f..931f81db1f 100644 --- a/keyboards/weirdo/naiping/nphhkb/info.json +++ b/keyboards/weirdo/naiping/nphhkb/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x7068", | 8 | "pid": "0x7068", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 78 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A7" | 15 | "pin": "A7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/weirdo/naiping/npminila/config.h b/keyboards/weirdo/naiping/npminila/config.h index 782833a3af..5c0ed9cf61 100644 --- a/keyboards/weirdo/naiping/npminila/config.h +++ b/keyboards/weirdo/naiping/npminila/config.h | |||
| @@ -15,12 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 82 | ||
| 19 | //#define RGBLIGHT_DISABLE_KEYCODES | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 18 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 25 | #define LOCKING_SUPPORT_ENABLE | 19 | #define LOCKING_SUPPORT_ENABLE |
| 26 | 20 | ||
diff --git a/keyboards/weirdo/naiping/npminila/info.json b/keyboards/weirdo/naiping/npminila/info.json index 5162849225..3824802e02 100644 --- a/keyboards/weirdo/naiping/npminila/info.json +++ b/keyboards/weirdo/naiping/npminila/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x706D", | 8 | "pid": "0x706D", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 82 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D1" | 15 | "pin": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/westfoxtrot/aanzee/config.h b/keyboards/westfoxtrot/aanzee/config.h index 27467c648f..488d5c5f78 100644 --- a/keyboards/westfoxtrot/aanzee/config.h +++ b/keyboards/westfoxtrot/aanzee/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 9 | ||
| 21 | #define RGBLIGHT_HUE_STEP 12 | 20 | #define RGBLIGHT_HUE_STEP 12 |
| 22 | #define RGBLIGHT_SAT_STEP 25 | 21 | #define RGBLIGHT_SAT_STEP 25 |
| 23 | #define RGBLIGHT_VAL_STEP 12 | 22 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/westfoxtrot/aanzee/info.json b/keyboards/westfoxtrot/aanzee/info.json index 15d0f6bb7c..509e1ceb0a 100644 --- a/keyboards/westfoxtrot/aanzee/info.json +++ b/keyboards/westfoxtrot/aanzee/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 9, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/westfoxtrot/cypher/rev5/config.h b/keyboards/westfoxtrot/cypher/rev5/config.h index d5998830a4..145d0fe0cf 100644 --- a/keyboards/westfoxtrot/cypher/rev5/config.h +++ b/keyboards/westfoxtrot/cypher/rev5/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | */ | 27 | */ |
| 28 | #define GRAVE_ESC_CTRL_OVERRIDE | 28 | #define GRAVE_ESC_CTRL_OVERRIDE |
| 29 | 29 | ||
| 30 | #define RGBLED_NUM 10 | ||
| 31 | #define RGBLIGHT_HUE_STEP 12 | 30 | #define RGBLIGHT_HUE_STEP 12 |
| 32 | #define RGBLIGHT_SAT_STEP 25 | 31 | #define RGBLIGHT_SAT_STEP 25 |
| 33 | #define RGBLIGHT_VAL_STEP 12 | 32 | #define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/westfoxtrot/cypher/rev5/info.json b/keyboards/westfoxtrot/cypher/rev5/info.json index df3a21dd8a..fa5a902748 100644 --- a/keyboards/westfoxtrot/cypher/rev5/info.json +++ b/keyboards/westfoxtrot/cypher/rev5/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "breathing": true | 17 | "breathing": true |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 10, | ||
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
| 22 | "ws2812": { | 23 | "ws2812": { |
diff --git a/keyboards/westm/westm68/rev1/config.h b/keyboards/westm/westm68/rev1/config.h index db711fcfd9..af49da747a 100644 --- a/keyboards/westm/westm68/rev1/config.h +++ b/keyboards/westm/westm68/rev1/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 16 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/westm/westm68/rev1/info.json b/keyboards/westm/westm68/rev1/info.json index 70c31e162b..c81abf2611 100644 --- a/keyboards/westm/westm68/rev1/info.json +++ b/keyboards/westm/westm68/rev1/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0x0101" | 3 | "pid": "0x0101" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 16 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "A8" | 9 | "pin": "A8" |
| 7 | } | 10 | } |
diff --git a/keyboards/westm/westm68/rev2/config.h b/keyboards/westm/westm68/rev2/config.h index db711fcfd9..af49da747a 100644 --- a/keyboards/westm/westm68/rev2/config.h +++ b/keyboards/westm/westm68/rev2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 16 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/westm/westm68/rev2/info.json b/keyboards/westm/westm68/rev2/info.json index 50711496d3..3bb3362a7d 100644 --- a/keyboards/westm/westm68/rev2/info.json +++ b/keyboards/westm/westm68/rev2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0x0102" | 3 | "pid": "0x0102" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 16 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "A8" | 9 | "pin": "A8" |
| 7 | } | 10 | } |
diff --git a/keyboards/westm/westm9/rev1/config.h b/keyboards/westm/westm9/rev1/config.h index 17de75167c..2985e7ec59 100644 --- a/keyboards/westm/westm9/rev1/config.h +++ b/keyboards/westm/westm9/rev1/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 14 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/westm/westm9/rev1/info.json b/keyboards/westm/westm9/rev1/info.json index 5986e5c1c8..06998fc670 100644 --- a/keyboards/westm/westm9/rev1/info.json +++ b/keyboards/westm/westm9/rev1/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0x0301" | 3 | "pid": "0x0301" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 14 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "F1" | 9 | "pin": "F1" |
| 7 | } | 10 | } |
diff --git a/keyboards/westm/westm9/rev2/config.h b/keyboards/westm/westm9/rev2/config.h index 17de75167c..2985e7ec59 100644 --- a/keyboards/westm/westm9/rev2/config.h +++ b/keyboards/westm/westm9/rev2/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 14 | ||
| 20 | #define RGBLIGHT_EFFECT_BREATHING | 19 | #define RGBLIGHT_EFFECT_BREATHING |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/westm/westm9/rev2/info.json b/keyboards/westm/westm9/rev2/info.json index faebf5d443..dfe9215991 100644 --- a/keyboards/westm/westm9/rev2/info.json +++ b/keyboards/westm/westm9/rev2/info.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "usb": { | 2 | "usb": { |
| 3 | "pid": "0x0302" | 3 | "pid": "0x0302" |
| 4 | }, | 4 | }, |
| 5 | "rgblight": { | ||
| 6 | "led_count": 14 | ||
| 7 | }, | ||
| 5 | "ws2812": { | 8 | "ws2812": { |
| 6 | "pin": "F1" | 9 | "pin": "F1" |
| 7 | } | 10 | } |
diff --git a/keyboards/westm/westmergo/config.h b/keyboards/westm/westmergo/config.h index 2b64827856..2470026c0a 100644 --- a/keyboards/westm/westmergo/config.h +++ b/keyboards/westm/westmergo/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | 26 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | 27 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | 28 | #define RGBLIGHT_EFFECT_TWINKLE |
| 29 | #define RGBLED_NUM 16 | ||
| 30 | 29 | ||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 31 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/westm/westmergo/info.json b/keyboards/westm/westmergo/info.json index 30e82dfad6..6b8ac58168 100644 --- a/keyboards/westm/westmergo/info.json +++ b/keyboards/westm/westmergo/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0201", | 8 | "pid": "0x0201", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 16 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A8" | 15 | "pin": "A8" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wilba_tech/wt70_jb/config.h b/keyboards/wilba_tech/wt70_jb/config.h index 914d9b2763..3408a65ee4 100644 --- a/keyboards/wilba_tech/wt70_jb/config.h +++ b/keyboards/wilba_tech/wt70_jb/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | #define LOCKING_RESYNC_ENABLE | 21 | #define LOCKING_RESYNC_ENABLE |
| 22 | 22 | ||
| 23 | // RGBLIGHT configuation | 23 | // RGBLIGHT configuation |
| 24 | #define RGBLED_NUM 2 | ||
| 25 | #define RGBLIGHT_HUE_STEP 8 | 24 | #define RGBLIGHT_HUE_STEP 8 |
| 26 | #define RGBLIGHT_SAT_STEP 8 | 25 | #define RGBLIGHT_SAT_STEP 8 |
| 27 | #define RGBLIGHT_VAL_STEP 8 | 26 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wilba_tech/wt70_jb/info.json b/keyboards/wilba_tech/wt70_jb/info.json index d750e86d90..b04b964090 100644 --- a/keyboards/wilba_tech/wt70_jb/info.json +++ b/keyboards/wilba_tech/wt70_jb/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x001F", | 8 | "pid": "0x001F", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 2 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B2" | 15 | "pin": "B2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h index b585802fb8..5ab439e574 100644 --- a/keyboards/winkeyless/b87/config.h +++ b/keyboards/winkeyless/b87/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 20 // Number of LEDs | ||
| 20 | // RGB effects | 19 | // RGB effects |
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json index 10b20c41c0..1b2e0f25c2 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 20 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index b7529e4311..e24f2037b0 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 16 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/info.json index 2d716a89c7..2b31d7c3ab 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index ddc21dae30..d849732a07 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 16 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/info.json index 2a18caeed4..10a51febc0 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "backlight": { | 16 | "backlight": { |
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 16 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "driver": "i2c" | 23 | "driver": "i2c" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index 116c09d6ac..d849732a07 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | |||
| 21 | #define RGBLED_NUM 20 | ||
| 22 | |||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/info.json index 03a8e408b5..24d205334c 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "D4", | 17 | "pin": "D4", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 20 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "driver": "i2c" | 24 | "driver": "i2c" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/winkeys/mini_winni/config.h b/keyboards/winkeys/mini_winni/config.h index 73844a7bc7..eadcfab244 100644 --- a/keyboards/winkeys/mini_winni/config.h +++ b/keyboards/winkeys/mini_winni/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define RGBLED_NUM 4 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/winkeys/mini_winni/info.json b/keyboards/winkeys/mini_winni/info.json index 7828dba468..139a50f320 100644 --- a/keyboards/winkeys/mini_winni/info.json +++ b/keyboards/winkeys/mini_winni/info.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | ["F6", "F7", "B6", "B5"] | 15 | ["F6", "F7", "B6", "B5"] |
| 16 | ] | 16 | ] |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | ||
| 19 | "led_count": 4 | ||
| 20 | }, | ||
| 18 | "ws2812": { | 21 | "ws2812": { |
| 19 | "pin": "E6" | 22 | "pin": "E6" |
| 20 | }, | 23 | }, |
diff --git a/keyboards/winry/winry25tc/config.h b/keyboards/winry/winry25tc/config.h index 98c540c876..231f392e4f 100644 --- a/keyboards/winry/winry25tc/config.h +++ b/keyboards/winry/winry25tc/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 40 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/winry/winry25tc/info.json b/keyboards/winry/winry25tc/info.json index 40768171e4..56157c2416 100644 --- a/keyboards/winry/winry25tc/info.json +++ b/keyboards/winry/winry25tc/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D5" | 12 | "pin": "D5" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 40, | ||
| 15 | "max_brightness": 150 | 16 | "max_brightness": 150 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/winry/winry315/config.h b/keyboards/winry/winry315/config.h index 7e29221156..ba3c2a05c1 100644 --- a/keyboards/winry/winry315/config.h +++ b/keyboards/winry/winry315/config.h | |||
| @@ -9,11 +9,6 @@ | |||
| 9 | 9 | ||
| 10 | // clang-format on | 10 | // clang-format on |
| 11 | 11 | ||
| 12 | // RGB LED parameters. | ||
| 13 | // This PCB uses a single chain of WS2812-compatible addressable RGB LEDs for | ||
| 14 | // per-key backlight and underglow. | ||
| 15 | #define RGBLED_NUM 27 | ||
| 16 | |||
| 17 | // RGB Lighting configuration. This mode is used by the vendor firmware, and | 12 | // RGB Lighting configuration. This mode is used by the vendor firmware, and |
| 18 | // can be chosen if the full RGB Matrix support is not desired for some reason. | 13 | // can be chosen if the full RGB Matrix support is not desired for some reason. |
| 19 | #ifdef RGBLIGHT_ENABLE | 14 | #ifdef RGBLIGHT_ENABLE |
| @@ -33,7 +28,7 @@ | |||
| 33 | 28 | ||
| 34 | // RGB Matrix configuration. | 29 | // RGB Matrix configuration. |
| 35 | #ifdef RGB_MATRIX_ENABLE | 30 | #ifdef RGB_MATRIX_ENABLE |
| 36 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 31 | # define RGB_MATRIX_LED_COUNT 27 |
| 37 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 | 32 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 |
| 38 | 33 | ||
| 39 | # define RGB_MATRIX_CENTER \ | 34 | # define RGB_MATRIX_CENTER \ |
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/info.json index 095dd429fd..7e810d229c 100644 --- a/keyboards/winry/winry315/info.json +++ b/keyboards/winry/winry315/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 27, | ||
| 15 | "max_brightness": 150, | 16 | "max_brightness": 150, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h index b241c19aac..1bc729f909 100644 --- a/keyboards/wolf/ts60/config.h +++ b/keyboards/wolf/ts60/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* Define RGB Underglow */ | 20 | /* Define RGB Underglow */ |
| 21 | #define RGBLED_NUM 16 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json index 49d9f59817..3719cb3bf7 100644 --- a/keyboards/wolf/ts60/info.json +++ b/keyboards/wolf/ts60/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 6 | 18 | "levels": 6 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 16, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/wolfmarkclub/wm1/config.h b/keyboards/wolfmarkclub/wm1/config.h index c1d3b49a07..cb3f35675c 100644 --- a/keyboards/wolfmarkclub/wm1/config.h +++ b/keyboards/wolfmarkclub/wm1/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/wolfmarkclub/wm1/info.json b/keyboards/wolfmarkclub/wm1/info.json index 87f7e1ebd0..832f313e7d 100644 --- a/keyboards/wolfmarkclub/wm1/info.json +++ b/keyboards/wolfmarkclub/wm1/info.json | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "led_count": 18, | ||
| 12 | "sleep": true | 13 | "sleep": true |
| 13 | }, | 14 | }, |
| 14 | "ws2812": { | 15 | "ws2812": { |
diff --git a/keyboards/woodkeys/bigseries/1key/config.h b/keyboards/woodkeys/bigseries/1key/config.h index d81dd8611b..1c7d931f6c 100755 --- a/keyboards/woodkeys/bigseries/1key/config.h +++ b/keyboards/woodkeys/bigseries/1key/config.h | |||
| @@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 5 | ||
| 37 | #endif | 36 | #endif |
diff --git a/keyboards/woodkeys/bigseries/1key/info.json b/keyboards/woodkeys/bigseries/1key/info.json index 1dd1e6fa0c..9eb49434d9 100644 --- a/keyboards/woodkeys/bigseries/1key/info.json +++ b/keyboards/woodkeys/bigseries/1key/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 5, | ||
| 15 | "max_brightness": 128 | 16 | "max_brightness": 128 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/woodkeys/bigseries/2key/config.h b/keyboards/woodkeys/bigseries/2key/config.h index ecb5649419..1c7d931f6c 100755 --- a/keyboards/woodkeys/bigseries/2key/config.h +++ b/keyboards/woodkeys/bigseries/2key/config.h | |||
| @@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 8 | ||
| 37 | #endif | 36 | #endif |
diff --git a/keyboards/woodkeys/bigseries/2key/info.json b/keyboards/woodkeys/bigseries/2key/info.json index a488fc1515..5d1b49144b 100644 --- a/keyboards/woodkeys/bigseries/2key/info.json +++ b/keyboards/woodkeys/bigseries/2key/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 8, | ||
| 15 | "max_brightness": 128 | 16 | "max_brightness": 128 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/woodkeys/bigseries/3key/config.h b/keyboards/woodkeys/bigseries/3key/config.h index a225c19d3a..1c7d931f6c 100755 --- a/keyboards/woodkeys/bigseries/3key/config.h +++ b/keyboards/woodkeys/bigseries/3key/config.h | |||
| @@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 11 | ||
| 37 | #endif | 36 | #endif |
diff --git a/keyboards/woodkeys/bigseries/3key/info.json b/keyboards/woodkeys/bigseries/3key/info.json index 0152a2ce04..a11ed9217f 100644 --- a/keyboards/woodkeys/bigseries/3key/info.json +++ b/keyboards/woodkeys/bigseries/3key/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 11, | ||
| 15 | "max_brightness": 128 | 16 | "max_brightness": 128 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/woodkeys/bigseries/4key/config.h b/keyboards/woodkeys/bigseries/4key/config.h index 02ed67b9cb..1c7d931f6c 100755 --- a/keyboards/woodkeys/bigseries/4key/config.h +++ b/keyboards/woodkeys/bigseries/4key/config.h | |||
| @@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 12 | ||
| 37 | #endif | 36 | #endif |
diff --git a/keyboards/woodkeys/bigseries/4key/info.json b/keyboards/woodkeys/bigseries/4key/info.json index e228efd54c..ee77da7eb8 100644 --- a/keyboards/woodkeys/bigseries/4key/info.json +++ b/keyboards/woodkeys/bigseries/4key/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "D3" | 12 | "pin": "D3" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 12, | ||
| 15 | "max_brightness": 128 | 16 | "max_brightness": 128 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/woodkeys/meira/config.h b/keyboards/woodkeys/meira/config.h index d5bdf9540c..3d10842a94 100644 --- a/keyboards/woodkeys/meira/config.h +++ b/keyboards/woodkeys/meira/config.h | |||
| @@ -26,7 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | //#define DIODE_DIRECTION | 26 | //#define DIODE_DIRECTION |
| 27 | 27 | ||
| 28 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} | 28 | #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} |
| 29 | |||
| 30 | #ifdef RGBLIGHT_ENABLE | ||
| 31 | #define RGBLED_NUM 15 // Number of LEDs | ||
| 32 | #endif | ||
diff --git a/keyboards/woodkeys/meira/info.json b/keyboards/woodkeys/meira/info.json index e39df58323..5905c00d2d 100644 --- a/keyboards/woodkeys/meira/info.json +++ b/keyboards/woodkeys/meira/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "driver": "custom", | 12 | "driver": "custom", |
| 13 | "levels": 10 | 13 | "levels": 10 |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 15 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "D3" | 19 | "pin": "D3" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/woodkeys/scarletbandana/config.h b/keyboards/woodkeys/scarletbandana/config.h index 3854dc8659..45b5100891 100644 --- a/keyboards/woodkeys/scarletbandana/config.h +++ b/keyboards/woodkeys/scarletbandana/config.h | |||
| @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | 28 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | 29 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | 30 | #define RGBLIGHT_EFFECT_TWINKLE |
| 31 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 32 | #endif | 31 | #endif |
| 33 | 32 | ||
| 34 | #ifdef AUDIO_ENABLE | 33 | #ifdef AUDIO_ENABLE |
diff --git a/keyboards/woodkeys/scarletbandana/info.json b/keyboards/woodkeys/scarletbandana/info.json index d74555a178..49177ea718 100644 --- a/keyboards/woodkeys/scarletbandana/info.json +++ b/keyboards/woodkeys/scarletbandana/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x6969", | 8 | "pid": "0x6969", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/work_louder/loop/rev1/config.h b/keyboards/work_louder/loop/rev1/config.h deleted file mode 100644 index 1bc02d08a6..0000000000 --- a/keyboards/work_louder/loop/rev1/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | # define RGBLED_NUM 24 | ||
diff --git a/keyboards/work_louder/loop/rev1/info.json b/keyboards/work_louder/loop/rev1/info.json index 90ac25f360..3caea9b338 100644 --- a/keyboards/work_louder/loop/rev1/info.json +++ b/keyboards/work_louder/loop/rev1/info.json | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | ||
| 5 | "rgblight": { | ||
| 6 | "led_count": 24 | ||
| 4 | } | 7 | } |
| 5 | } | 8 | } |
diff --git a/keyboards/work_louder/loop/rev3/config.h b/keyboards/work_louder/loop/rev3/config.h deleted file mode 100644 index 5451d4466e..0000000000 --- a/keyboards/work_louder/loop/rev3/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define RGBLED_NUM 11 | ||
diff --git a/keyboards/work_louder/loop/rev3/info.json b/keyboards/work_louder/loop/rev3/info.json index b377cdff00..603bca5c6a 100644 --- a/keyboards/work_louder/loop/rev3/info.json +++ b/keyboards/work_louder/loop/rev3/info.json | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.3" | 3 | "device_version": "0.0.3" |
| 4 | }, | ||
| 5 | "rgblight": { | ||
| 6 | "led_count": 11 | ||
| 4 | } | 7 | } |
| 5 | } | 8 | } |
diff --git a/keyboards/work_louder/nano/config.h b/keyboards/work_louder/nano/config.h index d7f8268e87..cf1e794634 100644 --- a/keyboards/work_louder/nano/config.h +++ b/keyboards/work_louder/nano/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLIGHT_DI_PIN C7 | 20 | #define RGBLIGHT_DI_PIN C7 |
| 21 | #define RGBLED_NUM 6 | ||
| 22 | //# define RGBLIGHT_HUE_STEP 8 | 21 | //# define RGBLIGHT_HUE_STEP 8 |
| 23 | //# define RGBLIGHT_SAT_STEP 8 | 22 | //# define RGBLIGHT_SAT_STEP 8 |
| 24 | //# define RGBLIGHT_VAL_STEP 8 | 23 | //# define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/work_louder/nano/info.json b/keyboards/work_louder/nano/info.json index c01e7c6805..5b95e7d2aa 100644 --- a/keyboards/work_louder/nano/info.json +++ b/keyboards/work_louder/nano/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | "pin": "F6" | 26 | "pin": "F6" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 6, | ||
| 29 | "max_brightness": 120, | 30 | "max_brightness": 120, |
| 30 | "sleep": true | 31 | "sleep": true |
| 31 | }, | 32 | }, |
diff --git a/keyboards/work_louder/work_board/rev1/config.h b/keyboards/work_louder/work_board/rev1/config.h deleted file mode 100644 index b7d85d490d..0000000000 --- a/keyboards/work_louder/work_board/rev1/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | # define RGBLED_NUM 26 | ||
diff --git a/keyboards/work_louder/work_board/rev1/info.json b/keyboards/work_louder/work_board/rev1/info.json index 90ac25f360..9884ca6e48 100644 --- a/keyboards/work_louder/work_board/rev1/info.json +++ b/keyboards/work_louder/work_board/rev1/info.json | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | ||
| 5 | "rgblight": { | ||
| 6 | "led_count": 26 | ||
| 4 | } | 7 | } |
| 5 | } | 8 | } |
diff --git a/keyboards/work_louder/work_board/rev3/config.h b/keyboards/work_louder/work_board/rev3/config.h deleted file mode 100644 index 8e3cd8bce8..0000000000 --- a/keyboards/work_louder/work_board/rev3/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define RGBLED_NUM 19 | ||
diff --git a/keyboards/work_louder/work_board/rev3/info.json b/keyboards/work_louder/work_board/rev3/info.json index b377cdff00..63e757dfe2 100644 --- a/keyboards/work_louder/work_board/rev3/info.json +++ b/keyboards/work_louder/work_board/rev3/info.json | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.3" | 3 | "device_version": "0.0.3" |
| 4 | }, | ||
| 5 | "rgblight": { | ||
| 6 | "led_count": 19 | ||
| 4 | } | 7 | } |
| 5 | } | 8 | } |
diff --git a/keyboards/wsk/alpha9/config.h b/keyboards/wsk/alpha9/config.h index defc0a92dc..1bb084c226 100644 --- a/keyboards/wsk/alpha9/config.h +++ b/keyboards/wsk/alpha9/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | # define RGBLIGHT_EFFECT_RGB_TEST | 32 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | # define RGBLIGHT_EFFECT_ALTERNATING | 33 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | # define RGBLIGHT_EFFECT_TWINKLE | 34 | # define RGBLIGHT_EFFECT_TWINKLE |
| 35 | # define RGBLED_NUM 5 | ||
| 36 | # define RGBLIGHT_HUE_STEP 8 | 35 | # define RGBLIGHT_HUE_STEP 8 |
| 37 | # define RGBLIGHT_SAT_STEP 8 | 36 | # define RGBLIGHT_SAT_STEP 8 |
| 38 | # define RGBLIGHT_VAL_STEP 8 | 37 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/alpha9/info.json b/keyboards/wsk/alpha9/info.json index 0b15863059..cfa9b7488d 100644 --- a/keyboards/wsk/alpha9/info.json +++ b/keyboards/wsk/alpha9/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "D3", | 17 | "caps_lock": "D3", |
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 5 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "F4" | 24 | "pin": "F4" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/wsk/g4m3ralpha/config.h b/keyboards/wsk/g4m3ralpha/config.h index a14f9dbde2..343448b6cd 100644 --- a/keyboards/wsk/g4m3ralpha/config.h +++ b/keyboards/wsk/g4m3ralpha/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 5 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/g4m3ralpha/info.json b/keyboards/wsk/g4m3ralpha/info.json index e9c24279f3..8fdcdb9b44 100644 --- a/keyboards/wsk/g4m3ralpha/info.json +++ b/keyboards/wsk/g4m3ralpha/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x56D9", | 8 | "pid": "0x56D9", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 5 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F4" | 15 | "pin": "F4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wsk/gothic50/config.h b/keyboards/wsk/gothic50/config.h index 541e19bece..ccbbb0f4e1 100644 --- a/keyboards/wsk/gothic50/config.h +++ b/keyboards/wsk/gothic50/config.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #define RGBLIGHT_EFFECT_RGB_TEST | 10 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 11 | #define RGBLIGHT_EFFECT_ALTERNATING | 11 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 12 | #define RGBLIGHT_EFFECT_TWINKLE | 12 | #define RGBLIGHT_EFFECT_TWINKLE |
| 13 | #define RGBLED_NUM 10 | ||
| 14 | #define RGBLIGHT_HUE_STEP 8 | 13 | #define RGBLIGHT_HUE_STEP 8 |
| 15 | #define RGBLIGHT_SAT_STEP 8 | 14 | #define RGBLIGHT_SAT_STEP 8 |
| 16 | #define RGBLIGHT_VAL_STEP 8 | 15 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/gothic50/info.json b/keyboards/wsk/gothic50/info.json index 8cc0971879..d4bfbea6cc 100644 --- a/keyboards/wsk/gothic50/info.json +++ b/keyboards/wsk/gothic50/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x04EF", | 8 | "pid": "0x04EF", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F7" | 15 | "pin": "F7" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wsk/gothic70/config.h b/keyboards/wsk/gothic70/config.h index b6ee3e9cc8..36b441723b 100644 --- a/keyboards/wsk/gothic70/config.h +++ b/keyboards/wsk/gothic70/config.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #define RGBLIGHT_EFFECT_RGB_TEST | 10 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 11 | #define RGBLIGHT_EFFECT_ALTERNATING | 11 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 12 | #define RGBLIGHT_EFFECT_TWINKLE | 12 | #define RGBLIGHT_EFFECT_TWINKLE |
| 13 | #define RGBLED_NUM 7 | ||
| 14 | #define RGBLIGHT_HUE_STEP 8 | 13 | #define RGBLIGHT_HUE_STEP 8 |
| 15 | #define RGBLIGHT_SAT_STEP 8 | 14 | #define RGBLIGHT_SAT_STEP 8 |
| 16 | #define RGBLIGHT_VAL_STEP 8 | 15 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/gothic70/info.json b/keyboards/wsk/gothic70/info.json index 06ee936ce7..668e9f3270 100644 --- a/keyboards/wsk/gothic70/info.json +++ b/keyboards/wsk/gothic70/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x63CC", | 8 | "pid": "0x63CC", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 7 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F4" | 15 | "pin": "F4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wsk/kodachi50/config.h b/keyboards/wsk/kodachi50/config.h index da4d3257a6..401de718c1 100644 --- a/keyboards/wsk/kodachi50/config.h +++ b/keyboards/wsk/kodachi50/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 10 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/kodachi50/info.json b/keyboards/wsk/kodachi50/info.json index b5d0f9459b..77296d5cdc 100644 --- a/keyboards/wsk/kodachi50/info.json +++ b/keyboards/wsk/kodachi50/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x72D4", | 8 | "pid": "0x72D4", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 10 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wsk/pain27/config.h b/keyboards/wsk/pain27/config.h index edc623d08f..401de718c1 100644 --- a/keyboards/wsk/pain27/config.h +++ b/keyboards/wsk/pain27/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 8 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/pain27/info.json b/keyboards/wsk/pain27/info.json index f542c999a1..da6cfd25c6 100644 --- a/keyboards/wsk/pain27/info.json +++ b/keyboards/wsk/pain27/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x9E8C", | 8 | "pid": "0x9E8C", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D1" | 15 | "pin": "D1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wsk/sl40/config.h b/keyboards/wsk/sl40/config.h index d33de62b5f..343448b6cd 100644 --- a/keyboards/wsk/sl40/config.h +++ b/keyboards/wsk/sl40/config.h | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 1 | ||
| 36 | #define RGBLIGHT_HUE_STEP 8 | 35 | #define RGBLIGHT_HUE_STEP 8 |
| 37 | #define RGBLIGHT_SAT_STEP 8 | 36 | #define RGBLIGHT_SAT_STEP 8 |
| 38 | #define RGBLIGHT_VAL_STEP 8 | 37 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/sl40/info.json b/keyboards/wsk/sl40/info.json index 09f5f98814..e107cdd777 100644 --- a/keyboards/wsk/sl40/info.json +++ b/keyboards/wsk/sl40/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xC456", | 8 | "pid": "0xC456", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F1" | 15 | "pin": "F1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wsk/tkl30/config.h b/keyboards/wsk/tkl30/config.h index 2dae864ddb..401de718c1 100644 --- a/keyboards/wsk/tkl30/config.h +++ b/keyboards/wsk/tkl30/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wsk/tkl30/info.json b/keyboards/wsk/tkl30/info.json index 1046556051..e39759a24c 100644 --- a/keyboards/wsk/tkl30/info.json +++ b/keyboards/wsk/tkl30/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0B7F", | 8 | "pid": "0x0B7F", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 1 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1" | 15 | "pin": "B1" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/wuque/creek70/config.h b/keyboards/wuque/creek70/config.h index 29616b4d05..d4bc94ce44 100644 --- a/keyboards/wuque/creek70/config.h +++ b/keyboards/wuque/creek70/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | # define RGBLED_NUM 7 | ||
| 20 | # define RGBLIGHT_HUE_STEP 8 | 19 | # define RGBLIGHT_HUE_STEP 8 |
| 21 | # define RGBLIGHT_SAT_STEP 8 | 20 | # define RGBLIGHT_SAT_STEP 8 |
| 22 | # define RGBLIGHT_VAL_STEP 8 | 21 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wuque/creek70/info.json b/keyboards/wuque/creek70/info.json index c7428d1d84..003077e651 100644 --- a/keyboards/wuque/creek70/info.json +++ b/keyboards/wuque/creek70/info.json | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | "pin": "D0" | 30 | "pin": "D0" |
| 31 | }, | 31 | }, |
| 32 | "rgblight": { | 32 | "rgblight": { |
| 33 | "led_count": 7, | ||
| 33 | "max_brightness": 200, | 34 | "max_brightness": 200, |
| 34 | "sleep": true | 35 | "sleep": true |
| 35 | }, | 36 | }, |
diff --git a/keyboards/wuque/ikki68/config.h b/keyboards/wuque/ikki68/config.h index 23a1397977..88def54534 100644 --- a/keyboards/wuque/ikki68/config.h +++ b/keyboards/wuque/ikki68/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 8 | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 28 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wuque/ikki68/info.json b/keyboards/wuque/ikki68/info.json index c20d7f5ebe..4c15f49bc8 100644 --- a/keyboards/wuque/ikki68/info.json +++ b/keyboards/wuque/ikki68/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "E2" | 12 | "pin": "E2" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 8, | ||
| 15 | "max_brightness": 200, | 16 | "max_brightness": 200, |
| 16 | "sleep": true | 17 | "sleep": true |
| 17 | }, | 18 | }, |
diff --git a/keyboards/wuque/ikki68_aurora/config.h b/keyboards/wuque/ikki68_aurora/config.h index 3dd3c81135..1d97814898 100644 --- a/keyboards/wuque/ikki68_aurora/config.h +++ b/keyboards/wuque/ikki68_aurora/config.h | |||
| @@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | 25 | ||
| 26 | #define RGBLED_NUM 20 | ||
| 27 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 28 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wuque/ikki68_aurora/info.json b/keyboards/wuque/ikki68_aurora/info.json index f070937822..37546909b5 100644 --- a/keyboards/wuque/ikki68_aurora/info.json +++ b/keyboards/wuque/ikki68_aurora/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E2" | 21 | "pin": "E2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 20, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/wuque/promise87/ansi/config.h b/keyboards/wuque/promise87/ansi/config.h index 2fc003611a..3ed379dc89 100644 --- a/keyboards/wuque/promise87/ansi/config.h +++ b/keyboards/wuque/promise87/ansi/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wuque/promise87/ansi/info.json b/keyboards/wuque/promise87/ansi/info.json index be6ac0e4bf..2d872cd03b 100644 --- a/keyboards/wuque/promise87/ansi/info.json +++ b/keyboards/wuque/promise87/ansi/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "D2" | 21 | "pin": "D2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 1, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/wuque/promise87/wkl/config.h b/keyboards/wuque/promise87/wkl/config.h index 2fc003611a..3ed379dc89 100644 --- a/keyboards/wuque/promise87/wkl/config.h +++ b/keyboards/wuque/promise87/wkl/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/wuque/promise87/wkl/info.json b/keyboards/wuque/promise87/wkl/info.json index e80cad677c..ff20de6bd0 100644 --- a/keyboards/wuque/promise87/wkl/info.json +++ b/keyboards/wuque/promise87/wkl/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "D2" | 21 | "pin": "D2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 1, | ||
| 24 | "max_brightness": 200, | 25 | "max_brightness": 200, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/xelus/akis/config.h b/keyboards/xelus/akis/config.h index ae0e692191..1c83936021 100644 --- a/keyboards/xelus/akis/config.h +++ b/keyboards/xelus/akis/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* RGB Lighting */ | 19 | /* RGB Lighting */ |
| 20 | #define RGBLED_NUM 23 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/xelus/akis/info.json b/keyboards/xelus/akis/info.json index 320ad9824b..c55e16f75e 100644 --- a/keyboards/xelus/akis/info.json +++ b/keyboards/xelus/akis/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xA04B", | 8 | "pid": "0xA04B", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 23 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B0" | 15 | "pin": "B0" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/xelus/ninjin/config.h b/keyboards/xelus/ninjin/config.h index a922b89dbf..5611293717 100644 --- a/keyboards/xelus/ninjin/config.h +++ b/keyboards/xelus/ninjin/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* RGB Underglow */ | 19 | /* RGB Underglow */ |
| 20 | #define RGBLED_NUM 26 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/xelus/ninjin/info.json b/keyboards/xelus/ninjin/info.json index 242362ab7e..f682e7d644 100644 --- a/keyboards/xelus/ninjin/info.json +++ b/keyboards/xelus/ninjin/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "driver": "pwm" | 13 | "driver": "pwm" |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 26, | ||
| 16 | "max_brightness": 200 | 17 | "max_brightness": 200 |
| 17 | }, | 18 | }, |
| 18 | "matrix_pins": { | 19 | "matrix_pins": { |
diff --git a/keyboards/xelus/valor/rev1/config.h b/keyboards/xelus/valor/rev1/config.h index c431ddad87..2a9944eaab 100644 --- a/keyboards/xelus/valor/rev1/config.h +++ b/keyboards/xelus/valor/rev1/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | /* RGB Underglow */ | 19 | /* RGB Underglow */ |
| 20 | #define RGBLED_NUM 28 | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | 20 | #define RGBLIGHT_EFFECT_BREATHING |
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/xelus/valor/rev1/info.json b/keyboards/xelus/valor/rev1/info.json index 2545fb24b0..b157de001a 100644 --- a/keyboards/xelus/valor/rev1/info.json +++ b/keyboards/xelus/valor/rev1/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "pin": "B0" | 12 | "pin": "B0" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 28, | ||
| 15 | "max_brightness": 200 | 16 | "max_brightness": 200 |
| 16 | }, | 17 | }, |
| 17 | "matrix_pins": { | 18 | "matrix_pins": { |
diff --git a/keyboards/xelus/valor/rev2/config.h b/keyboards/xelus/valor/rev2/config.h index cc63e70bb4..e5acad6f9c 100644 --- a/keyboards/xelus/valor/rev2/config.h +++ b/keyboards/xelus/valor/rev2/config.h | |||
| @@ -40,7 +40,6 @@ | |||
| 40 | #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191 | 40 | #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191 |
| 41 | 41 | ||
| 42 | /* RGB Matrix */ | 42 | /* RGB Matrix */ |
| 43 | #define RGBLED_NUM 28 | ||
| 44 | #define RGB_MATRIX_LED_COUNT 28 | 43 | #define RGB_MATRIX_LED_COUNT 28 |
| 45 | #define NOP_FUDGE 0.4 | 44 | #define NOP_FUDGE 0.4 |
| 46 | 45 | ||
diff --git a/keyboards/xelus/xs60/hotswap/config.h b/keyboards/xelus/xs60/hotswap/config.h index 242560c067..d1138c735d 100644 --- a/keyboards/xelus/xs60/hotswap/config.h +++ b/keyboards/xelus/xs60/hotswap/config.h | |||
| @@ -38,7 +38,6 @@ | |||
| 38 | #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191 | 38 | #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191 |
| 39 | 39 | ||
| 40 | // RGBLIGHT | 40 | // RGBLIGHT |
| 41 | #define RGBLED_NUM 8 // actually only has 1 | ||
| 42 | #define RGBLIGHT_LAYERS | 41 | #define RGBLIGHT_LAYERS |
| 43 | #define WS2812_EXTERNAL_PULLUP | 42 | #define WS2812_EXTERNAL_PULLUP |
| 44 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 43 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
diff --git a/keyboards/xelus/xs60/hotswap/info.json b/keyboards/xelus/xs60/hotswap/info.json index 4d6888f707..81cf86498b 100644 --- a/keyboards/xelus/xs60/hotswap/info.json +++ b/keyboards/xelus/xs60/hotswap/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5861", | 8 | "pid": "0x5861", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A10" | 15 | "pin": "A10" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/xelus/xs60/soldered/config.h b/keyboards/xelus/xs60/soldered/config.h index cbbdc49b12..4b7be4d441 100644 --- a/keyboards/xelus/xs60/soldered/config.h +++ b/keyboards/xelus/xs60/soldered/config.h | |||
| @@ -37,7 +37,6 @@ | |||
| 37 | // More EEPROM for layers | 37 | // More EEPROM for layers |
| 38 | 38 | ||
| 39 | // RGBLIGHT | 39 | // RGBLIGHT |
| 40 | #define RGBLED_NUM 8 // actually only has 1 | ||
| 41 | #define RGBLIGHT_LAYERS | 40 | #define RGBLIGHT_LAYERS |
| 42 | #define WS2812_EXTERNAL_PULLUP | 41 | #define WS2812_EXTERNAL_PULLUP |
| 43 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 42 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
diff --git a/keyboards/xelus/xs60/soldered/info.json b/keyboards/xelus/xs60/soldered/info.json index 6e540617c2..20de0ef837 100644 --- a/keyboards/xelus/xs60/soldered/info.json +++ b/keyboards/xelus/xs60/soldered/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x5860", | 8 | "pid": "0x5860", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "A10" | 15 | "pin": "A10" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/xiudi/xd002/config.h b/keyboards/xiudi/xd002/config.h index d442ee5762..0d0cd3712a 100644 --- a/keyboards/xiudi/xd002/config.h +++ b/keyboards/xiudi/xd002/config.h | |||
| @@ -15,8 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 2 | ||
| 19 | |||
| 20 | // Save as much space as we can... | 18 | // Save as much space as we can... |
| 21 | #define LAYER_STATE_8BIT | 19 | #define LAYER_STATE_8BIT |
| 22 | #define NO_ACTION_LAYER | 20 | #define NO_ACTION_LAYER |
diff --git a/keyboards/xiudi/xd002/info.json b/keyboards/xiudi/xd002/info.json index cce509be79..1e0b22f96b 100644 --- a/keyboards/xiudi/xd002/info.json +++ b/keyboards/xiudi/xd002/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0202", | 8 | "pid": "0x0202", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 2 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B2" | 15 | "pin": "B2" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/info.json index 597c5dc818..84a0e88642 100644 --- a/keyboards/xiudi/xd004/info.json +++ b/keyboards/xiudi/xd004/info.json | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | "pin": "D5", | 11 | "pin": "D5", |
| 12 | "levels": 6 | 12 | "levels": 6 |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | ||
| 15 | "led_count": 2 | ||
| 16 | }, | ||
| 14 | "ws2812": { | 17 | "ws2812": { |
| 15 | "pin": "C6" | 18 | "pin": "C6" |
| 16 | }, | 19 | }, |
diff --git a/keyboards/xiudi/xd004/v1/config.h b/keyboards/xiudi/xd004/v1/config.h index 823ba86358..56c2be55f5 100644 --- a/keyboards/xiudi/xd004/v1/config.h +++ b/keyboards/xiudi/xd004/v1/config.h | |||
| @@ -30,7 +30,6 @@ further optimizations can be done on that side. | |||
| 30 | */ | 30 | */ |
| 31 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 31 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 32 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
| 33 | #define RGBLED_NUM 2 | ||
| 34 | #define RGBLIGHT_HUE_STEP 10 | 33 | #define RGBLIGHT_HUE_STEP 10 |
| 35 | #define RGBLIGHT_SAT_STEP 17 | 34 | #define RGBLIGHT_SAT_STEP 17 |
| 36 | #define RGBLIGHT_VAL_STEP 17 | 35 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/xiudi/xd60/rev2/config.h b/keyboards/xiudi/xd60/rev2/config.h index 21efad0d81..2b79ba9d0d 100644 --- a/keyboards/xiudi/xd60/rev2/config.h +++ b/keyboards/xiudi/xd60/rev2/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 6 // Number of LEDs | ||
| 33 | #define RGBLIGHT_HUE_STEP 10 | 32 | #define RGBLIGHT_HUE_STEP 10 |
| 34 | #define RGBLIGHT_SAT_STEP 17 | 33 | #define RGBLIGHT_SAT_STEP 17 |
| 35 | #define RGBLIGHT_VAL_STEP 17 | 34 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/xiudi/xd60/rev2/info.json b/keyboards/xiudi/xd60/rev2/info.json index c45ef7af64..9c954df6b5 100644 --- a/keyboards/xiudi/xd60/rev2/info.json +++ b/keyboards/xiudi/xd60/rev2/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "levels": 6, | 13 | "levels": 6, |
| 14 | "on_state": 0 | 14 | "on_state": 0 |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | ||
| 17 | "led_count": 6 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "F6" | 20 | "pin": "F6" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/xiudi/xd60/rev3/config.h b/keyboards/xiudi/xd60/rev3/config.h index f8845d411f..1eb6ccf91b 100644 --- a/keyboards/xiudi/xd60/rev3/config.h +++ b/keyboards/xiudi/xd60/rev3/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 12 | ||
| 33 | #define RGBLIGHT_HUE_STEP 10 | 32 | #define RGBLIGHT_HUE_STEP 10 |
| 34 | #define RGBLIGHT_SAT_STEP 17 | 33 | #define RGBLIGHT_SAT_STEP 17 |
| 35 | #define RGBLIGHT_VAL_STEP 17 | 34 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/xiudi/xd60/rev3/info.json b/keyboards/xiudi/xd60/rev3/info.json index 68c97c0a9e..bc369db507 100644 --- a/keyboards/xiudi/xd60/rev3/info.json +++ b/keyboards/xiudi/xd60/rev3/info.json | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | "levels": 6, | 13 | "levels": 6, |
| 14 | "on_state": 0 | 14 | "on_state": 0 |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | ||
| 17 | "led_count": 12 | ||
| 18 | }, | ||
| 16 | "ws2812": { | 19 | "ws2812": { |
| 17 | "pin": "F6" | 20 | "pin": "F6" |
| 18 | }, | 21 | }, |
diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h index e62b98a12d..8c6cde9e27 100644 --- a/keyboards/xiudi/xd68/config.h +++ b/keyboards/xiudi/xd68/config.h | |||
| @@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 49 | #define RGBLIGHT_EFFECT_RGB_TEST | 49 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 50 | #define RGBLIGHT_EFFECT_ALTERNATING | 50 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 51 | #define RGBLIGHT_EFFECT_TWINKLE | 51 | #define RGBLIGHT_EFFECT_TWINKLE |
| 52 | #define RGBLED_NUM 12 // number of LEDs | ||
| 53 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | 52 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue |
| 54 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | 53 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation |
| 55 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | 54 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) |
diff --git a/keyboards/xiudi/xd68/info.json b/keyboards/xiudi/xd68/info.json index 0522a66e57..3bcb683565 100644 --- a/keyboards/xiudi/xd68/info.json +++ b/keyboards/xiudi/xd68/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "breathing": true, | 19 | "breathing": true, |
| 20 | "on_state": 0 | 20 | "on_state": 0 |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 12 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "pin": "F6" | 26 | "pin": "F6" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/xiudi/xd75/config.h b/keyboards/xiudi/xd75/config.h index eb79d2d772..6e2f2f6dc2 100644 --- a/keyboards/xiudi/xd75/config.h +++ b/keyboards/xiudi/xd75/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 6 | ||
| 21 | # define RGBLIGHT_HUE_STEP 12 | 20 | # define RGBLIGHT_HUE_STEP 12 |
| 22 | # define RGBLIGHT_SAT_STEP 25 | 21 | # define RGBLIGHT_SAT_STEP 25 |
| 23 | # define RGBLIGHT_VAL_STEP 12 | 22 | # define RGBLIGHT_VAL_STEP 12 |
diff --git a/keyboards/xiudi/xd75/info.json b/keyboards/xiudi/xd75/info.json index bc2e724214..c95ee8b70c 100644 --- a/keyboards/xiudi/xd75/info.json +++ b/keyboards/xiudi/xd75/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 6, | 18 | "levels": 6, |
| 19 | "on_state": 0 | 19 | "on_state": 0 |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 6 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "pin": "F6" | 25 | "pin": "F6" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/xiudi/xd84/config.h b/keyboards/xiudi/xd84/config.h index 42cce6f1c0..b8a8855723 100644 --- a/keyboards/xiudi/xd84/config.h +++ b/keyboards/xiudi/xd84/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | #define MATRIX_ROWS 6 | 21 | #define MATRIX_ROWS 6 |
| 22 | #define MATRIX_COLS 15 | 22 | #define MATRIX_COLS 15 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 7 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/xiudi/xd84/info.json b/keyboards/xiudi/xd84/info.json index f7bfaeaebd..6c79ba9aae 100644 --- a/keyboards/xiudi/xd84/info.json +++ b/keyboards/xiudi/xd84/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "B6", | 17 | "caps_lock": "B6", |
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 7 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "C7" | 24 | "pin": "C7" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h index 35f70798e5..b91af3c0dc 100644 --- a/keyboards/xiudi/xd84pro/config.h +++ b/keyboards/xiudi/xd84pro/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLED_NUM 12 | ||
| 20 | // #define RGBLIGHT_HUE_STEP 8 | 19 | // #define RGBLIGHT_HUE_STEP 8 |
| 21 | // #define RGBLIGHT_SAT_STEP 8 | 20 | // #define RGBLIGHT_SAT_STEP 8 |
| 22 | // #define RGBLIGHT_VAL_STEP 8 | 21 | // #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/info.json index ec03a4e002..1df9eccb0f 100644 --- a/keyboards/xiudi/xd84pro/info.json +++ b/keyboards/xiudi/xd84pro/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "on_state": 0 | 23 | "on_state": 0 |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 12, | ||
| 26 | "sleep": true | 27 | "sleep": true |
| 27 | }, | 28 | }, |
| 28 | "ws2812": { | 29 | "ws2812": { |
diff --git a/keyboards/xiudi/xd87/config.h b/keyboards/xiudi/xd87/config.h index d89929e9c8..e34283e800 100644 --- a/keyboards/xiudi/xd87/config.h +++ b/keyboards/xiudi/xd87/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 14 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/xiudi/xd87/info.json b/keyboards/xiudi/xd87/info.json index 5aa56a60e9..09a779be63 100644 --- a/keyboards/xiudi/xd87/info.json +++ b/keyboards/xiudi/xd87/info.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "caps_lock": "E2", | 21 | "caps_lock": "E2", |
| 22 | "on_state": 0 | 22 | "on_state": 0 |
| 23 | }, | 23 | }, |
| 24 | "rgblight": { | ||
| 25 | "led_count": 14 | ||
| 26 | }, | ||
| 24 | "ws2812": { | 27 | "ws2812": { |
| 25 | "pin": "B7" | 28 | "pin": "B7" |
| 26 | }, | 29 | }, |
diff --git a/keyboards/xiudi/xd96/config.h b/keyboards/xiudi/xd96/config.h index 5329d51483..229eb3e086 100644 --- a/keyboards/xiudi/xd96/config.h +++ b/keyboards/xiudi/xd96/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | #define MATRIX_ROWS 6 | 21 | #define MATRIX_ROWS 6 |
| 22 | #define MATRIX_COLS 18 | 22 | #define MATRIX_COLS 18 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 16 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/xiudi/xd96/info.json b/keyboards/xiudi/xd96/info.json index 5a04310130..44b797c04c 100644 --- a/keyboards/xiudi/xd96/info.json +++ b/keyboards/xiudi/xd96/info.json | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | "levels": 10 | 13 | "levels": 10 |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 16, | ||
| 16 | "max_brightness": 50 | 17 | "max_brightness": 50 |
| 17 | }, | 18 | }, |
| 18 | "indicators": { | 19 | "indicators": { |
diff --git a/keyboards/yampad/config.h b/keyboards/yampad/config.h index 6327578ebf..07fa2b40fa 100644 --- a/keyboards/yampad/config.h +++ b/keyboards/yampad/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* Underlight configuration */ | 20 | /* Underlight configuration */ |
| 21 | #define RGBLED_NUM 9 | ||
| 22 | #define RGBLIGHT_EFFECT_BREATHING | 21 | #define RGBLIGHT_EFFECT_BREATHING |
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/yampad/info.json b/keyboards/yampad/info.json index 54c363b28b..da0ed58f71 100644 --- a/keyboards/yampad/info.json +++ b/keyboards/yampad/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x8369", | 8 | "pid": "0x8369", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 9 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "F4" | 15 | "pin": "F4" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/yandrstudio/buff67v3/config.h b/keyboards/yandrstudio/buff67v3/config.h index 677e41a00d..218f2dc3a8 100644 --- a/keyboards/yandrstudio/buff67v3/config.h +++ b/keyboards/yandrstudio/buff67v3/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #ifdef RGBLIGHT_ENABLE | 18 | #ifdef RGBLIGHT_ENABLE |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 1 | ||
| 21 | # define RGBLIGHT_EFFECT_BREATHING | 20 | # define RGBLIGHT_EFFECT_BREATHING |
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 23 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/yandrstudio/buff67v3/info.json b/keyboards/yandrstudio/buff67v3/info.json index 69d4903bd6..d750cd6954 100644 --- a/keyboards/yandrstudio/buff67v3/info.json +++ b/keyboards/yandrstudio/buff67v3/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xAA88", | 6 | "pid": "0xAA88", |
| 7 | "device_version": "1.0.0" | 7 | "device_version": "1.0.0" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 1 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "B4", | 13 | "pin": "B4", |
| 11 | "driver": "pwm" | 14 | "driver": "pwm" |
diff --git a/keyboards/yandrstudio/eau_r2/config.h b/keyboards/yandrstudio/eau_r2/config.h index 7cd12d4b36..c66a3aae16 100644 --- a/keyboards/yandrstudio/eau_r2/config.h +++ b/keyboards/yandrstudio/eau_r2/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #ifdef RGBLIGHT_ENABLE | 18 | #ifdef RGBLIGHT_ENABLE |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 12 | ||
| 21 | # define RGBLIGHT_VAL_STEP 5 | 20 | # define RGBLIGHT_VAL_STEP 5 |
| 22 | 21 | ||
| 23 | # define RGBLIGHT_EFFECT_BREATHING | 22 | # define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/yandrstudio/eau_r2/info.json b/keyboards/yandrstudio/eau_r2/info.json index db91c290ec..c5ffdd4336 100644 --- a/keyboards/yandrstudio/eau_r2/info.json +++ b/keyboards/yandrstudio/eau_r2/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | "pin": "A8" | 15 | "pin": "A8" |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 12, | ||
| 18 | "max_brightness": 200, | 19 | "max_brightness": 200, |
| 19 | "sleep": true | 20 | "sleep": true |
| 20 | }, | 21 | }, |
diff --git a/keyboards/yandrstudio/nightstar75/config.h b/keyboards/yandrstudio/nightstar75/config.h index c6760befde..5d7aac48d9 100644 --- a/keyboards/yandrstudio/nightstar75/config.h +++ b/keyboards/yandrstudio/nightstar75/config.h | |||
| @@ -17,8 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #ifdef RGBLIGHT_ENABLE | 18 | #ifdef RGBLIGHT_ENABLE |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 4 | ||
| 21 | |||
| 22 | # define RGBLIGHT_EFFECT_BREATHING | 20 | # define RGBLIGHT_EFFECT_BREATHING |
| 23 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 24 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/yandrstudio/nightstar75/info.json b/keyboards/yandrstudio/nightstar75/info.json index 32d0e29263..c2ecd21eae 100644 --- a/keyboards/yandrstudio/nightstar75/info.json +++ b/keyboards/yandrstudio/nightstar75/info.json | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | "driver": "pwm" | 11 | "driver": "pwm" |
| 12 | }, | 12 | }, |
| 13 | "rgblight": { | 13 | "rgblight": { |
| 14 | "led_count": 4, | ||
| 14 | "max_brightness": 180 | 15 | "max_brightness": 180 |
| 15 | }, | 16 | }, |
| 16 | "matrix_pins": { | 17 | "matrix_pins": { |
diff --git a/keyboards/yandrstudio/nz64/config.h b/keyboards/yandrstudio/nz64/config.h index 5e4cdaaea0..4dceae6d87 100644 --- a/keyboards/yandrstudio/nz64/config.h +++ b/keyboards/yandrstudio/nz64/config.h | |||
| @@ -20,8 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | /* RGB Matrix */ | 21 | /* RGB Matrix */ |
| 22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 23 | # define RGBLED_NUM 82 | 23 | # define RGB_MATRIX_LED_COUNT 82 |
| 24 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 25 | 24 | ||
| 26 | # define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 | 25 | # define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 |
| 27 | # define WS2812_PWM_CHANNEL 2 // default: 2 | 26 | # define WS2812_PWM_CHANNEL 2 // default: 2 |
| @@ -87,9 +86,6 @@ | |||
| 87 | 86 | ||
| 88 | 87 | ||
| 89 | #ifdef RGBLIGHT_ENABLE | 88 | #ifdef RGBLIGHT_ENABLE |
| 90 | # define RGBLED_NUM 82 | ||
| 91 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 92 | |||
| 93 | # define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 | 89 | # define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 |
| 94 | # define WS2812_PWM_CHANNEL 2 // default: 2 | 90 | # define WS2812_PWM_CHANNEL 2 // default: 2 |
| 95 | # define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 | 91 | # define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 |
diff --git a/keyboards/yandrstudio/nz64/info.json b/keyboards/yandrstudio/nz64/info.json index 6c054018d1..332f940305 100644 --- a/keyboards/yandrstudio/nz64/info.json +++ b/keyboards/yandrstudio/nz64/info.json | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | "pid": "0xAAAF", | 4 | "pid": "0xAAAF", |
| 5 | "device_version": "1.0.0" | 5 | "device_version": "1.0.0" |
| 6 | }, | 6 | }, |
| 7 | "rgblight": { | ||
| 8 | "led_count": 82 | ||
| 9 | }, | ||
| 7 | "ws2812": { | 10 | "ws2812": { |
| 8 | "pin": "A7", | 11 | "pin": "A7", |
| 9 | "driver": "pwm" | 12 | "driver": "pwm" |
diff --git a/keyboards/yandrstudio/nz67v2/config.h b/keyboards/yandrstudio/nz67v2/config.h index 860ee45381..c7358c5b06 100644 --- a/keyboards/yandrstudio/nz67v2/config.h +++ b/keyboards/yandrstudio/nz67v2/config.h | |||
| @@ -21,8 +21,7 @@ | |||
| 21 | /* RGB Matrix */ | 21 | /* RGB Matrix */ |
| 22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
| 23 | 23 | ||
| 24 | # define RGBLED_NUM 86 | 24 | # define RGB_MATRIX_LED_COUNT 86 |
| 25 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 26 | 25 | ||
| 27 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 | 26 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 |
| 28 | # define RGBLIGHT_VAL_STEP 5 | 27 | # define RGBLIGHT_VAL_STEP 5 |
diff --git a/keyboards/yandrstudio/tg67/config.h b/keyboards/yandrstudio/tg67/config.h index 373b5bcbf9..afad099f44 100644 --- a/keyboards/yandrstudio/tg67/config.h +++ b/keyboards/yandrstudio/tg67/config.h | |||
| @@ -18,8 +18,7 @@ | |||
| 18 | /* RGB Matrix */ | 18 | /* RGB Matrix */ |
| 19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
| 20 | 20 | ||
| 21 | # define RGBLED_NUM 69 | 21 | # define RGB_MATRIX_LED_COUNT 69 |
| 22 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 23 | 22 | ||
| 24 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 250 | 23 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 250 |
| 25 | # define RGBLIGHT_VAL_STEP 5 | 24 | # define RGBLIGHT_VAL_STEP 5 |
diff --git a/keyboards/yandrstudio/yr6095/config.h b/keyboards/yandrstudio/yr6095/config.h index 74c8f4adce..40c148636f 100644 --- a/keyboards/yandrstudio/yr6095/config.h +++ b/keyboards/yandrstudio/yr6095/config.h | |||
| @@ -17,8 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | #ifdef RGBLIGHT_ENABLE | 18 | #ifdef RGBLIGHT_ENABLE |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 1 | ||
| 21 | |||
| 22 | # define RGBLIGHT_LAYERS | 20 | # define RGBLIGHT_LAYERS |
| 23 | # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 21 | # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 24 | # define RGBLIGHT_LAYERS_RETAIN_VAL | 22 | # define RGBLIGHT_LAYERS_RETAIN_VAL |
diff --git a/keyboards/yandrstudio/yr6095/info.json b/keyboards/yandrstudio/yr6095/info.json index 3ec826052c..77432a994c 100644 --- a/keyboards/yandrstudio/yr6095/info.json +++ b/keyboards/yandrstudio/yr6095/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xAA0C", | 6 | "pid": "0xAA0C", |
| 7 | "device_version": "1.0.0" | 7 | "device_version": "1.0.0" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 1 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "B5", | 13 | "pin": "B5", |
| 11 | "driver": "pwm" | 14 | "driver": "pwm" |
diff --git a/keyboards/yandrstudio/yr80/config.h b/keyboards/yandrstudio/yr80/config.h index 0e8602dee9..d2f6228308 100644 --- a/keyboards/yandrstudio/yr80/config.h +++ b/keyboards/yandrstudio/yr80/config.h | |||
| @@ -18,9 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | #ifdef RGBLIGHT_ENABLE | 19 | #ifdef RGBLIGHT_ENABLE |
| 20 | 20 | ||
| 21 | # define RGBLED_NUM 1 | ||
| 22 | # define DRIVER_LED_TOTAL RGBLED_NUM | ||
| 23 | |||
| 24 | # define RGBLIGHT_LAYERS | 21 | # define RGBLIGHT_LAYERS |
| 25 | # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | 22 | # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF |
| 26 | # define RGBLIGHT_LAYERS_RETAIN_VAL | 23 | # define RGBLIGHT_LAYERS_RETAIN_VAL |
diff --git a/keyboards/yandrstudio/yr80/info.json b/keyboards/yandrstudio/yr80/info.json index 7faaa482ef..3db1d88e26 100644 --- a/keyboards/yandrstudio/yr80/info.json +++ b/keyboards/yandrstudio/yr80/info.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "pid": "0xAA0D", | 6 | "pid": "0xAA0D", |
| 7 | "device_version": "1.0.0" | 7 | "device_version": "1.0.0" |
| 8 | }, | 8 | }, |
| 9 | "rgblight": { | ||
| 10 | "led_count": 1 | ||
| 11 | }, | ||
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "A7", | 13 | "pin": "A7", |
| 11 | "driver": "pwm" | 14 | "driver": "pwm" |
diff --git a/keyboards/yanghu/unicorne/config.h b/keyboards/yanghu/unicorne/config.h index 8a4ce9ec49..f443f8c554 100644 --- a/keyboards/yanghu/unicorne/config.h +++ b/keyboards/yanghu/unicorne/config.h | |||
| @@ -29,8 +29,6 @@ | |||
| 29 | #define AUDIO_PWM_CHANNEL 1 | 29 | #define AUDIO_PWM_CHANNEL 1 |
| 30 | 30 | ||
| 31 | /* RGB LED */ | 31 | /* RGB LED */ |
| 32 | #define RGBLED_NUM 8 | ||
| 33 | #define RGB_MATRIX_LED_COUNT RGBLED_NUM | ||
| 34 | #define RGBLIGHT_EFFECT_BREATHING | 32 | #define RGBLIGHT_EFFECT_BREATHING |
| 35 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 33 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 36 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 34 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/yanghu/unicorne/info.json b/keyboards/yanghu/unicorne/info.json index 52a703d219..9a6f4c9e80 100644 --- a/keyboards/yanghu/unicorne/info.json +++ b/keyboards/yanghu/unicorne/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0204", | 8 | "pid": "0x0204", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 8 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "B1", | 15 | "pin": "B1", |
| 13 | "driver": "pwm" | 16 | "driver": "pwm" |
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h index dd6631f545..363e1d894a 100644 --- a/keyboards/ydkb/chili/config.h +++ b/keyboards/ydkb/chili/config.h | |||
| @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | #define RGBLIGHT_EFFECT_RGB_TEST | 29 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 30 | #define RGBLIGHT_EFFECT_ALTERNATING | 30 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 31 | #define RGBLIGHT_EFFECT_TWINKLE | 31 | #define RGBLIGHT_EFFECT_TWINKLE |
| 32 | #define RGBLED_NUM 30 // Number of LEDs | ||
| 33 | #define RGBLIGHT_HUE_STEP 5 | 32 | #define RGBLIGHT_HUE_STEP 5 |
| 34 | #define RGBLIGHT_SAT_STEP 10 | 33 | #define RGBLIGHT_SAT_STEP 10 |
| 35 | #define RGBLIGHT_VAL_STEP 10 | 34 | #define RGBLIGHT_VAL_STEP 10 |
diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/info.json index 998f3073e1..786bdca276 100644 --- a/keyboards/ydkb/chili/info.json +++ b/keyboards/ydkb/chili/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 30 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B3" | 24 | "pin": "B3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h index 0d488de5d4..c0bea85aba 100644 --- a/keyboards/ydkb/grape/config.h +++ b/keyboards/ydkb/grape/config.h | |||
| @@ -24,10 +24,6 @@ | |||
| 24 | 24 | ||
| 25 | #define SN74X138_ADDRESS_PINS { D2, D1, D0 } | 25 | #define SN74X138_ADDRESS_PINS { D2, D1, D0 } |
| 26 | 26 | ||
| 27 | #ifdef RGBLIGHT_ENABLE | ||
| 28 | #define RGBLED_NUM 4 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
| 33 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/info.json index 17d2f88773..32c9914bdb 100644 --- a/keyboards/ydkb/grape/info.json +++ b/keyboards/ydkb/grape/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "pin": "B7", | 12 | "pin": "B7", |
| 13 | "breathing": true | 13 | "breathing": true |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 4 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "E6" | 19 | "pin": "E6" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/ydkb/yd68/config.h b/keyboards/ydkb/yd68/config.h index 9914803853..a4d55c248c 100644 --- a/keyboards/ydkb/yd68/config.h +++ b/keyboards/ydkb/yd68/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 10 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ydkb/yd68/info.json b/keyboards/ydkb/yd68/info.json index b552f9e2cf..6630ea403d 100644 --- a/keyboards/ydkb/yd68/info.json +++ b/keyboards/ydkb/yd68/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "caps_lock": "D4", | 17 | "caps_lock": "D4", |
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 10 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B3" | 24 | "pin": "B3" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/yeehaw/config.h b/keyboards/yeehaw/config.h index 19627f889f..d97ef93440 100644 --- a/keyboards/yeehaw/config.h +++ b/keyboards/yeehaw/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 7 | ||
| 19 | #define RGBLIGHT_HUE_STEP 8 | 18 | #define RGBLIGHT_HUE_STEP 8 |
| 20 | #define RGBLIGHT_SAT_STEP 8 | 19 | #define RGBLIGHT_SAT_STEP 8 |
| 21 | #define RGBLIGHT_VAL_STEP 8 | 20 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yeehaw/info.json b/keyboards/yeehaw/info.json index 24a1447bcd..16f9542a14 100644 --- a/keyboards/yeehaw/info.json +++ b/keyboards/yeehaw/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | ] | 14 | ] |
| 15 | }, | 15 | }, |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 7, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/ymdk/bface/config.h b/keyboards/ymdk/bface/config.h index 08303c4b13..816875f94a 100644 --- a/keyboards/ymdk/bface/config.h +++ b/keyboards/ymdk/bface/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 12 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/bface/info.json b/keyboards/ymdk/bface/info.json index 09441c5dbd..8e413c1702 100644 --- a/keyboards/ymdk/bface/info.json +++ b/keyboards/ymdk/bface/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "D4", | 17 | "pin": "D4", |
| 18 | "levels": 6 | 18 | "levels": 6 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 12 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "driver": "i2c" | 24 | "driver": "i2c" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/ymdk/melody96/config.h b/keyboards/ymdk/melody96/config.h index a62c64fb37..401de718c1 100644 --- a/keyboards/ymdk/melody96/config.h +++ b/keyboards/ymdk/melody96/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 18 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/melody96/info.json b/keyboards/ymdk/melody96/info.json index 83c45eaa6b..5903c2af6f 100644 --- a/keyboards/ymdk/melody96/info.json +++ b/keyboards/ymdk/melody96/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B6", | 17 | "pin": "B6", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 18 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h index 1d20ad110d..994e71507c 100644 --- a/keyboards/ymdk/np21/config.h +++ b/keyboards/ymdk/np21/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 5 | ||
| 21 | //#define RGBLIGHT_HUE_STEP 8 | 20 | //#define RGBLIGHT_HUE_STEP 8 |
| 22 | //#define RGBLIGHT_SAT_STEP 8 | 21 | //#define RGBLIGHT_SAT_STEP 8 |
| 23 | //#define RGBLIGHT_VAL_STEP 8 | 22 | //#define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/info.json index 62fdf7e20c..0e9f8a7a54 100644 --- a/keyboards/ymdk/np21/info.json +++ b/keyboards/ymdk/np21/info.json | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | "levels": 12, | 18 | "levels": 12, |
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | ||
| 22 | "led_count": 5 | ||
| 23 | }, | ||
| 21 | "ws2812": { | 24 | "ws2812": { |
| 22 | "driver": "i2c" | 25 | "driver": "i2c" |
| 23 | }, | 26 | }, |
diff --git a/keyboards/ymdk/np24/u4rgb6/config.h b/keyboards/ymdk/np24/u4rgb6/config.h index 0f6e31d199..d644169039 100644 --- a/keyboards/ymdk/np24/u4rgb6/config.h +++ b/keyboards/ymdk/np24/u4rgb6/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | # define RGBLED_NUM 6 | ||
| 19 | #define RGBLIGHT_EFFECT_BREATHING | 18 | #define RGBLIGHT_EFFECT_BREATHING |
| 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/info.json index 285baacdac..fcd7bf516d 100644 --- a/keyboards/ymdk/np24/u4rgb6/info.json +++ b/keyboards/ymdk/np24/u4rgb6/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "pin": "B7", | 16 | "pin": "B7", |
| 17 | "levels": 31 | 17 | "levels": 31 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 6 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "E2" | 23 | "pin": "E2" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/ymdk/sp64/config.h b/keyboards/ymdk/sp64/config.h index 8e3de2387d..18732f8ed6 100644 --- a/keyboards/ymdk/sp64/config.h +++ b/keyboards/ymdk/sp64/config.h | |||
| @@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define RIGHT_HALF | 24 | #define RIGHT_HALF |
| 25 | 25 | ||
| 26 | /* RGB underglow */ | 26 | /* RGB underglow */ |
| 27 | #define RGBLED_NUM 12 | ||
| 28 | #define RGBLIGHT_HUE_STEP 8 | 27 | #define RGBLIGHT_HUE_STEP 8 |
| 29 | #define RGBLIGHT_SAT_STEP 8 | 28 | #define RGBLIGHT_SAT_STEP 8 |
| 30 | #define RGBLIGHT_VAL_STEP 8 | 29 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/sp64/info.json b/keyboards/ymdk/sp64/info.json index b972d634f7..d0ca560e84 100644 --- a/keyboards/ymdk/sp64/info.json +++ b/keyboards/ymdk/sp64/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "driver": "i2c" | 17 | "driver": "i2c" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "max_brightness": 250, | 21 | "max_brightness": 250, |
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
diff --git a/keyboards/ymdk/wings/config.h b/keyboards/ymdk/wings/config.h index 30144bcdac..0d72c8464c 100644 --- a/keyboards/ymdk/wings/config.h +++ b/keyboards/ymdk/wings/config.h | |||
| @@ -15,7 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 15 | 15 | ||
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define RGBLED_NUM 14 | ||
| 19 | #define RGBLIGHT_EFFECT_BREATHING | 18 | #define RGBLIGHT_EFFECT_BREATHING |
| 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 19 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 20 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ymdk/wings/info.json b/keyboards/ymdk/wings/info.json index 19b7102dc0..971b8e743a 100644 --- a/keyboards/ymdk/wings/info.json +++ b/keyboards/ymdk/wings/info.json | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 14, | ||
| 21 | "sleep": true | 22 | "sleep": true |
| 22 | }, | 23 | }, |
| 23 | "ws2812": { | 24 | "ws2812": { |
diff --git a/keyboards/ymdk/wingshs/config.h b/keyboards/ymdk/wingshs/config.h index 4c691f9ff9..ef09c08a2c 100644 --- a/keyboards/ymdk/wingshs/config.h +++ b/keyboards/ymdk/wingshs/config.h | |||
| @@ -13,7 +13,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 13 | 13 | ||
| 14 | #pragma once | 14 | #pragma once |
| 15 | 15 | ||
| 16 | #define RGBLED_NUM 80 | ||
| 17 | #define RGBLIGHT_EFFECT_BREATHING | 16 | #define RGBLIGHT_EFFECT_BREATHING |
| 18 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 17 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 19 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 18 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ymdk/wingshs/info.json b/keyboards/ymdk/wingshs/info.json index 000051e7b0..a13c1a6950 100644 --- a/keyboards/ymdk/wingshs/info.json +++ b/keyboards/ymdk/wingshs/info.json | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | "pin": "E2" | 25 | "pin": "E2" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | 27 | "rgblight": { |
| 28 | "led_count": 80, | ||
| 28 | "max_brightness": 160, | 29 | "max_brightness": 160, |
| 29 | "sleep": true | 30 | "sleep": true |
| 30 | }, | 31 | }, |
diff --git a/keyboards/ymdk/yd60mq/12led/config.h b/keyboards/ymdk/yd60mq/12led/config.h deleted file mode 100644 index edea795f78..0000000000 --- a/keyboards/ymdk/yd60mq/12led/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 12 | ||
diff --git a/keyboards/ymdk/yd60mq/12led/info.json b/keyboards/ymdk/yd60mq/12led/info.json index 90ac25f360..2c9ef7320e 100644 --- a/keyboards/ymdk/yd60mq/12led/info.json +++ b/keyboards/ymdk/yd60mq/12led/info.json | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.1" | 3 | "device_version": "0.0.1" |
| 4 | }, | ||
| 5 | "rgblight": { | ||
| 6 | "led_count": 12 | ||
| 4 | } | 7 | } |
| 5 | } | 8 | } |
diff --git a/keyboards/ymdk/yd60mq/16led/config.h b/keyboards/ymdk/yd60mq/16led/config.h deleted file mode 100644 index 00d3fcfc8c..0000000000 --- a/keyboards/ymdk/yd60mq/16led/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define RGBLED_NUM 16 | ||
diff --git a/keyboards/ymdk/yd60mq/16led/info.json b/keyboards/ymdk/yd60mq/16led/info.json index e557e4d307..48f9a19f9b 100644 --- a/keyboards/ymdk/yd60mq/16led/info.json +++ b/keyboards/ymdk/yd60mq/16led/info.json | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | { | 1 | { |
| 2 | "usb": { | 2 | "usb": { |
| 3 | "device_version": "0.0.2" | 3 | "device_version": "0.0.2" |
| 4 | }, | ||
| 5 | "rgblight": { | ||
| 6 | "led_count": 16 | ||
| 4 | } | 7 | } |
| 5 | } | 8 | } |
diff --git a/keyboards/ymdk/yd60mq/config.h b/keyboards/ymdk/yd60mq/config.h index 135548b4ff..a8a0bb420a 100644 --- a/keyboards/ymdk/yd60mq/config.h +++ b/keyboards/ymdk/yd60mq/config.h | |||
| @@ -18,4 +18,3 @@ | |||
| 18 | #define RGBLIGHT_HUE_STEP 8 | 18 | #define RGBLIGHT_HUE_STEP 8 |
| 19 | #define RGBLIGHT_SAT_STEP 8 | 19 | #define RGBLIGHT_SAT_STEP 8 |
| 20 | #define RGBLIGHT_VAL_STEP 8 | 20 | #define RGBLIGHT_VAL_STEP 8 |
| 21 | // RGBLED_NUM is defined in revisions | ||
diff --git a/keyboards/ymdk/ym68/config.h b/keyboards/ymdk/ym68/config.h index 3d79d49cfa..0a5632e37b 100644 --- a/keyboards/ymdk/ym68/config.h +++ b/keyboards/ymdk/ym68/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | #define RGBLED_NUM 20 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/ym68/info.json b/keyboards/ymdk/ym68/info.json index a66ddd4e7c..96314a2707 100644 --- a/keyboards/ymdk/ym68/info.json +++ b/keyboards/ymdk/ym68/info.json | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | "breathing": true | 19 | "breathing": true |
| 20 | }, | 20 | }, |
| 21 | "rgblight": { | 21 | "rgblight": { |
| 22 | "led_count": 20, | ||
| 22 | "sleep": true | 23 | "sleep": true |
| 23 | }, | 24 | }, |
| 24 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/ymdk/ymd21/v2/config.h b/keyboards/ymdk/ymd21/v2/config.h index 8adc76dd6a..6936d591e2 100644 --- a/keyboards/ymdk/ymd21/v2/config.h +++ b/keyboards/ymdk/ymd21/v2/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/ymd21/v2/info.json b/keyboards/ymdk/ymd21/v2/info.json index 764bd9f002..5bd3f23bf5 100644 --- a/keyboards/ymdk/ymd21/v2/info.json +++ b/keyboards/ymdk/ymd21/v2/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E2" | 21 | "pin": "E2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 8, | ||
| 24 | "max_brightness": 180, | 25 | "max_brightness": 180, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h index cc789411e7..0a5632e37b 100644 --- a/keyboards/ymdk/ymd40/v2/config.h +++ b/keyboards/ymdk/ymd40/v2/config.h | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #if defined(RGBLIGHT_ENABLE) | 19 | #if defined(RGBLIGHT_ENABLE) |
| 20 | #define RGBLED_NUM 8 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json index 7fadfd2ab1..f5229eabc3 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | "pin": "E2" | 21 | "pin": "E2" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | 23 | "rgblight": { |
| 24 | "led_count": 8, | ||
| 24 | "max_brightness": 150, | 25 | "max_brightness": 150, |
| 25 | "sleep": true | 26 | "sleep": true |
| 26 | }, | 27 | }, |
diff --git a/keyboards/ymdk/ymd67/config.h b/keyboards/ymdk/ymd67/config.h index 8a3612b8a5..a8a0bb420a 100644 --- a/keyboards/ymdk/ymd67/config.h +++ b/keyboards/ymdk/ymd67/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #define RGBLIGHT_EFFECT_RGB_TEST | 15 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 16 | #define RGBLIGHT_EFFECT_ALTERNATING | 16 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 17 | #define RGBLIGHT_EFFECT_TWINKLE | 17 | #define RGBLIGHT_EFFECT_TWINKLE |
| 18 | #define RGBLED_NUM 12 | ||
| 19 | #define RGBLIGHT_HUE_STEP 8 | 18 | #define RGBLIGHT_HUE_STEP 8 |
| 20 | #define RGBLIGHT_SAT_STEP 8 | 19 | #define RGBLIGHT_SAT_STEP 8 |
| 21 | #define RGBLIGHT_VAL_STEP 8 | 20 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/ymdk/ymd67/info.json b/keyboards/ymdk/ymd67/info.json index 39801fe04e..9f93ba55ef 100644 --- a/keyboards/ymdk/ymd67/info.json +++ b/keyboards/ymdk/ymd67/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "B7", | 17 | "pin": "B7", |
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 12 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "E2" | 24 | "pin": "E2" |
| 22 | }, | 25 | }, |
diff --git a/keyboards/ymdk/ymd75/config.h b/keyboards/ymdk/ymd75/config.h index 32bdab2478..99e7ce428b 100644 --- a/keyboards/ymdk/ymd75/config.h +++ b/keyboards/ymdk/ymd75/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #pragma once | 20 | #pragma once |
| 21 | 21 | ||
| 22 | #define RGBLED_NUM 16 | ||
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 24 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ymdk/ymd75/info.json b/keyboards/ymdk/ymd75/info.json index 930139be90..9f6081ebae 100644 --- a/keyboards/ymdk/ymd75/info.json +++ b/keyboards/ymdk/ymd75/info.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | "vid": "0x20A0", | 7 | "vid": "0x20A0", |
| 8 | "pid": "0x422D" | 8 | "pid": "0x422D" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | ||
| 11 | "led_count": 16 | ||
| 12 | }, | ||
| 10 | "ws2812": { | 13 | "ws2812": { |
| 11 | "pin": "E2" | 14 | "pin": "E2" |
| 12 | }, | 15 | }, |
diff --git a/keyboards/ymdk/ymd96/config.h b/keyboards/ymdk/ymd96/config.h index ecb03b5917..f69fb22fc7 100644 --- a/keyboards/ymdk/ymd96/config.h +++ b/keyboards/ymdk/ymd96/config.h | |||
| @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define TAPPING_TOGGLE 3 | 22 | #define TAPPING_TOGGLE 3 |
| 23 | 23 | ||
| 24 | /* RGB underglow */ | 24 | /* RGB underglow */ |
| 25 | #define RGBLED_NUM 18 | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/ymdk/ymd96/info.json b/keyboards/ymdk/ymd96/info.json index f603439d39..ca123a3c52 100644 --- a/keyboards/ymdk/ymd96/info.json +++ b/keyboards/ymdk/ymd96/info.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "levels": 12, | 19 | "levels": 12, |
| 20 | "breathing": true | 20 | "breathing": true |
| 21 | }, | 21 | }, |
| 22 | "rgblight": { | ||
| 23 | "led_count": 18 | ||
| 24 | }, | ||
| 22 | "ws2812": { | 25 | "ws2812": { |
| 23 | "driver": "i2c" | 26 | "driver": "i2c" |
| 24 | }, | 27 | }, |
diff --git a/keyboards/yoichiro/lunakey_macro/config.h b/keyboards/yoichiro/lunakey_macro/config.h index f95770105c..defa45cca5 100644 --- a/keyboards/yoichiro/lunakey_macro/config.h +++ b/keyboards/yoichiro/lunakey_macro/config.h | |||
| @@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 30 | /* Layer Count */ | 30 | /* Layer Count */ |
| 31 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | 31 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 |
| 32 | 32 | ||
| 33 | #define RGBLED_NUM 5 | ||
| 34 | #define RGBLIGHT_HUE_STEP 8 | 33 | #define RGBLIGHT_HUE_STEP 8 |
| 35 | #define RGBLIGHT_SAT_STEP 8 | 34 | #define RGBLIGHT_SAT_STEP 8 |
| 36 | #define RGBLIGHT_VAL_STEP 8 | 35 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yoichiro/lunakey_macro/info.json b/keyboards/yoichiro/lunakey_macro/info.json index cd5323e45b..2e8ee32333 100644 --- a/keyboards/yoichiro/lunakey_macro/info.json +++ b/keyboards/yoichiro/lunakey_macro/info.json | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "led_count": 5, | ||
| 17 | "sleep": true | 18 | "sleep": true |
| 18 | }, | 19 | }, |
| 19 | "ws2812": { | 20 | "ws2812": { |
diff --git a/keyboards/yoichiro/lunakey_mini/config.h b/keyboards/yoichiro/lunakey_mini/config.h index fc14be0ffe..e5ff188046 100644 --- a/keyboards/yoichiro/lunakey_mini/config.h +++ b/keyboards/yoichiro/lunakey_mini/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 12 | ||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yoichiro/lunakey_mini/info.json b/keyboards/yoichiro/lunakey_mini/info.json index e550f9e241..4f3112d09f 100644 --- a/keyboards/yoichiro/lunakey_mini/info.json +++ b/keyboards/yoichiro/lunakey_mini/info.json | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 12, | ||
| 20 | "sleep": true, | 21 | "sleep": true, |
| 21 | "led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6], | 22 | "led_map": [0, 1, 2, 3, 4, 5, 11, 10, 9, 8, 7, 6], |
| 22 | "split_count": [6, 6] | 23 | "split_count": [6, 6] |
diff --git a/keyboards/yosino58/rev1/config.h b/keyboards/yosino58/rev1/config.h deleted file mode 100644 index 4930c35c60..0000000000 --- a/keyboards/yosino58/rev1/config.h +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | /* ws2812 RGB LED */ | ||
| 22 | #define RGBLED_NUM 12 // Number of LEDs | ||
| 23 | |||
| 24 | /* | ||
| 25 | * Feature disable options | ||
| 26 | * These options are also useful to firmware size reduction. | ||
| 27 | */ | ||
| 28 | |||
| 29 | /* disable debug print */ | ||
| 30 | // #define NO_DEBUG | ||
| 31 | |||
| 32 | /* disable print */ | ||
| 33 | // #define NO_PRINT | ||
| 34 | |||
| 35 | /* disable action features */ | ||
| 36 | //#define NO_ACTION_LAYER | ||
| 37 | //#define NO_ACTION_TAPPING | ||
| 38 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/yosino58/rev1/info.json b/keyboards/yosino58/rev1/info.json index 730c82faa4..c0dc03831f 100644 --- a/keyboards/yosino58/rev1/info.json +++ b/keyboards/yosino58/rev1/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "split": { | 16 | "split": { |
| 17 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 12 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "D3" | 23 | "pin": "D3" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/yushakobo/navpad/10/config.h b/keyboards/yushakobo/navpad/10/config.h index 5a60a76931..98776f87c2 100644 --- a/keyboards/yushakobo/navpad/10/config.h +++ b/keyboards/yushakobo/navpad/10/config.h | |||
| @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | # define RGBLED_NUM 9 | ||
| 21 | # define RGBLIGHT_HUE_STEP 8 | 20 | # define RGBLIGHT_HUE_STEP 8 |
| 22 | # define RGBLIGHT_SAT_STEP 8 | 21 | # define RGBLIGHT_SAT_STEP 8 |
| 23 | # define RGBLIGHT_VAL_STEP 8 | 22 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yushakobo/navpad/10/info.json b/keyboards/yushakobo/navpad/10/info.json index 77ef8c6c0a..6fce0d87f8 100644 --- a/keyboards/yushakobo/navpad/10/info.json +++ b/keyboards/yushakobo/navpad/10/info.json | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | "pin": "D3" | 16 | "pin": "D3" |
| 17 | }, | 17 | }, |
| 18 | "rgblight": { | 18 | "rgblight": { |
| 19 | "led_count": 9, | ||
| 19 | "max_brightness": 120, | 20 | "max_brightness": 120, |
| 20 | "sleep": true | 21 | "sleep": true |
| 21 | }, | 22 | }, |
diff --git a/keyboards/yushakobo/navpad/10_helix_r/config.h b/keyboards/yushakobo/navpad/10_helix_r/config.h index 431da219b0..70846564ac 100644 --- a/keyboards/yushakobo/navpad/10_helix_r/config.h +++ b/keyboards/yushakobo/navpad/10_helix_r/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define EE_HANDS | 20 | #define EE_HANDS |
| 21 | # define RGBLED_NUM 9+32 | ||
| 22 | # define RGBLIGHT_HUE_STEP 8 | 21 | # define RGBLIGHT_HUE_STEP 8 |
| 23 | # define RGBLIGHT_SAT_STEP 8 | 22 | # define RGBLIGHT_SAT_STEP 8 |
| 24 | # define RGBLIGHT_VAL_STEP 8 | 23 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yushakobo/navpad/10_helix_r/info.json b/keyboards/yushakobo/navpad/10_helix_r/info.json index fd3b221708..9ad9ecc08c 100644 --- a/keyboards/yushakobo/navpad/10_helix_r/info.json +++ b/keyboards/yushakobo/navpad/10_helix_r/info.json | |||
| @@ -38,6 +38,7 @@ | |||
| 38 | "pin": "D3" | 38 | "pin": "D3" |
| 39 | }, | 39 | }, |
| 40 | "rgblight": { | 40 | "rgblight": { |
| 41 | "led_count": 41, | ||
| 41 | "max_brightness": 120, | 42 | "max_brightness": 120, |
| 42 | "led_map": [0, 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14, 20, 19, 18, 17, 16, 15, 21, 22, 23, 24, 25, 26, 33, 32, 31, 30, 29, 28, 27, 34, 35, 36, 37, 38, 39, 40], | 43 | "led_map": [0, 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14, 20, 19, 18, 17, 16, 15, 21, 22, 23, 24, 25, 26, 33, 32, 31, 30, 29, 28, 27, 34, 35, 36, 37, 38, 39, 40], |
| 43 | "sleep": true, | 44 | "sleep": true, |
diff --git a/keyboards/yushakobo/quick17/config.h b/keyboards/yushakobo/quick17/config.h index 247151181c..a81fbb0dbe 100644 --- a/keyboards/yushakobo/quick17/config.h +++ b/keyboards/yushakobo/quick17/config.h | |||
| @@ -17,10 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLED_NUM 18 | ||
| 21 | |||
| 22 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
| 23 | # define RGB_MATRIX_LED_COUNT RGBLED_NUM | 21 | # define RGB_MATRIX_LED_COUNT 18 |
| 24 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 22 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 25 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 23 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
| 26 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 24 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
diff --git a/keyboards/yushakobo/quick17/info.json b/keyboards/yushakobo/quick17/info.json index ce8c77933a..3a0391dafd 100644 --- a/keyboards/yushakobo/quick17/info.json +++ b/keyboards/yushakobo/quick17/info.json | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | "driver": "WS2812" | 12 | "driver": "WS2812" |
| 13 | }, | 13 | }, |
| 14 | "rgblight": { | 14 | "rgblight": { |
| 15 | "led_count": 18, | ||
| 15 | "max_brightness": 150, | 16 | "max_brightness": 150, |
| 16 | "led_map": [6, 7, 12, 13, 14, 15, 16, 17, 11, 10, 9, 8, 0, 1, 2, 3, 4, 5] | 17 | "led_map": [6, 7, 12, 13, 14, 15, 16, 17, 11, 10, 9, 8, 0, 1, 2, 3, 4, 5] |
| 17 | }, | 18 | }, |
diff --git a/keyboards/yushakobo/quick7/config.h b/keyboards/yushakobo/quick7/config.h index c285c65ef4..0ec9f0c222 100644 --- a/keyboards/yushakobo/quick7/config.h +++ b/keyboards/yushakobo/quick7/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #ifdef RGBLIGHT_ENABLE | 20 | #ifdef RGBLIGHT_ENABLE |
| 21 | # define RGBLED_NUM 13 | ||
| 22 | # define RGBLIGHT_HUE_STEP 8 | 21 | # define RGBLIGHT_HUE_STEP 8 |
| 23 | # define RGBLIGHT_SAT_STEP 8 | 22 | # define RGBLIGHT_SAT_STEP 8 |
| 24 | # define RGBLIGHT_VAL_STEP 8 | 23 | # define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yushakobo/quick7/info.json b/keyboards/yushakobo/quick7/info.json index c877644479..44b2c0cc98 100644 --- a/keyboards/yushakobo/quick7/info.json +++ b/keyboards/yushakobo/quick7/info.json | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | ] | 15 | ] |
| 16 | }, | 16 | }, |
| 17 | "rgblight": { | 17 | "rgblight": { |
| 18 | "led_count": 13, | ||
| 18 | "sleep": true | 19 | "sleep": true |
| 19 | }, | 20 | }, |
| 20 | "ws2812": { | 21 | "ws2812": { |
diff --git a/keyboards/yynmt/dozen0/config.h b/keyboards/yynmt/dozen0/config.h index e94b19675f..124818c58c 100644 --- a/keyboards/yynmt/dozen0/config.h +++ b/keyboards/yynmt/dozen0/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 2 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yynmt/dozen0/info.json b/keyboards/yynmt/dozen0/info.json index 9a2417f039..1fca2d1aef 100644 --- a/keyboards/yynmt/dozen0/info.json +++ b/keyboards/yynmt/dozen0/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0xEA4F", | 8 | "pid": "0xEA4F", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 2 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/yynmt/kagamidget/config.h b/keyboards/yynmt/kagamidget/config.h index f50a2c72c3..124818c58c 100644 --- a/keyboards/yynmt/kagamidget/config.h +++ b/keyboards/yynmt/kagamidget/config.h | |||
| @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLED_NUM 4 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | 30 | #define RGBLIGHT_HUE_STEP 8 |
| 32 | #define RGBLIGHT_SAT_STEP 8 | 31 | #define RGBLIGHT_SAT_STEP 8 |
| 33 | #define RGBLIGHT_VAL_STEP 8 | 32 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/yynmt/kagamidget/info.json b/keyboards/yynmt/kagamidget/info.json index 4165c966bf..cd5541fbfa 100644 --- a/keyboards/yynmt/kagamidget/info.json +++ b/keyboards/yynmt/kagamidget/info.json | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | "pid": "0x0000", | 8 | "pid": "0x0000", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "rgblight": { | ||
| 12 | "led_count": 4 | ||
| 13 | }, | ||
| 11 | "ws2812": { | 14 | "ws2812": { |
| 12 | "pin": "D3" | 15 | "pin": "D3" |
| 13 | }, | 16 | }, |
diff --git a/keyboards/zfrontier/big_switch/config.h b/keyboards/zfrontier/big_switch/config.h index eecce57fe6..7e6e359cc9 100644 --- a/keyboards/zfrontier/big_switch/config.h +++ b/keyboards/zfrontier/big_switch/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* RGB light config */ | 20 | /* RGB light config */ |
| 21 | #define RGBLED_NUM 4 | ||
| 22 | #define RGBLIGHT_VAL_STEP 17 | 21 | #define RGBLIGHT_VAL_STEP 17 |
| 23 | #define RGBLIGHT_EFFECT_BREATHING | 22 | #define RGBLIGHT_EFFECT_BREATHING |
| 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 23 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/zfrontier/big_switch/info.json b/keyboards/zfrontier/big_switch/info.json index 02c40f6125..ac957c413c 100644 --- a/keyboards/zfrontier/big_switch/info.json +++ b/keyboards/zfrontier/big_switch/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "cols": ["F1"], | 12 | "cols": ["F1"], |
| 13 | "rows": ["F0"] | 13 | "rows": ["F0"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 4 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "B6" | 19 | "pin": "B6" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/zj68/config.h b/keyboards/zj68/config.h index eff7fc2d49..3ef8f33a53 100644 --- a/keyboards/zj68/config.h +++ b/keyboards/zj68/config.h | |||
| @@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | 33 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | 34 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | 35 | #define RGBLIGHT_EFFECT_TWINKLE |
| 36 | #define RGBLED_NUM 14 | ||
| 37 | #define RGBLIGHT_HUE_STEP 8 | 36 | #define RGBLIGHT_HUE_STEP 8 |
| 38 | #define RGBLIGHT_SAT_STEP 8 | 37 | #define RGBLIGHT_SAT_STEP 8 |
| 39 | #define RGBLIGHT_VAL_STEP 8 | 38 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/zj68/info.json b/keyboards/zj68/info.json index 6d0df4a0c5..f870c058c3 100644 --- a/keyboards/zj68/info.json +++ b/keyboards/zj68/info.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "pin": "B6", | 16 | "pin": "B6", |
| 17 | "levels": 5 | 17 | "levels": 5 |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | ||
| 20 | "led_count": 14 | ||
| 21 | }, | ||
| 19 | "ws2812": { | 22 | "ws2812": { |
| 20 | "pin": "E2" | 23 | "pin": "E2" |
| 21 | }, | 24 | }, |
diff --git a/keyboards/zlant/config.h b/keyboards/zlant/config.h index 8471167fcd..401de718c1 100755 --- a/keyboards/zlant/config.h +++ b/keyboards/zlant/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | #define RGBLIGHT_EFFECT_RGB_TEST | 16 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 17 | #define RGBLIGHT_EFFECT_ALTERNATING | 17 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 18 | #define RGBLIGHT_EFFECT_TWINKLE | 18 | #define RGBLIGHT_EFFECT_TWINKLE |
| 19 | #define RGBLED_NUM 12 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 19 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 20 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 21 | #define RGBLIGHT_VAL_STEP 8 |
diff --git a/keyboards/zlant/info.json b/keyboards/zlant/info.json index 9f01b09518..71e126b687 100644 --- a/keyboards/zlant/info.json +++ b/keyboards/zlant/info.json | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B7", "D1", "D2", "D3", "B3", "B2"], | 12 | "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B7", "D1", "D2", "D3", "B3", "B2"], |
| 13 | "rows": ["B0", "B1", "D4", "D5"] | 13 | "rows": ["B0", "B1", "D4", "D5"] |
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | ||
| 16 | "led_count": 12 | ||
| 17 | }, | ||
| 15 | "ws2812": { | 18 | "ws2812": { |
| 16 | "pin": "D6" | 19 | "pin": "D6" |
| 17 | }, | 20 | }, |
diff --git a/keyboards/zoo/wampus/config.h b/keyboards/zoo/wampus/config.h index 310b4f5756..2585ea23dd 100644 --- a/keyboards/zoo/wampus/config.h +++ b/keyboards/zoo/wampus/config.h | |||
| @@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define RGBLIGHT_EFFECT_RGB_TEST | 32 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | #define RGBLIGHT_EFFECT_ALTERNATING | 33 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | #define RGBLIGHT_EFFECT_TWINKLE | 34 | #define RGBLIGHT_EFFECT_TWINKLE |
| 35 | #define RGBLED_NUM 20 | ||
| 36 | // SPI RGB Driver | 35 | // SPI RGB Driver |
| 37 | #define WS2812_SPI SPID2 | 36 | #define WS2812_SPI SPID2 |
| 38 | #define WS2812_SPI_MOSI_PAL_MODE 0 | 37 | #define WS2812_SPI_MOSI_PAL_MODE 0 |
diff --git a/keyboards/zoo/wampus/info.json b/keyboards/zoo/wampus/info.json index ee3c3dfe47..8c02db1107 100644 --- a/keyboards/zoo/wampus/info.json +++ b/keyboards/zoo/wampus/info.json | |||
| @@ -17,6 +17,9 @@ | |||
| 17 | "pin": "A6", | 17 | "pin": "A6", |
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | ||
| 21 | "led_count": 20 | ||
| 22 | }, | ||
| 20 | "ws2812": { | 23 | "ws2812": { |
| 21 | "pin": "B15", | 24 | "pin": "B15", |
| 22 | "driver": "spi" | 25 | "driver": "spi" |
diff --git a/keyboards/zvecr/split_blackpill/config.h b/keyboards/zvecr/split_blackpill/config.h index ca2efbedc2..2b4df58197 100644 --- a/keyboards/zvecr/split_blackpill/config.h +++ b/keyboards/zvecr/split_blackpill/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define SPLIT_HAND_PIN B3 | 20 | #define SPLIT_HAND_PIN B3 |
| 21 | #define SELECT_SOFT_SERIAL_SPEED 0 | 21 | #define SELECT_SOFT_SERIAL_SPEED 0 |
| 22 | 22 | ||
| 23 | #define RGBLED_NUM 24 | ||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | 23 | #define RGBLIGHT_EFFECT_BREATHING |
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 24 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 25 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/zvecr/split_blackpill/info.json b/keyboards/zvecr/split_blackpill/info.json index a4265c688b..880a12bf4a 100644 --- a/keyboards/zvecr/split_blackpill/info.json +++ b/keyboards/zvecr/split_blackpill/info.json | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | } | 26 | } |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | 28 | "rgblight": { |
| 29 | "led_count": 24, | ||
| 29 | "split_count": [12, 12] | 30 | "split_count": [12, 12] |
| 30 | }, | 31 | }, |
| 31 | "ws2812": { | 32 | "ws2812": { |
diff --git a/keyboards/zvecr/zv48/config.h b/keyboards/zvecr/zv48/config.h index e18d3bfb99..9a46bbcc8e 100644 --- a/keyboards/zvecr/zv48/config.h +++ b/keyboards/zvecr/zv48/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | //#define SELECT_SOFT_SERIAL_SPEED 0 | 21 | //#define SELECT_SOFT_SERIAL_SPEED 0 |
| 22 | #define SERIAL_USART_SPEED 921600 | 22 | #define SERIAL_USART_SPEED 921600 |
| 23 | 23 | ||
| 24 | #define RGBLED_NUM 48 | ||
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/zvecr/zv48/info.json b/keyboards/zvecr/zv48/info.json index b0536d9284..d804d9ff44 100644 --- a/keyboards/zvecr/zv48/info.json +++ b/keyboards/zvecr/zv48/info.json | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | "driver": "pwm" | 23 | "driver": "pwm" |
| 24 | }, | 24 | }, |
| 25 | "rgblight": { | 25 | "rgblight": { |
| 26 | "led_count": 48, | ||
| 26 | "max_brightness": 120, | 27 | "max_brightness": 120, |
| 27 | "split_count": [24, 24] | 28 | "split_count": [24, 24] |
| 28 | }, | 29 | }, |
diff --git a/keyboards/zykrah/fuyu/config.h b/keyboards/zykrah/fuyu/config.h index 92fdcaa586..0f24dfe7e3 100644 --- a/keyboards/zykrah/fuyu/config.h +++ b/keyboards/zykrah/fuyu/config.h | |||
| @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | 26 | ||
| 27 | /* The number of LEDs connected (7 Snowflake, 34 Underglow) */ | 27 | /* The number of LEDs connected (7 Snowflake, 34 Underglow) */ |
| 28 | #define DRIVER_LED_TOTAL 41 | 28 | #define DRIVER_LED_TOTAL 41 |
| 29 | #define RGBLED_NUM 41 | ||
| 30 | #define RGB_MATRIX_LED_COUNT 41 | 29 | #define RGB_MATRIX_LED_COUNT 41 |
| 31 | 30 | ||
| 32 | /* Caps locks LED index default is 0 (LED1 on PCB) */ | 31 | /* Caps locks LED index default is 0 (LED1 on PCB) */ |
