Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
"caps_lock": "B2",
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 20
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(RGBLIGHT_ENABLE)
|
||||
# define RGBLED_NUM 16
|
||||
# define RGBLIGHT_HUE_STEP 10
|
||||
# define RGBLIGHT_SAT_STEP 10
|
||||
# define RGBLIGHT_VAL_STEP 10
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"pin": "B6",
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLED_NUM 18
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 10
|
||||
#define RGBLIGHT_VAL_STEP 10
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
"scroll_lock": "B1",
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 18
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
|
||||
@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
/* RGB underglow */
|
||||
#define RGBLED_NUM 16
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
"backlight": {
|
||||
"pin": "D4"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 16
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 14
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 14
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"on_state": 0
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
Reference in New Issue
Block a user