Move layouts for direct_pins boards to data driven (#19872)

This commit is contained in:
Ryan
2023-02-19 18:55:12 +11:00
committed by GitHub
parent 2222836f09
commit e837a32b2b
231 changed files with 965 additions and 3523 deletions

View File

@@ -1,4 +0,0 @@
// Copyright 2021 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "bamfk1.h"

View File

@@ -1,14 +0,0 @@
// Copyright 2021 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"
#define LAYOUT( \
k00, e01, e02, \
e01a, e01b, e02a, e02b \
) { \
{ k00, e01, e02, KC_NO }, \
{ e01a, e01b, e02a, e02b } \
}

View File

@@ -19,14 +19,14 @@
"layouts": {
"LAYOUT": {
"layout": [
{"label": "k00", "x": 1.5, "y": 0, "h":2, "w": 2},
{"label": "k01", "x": 0.5, "y": 2.25},
{"label": "k02", "x": 3.5, "y": 2.25},
{"x": 1.5, "y": 0, "h":2, "w": 2, "matrix": [0, 0]},
{"x": 0.5, "y": 2.25, "matrix": [0, 1]},
{"x": 3.5, "y": 2.25, "matrix": [0, 2]},
{"label": "k10", "x": 0, "y": 3.5},
{"label": "k11", "x": 1, "y": 3.5},
{"label": "k12", "x": 3, "y": 3.5},
{"label": "k13", "x": 4, "y": 3.5}
{"x": 0, "y": 3.5, "matrix": [1, 0]},
{"x": 1, "y": 3.5, "matrix": [1, 1]},
{"x": 3, "y": 3.5, "matrix": [1, 2]},
{"x": 4, "y": 3.5, "matrix": [1, 3]}
]
}
}