Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -95,7 +95,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 8
|
||||
#define RGBLIGHT_HUE_STEP 5
|
||||
#define RGBLIGHT_SAT_STEP 5
|
||||
#define RGBLIGHT_VAL_STEP 5
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 3
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"rows": ["D0", "D1", "D2", "D3"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"rgblight": {
|
||||
"led_count": 3
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
|
||||
@@ -15,9 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 2
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
|
||||
#define RGBLIGHT_VAL_STEP 25
|
||||
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 20
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x6C71",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 2
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
|
||||
@@ -18,8 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
|
||||
|
||||
#define SSD1306OLED
|
||||
|
||||
#define RGBLED_NUM 18
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGB_MATRIX_LED_COUNT 18
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
// For full list of effects, see:
|
||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
||||
|
||||
Reference in New Issue
Block a user