1
0
Fork 0

Migrate RGB Matrix config to info.json - A (#22798)

This commit is contained in:
Joel Challis 2024-01-02 03:05:08 +00:00 committed by GitHub
parent 0a6913b682
commit 60f0132bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 458 additions and 618 deletions

View file

@ -16,31 +16,6 @@
#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
#define NA NO_LED
/* RGB Positioning */
led_config_t g_led_config = { {
{ NA, NA, NA },
{ 0, 1, 2 },
{ 3, 4, 5 },
{ 6, 7, 8 },
{ 9, 10, 11 }
}, {
{ 0, 0 }, { 112, 0 }, { 224, 0},
{ 0, 21 }, { 112, 21 }, { 224, 21},
{ 0, 42 }, { 112, 42 }, { 224, 42},
{ 0, 64 }, { 112, 64 }, { 224, 64}
}, {
4, 4, 4,
4, 4, 4,
4, 4, 4,
4, 4, 4
} };
#endif
#ifdef AUDIO_ENABLE
void keyboard_pre_init_kb(void) {
// ensure pin is set and enabled pre-audio init