Move layouts for direct_pins boards to data driven (#19872)
This commit is contained in:
@@ -18,18 +18,18 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "F1", "x": 0, "y": 0 },
|
||||
{ "label": "F2", "x": 1, "y": 0 },
|
||||
{ "label": "F3", "x": 2, "y": 0 },
|
||||
{ "label": "F4", "x": 3, "y": 0 },
|
||||
{ "label": "F5", "x": 4, "y": 0 },
|
||||
{ "label": "F6", "x": 5, "y": 0 },
|
||||
{ "label": "F7", "x": 6, "y": 0 },
|
||||
{ "label": "F8", "x": 7, "y": 0 },
|
||||
{ "label": "F9", "x": 8, "y": 0 },
|
||||
{ "label": "F10", "x": 9, "y": 0 },
|
||||
{ "label": "F11", "x": 10, "y": 0 },
|
||||
{ "label": "F12", "x": 11, "y": 0 }
|
||||
{ "x": 0, "y": 0, "matrix": [0, 0] },
|
||||
{ "x": 1, "y": 0, "matrix": [0, 1] },
|
||||
{ "x": 2, "y": 0, "matrix": [0, 2] },
|
||||
{ "x": 3, "y": 0, "matrix": [0, 3] },
|
||||
{ "x": 4, "y": 0, "matrix": [0, 4] },
|
||||
{ "x": 5, "y": 0, "matrix": [0, 5] },
|
||||
{ "x": 6, "y": 0, "matrix": [0, 6] },
|
||||
{ "x": 7, "y": 0, "matrix": [0, 7] },
|
||||
{ "x": 8, "y": 0, "matrix": [0, 8] },
|
||||
{ "x": 9, "y": 0, "matrix": [0, 9] },
|
||||
{ "x": 10, "y": 0, "matrix": [0, 10] },
|
||||
{ "x": 11, "y": 0, "matrix": [0, 11] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "stick.h"
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
|
@@ -1,26 +0,0 @@
|
||||
/*
|
||||
Copyright 2021 Danny Nguyen <danny@keeb.io>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 \
|
||||
) { \
|
||||
{A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12} \
|
||||
}
|
Reference in New Issue
Block a user