Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
|
||||
#define RGBLED_NUM 8
|
||||
#endif
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "F4", "pin_b": "F5"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D4"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user