mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 12:46:41 +00:00
salicylic_acid3/setta21
: fix RGB Matrix LED config (#24041)
This commit is contained in:
parent
43fc7b5a4f
commit
031ccd4887
@ -41,7 +41,35 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812"
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 4], "x": 0, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 75, "y": 13, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 149, "y": 13, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 224, "y": 13, "flags": 4},
|
||||
|
||||
{"matrix": [2, 3], "x": 149, "y": 26, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 75, "y": 26, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 0, "y": 26, "flags": 4},
|
||||
|
||||
{"matrix": [0, 2], "x": 0, "y": 38, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 75, "y": 38, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 149, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 224, "y": 32, "flags": 4},
|
||||
|
||||
{"matrix": [2, 1], "x": 149, "y": 51, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 75, "y": 51, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 0, "y": 51, "flags": 4},
|
||||
|
||||
{"matrix": [0, 0], "x": 38, "y": 64, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 149, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 224, "y": 58, "flags": 4},
|
||||
|
||||
{"matrix": [3, 5], "x": 224, "y": 0, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 149, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 75, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 0, "y": 0, "flags": 4}
|
||||
]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"],
|
||||
|
@ -1,21 +0,0 @@
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ 14,13, 7, 6, 0,20 },
|
||||
{ 12, 8, 5, 1,19 },
|
||||
{ 15,11, 9, 4, 2,18 },
|
||||
{ 16, 10, 3,17 }
|
||||
}, {
|
||||
// LED Index to Physical Position
|
||||
{ 0, 179 }, { 21, 179 }, { 43, 179 }, { 64, 179 }, { 43, 134 }, { 21, 134 }, { 0, 134 }, { 0, 90 }, { 21, 90 }, { 43, 90 },
|
||||
{ 64, 112 }, { 43, 45 }, { 21, 45 }, { 0, 45 }, { 11, 0 }, { 43, 0 }, { 64, 23 }, { 64, 224 }, { 43, 224 }, { 21, 224 },
|
||||
{ 0, 224 }
|
||||
}, {
|
||||
// LED Index to Flag
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
4
|
||||
} };
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user