Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(RGBLIGHT_ENABLE)
|
||||
# define RGBLED_NUM 2
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
#endif
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "B2", "pin_b": "B1"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 2
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "B2", "pin_b": "B1"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 2
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
|
||||
@@ -22,9 +22,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 10 // Number of LEDs
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 10
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F4"
|
||||
},
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLED_NUM 0
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -6,9 +6,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 4 // Number of LEDs
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "B3", "pin_b": "B2"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F7"
|
||||
},
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLED_NUM 18
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "B7", "pin_b": "D5"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 18
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
||||
@@ -21,9 +21,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 4 // Number of LEDs
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B3"
|
||||
},
|
||||
|
||||
@@ -30,4 +30,3 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 3
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0003",
|
||||
"device_version": "0.0.4"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 3
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B6"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user