Move WS2812_DRIVER to data driven (#20248)

This commit is contained in:
Ryan
2023-03-26 18:22:12 +11:00
committed by GitHub
parent 7e54defa20
commit 36ce81df59
384 changed files with 583 additions and 211 deletions

View File

@@ -16,6 +16,9 @@
"backlight": {
"pin": "D2"
},
"ws2812": {
"driver": "i2c"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["planck_mit"],

View File

@@ -10,6 +10,5 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
WS2812_DRIVER = i2c
LAYOUTS_HAS_RGB = no

View File

@@ -11,6 +11,9 @@
"backlight": {
"pin": "D4"
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",

View File

@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = i2c
# custom matrix setup
CUSTOM_MATRIX = lite