Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
parent
7178645be7
commit
b1783db4ea
2160 changed files with 2194 additions and 2058 deletions
|
|
@ -34,4 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 14
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"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_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@
|
|||
"backlight": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@
|
|||
// #define RGBLIGHT_EFFECT_RGB_TEST
|
||||
// #define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 18
|
||||
#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": 18,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
|||
|
|
@ -86,7 +86,6 @@
|
|||
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
# define RGBLED_NUM 18
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 18,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 24
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
"pin": "E2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 24,
|
||||
"max_brightness": 185
|
||||
},
|
||||
"bootmagic": {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 81
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
"pin": "E2"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 81,
|
||||
"max_brightness": 180
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#define MATRIX_ROWS 8
|
||||
#define MATRIX_COLS 14
|
||||
|
||||
#define RGBLED_NUM 8
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"pin": "D4"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8,
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue