summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/ymd40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk/ymd40')
-rw-r--r--keyboards/ymdk/ymd40/air40/air40.c2
-rw-r--r--keyboards/ymdk/ymd40/air40/air40.h79
-rw-r--r--keyboards/ymdk/ymd40/air40/config.h16
-rw-r--r--keyboards/ymdk/ymd40/air40/info.json475
-rw-r--r--keyboards/ymdk/ymd40/v2/config.h16
-rw-r--r--keyboards/ymdk/ymd40/v2/info.json475
-rw-r--r--keyboards/ymdk/ymd40/v2/v2.c17
-rw-r--r--keyboards/ymdk/ymd40/v2/v2.h79
8 files changed, 481 insertions, 678 deletions
diff --git a/keyboards/ymdk/ymd40/air40/air40.c b/keyboards/ymdk/ymd40/air40/air40.c
index 50e7ad9106..633b4943ff 100644
--- a/keyboards/ymdk/ymd40/air40/air40.c
+++ b/keyboards/ymdk/ymd40/air40/air40.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "air40.h"
+#include "quantum.h"
#if defined(RGB_MATRIX_ENABLE)
led_config_t g_led_config = {
diff --git a/keyboards/ymdk/ymd40/air40/air40.h b/keyboards/ymdk/ymd40/air40/air40.h
deleted file mode 100644
index d28f6d591a..0000000000
--- a/keyboards/ymdk/ymd40/air40/air40.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* Copyright 2021 James Young (@noroadsleft)
- *
- * 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_ortho_4x12( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_2x2u( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uR( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uL( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K36, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, KC_NO, K36, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uC( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
diff --git a/keyboards/ymdk/ymd40/air40/config.h b/keyboards/ymdk/ymd40/air40/config.h
index db792118da..4fcbc8421c 100644
--- a/keyboards/ymdk/ymd40/air40/config.h
+++ b/keyboards/ymdk/ymd40/air40/config.h
@@ -16,22 +16,6 @@
#pragma once
-
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define MATRIX_ROW_PINS { D0, B3, B2, B1 }
-#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
-
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN E2
#define RGB_MATRIX_LED_COUNT 51
#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/ymdk/ymd40/air40/info.json b/keyboards/ymdk/ymd40/air40/info.json
index 3920ff6a29..273c5e4a7a 100644
--- a/keyboards/ymdk/ymd40/air40/info.json
+++ b/keyboards/ymdk/ymd40/air40/info.json
@@ -8,277 +8,282 @@
"pid": "0x0911",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"],
+ "rows": ["D0", "B3", "B2", "B1"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3},
- {"label":"K36 (B1,F6)", "x":6, "y":3},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_2x2u": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3, "w":2},
- {"label":"K37 (B1,F7)", "x":6, "y":3, "w":2},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
+ {"matrix": [3, 7], "x": 6, "y": 3, "w": 2},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uR": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3},
- {"label":"K37 (B1,F7)", "x":6, "y":3, "w":2},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 7], "x": 6, "y": 3, "w": 2},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uL": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3, "w":2},
- {"label":"K36 (B1,F6)", "x":6, "y":3},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uC": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3, "w":2},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3, "w": 2},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
}
diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h
index 21a027eab4..a0b2e37f8f 100644
--- a/keyboards/ymdk/ymd40/v2/config.h
+++ b/keyboards/ymdk/ymd40/v2/config.h
@@ -16,22 +16,6 @@
#pragma once
-
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define MATRIX_ROW_PINS { D0, B3, B2, B1 }
-#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
-
-#define DIODE_DIRECTION COL2ROW
-
#if defined(RGBLIGHT_ENABLE)
#define RGB_DI_PIN E2
#define RGBLED_NUM 8
diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json
index 375f8c8480..7d28fcacaf 100644
--- a/keyboards/ymdk/ymd40/v2/info.json
+++ b/keyboards/ymdk/ymd40/v2/info.json
@@ -8,6 +8,11 @@
"pid": "0x4440",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"],
+ "rows": ["D0", "B3", "B2", "B1"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"breathing": true
@@ -18,272 +23,272 @@
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3},
- {"label":"K36 (B1,F6)", "x":6, "y":3},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_2x2u": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3, "w":2},
- {"label":"K37 (B1,F7)", "x":6, "y":3, "w":2},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
+ {"matrix": [3, 7], "x": 6, "y": 3, "w": 2},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uR": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3},
- {"label":"K37 (B1,F7)", "x":6, "y":3, "w":2},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 7], "x": 6, "y": 3, "w": 2},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uL": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3, "w":2},
- {"label":"K36 (B1,F6)", "x":6, "y":3},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uC": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3, "w":2},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3, "w": 2},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
}
diff --git a/keyboards/ymdk/ymd40/v2/v2.c b/keyboards/ymdk/ymd40/v2/v2.c
deleted file mode 100644
index 54450ccd15..0000000000
--- a/keyboards/ymdk/ymd40/v2/v2.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 James Young (@noroadsleft)
- *
- * 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/>.
- */
-
-#include "v2.h"
diff --git a/keyboards/ymdk/ymd40/v2/v2.h b/keyboards/ymdk/ymd40/v2/v2.h
deleted file mode 100644
index d28f6d591a..0000000000
--- a/keyboards/ymdk/ymd40/v2/v2.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* Copyright 2021 James Young (@noroadsleft)
- *
- * 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_ortho_4x12( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_2x2u( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uR( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uL( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K36, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, KC_NO, K36, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uC( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, KC_NO, K37, K38, K39, K3A, K3B }, \
-}