Move RGB_MATRIX_DRIVER
to data driven (#20350)
This commit is contained in:
parent
10fc6c4cd6
commit
522048725f
833 changed files with 1250 additions and 437 deletions
|
@ -10,6 +10,9 @@
|
|||
"pid": "0x000A",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B7"]
|
||||
|
|
|
@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
|
|||
LTO_ENABLE = yes # Use LTO flags to reduce firmware size
|
||||
|
||||
RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE)
|
||||
RGB_MATRIX_DRIVER = WS2812 # RGB matrix driver support
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
"pid": "0x0428",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B7"]
|
||||
|
|
|
@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
|
|||
LTO_ENABLE = yes # Use LTO flags to reduce firmware size
|
||||
|
||||
RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE)
|
||||
RGB_MATRIX_DRIVER = WS2812 # RGB matrix driver support
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN B9
|
||||
#define RGB_MATRIX_LED_COUNT 14
|
||||
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
},
|
||||
"processor": "STM32F103",
|
||||
"ws2812": {
|
||||
"pin": "B9",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue