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

@@ -17,6 +17,9 @@
"pin": "D4",
"levels": 6
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "D1"
},

View File

@@ -8,4 +8,3 @@ CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = i2c

View File

@@ -17,6 +17,9 @@
"levels": 12,
"breathing": true
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"num_lock": "D0"
},

View File

@@ -8,4 +8,3 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = i2c

View File

@@ -13,6 +13,9 @@
"num_lock": "D0",
"scroll_lock": "D6"
},
"ws2812": {
"driver": "i2c"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {

View File

@@ -13,8 +13,5 @@ AUDIO_SUPPORTED = no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
CUSTOM_MATRIX = yes
# Needed for underglow
WS2812_DRIVER = i2c
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

View File

@@ -11,6 +11,9 @@
"pin": "D4",
"levels": 12
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "D1"
},

View File

@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = i2c
NKRO_ENABLE = no # Enable N-Key Rollover
KEY_LOCK_ENABLE = yes

View File

@@ -11,6 +11,9 @@
"pin": "D4",
"levels": 12
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "D1"
},

View File

@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = i2c
NKRO_ENABLE = no # Enable N-Key Rollover
KEY_LOCK_ENABLE = yes

View File

@@ -18,6 +18,9 @@
"levels": 12,
"breathing": true
},
"ws2812": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",

View File

@@ -10,6 +10,5 @@ COMMAND_ENABLE = no
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = i2c
KEY_LOCK_ENABLE = yes