From 23c365b023e409885e6f201f12df56e5145dde47 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 6 Mar 2023 09:53:52 +1100 Subject: Move matrix config to info.json, part 1 (#19985) --- keyboards/ymdk/ymd40/air40/config.h | 16 ---------------- keyboards/ymdk/ymd40/air40/info.json | 5 +++++ keyboards/ymdk/ymd40/v2/config.h | 16 ---------------- keyboards/ymdk/ymd40/v2/info.json | 5 +++++ 4 files changed, 10 insertions(+), 32 deletions(-) (limited to 'keyboards/ymdk/ymd40') 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..b334b81717 100644 --- a/keyboards/ymdk/ymd40/air40/info.json +++ b/keyboards/ymdk/ymd40/air40/info.json @@ -8,6 +8,11 @@ "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": { 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..37c51da1a5 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 -- cgit v1.2.3 From 02ccc50e6085a9d0a4f38f252960e2d14ffe4d1f Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 17 Mar 2023 14:02:04 +1100 Subject: Remove more empty headers (#20155) --- keyboards/ymdk/ymd40/v2/v2.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 keyboards/ymdk/ymd40/v2/v2.c (limited to 'keyboards/ymdk/ymd40') 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 . - */ - -#include "v2.h" -- cgit v1.2.3 From 4869b8061c187f6476f8f14b839dd2c2c9f74dd2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 29 Mar 2023 15:54:34 +1100 Subject: Move ortho & numpad layouts to data driven (#20183) Co-authored-by: Nick Brassel --- keyboards/ymdk/ymd40/air40/air40.c | 2 +- keyboards/ymdk/ymd40/air40/air40.h | 79 ------ keyboards/ymdk/ymd40/air40/info.json | 470 +++++++++++++++++------------------ keyboards/ymdk/ymd40/v2/info.json | 470 +++++++++++++++++------------------ keyboards/ymdk/ymd40/v2/v2.h | 79 ------ 5 files changed, 471 insertions(+), 629 deletions(-) delete mode 100644 keyboards/ymdk/ymd40/air40/air40.h delete mode 100644 keyboards/ymdk/ymd40/v2/v2.h (limited to 'keyboards/ymdk/ymd40') 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 . */ -#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 . - */ - -#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/info.json b/keyboards/ymdk/ymd40/air40/info.json index b334b81717..273c5e4a7a 100644 --- a/keyboards/ymdk/ymd40/air40/info.json +++ b/keyboards/ymdk/ymd40/air40/info.json @@ -18,272 +18,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/info.json b/keyboards/ymdk/ymd40/v2/info.json index 37c51da1a5..7d28fcacaf 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json @@ -23,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.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 . - */ - -#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 }, \ -} -- cgit v1.2.3 From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/ymdk/ymd40/air40/config.h | 1 - keyboards/ymdk/ymd40/air40/info.json | 3 +++ keyboards/ymdk/ymd40/v2/config.h | 1 - keyboards/ymdk/ymd40/v2/info.json | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/ymdk/ymd40') diff --git a/keyboards/ymdk/ymd40/air40/config.h b/keyboards/ymdk/ymd40/air40/config.h index 4fcbc8421c..2f64f97d93 100644 --- a/keyboards/ymdk/ymd40/air40/config.h +++ b/keyboards/ymdk/ymd40/air40/config.h @@ -16,7 +16,6 @@ #pragma once -#define RGB_DI_PIN E2 #define RGB_MATRIX_LED_COUNT 51 #ifdef RGB_MATRIX_ENABLE # define RGB_MATRIX_KEYPRESSES // reacts to keypresses diff --git a/keyboards/ymdk/ymd40/air40/info.json b/keyboards/ymdk/ymd40/air40/info.json index 273c5e4a7a..349c117611 100644 --- a/keyboards/ymdk/ymd40/air40/info.json +++ b/keyboards/ymdk/ymd40/air40/info.json @@ -13,6 +13,9 @@ "rows": ["D0", "B3", "B2", "B1"] }, "diode_direction": "COL2ROW", + "ws2812": { + "pin": "E2" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h index a0b2e37f8f..eb16363416 100644 --- a/keyboards/ymdk/ymd40/v2/config.h +++ b/keyboards/ymdk/ymd40/v2/config.h @@ -17,7 +17,6 @@ #pragma once #if defined(RGBLIGHT_ENABLE) - #define RGB_DI_PIN E2 #define RGBLED_NUM 8 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json index 7d28fcacaf..395a9b8bfd 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json @@ -17,6 +17,9 @@ "pin": "B7", "breathing": true }, + "ws2812": { + "pin": "E2" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12"], -- cgit v1.2.3 From 522048725f6b076bdad1251243c65dd2acf6595d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 8 Apr 2023 18:08:08 +1000 Subject: Move `RGB_MATRIX_DRIVER` to data driven (#20350) --- keyboards/ymdk/ymd40/air40/info.json | 3 +++ keyboards/ymdk/ymd40/air40/rules.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/ymdk/ymd40') diff --git a/keyboards/ymdk/ymd40/air40/info.json b/keyboards/ymdk/ymd40/air40/info.json index 349c117611..6fd647bc93 100644 --- a/keyboards/ymdk/ymd40/air40/info.json +++ b/keyboards/ymdk/ymd40/air40/info.json @@ -8,6 +8,9 @@ "pid": "0x0911", "device_version": "0.0.1" }, + "rgb_matrix": { + "driver": "WS2812" + }, "matrix_pins": { "cols": ["F1", "F0", "B0", "C7", "F4", "F5", "F6", "F7", "D4", "D6", "B4", "D7"], "rows": ["D0", "B3", "B2", "B1"] diff --git a/keyboards/ymdk/ymd40/air40/rules.mk b/keyboards/ymdk/ymd40/air40/rules.mk index 3adfcf796b..f408492aa8 100644 --- a/keyboards/ymdk/ymd40/air40/rules.mk +++ b/keyboards/ymdk/ymd40/air40/rules.mk @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no RGBLIGHT_SUPPORTED = no RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 AUDIO_ENABLE = no # Audio output AUDIO_SUPPORTED = no KEY_LOCK_ENABLE = no -- cgit v1.2.3 From 79aa31994698c9050141714f77c0177edbcd9488 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 2 May 2023 08:25:15 +1000 Subject: `info.json` whitespace cleanups (#20651) --- keyboards/ymdk/ymd40/air40/info.json | 1 - keyboards/ymdk/ymd40/v2/info.json | 1 - 2 files changed, 2 deletions(-) (limited to 'keyboards/ymdk/ymd40') diff --git a/keyboards/ymdk/ymd40/air40/info.json b/keyboards/ymdk/ymd40/air40/info.json index 6fd647bc93..cfa103de9a 100644 --- a/keyboards/ymdk/ymd40/air40/info.json +++ b/keyboards/ymdk/ymd40/air40/info.json @@ -292,6 +292,5 @@ {"matrix": [3, 11], "x": 11, "y": 3} ] } - } } diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json index 395a9b8bfd..0dd60bace3 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json @@ -294,6 +294,5 @@ {"matrix": [3, 11], "x": 11, "y": 3} ] } - } } -- cgit v1.2.3 From 363bfdbfda5ea9fa996390920a9e8982535b76c8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 27 May 2023 12:27:44 +1000 Subject: Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974) Co-authored-by: Nick Brassel --- keyboards/ymdk/ymd40/v2/config.h | 1 - keyboards/ymdk/ymd40/v2/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/ymdk/ymd40') diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h index eb16363416..1a061e530b 100644 --- a/keyboards/ymdk/ymd40/v2/config.h +++ b/keyboards/ymdk/ymd40/v2/config.h @@ -21,7 +21,6 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 - #define RGBLIGHT_LIMIT_VAL 150 /* The maximum brightness level */ #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json index 0dd60bace3..ab9648ff46 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json @@ -20,6 +20,9 @@ "ws2812": { "pin": "E2" }, + "rgblight": { + "max_brightness": 150 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12"], -- cgit v1.2.3