mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2026-08-19 20:32:50 +01:00
Migrate RGB Matrix config to info.json - D (#22811)
This commit is contained in:
@@ -20,13 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_MATRIX_LED_COUNT 15
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
||||
#define RGB_MATRIX_DEFAULT_HUE 221
|
||||
#endif
|
||||
|
||||
#define I2C1_SCL_PIN B8
|
||||
#define I2C1_SDA_PIN B9
|
||||
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
"pin": "A10"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"default": {
|
||||
"animation": "solid_reactive_simple",
|
||||
"hue": 221
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 2], "x": 224, "y": 0, "flags": 4},
|
||||
|
||||
Reference in New Issue
Block a user