Migrate RGB Matrix config to info.json - C (#22807)
This commit is contained in:
parent
c412b7fc42
commit
a5f1438f58
25 changed files with 211 additions and 330 deletions
|
@ -17,8 +17,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGB_MATRIX_LED_COUNT 42
|
||||
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define SPI_MISO_PIN GP16
|
||||
|
@ -28,4 +26,4 @@
|
|||
#define CIRQUE_PINNACLE_ATTENUATION EXTREG__TRACK_ADCCONFIG__ADC_ATTENUATE_1X
|
||||
#define CIRQUE_PINNACLE_POSITION_MODE CIRQUE_PINNACLE_RELATIVE_MODE
|
||||
#define CIRQUE_PINNACLE_TAP_ENABLE
|
||||
#define CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE
|
||||
#define CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
#pragma once
|
||||
|
||||
#define WS2812_PIO_USE_PIO1
|
||||
#define RGB_MATRIX_LED_COUNT 48
|
||||
#define RGB_MATRIX_SPLIT \
|
||||
{ 24, 24 }
|
||||
|
||||
#define I2C_DRIVER I2CD0
|
||||
#define I2C1_SCL_PIN GP25
|
||||
|
|
|
@ -111,7 +111,8 @@
|
|||
{"flags": 4, "matrix": [6, 4], "x": 217, "y": 41},
|
||||
{"flags": 4, "matrix": [5, 4], "x": 217, "y": 24},
|
||||
{"flags": 4, "matrix": [4, 4], "x": 217, "y": 7}
|
||||
]
|
||||
],
|
||||
"split_count": [24, 24]
|
||||
},
|
||||
"community_layouts": ["split_3x5_3"],
|
||||
"layouts": {
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#pragma once
|
||||
|
||||
#define WS2812_PIO_USE_PIO1
|
||||
#define RGB_MATRIX_LED_COUNT 54
|
||||
|
||||
#undef I2C_DRIVER
|
||||
#define I2C_DRIVER I2CD0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue