diff options
author | Joel Challis <[email protected]> | 2024-01-16 01:16:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-16 01:16:31 +0000 |
commit | e1f59a6efc793522155db35155f6fbdc0504d504 (patch) | |
tree | 07538fce2ce1f3c6a49895a8e04864615f6490ab /keyboards/tzarc | |
parent | e30d0e52871ce46e6f94d5535c1d60aa75668fe5 (diff) | |
download | qmk_firmware-e1f59a6efc793522155db35155f6fbdc0504d504.tar.gz qmk_firmware-e1f59a6efc793522155db35155f6fbdc0504d504.zip |
Migrate RGB Matrix config to info.json - TUVW (#22910)
Diffstat (limited to 'keyboards/tzarc')
-rw-r--r-- | keyboards/tzarc/djinn/rev1/config.h | 3 | ||||
-rw-r--r-- | keyboards/tzarc/djinn/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/tzarc/djinn/rev2/config.h | 3 | ||||
-rw-r--r-- | keyboards/tzarc/djinn/rev2/info.json | 3 | ||||
-rw-r--r-- | keyboards/tzarc/ghoul/config.h | 3 |
5 files changed, 4 insertions, 11 deletions
diff --git a/keyboards/tzarc/djinn/rev1/config.h b/keyboards/tzarc/djinn/rev1/config.h index cdcabed05c..7c8dc042f3 100644 --- a/keyboards/tzarc/djinn/rev1/config.h +++ b/keyboards/tzarc/djinn/rev1/config.h @@ -14,9 +14,6 @@ #endif // SERIAL_USART_SPEED // RGB configuration -#define RGB_MATRIX_LED_COUNT 84 -#define RGB_MATRIX_SPLIT \ - { 42, 42 } #define RGB_POWER_ENABLE_PIN B1 #define RGB_CURR_1500mA_OK_PIN B0 #define RGB_CURR_3000mA_OK_PIN C5 diff --git a/keyboards/tzarc/djinn/rev1/info.json b/keyboards/tzarc/djinn/rev1/info.json index 8a77a0fdc1..a0422dea93 100644 --- a/keyboards/tzarc/djinn/rev1/info.json +++ b/keyboards/tzarc/djinn/rev1/info.json @@ -97,6 +97,7 @@ {"flags": 4, "matrix": [6, 4], "x": 120, "y": 30}, {"flags": 4, "matrix": [6, 5], "x": 94, "y": 30}, {"flags": 4, "matrix": [6, 6], "x": 68, "y": 30} - ] + ], + "split_count": [42, 42] } } diff --git a/keyboards/tzarc/djinn/rev2/config.h b/keyboards/tzarc/djinn/rev2/config.h index 00a893ff65..bc7fcb3712 100644 --- a/keyboards/tzarc/djinn/rev2/config.h +++ b/keyboards/tzarc/djinn/rev2/config.h @@ -17,9 +17,6 @@ #define SERIAL_USART_FULL_DUPLEX // RGB configuration -#define RGB_MATRIX_LED_COUNT 86 -#define RGB_MATRIX_SPLIT \ - { 43, 43 } #define RGB_POWER_ENABLE_PIN B0 #define RGB_CURR_1500mA_OK_PIN C5 #define RGB_CURR_3000mA_OK_PIN C4 diff --git a/keyboards/tzarc/djinn/rev2/info.json b/keyboards/tzarc/djinn/rev2/info.json index a8716209ea..33db91971e 100644 --- a/keyboards/tzarc/djinn/rev2/info.json +++ b/keyboards/tzarc/djinn/rev2/info.json @@ -98,6 +98,7 @@ {"flags": 4, "matrix": [6, 4], "x": 120, "y": 30}, {"flags": 4, "matrix": [6, 5], "x": 94, "y": 30}, {"flags": 4, "matrix": [6, 6], "x": 68, "y": 30} - ] + ], + "split_count": [43, 43] } } diff --git a/keyboards/tzarc/ghoul/config.h b/keyboards/tzarc/ghoul/config.h index 402f14cd92..4709151e8d 100644 --- a/keyboards/tzarc/ghoul/config.h +++ b/keyboards/tzarc/ghoul/config.h @@ -9,6 +9,3 @@ // EEPROM configuration #define EEPROM_SPI_MB85RS64V - -// RGB configuration -#define RGB_MATRIX_LED_COUNT 40 |