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/yugo_m/model_m_101/config.h | 19 ------------------- keyboards/yugo_m/model_m_101/info.json | 5 +++++ 2 files changed, 5 insertions(+), 19 deletions(-) (limited to 'keyboards/yugo_m') diff --git a/keyboards/yugo_m/model_m_101/config.h b/keyboards/yugo_m/model_m_101/config.h index a132e577bb..2b7fc4d157 100644 --- a/keyboards/yugo_m/model_m_101/config.h +++ b/keyboards/yugo_m/model_m_101/config.h @@ -18,25 +18,6 @@ along with this program. If not, see . #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 { B8, B7, B6, B5, B4, B3, A15, A14 } -#define MATRIX_COL_PINS { A9, A8, B15, B14, B13, B12, B11, B10, B2, B1, B0, A7, A6, A5, A4, A3 } - - - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION ROW2COL - /* define if matrix has ghost */ #define MATRIX_HAS_GHOST diff --git a/keyboards/yugo_m/model_m_101/info.json b/keyboards/yugo_m/model_m_101/info.json index 35162e1b71..3533bf6142 100644 --- a/keyboards/yugo_m/model_m_101/info.json +++ b/keyboards/yugo_m/model_m_101/info.json @@ -8,6 +8,11 @@ "pid": "0x8E81", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3"], + "rows": ["B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"] + }, + "diode_direction": "ROW2COL", "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C", -- cgit v1.2.3 From 172a40686b84af7f887350a20c526855c7f7649c Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 15 Apr 2023 21:08:15 +1000 Subject: Move single `LAYOUT_all`s to data driven (#20430) --- keyboards/yugo_m/model_m_101/info.json | 129 ++++++++++++++++++++++++++++- keyboards/yugo_m/model_m_101/model_m_101.c | 2 +- keyboards/yugo_m/model_m_101/model_m_101.h | 46 ---------- 3 files changed, 129 insertions(+), 48 deletions(-) delete mode 100644 keyboards/yugo_m/model_m_101/model_m_101.h (limited to 'keyboards/yugo_m') diff --git a/keyboards/yugo_m/model_m_101/info.json b/keyboards/yugo_m/model_m_101/info.json index 3533bf6142..d56b0c3d3a 100644 --- a/keyboards/yugo_m/model_m_101/info.json +++ b/keyboards/yugo_m/model_m_101/info.json @@ -18,7 +18,134 @@ "board": "QMK_PROTON_C", "layouts": { "LAYOUT_all": { - "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":2, "y":0}, {"label":"F2", "x":3, "y":0}, {"label":"F3", "x":4, "y":0}, {"label":"F4", "x":5, "y":0}, {"label":"F5", "x":6.5, "y":0}, {"label":"F6", "x":7.5, "y":0}, {"label":"F7", "x":8.5, "y":0}, {"label":"F8", "x":9.5, "y":0}, {"label":"F9", "x":11, "y":0}, {"label":"F10", "x":12, "y":0}, {"label":"F11", "x":13, "y":0}, {"label":"F12", "x":14, "y":0}, {"label":"Print Screen", "x":15.5, "y":0}, {"label":"Scroll Lock", "x":16.5, "y":0}, {"label":"Pause", "x":17.5, "y":0}, {"label":"\u00ac", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"\"", "x":2, "y":1.5}, {"label":"\u00a3", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"\uff0a", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"|", "x":13, "y":1.5}, {"label":"", "x":14, "y":1.5}, {"label":"Insert", "x":15.5, "y":1.5}, {"label":"Home", "x":16.5, "y":1.5}, {"label":"PgUp", "x":17.5, "y":1.5}, {"label":"Num Lock", "x":19, "y":1.5}, {"label":"/", "x":20, "y":1.5}, {"label":"\uff0a", "x":21, "y":1.5}, {"label":"\u2212", "x":22, "y":1.5}, {"label":"", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"|", "x":13.5, "y":2.5, "w":1.5}, {"label":"Delete", "x":15.5, "y":2.5}, {"label":"End", "x":16.5, "y":2.5}, {"label":"PgDn", "x":17.5, "y":2.5}, {"label":"7", "x":19, "y":2.5}, {"label":"8", "x":20, "y":2.5}, {"label":"9", "x":21, "y":2.5}, {"label":"+", "x":22, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.25}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"@", "x":11.75, "y":3.5}, {"label":"~", "x":12.75, "y":3.5}, {"label":"", "x":13.75, "y":3.5, "w":1.25}, {"label":"4", "x":19, "y":3.5}, {"label":"5", "x":20, "y":3.5}, {"label":"6", "x":21, "y":3.5}, {"label":"=", "x":22, "y":3.5}, {"label":"\u21e7", "x":0, "y":4.5, "w":1.25}, {"label":"|", "x":1.25, "y":4.5}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"_", "x":12.25, "y":4.5}, {"label":"\u21e7", "x":13.25, "y":4.5, "w":1.75}, {"label":"", "x":16.5, "y":4.5}, {"label":"1", "x":19, "y":4.5}, {"label":"2", "x":20, "y":4.5}, {"label":"3", "x":21, "y":4.5}, {"label":"Enter", "x":22, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.5}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.5}, {"x":4, "y":5.5, "w":7}, {"label":"Alt Gr", "x":11, "y":5.5, "w":1.5}, {"label":"Ctrl", "x":13.5, "y":5.5, "w":1.5}, {"label":"", "x":15.5, "y":5.5}, {"label":"", "x":16.5, "y":5.5}, {"label":"", "x":17.5, "y":5.5}, {"label":"0", "x":19, "y":5.5}, {"label":",", "x":20, "y":5.5}, {"label":".", "x":21, "y":5.5}, {"label":"GUI", "x":22, "y":5.5}] + "layout": [ + {"matrix": [0, 2], "x": 0, "y": 0}, + + {"matrix": [2, 3], "x": 2, "y": 0}, + {"matrix": [2, 4], "x": 3, "y": 0}, + {"matrix": [1, 4], "x": 4, "y": 0}, + {"matrix": [0, 4], "x": 5, "y": 0}, + + {"matrix": [0, 6], "x": 6.5, "y": 0}, + {"matrix": [0, 8], "x": 7.5, "y": 0}, + {"matrix": [1, 9], "x": 8.5, "y": 0}, + {"matrix": [2, 9], "x": 9.5, "y": 0}, + + {"matrix": [2, 6], "x": 11, "y": 0}, + {"matrix": [3, 6], "x": 12, "y": 0}, + {"matrix": [3, 11], "x": 13, "y": 0}, + {"matrix": [3, 12], "x": 14, "y": 0}, + + {"matrix": [3, 15], "x": 15.5, "y": 0}, + {"matrix": [4, 15], "x": 16.5, "y": 0}, + {"matrix": [6, 14], "x": 17.5, "y": 0}, + + {"matrix": [2, 2], "x": 0, "y": 1.5}, + {"matrix": [3, 2], "x": 1, "y": 1.5}, + {"matrix": [3, 3], "x": 2, "y": 1.5}, + {"matrix": [3, 4], "x": 3, "y": 1.5}, + {"matrix": [3, 5], "x": 4, "y": 1.5}, + {"matrix": [2, 5], "x": 5, "y": 1.5}, + {"matrix": [2, 7], "x": 6, "y": 1.5}, + {"matrix": [3, 7], "x": 7, "y": 1.5}, + {"matrix": [3, 8], "x": 8, "y": 1.5}, + {"matrix": [3, 9], "x": 9, "y": 1.5}, + {"matrix": [3, 10], "x": 10, "y": 1.5}, + {"matrix": [2, 10], "x": 11, "y": 1.5}, + {"matrix": [2, 8], "x": 12, "y": 1.5}, + {"matrix": [4, 6], "x": 13, "y": 1.5}, + {"matrix": [1, 6], "x": 14, "y": 1.5}, + + {"matrix": [2, 12], "x": 15.5, "y": 1.5}, + {"matrix": [2, 14], "x": 16.5, "y": 1.5}, + {"matrix": [2, 13], "x": 17.5, "y": 1.5}, + + {"matrix": [6, 11], "x": 19, "y": 1.5}, + {"matrix": [6, 12], "x": 20, "y": 1.5}, + {"matrix": [6, 13], "x": 21, "y": 1.5}, + {"matrix": [7, 13], "x": 22, "y": 1.5}, + + {"matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [4, 2], "x": 1.5, "y": 2.5}, + {"matrix": [4, 3], "x": 2.5, "y": 2.5}, + {"matrix": [4, 4], "x": 3.5, "y": 2.5}, + {"matrix": [4, 5], "x": 4.5, "y": 2.5}, + {"matrix": [1, 5], "x": 5.5, "y": 2.5}, + {"matrix": [1, 7], "x": 6.5, "y": 2.5}, + {"matrix": [4, 7], "x": 7.5, "y": 2.5}, + {"matrix": [4, 8], "x": 8.5, "y": 2.5}, + {"matrix": [4, 9], "x": 9.5, "y": 2.5}, + {"matrix": [4, 10], "x": 10.5, "y": 2.5}, + {"matrix": [1, 10], "x": 11.5, "y": 2.5}, + {"matrix": [1, 8], "x": 12.5, "y": 2.5}, + {"matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"matrix": [2, 11], "x": 15.5, "y": 2.5}, + {"matrix": [3, 14], "x": 16.5, "y": 2.5}, + {"matrix": [3, 13], "x": 17.5, "y": 2.5}, + + {"matrix": [4, 11], "x": 19, "y": 2.5}, + {"matrix": [4, 12], "x": 20, "y": 2.5}, + {"matrix": [4, 13], "x": 21, "y": 2.5}, + {"matrix": [4, 14], "x": 22, "y": 2.5}, + + {"matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, + {"matrix": [5, 2], "x": 1.75, "y": 3.5}, + {"matrix": [5, 3], "x": 2.75, "y": 3.5}, + {"matrix": [5, 4], "x": 3.75, "y": 3.5}, + {"matrix": [5, 5], "x": 4.75, "y": 3.5}, + {"matrix": [0, 5], "x": 5.75, "y": 3.5}, + {"matrix": [0, 7], "x": 6.75, "y": 3.5}, + {"matrix": [5, 7], "x": 7.75, "y": 3.5}, + {"matrix": [5, 8], "x": 8.75, "y": 3.5}, + {"matrix": [5, 9], "x": 9.75, "y": 3.5}, + {"matrix": [5, 10], "x": 10.75, "y": 3.5}, + {"matrix": [0, 10], "x": 11.75, "y": 3.5}, + {"matrix": [6, 10], "x": 12.75, "y": 3.5}, + {"matrix": [6, 6], "x": 13.75, "y": 3.5, "w": 1.25}, + + {"matrix": [1, 11], "x": 19, "y": 3.5}, + {"matrix": [1, 12], "x": 20, "y": 3.5}, + {"matrix": [1, 13], "x": 21, "y": 3.5}, + {"matrix": [1, 14], "x": 22, "y": 3.5}, + + {"matrix": [1, 1], "x": 0, "y": 4.5, "w": 1.25}, + {"matrix": [0, 3], "x": 1.25, "y": 4.5}, + {"matrix": [6, 2], "x": 2.25, "y": 4.5}, + {"matrix": [6, 3], "x": 3.25, "y": 4.5}, + {"matrix": [6, 4], "x": 4.25, "y": 4.5}, + {"matrix": [6, 5], "x": 5.25, "y": 4.5}, + {"matrix": [7, 5], "x": 6.25, "y": 4.5}, + {"matrix": [7, 7], "x": 7.25, "y": 4.5}, + {"matrix": [6, 7], "x": 8.25, "y": 4.5}, + {"matrix": [6, 8], "x": 9.25, "y": 4.5}, + {"matrix": [6, 9], "x": 10.25, "y": 4.5}, + {"matrix": [7, 10], "x": 11.25, "y": 4.5}, + {"matrix": [7, 8], "x": 12.25, "y": 4.5}, + {"matrix": [6, 1], "x": 13.25, "y": 4.5, "w": 1.75}, + + {"matrix": [0, 14], "x": 16.5, "y": 4.5}, + + {"matrix": [5, 11], "x": 19, "y": 4.5}, + {"matrix": [5, 12], "x": 20, "y": 4.5}, + {"matrix": [5, 13], "x": 21, "y": 4.5}, + {"matrix": [5, 14], "x": 22, "y": 4.5}, + + {"matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, + {"matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, + {"matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, + {"matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, + + {"matrix": [7, 14], "x": 15.5, "y": 5.5}, + {"matrix": [7, 11], "x": 16.5, "y": 5.5}, + {"matrix": [7, 12], "x": 17.5, "y": 5.5}, + + {"matrix": [0, 11], "x": 19, "y": 5.5}, + {"matrix": [0, 12], "x": 20, "y": 5.5}, + {"matrix": [0, 13], "x": 21, "y": 5.5}, + {"matrix": [5, 15], "x": 22, "y": 5.5} + ] } } } diff --git a/keyboards/yugo_m/model_m_101/model_m_101.c b/keyboards/yugo_m/model_m_101/model_m_101.c index 34755cf4bc..87e681d8e0 100644 --- a/keyboards/yugo_m/model_m_101/model_m_101.c +++ b/keyboards/yugo_m/model_m_101/model_m_101.c @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#include "model_m_101.h" +#include "quantum.h" void keyboard_pre_init_kb(void) { // Set our LED pins as output diff --git a/keyboards/yugo_m/model_m_101/model_m_101.h b/keyboards/yugo_m/model_m_101/model_m_101.h deleted file mode 100644 index 4b5961ee54..0000000000 --- a/keyboards/yugo_m/model_m_101/model_m_101.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright 2020 Nidzo Tomic - * Copyright 2022 an_achronism <87213873+an-achronism@users.noreply.github.com> - * - * 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" - -/* This a shortcut to help you visually see your layout. - * The first section contains "names" for physical keys of the keyboard - * and defines their position on the board. - * The second section defines position of the keys on the switch matrix - * (where COLUMNS and ROWS crosses). */ - -#define LAYOUT_all( \ - K5A, K5B, K5C, K5D, K5E, K5F, K5G, K5H, K5I, K5J, K5K, K5L, K5M, K5N, K5O, K5P, \ - \ - K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, MK1, K4N, K4O, K4P, K4Q, K4R, K4S, K4T, K4U, \ - K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, K3O, K3P, K3Q, K3R, K3S, K3T, K3U, \ - K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2M, K2N, K2O, K2P, K2Q, MK2, \ - K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, MK3, K1M, K1N, K1O, K1P, K1Q, K1R, \ - K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, MK4, K0I, K0J, MK5 \ -) \ -{ \ -/* 00 */ { KC_NO, KC_NO, K5A, K1B, K5E, K2F, K5F, K2G, K5G, KC_NO, K2L, MK4, K0I, K0J, K1N, K0B }, \ -/* 01 */ { KC_NO, K1A, K3A, K2A, K5D, K3F, K4N, K3G, K3M, K5H, K3L, K2O, K2P, K2Q, MK2, KC_NO }, \ -/* 02 */ { K0A, KC_NO, K4A, K5B, K5C, K4F, K5J, K4G, K4M, K5I, K4L, K3O, K4O, K4Q, K4P, KC_NO }, \ -/* 03 */ { KC_NO, KC_NO, K4B, K4C, K4D, K4E, K5K, K4H, K4I, K4J, K4K, K5L, K5M, K3Q, K3P, K5N }, \ -/* 04 */ { KC_NO, KC_NO, K3B, K3C, K3D, K3E, MK1, K3H, K3I, K3J, K3K, K3R, K3S, K3T, K3U, K5O }, \ -/* 05 */ { KC_NO, KC_NO, K2B, K2C, K2D, K2E, K3N, K2H, K2I, K2J, K2K, K1O, K1P, K1Q, K1R, MK5 }, \ -/* 06 */ { K0E, K1M, K1C, K1D, K1E, K1F, K2N, K1I, K1J, K1K, K2M, K4R, K4S, K4T, K5P, KC_NO }, \ -/* 07 */ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K1G, K0C, K1H, MK3, KC_NO, K1L, K0G, K0H, K4U, K0F, K0D }, \ -} -/* 0 1 2 3 4 5 6 7 8 9 A B C D E F */ -- cgit v1.2.3 From c4e91ca72d828d669c97db469d6856b73c07fbf1 Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Sat, 13 May 2023 01:51:07 -0700 Subject: Yugo-M Controller Layout Additions (#20907) * add matrix_diagram.md * info.json: apply friendly formatting * add LAYOUT_fullsize_ansi_wkl * add LAYOUT_fullsize_iso_wkl --- keyboards/yugo_m/model_m_101/info.json | 499 ++++++++++++++++++------- keyboards/yugo_m/model_m_101/matrix_diagram.md | 27 ++ 2 files changed, 400 insertions(+), 126 deletions(-) create mode 100644 keyboards/yugo_m/model_m_101/matrix_diagram.md (limited to 'keyboards/yugo_m') diff --git a/keyboards/yugo_m/model_m_101/info.json b/keyboards/yugo_m/model_m_101/info.json index d56b0c3d3a..9c1aeb0ac9 100644 --- a/keyboards/yugo_m/model_m_101/info.json +++ b/keyboards/yugo_m/model_m_101/info.json @@ -19,132 +19,379 @@ "layouts": { "LAYOUT_all": { "layout": [ - {"matrix": [0, 2], "x": 0, "y": 0}, - - {"matrix": [2, 3], "x": 2, "y": 0}, - {"matrix": [2, 4], "x": 3, "y": 0}, - {"matrix": [1, 4], "x": 4, "y": 0}, - {"matrix": [0, 4], "x": 5, "y": 0}, - - {"matrix": [0, 6], "x": 6.5, "y": 0}, - {"matrix": [0, 8], "x": 7.5, "y": 0}, - {"matrix": [1, 9], "x": 8.5, "y": 0}, - {"matrix": [2, 9], "x": 9.5, "y": 0}, - - {"matrix": [2, 6], "x": 11, "y": 0}, - {"matrix": [3, 6], "x": 12, "y": 0}, - {"matrix": [3, 11], "x": 13, "y": 0}, - {"matrix": [3, 12], "x": 14, "y": 0}, - - {"matrix": [3, 15], "x": 15.5, "y": 0}, - {"matrix": [4, 15], "x": 16.5, "y": 0}, - {"matrix": [6, 14], "x": 17.5, "y": 0}, - - {"matrix": [2, 2], "x": 0, "y": 1.5}, - {"matrix": [3, 2], "x": 1, "y": 1.5}, - {"matrix": [3, 3], "x": 2, "y": 1.5}, - {"matrix": [3, 4], "x": 3, "y": 1.5}, - {"matrix": [3, 5], "x": 4, "y": 1.5}, - {"matrix": [2, 5], "x": 5, "y": 1.5}, - {"matrix": [2, 7], "x": 6, "y": 1.5}, - {"matrix": [3, 7], "x": 7, "y": 1.5}, - {"matrix": [3, 8], "x": 8, "y": 1.5}, - {"matrix": [3, 9], "x": 9, "y": 1.5}, - {"matrix": [3, 10], "x": 10, "y": 1.5}, - {"matrix": [2, 10], "x": 11, "y": 1.5}, - {"matrix": [2, 8], "x": 12, "y": 1.5}, - {"matrix": [4, 6], "x": 13, "y": 1.5}, - {"matrix": [1, 6], "x": 14, "y": 1.5}, - - {"matrix": [2, 12], "x": 15.5, "y": 1.5}, - {"matrix": [2, 14], "x": 16.5, "y": 1.5}, - {"matrix": [2, 13], "x": 17.5, "y": 1.5}, - - {"matrix": [6, 11], "x": 19, "y": 1.5}, - {"matrix": [6, 12], "x": 20, "y": 1.5}, - {"matrix": [6, 13], "x": 21, "y": 1.5}, - {"matrix": [7, 13], "x": 22, "y": 1.5}, - - {"matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, - {"matrix": [4, 2], "x": 1.5, "y": 2.5}, - {"matrix": [4, 3], "x": 2.5, "y": 2.5}, - {"matrix": [4, 4], "x": 3.5, "y": 2.5}, - {"matrix": [4, 5], "x": 4.5, "y": 2.5}, - {"matrix": [1, 5], "x": 5.5, "y": 2.5}, - {"matrix": [1, 7], "x": 6.5, "y": 2.5}, - {"matrix": [4, 7], "x": 7.5, "y": 2.5}, - {"matrix": [4, 8], "x": 8.5, "y": 2.5}, - {"matrix": [4, 9], "x": 9.5, "y": 2.5}, - {"matrix": [4, 10], "x": 10.5, "y": 2.5}, - {"matrix": [1, 10], "x": 11.5, "y": 2.5}, - {"matrix": [1, 8], "x": 12.5, "y": 2.5}, - {"matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5}, - - {"matrix": [2, 11], "x": 15.5, "y": 2.5}, - {"matrix": [3, 14], "x": 16.5, "y": 2.5}, - {"matrix": [3, 13], "x": 17.5, "y": 2.5}, - - {"matrix": [4, 11], "x": 19, "y": 2.5}, - {"matrix": [4, 12], "x": 20, "y": 2.5}, - {"matrix": [4, 13], "x": 21, "y": 2.5}, - {"matrix": [4, 14], "x": 22, "y": 2.5}, - - {"matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, - {"matrix": [5, 2], "x": 1.75, "y": 3.5}, - {"matrix": [5, 3], "x": 2.75, "y": 3.5}, - {"matrix": [5, 4], "x": 3.75, "y": 3.5}, - {"matrix": [5, 5], "x": 4.75, "y": 3.5}, - {"matrix": [0, 5], "x": 5.75, "y": 3.5}, - {"matrix": [0, 7], "x": 6.75, "y": 3.5}, - {"matrix": [5, 7], "x": 7.75, "y": 3.5}, - {"matrix": [5, 8], "x": 8.75, "y": 3.5}, - {"matrix": [5, 9], "x": 9.75, "y": 3.5}, - {"matrix": [5, 10], "x": 10.75, "y": 3.5}, - {"matrix": [0, 10], "x": 11.75, "y": 3.5}, - {"matrix": [6, 10], "x": 12.75, "y": 3.5}, - {"matrix": [6, 6], "x": 13.75, "y": 3.5, "w": 1.25}, - - {"matrix": [1, 11], "x": 19, "y": 3.5}, - {"matrix": [1, 12], "x": 20, "y": 3.5}, - {"matrix": [1, 13], "x": 21, "y": 3.5}, - {"matrix": [1, 14], "x": 22, "y": 3.5}, - - {"matrix": [1, 1], "x": 0, "y": 4.5, "w": 1.25}, - {"matrix": [0, 3], "x": 1.25, "y": 4.5}, - {"matrix": [6, 2], "x": 2.25, "y": 4.5}, - {"matrix": [6, 3], "x": 3.25, "y": 4.5}, - {"matrix": [6, 4], "x": 4.25, "y": 4.5}, - {"matrix": [6, 5], "x": 5.25, "y": 4.5}, - {"matrix": [7, 5], "x": 6.25, "y": 4.5}, - {"matrix": [7, 7], "x": 7.25, "y": 4.5}, - {"matrix": [6, 7], "x": 8.25, "y": 4.5}, - {"matrix": [6, 8], "x": 9.25, "y": 4.5}, - {"matrix": [6, 9], "x": 10.25, "y": 4.5}, - {"matrix": [7, 10], "x": 11.25, "y": 4.5}, - {"matrix": [7, 8], "x": 12.25, "y": 4.5}, - {"matrix": [6, 1], "x": 13.25, "y": 4.5, "w": 1.75}, - - {"matrix": [0, 14], "x": 16.5, "y": 4.5}, - - {"matrix": [5, 11], "x": 19, "y": 4.5}, - {"matrix": [5, 12], "x": 20, "y": 4.5}, - {"matrix": [5, 13], "x": 21, "y": 4.5}, - {"matrix": [5, 14], "x": 22, "y": 4.5}, - - {"matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, - {"matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, - {"matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, - {"matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, - {"matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, - - {"matrix": [7, 14], "x": 15.5, "y": 5.5}, - {"matrix": [7, 11], "x": 16.5, "y": 5.5}, - {"matrix": [7, 12], "x": 17.5, "y": 5.5}, - - {"matrix": [0, 11], "x": 19, "y": 5.5}, - {"matrix": [0, 12], "x": 20, "y": 5.5}, - {"matrix": [0, 13], "x": 21, "y": 5.5}, - {"matrix": [5, 15], "x": 22, "y": 5.5} + {"label": "Esc", "matrix": [0, 2], "x": 0, "y": 0}, + + {"label": "F1", "matrix": [2, 3], "x": 2, "y": 0}, + {"label": "F2", "matrix": [2, 4], "x": 3, "y": 0}, + {"label": "F3", "matrix": [1, 4], "x": 4, "y": 0}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 6.5, "y": 0}, + {"label": "F6", "matrix": [0, 8], "x": 7.5, "y": 0}, + {"label": "F7", "matrix": [1, 9], "x": 8.5, "y": 0}, + {"label": "F8", "matrix": [2, 9], "x": 9.5, "y": 0}, + + {"label": "F9", "matrix": [2, 6], "x": 11, "y": 0}, + {"label": "F10", "matrix": [3, 6], "x": 12, "y": 0}, + {"label": "F11", "matrix": [3, 11], "x": 13, "y": 0}, + {"label": "F12", "matrix": [3, 12], "x": 14, "y": 0}, + + {"label": "Print Screen", "matrix": [3, 15], "x": 15.5, "y": 0}, + {"label": "Scroll Lock", "matrix": [4, 15], "x": 16.5, "y": 0}, + {"label": "Pause", "matrix": [6, 14], "x": 17.5, "y": 0}, + + {"label": "`", "matrix": [2, 2], "x": 0, "y": 1.5}, + {"label": "1", "matrix": [3, 2], "x": 1, "y": 1.5}, + {"label": "2", "matrix": [3, 3], "x": 2, "y": 1.5}, + {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.5}, + {"label": "4", "matrix": [3, 5], "x": 4, "y": 1.5}, + {"label": "5", "matrix": [2, 5], "x": 5, "y": 1.5}, + {"label": "6", "matrix": [2, 7], "x": 6, "y": 1.5}, + {"label": "7", "matrix": [3, 7], "x": 7, "y": 1.5}, + {"label": "8", "matrix": [3, 8], "x": 8, "y": 1.5}, + {"label": "9", "matrix": [3, 9], "x": 9, "y": 1.5}, + {"label": "0", "matrix": [3, 10], "x": 10, "y": 1.5}, + {"label": "-", "matrix": [2, 10], "x": 11, "y": 1.5}, + {"label": "=", "matrix": [2, 8], "x": 12, "y": 1.5}, + {"label": "\\", "matrix": [4, 6], "x": 13, "y": 1.5}, + {"label": "Backspace", "matrix": [1, 6], "x": 14, "y": 1.5}, + + {"label": "Insert", "matrix": [2, 12], "x": 15.5, "y": 1.5}, + {"label": "Home", "matrix": [2, 14], "x": 16.5, "y": 1.5}, + {"label": "Page Up", "matrix": [2, 13], "x": 17.5, "y": 1.5}, + + {"label": "Num Lock", "matrix": [6, 11], "x": 19, "y": 1.5}, + {"label": "/", "matrix": [6, 12], "x": 20, "y": 1.5}, + {"label": "*", "matrix": [6, 13], "x": 21, "y": 1.5}, + {"label": "-", "matrix": [7, 13], "x": 22, "y": 1.5}, + + {"label": "Tab", "matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, + {"label": "Q", "matrix": [4, 2], "x": 1.5, "y": 2.5}, + {"label": "W", "matrix": [4, 3], "x": 2.5, "y": 2.5}, + {"label": "E", "matrix": [4, 4], "x": 3.5, "y": 2.5}, + {"label": "R", "matrix": [4, 5], "x": 4.5, "y": 2.5}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2.5}, + {"label": "Y", "matrix": [1, 7], "x": 6.5, "y": 2.5}, + {"label": "U", "matrix": [4, 7], "x": 7.5, "y": 2.5}, + {"label": "I", "matrix": [4, 8], "x": 8.5, "y": 2.5}, + {"label": "O", "matrix": [4, 9], "x": 9.5, "y": 2.5}, + {"label": "P", "matrix": [4, 10], "x": 10.5, "y": 2.5}, + {"label": "[", "matrix": [1, 10], "x": 11.5, "y": 2.5}, + {"label": "]", "matrix": [1, 8], "x": 12.5, "y": 2.5}, + {"label": "\\", "matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 11], "x": 15.5, "y": 2.5}, + {"label": "End", "matrix": [3, 14], "x": 16.5, "y": 2.5}, + {"label": "Page Down", "matrix": [3, 13], "x": 17.5, "y": 2.5}, + + {"label": "7", "matrix": [4, 11], "x": 19, "y": 2.5}, + {"label": "8", "matrix": [4, 12], "x": 20, "y": 2.5}, + {"label": "9", "matrix": [4, 13], "x": 21, "y": 2.5}, + {"label": "+", "matrix": [4, 14], "x": 22, "y": 2.5}, + + {"label": "Caps Lock", "matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, + {"label": "A", "matrix": [5, 2], "x": 1.75, "y": 3.5}, + {"label": "S", "matrix": [5, 3], "x": 2.75, "y": 3.5}, + {"label": "D", "matrix": [5, 4], "x": 3.75, "y": 3.5}, + {"label": "F", "matrix": [5, 5], "x": 4.75, "y": 3.5}, + {"label": "G", "matrix": [0, 5], "x": 5.75, "y": 3.5}, + {"label": "H", "matrix": [0, 7], "x": 6.75, "y": 3.5}, + {"label": "J", "matrix": [5, 7], "x": 7.75, "y": 3.5}, + {"label": "K", "matrix": [5, 8], "x": 8.75, "y": 3.5}, + {"label": "L", "matrix": [5, 9], "x": 9.75, "y": 3.5}, + {"label": ";", "matrix": [5, 10], "x": 10.75, "y": 3.5}, + {"label": "'", "matrix": [0, 10], "x": 11.75, "y": 3.5}, + {"label": "#", "matrix": [6, 10], "x": 12.75, "y": 3.5}, + {"label": "Enter", "matrix": [6, 6], "x": 13.75, "y": 3.5, "w": 1.25}, + + {"label": "4", "matrix": [1, 11], "x": 19, "y": 3.5}, + {"label": "5", "matrix": [1, 12], "x": 20, "y": 3.5}, + {"label": "6", "matrix": [1, 13], "x": 21, "y": 3.5}, + {"label": "=", "matrix": [1, 14], "x": 22, "y": 3.5}, + + {"label": "Shift", "matrix": [1, 1], "x": 0, "y": 4.5, "w": 1.25}, + {"label": "\\", "matrix": [0, 3], "x": 1.25, "y": 4.5}, + {"label": "Z", "matrix": [6, 2], "x": 2.25, "y": 4.5}, + {"label": "X", "matrix": [6, 3], "x": 3.25, "y": 4.5}, + {"label": "C", "matrix": [6, 4], "x": 4.25, "y": 4.5}, + {"label": "V", "matrix": [6, 5], "x": 5.25, "y": 4.5}, + {"label": "B", "matrix": [7, 5], "x": 6.25, "y": 4.5}, + {"label": "N", "matrix": [7, 7], "x": 7.25, "y": 4.5}, + {"label": "M", "matrix": [6, 7], "x": 8.25, "y": 4.5}, + {"label": ",", "matrix": [6, 8], "x": 9.25, "y": 4.5}, + {"label": ".", "matrix": [6, 9], "x": 10.25, "y": 4.5}, + {"label": "/", "matrix": [7, 10], "x": 11.25, "y": 4.5}, + {"label": "\\", "matrix": [7, 8], "x": 12.25, "y": 4.5}, + {"label": "Shift", "matrix": [6, 1], "x": 13.25, "y": 4.5, "w": 1.75}, + + {"label": "\u2191", "matrix": [0, 14], "x": 16.5, "y": 4.5}, + + {"label": "1", "matrix": [5, 11], "x": 19, "y": 4.5}, + {"label": "2", "matrix": [5, 12], "x": 20, "y": 4.5}, + {"label": "3", "matrix": [5, 13], "x": 21, "y": 4.5}, + {"label": "Enter", "matrix": [5, 14], "x": 22, "y": 4.5}, + + {"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"label": "Alt", "matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, + {"label": "Space", "matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, + {"label": "Alt Gr", "matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, + {"label": "Ctrl", "matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, + + {"label": "\u2190", "matrix": [7, 14], "x": 15.5, "y": 5.5}, + {"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5}, + {"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5}, + + {"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5}, + {"label": ",", "matrix": [0, 12], "x": 20, "y": 5.5}, + {"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5}, + {"label": "GUI", "matrix": [5, 15], "x": 22, "y": 5.5} + ] + }, + "LAYOUT_fullsize_ansi_wkl": { + "layout": [ + {"label": "Esc", "matrix": [0, 2], "x": 0, "y": 0}, + + {"label": "F1", "matrix": [2, 3], "x": 2, "y": 0}, + {"label": "F2", "matrix": [2, 4], "x": 3, "y": 0}, + {"label": "F3", "matrix": [1, 4], "x": 4, "y": 0}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 6.5, "y": 0}, + {"label": "F6", "matrix": [0, 8], "x": 7.5, "y": 0}, + {"label": "F7", "matrix": [1, 9], "x": 8.5, "y": 0}, + {"label": "F8", "matrix": [2, 9], "x": 9.5, "y": 0}, + + {"label": "F9", "matrix": [2, 6], "x": 11, "y": 0}, + {"label": "F10", "matrix": [3, 6], "x": 12, "y": 0}, + {"label": "F11", "matrix": [3, 11], "x": 13, "y": 0}, + {"label": "F12", "matrix": [3, 12], "x": 14, "y": 0}, + + {"label": "Print Screen", "matrix": [3, 15], "x": 15.5, "y": 0}, + {"label": "Scroll Lock", "matrix": [4, 15], "x": 16.5, "y": 0}, + {"label": "Pause", "matrix": [6, 14], "x": 17.5, "y": 0}, + + {"label": "`", "matrix": [2, 2], "x": 0, "y": 1.5}, + {"label": "1", "matrix": [3, 2], "x": 1, "y": 1.5}, + {"label": "2", "matrix": [3, 3], "x": 2, "y": 1.5}, + {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.5}, + {"label": "4", "matrix": [3, 5], "x": 4, "y": 1.5}, + {"label": "5", "matrix": [2, 5], "x": 5, "y": 1.5}, + {"label": "6", "matrix": [2, 7], "x": 6, "y": 1.5}, + {"label": "7", "matrix": [3, 7], "x": 7, "y": 1.5}, + {"label": "8", "matrix": [3, 8], "x": 8, "y": 1.5}, + {"label": "9", "matrix": [3, 9], "x": 9, "y": 1.5}, + {"label": "0", "matrix": [3, 10], "x": 10, "y": 1.5}, + {"label": "-", "matrix": [2, 10], "x": 11, "y": 1.5}, + {"label": "=", "matrix": [2, 8], "x": 12, "y": 1.5}, + {"label": "Backspace", "matrix": [1, 6], "x": 13, "y": 1.5, "w": 2}, + + {"label": "Insert", "matrix": [2, 12], "x": 15.5, "y": 1.5}, + {"label": "Home", "matrix": [2, 14], "x": 16.5, "y": 1.5}, + {"label": "Page Up", "matrix": [2, 13], "x": 17.5, "y": 1.5}, + + {"label": "Num Lock", "matrix": [6, 11], "x": 19, "y": 1.5}, + {"label": "/", "matrix": [6, 12], "x": 20, "y": 1.5}, + {"label": "*", "matrix": [6, 13], "x": 21, "y": 1.5}, + {"label": "-", "matrix": [7, 13], "x": 22, "y": 1.5}, + + {"label": "Tab", "matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, + {"label": "Q", "matrix": [4, 2], "x": 1.5, "y": 2.5}, + {"label": "W", "matrix": [4, 3], "x": 2.5, "y": 2.5}, + {"label": "E", "matrix": [4, 4], "x": 3.5, "y": 2.5}, + {"label": "R", "matrix": [4, 5], "x": 4.5, "y": 2.5}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2.5}, + {"label": "Y", "matrix": [1, 7], "x": 6.5, "y": 2.5}, + {"label": "U", "matrix": [4, 7], "x": 7.5, "y": 2.5}, + {"label": "I", "matrix": [4, 8], "x": 8.5, "y": 2.5}, + {"label": "O", "matrix": [4, 9], "x": 9.5, "y": 2.5}, + {"label": "P", "matrix": [4, 10], "x": 10.5, "y": 2.5}, + {"label": "[", "matrix": [1, 10], "x": 11.5, "y": 2.5}, + {"label": "]", "matrix": [1, 8], "x": 12.5, "y": 2.5}, + {"label": "\\", "matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 11], "x": 15.5, "y": 2.5}, + {"label": "End", "matrix": [3, 14], "x": 16.5, "y": 2.5}, + {"label": "Page Down", "matrix": [3, 13], "x": 17.5, "y": 2.5}, + + {"label": "7", "matrix": [4, 11], "x": 19, "y": 2.5}, + {"label": "8", "matrix": [4, 12], "x": 20, "y": 2.5}, + {"label": "9", "matrix": [4, 13], "x": 21, "y": 2.5}, + {"label": "+", "matrix": [4, 14], "x": 22, "y": 2.5, "h": 2}, + + {"label": "Caps Lock", "matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, + {"label": "A", "matrix": [5, 2], "x": 1.75, "y": 3.5}, + {"label": "S", "matrix": [5, 3], "x": 2.75, "y": 3.5}, + {"label": "D", "matrix": [5, 4], "x": 3.75, "y": 3.5}, + {"label": "F", "matrix": [5, 5], "x": 4.75, "y": 3.5}, + {"label": "G", "matrix": [0, 5], "x": 5.75, "y": 3.5}, + {"label": "H", "matrix": [0, 7], "x": 6.75, "y": 3.5}, + {"label": "J", "matrix": [5, 7], "x": 7.75, "y": 3.5}, + {"label": "K", "matrix": [5, 8], "x": 8.75, "y": 3.5}, + {"label": "L", "matrix": [5, 9], "x": 9.75, "y": 3.5}, + {"label": ";", "matrix": [5, 10], "x": 10.75, "y": 3.5}, + {"label": "'", "matrix": [0, 10], "x": 11.75, "y": 3.5}, + {"label": "Enter", "matrix": [6, 6], "x": 12.75, "y": 3.5, "w": 2.25}, + + {"label": "4", "matrix": [1, 11], "x": 19, "y": 3.5}, + {"label": "5", "matrix": [1, 12], "x": 20, "y": 3.5}, + {"label": "6", "matrix": [1, 13], "x": 21, "y": 3.5}, + + {"label": "Shift", "matrix": [1, 1], "x": 0, "y": 4.5, "w": 2.25}, + {"label": "Z", "matrix": [6, 2], "x": 2.25, "y": 4.5}, + {"label": "X", "matrix": [6, 3], "x": 3.25, "y": 4.5}, + {"label": "C", "matrix": [6, 4], "x": 4.25, "y": 4.5}, + {"label": "V", "matrix": [6, 5], "x": 5.25, "y": 4.5}, + {"label": "B", "matrix": [7, 5], "x": 6.25, "y": 4.5}, + {"label": "N", "matrix": [7, 7], "x": 7.25, "y": 4.5}, + {"label": "M", "matrix": [6, 7], "x": 8.25, "y": 4.5}, + {"label": ",", "matrix": [6, 8], "x": 9.25, "y": 4.5}, + {"label": ".", "matrix": [6, 9], "x": 10.25, "y": 4.5}, + {"label": "/", "matrix": [7, 10], "x": 11.25, "y": 4.5}, + {"label": "Shift", "matrix": [6, 1], "x": 12.25, "y": 4.5, "w": 2.75}, + + {"label": "\u2191", "matrix": [0, 14], "x": 16.5, "y": 4.5}, + + {"label": "1", "matrix": [5, 11], "x": 19, "y": 4.5}, + {"label": "2", "matrix": [5, 12], "x": 20, "y": 4.5}, + {"label": "3", "matrix": [5, 13], "x": 21, "y": 4.5}, + {"label": "Enter", "matrix": [5, 14], "x": 22, "y": 4.5, "h": 2}, + + {"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"label": "Alt", "matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, + {"label": "Space", "matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, + {"label": "Alt Gr", "matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, + {"label": "Ctrl", "matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, + + {"label": "\u2190", "matrix": [7, 14], "x": 15.5, "y": 5.5}, + {"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5}, + {"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5}, + + {"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5, "w": 2}, + {"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5} + ] + }, + "LAYOUT_fullsize_iso_wkl": { + "layout": [ + {"label": "Esc", "matrix": [0, 2], "x": 0, "y": 0}, + + {"label": "F1", "matrix": [2, 3], "x": 2, "y": 0}, + {"label": "F2", "matrix": [2, 4], "x": 3, "y": 0}, + {"label": "F3", "matrix": [1, 4], "x": 4, "y": 0}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 0}, + + {"label": "F5", "matrix": [0, 6], "x": 6.5, "y": 0}, + {"label": "F6", "matrix": [0, 8], "x": 7.5, "y": 0}, + {"label": "F7", "matrix": [1, 9], "x": 8.5, "y": 0}, + {"label": "F8", "matrix": [2, 9], "x": 9.5, "y": 0}, + + {"label": "F9", "matrix": [2, 6], "x": 11, "y": 0}, + {"label": "F10", "matrix": [3, 6], "x": 12, "y": 0}, + {"label": "F11", "matrix": [3, 11], "x": 13, "y": 0}, + {"label": "F12", "matrix": [3, 12], "x": 14, "y": 0}, + + {"label": "Print Screen", "matrix": [3, 15], "x": 15.5, "y": 0}, + {"label": "Scroll Lock", "matrix": [4, 15], "x": 16.5, "y": 0}, + {"label": "Pause", "matrix": [6, 14], "x": 17.5, "y": 0}, + + {"label": "`", "matrix": [2, 2], "x": 0, "y": 1.5}, + {"label": "1", "matrix": [3, 2], "x": 1, "y": 1.5}, + {"label": "2", "matrix": [3, 3], "x": 2, "y": 1.5}, + {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.5}, + {"label": "4", "matrix": [3, 5], "x": 4, "y": 1.5}, + {"label": "5", "matrix": [2, 5], "x": 5, "y": 1.5}, + {"label": "6", "matrix": [2, 7], "x": 6, "y": 1.5}, + {"label": "7", "matrix": [3, 7], "x": 7, "y": 1.5}, + {"label": "8", "matrix": [3, 8], "x": 8, "y": 1.5}, + {"label": "9", "matrix": [3, 9], "x": 9, "y": 1.5}, + {"label": "0", "matrix": [3, 10], "x": 10, "y": 1.5}, + {"label": "-", "matrix": [2, 10], "x": 11, "y": 1.5}, + {"label": "=", "matrix": [2, 8], "x": 12, "y": 1.5}, + {"label": "Backspace", "matrix": [1, 6], "x": 13, "y": 1.5, "w": 2}, + + {"label": "Insert", "matrix": [2, 12], "x": 15.5, "y": 1.5}, + {"label": "Home", "matrix": [2, 14], "x": 16.5, "y": 1.5}, + {"label": "Page Up", "matrix": [2, 13], "x": 17.5, "y": 1.5}, + + {"label": "Num Lock", "matrix": [6, 11], "x": 19, "y": 1.5}, + {"label": "/", "matrix": [6, 12], "x": 20, "y": 1.5}, + {"label": "*", "matrix": [6, 13], "x": 21, "y": 1.5}, + {"label": "-", "matrix": [7, 13], "x": 22, "y": 1.5}, + + {"label": "Tab", "matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, + {"label": "Q", "matrix": [4, 2], "x": 1.5, "y": 2.5}, + {"label": "W", "matrix": [4, 3], "x": 2.5, "y": 2.5}, + {"label": "E", "matrix": [4, 4], "x": 3.5, "y": 2.5}, + {"label": "R", "matrix": [4, 5], "x": 4.5, "y": 2.5}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2.5}, + {"label": "Y", "matrix": [1, 7], "x": 6.5, "y": 2.5}, + {"label": "U", "matrix": [4, 7], "x": 7.5, "y": 2.5}, + {"label": "I", "matrix": [4, 8], "x": 8.5, "y": 2.5}, + {"label": "O", "matrix": [4, 9], "x": 9.5, "y": 2.5}, + {"label": "P", "matrix": [4, 10], "x": 10.5, "y": 2.5}, + {"label": "[", "matrix": [1, 10], "x": 11.5, "y": 2.5}, + {"label": "]", "matrix": [1, 8], "x": 12.5, "y": 2.5}, + + {"label": "Delete", "matrix": [2, 11], "x": 15.5, "y": 2.5}, + {"label": "End", "matrix": [3, 14], "x": 16.5, "y": 2.5}, + {"label": "Page Down", "matrix": [3, 13], "x": 17.5, "y": 2.5}, + + {"label": "7", "matrix": [4, 11], "x": 19, "y": 2.5}, + {"label": "8", "matrix": [4, 12], "x": 20, "y": 2.5}, + {"label": "9", "matrix": [4, 13], "x": 21, "y": 2.5}, + {"label": "+", "matrix": [4, 14], "x": 22, "y": 2.5, "h": 2}, + + {"label": "Caps Lock", "matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, + {"label": "A", "matrix": [5, 2], "x": 1.75, "y": 3.5}, + {"label": "S", "matrix": [5, 3], "x": 2.75, "y": 3.5}, + {"label": "D", "matrix": [5, 4], "x": 3.75, "y": 3.5}, + {"label": "F", "matrix": [5, 5], "x": 4.75, "y": 3.5}, + {"label": "G", "matrix": [0, 5], "x": 5.75, "y": 3.5}, + {"label": "H", "matrix": [0, 7], "x": 6.75, "y": 3.5}, + {"label": "J", "matrix": [5, 7], "x": 7.75, "y": 3.5}, + {"label": "K", "matrix": [5, 8], "x": 8.75, "y": 3.5}, + {"label": "L", "matrix": [5, 9], "x": 9.75, "y": 3.5}, + {"label": ";", "matrix": [5, 10], "x": 10.75, "y": 3.5}, + {"label": "'", "matrix": [0, 10], "x": 11.75, "y": 3.5}, + {"label": "#", "matrix": [6, 10], "x": 12.75, "y": 3.5}, + {"label": "Enter", "matrix": [6, 6], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2}, + + {"label": "4", "matrix": [1, 11], "x": 19, "y": 3.5}, + {"label": "5", "matrix": [1, 12], "x": 20, "y": 3.5}, + {"label": "6", "matrix": [1, 13], "x": 21, "y": 3.5}, + + {"label": "Shift", "matrix": [1, 1], "x": 0, "y": 4.5, "w": 1.25}, + {"label": "\\", "matrix": [0, 3], "x": 1.25, "y": 4.5}, + {"label": "Z", "matrix": [6, 2], "x": 2.25, "y": 4.5}, + {"label": "X", "matrix": [6, 3], "x": 3.25, "y": 4.5}, + {"label": "C", "matrix": [6, 4], "x": 4.25, "y": 4.5}, + {"label": "V", "matrix": [6, 5], "x": 5.25, "y": 4.5}, + {"label": "B", "matrix": [7, 5], "x": 6.25, "y": 4.5}, + {"label": "N", "matrix": [7, 7], "x": 7.25, "y": 4.5}, + {"label": "M", "matrix": [6, 7], "x": 8.25, "y": 4.5}, + {"label": ",", "matrix": [6, 8], "x": 9.25, "y": 4.5}, + {"label": ".", "matrix": [6, 9], "x": 10.25, "y": 4.5}, + {"label": "/", "matrix": [7, 10], "x": 11.25, "y": 4.5}, + {"label": "Shift", "matrix": [6, 1], "x": 12.25, "y": 4.5, "w": 2.75}, + + {"label": "\u2191", "matrix": [0, 14], "x": 16.5, "y": 4.5}, + + {"label": "1", "matrix": [5, 11], "x": 19, "y": 4.5}, + {"label": "2", "matrix": [5, 12], "x": 20, "y": 4.5}, + {"label": "3", "matrix": [5, 13], "x": 21, "y": 4.5}, + {"label": "Enter", "matrix": [5, 14], "x": 22, "y": 4.5, "h": 2}, + + {"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, + {"label": "Alt", "matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, + {"label": "Space", "matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, + {"label": "Alt Gr", "matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, + {"label": "Ctrl", "matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, + + {"label": "\u2190", "matrix": [7, 14], "x": 15.5, "y": 5.5}, + {"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5}, + {"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5}, + + {"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5, "w": 2}, + {"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5} ] } } diff --git a/keyboards/yugo_m/model_m_101/matrix_diagram.md b/keyboards/yugo_m/model_m_101/matrix_diagram.md new file mode 100644 index 0000000000..d98bec10a2 --- /dev/null +++ b/keyboards/yugo_m/model_m_101/matrix_diagram.md @@ -0,0 +1,27 @@ +# Matrix Diagram for Yugo-M (Model M replacment controller) + +``` +┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐ +│02 │ │23 │24 │14 │04 │ │06 │08 │19 │29 │ │26 │36 │3B │3C │ │3F │4F │6E │ +└───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┬───┐ +│22 │32 │33 │34 │35 │25 │27 │37 │38 │39 │3A │2A │28 │46 │16 │ │2C │2E │2D │ │6B │6C │6D │7D │ +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ├───┼───┼───┤ ├───┼───┼───┼───┤ ┌───┐ +│12 │42 │43 │44 │45 │15 │17 │47 │48 │49 │4A │1A │18 │56 │ │2B │3E │3D │ │4B │4C │4D │4E │ │ │ +├────┬┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ └───┴───┴───┘ ├───┼───┼───┼───┤ │4E │ 2u Numpad Plus +│13 ┊ │52 │53 │54 │55 │05 │07 │57 │58 │59 │5A │0A │66 │ │1B │1C │1D │1E │ │ │ +├────┼─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┤ ┌───┐ ├───┼───┼───┼───┤ ├───┤ +│11 │03 │62 │63 │64 │65 │75 │77 │67 │68 │69 │7A │78 │61 │ │0E │ │5B │5C │5D │5E │ │ │ +├────┴┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴┬─────┤ ┌───┼───┼───┐ ├───┼───┼───┼───┤ │5E │ 2u Numpad Enter +│20 │ │0F │76 │7F │ │60 │ │7E │7B │7C │ │0B │0C │0D │5F │ │ │ +└─────┘ └─────┴───────────────────────────┴─────┘ └─────┘ └───┴───┴───┘ └───┴───┴───┴───┘ └───┘ + ┌───────┐ + 2u Backspace │16 │ + └─┬─────┤ + │ │ + ISO Enter ┌──┴┐66 │ + │6A │ │ +┌────────┐ ┌─┴───┴────┤ ┌───────┐ +│11 │ 2.25u LShift 2.75u RShift │61 │ │0B │ 2u Numpad Zero +└────────┘ └──────────┘ └───────┘ +``` -- cgit v1.2.3 From f98f8eedf0dc6fe939162210ad44d5af8a0dfa08 Mon Sep 17 00:00:00 2001 From: nuess0r Date: Sat, 27 May 2023 15:12:36 +0200 Subject: Consolidate modelm v2 (#14996) Co-authored-by: Ryan Co-authored-by: Nick Brassel --- keyboards/yugo_m/model_m_101/config.h | 42 --- keyboards/yugo_m/model_m_101/info.json | 398 --------------------- .../yugo_m/model_m_101/keymaps/default/keymap.c | 46 --- .../yugo_m/model_m_101/keymaps/default/readme.md | 1 - keyboards/yugo_m/model_m_101/model_m_101.c | 35 -- keyboards/yugo_m/model_m_101/readme.md | 25 -- keyboards/yugo_m/model_m_101/rules.mk | 12 - keyboards/yugo_m/readme.md | 19 - 8 files changed, 578 deletions(-) delete mode 100644 keyboards/yugo_m/model_m_101/config.h delete mode 100644 keyboards/yugo_m/model_m_101/info.json delete mode 100644 keyboards/yugo_m/model_m_101/keymaps/default/keymap.c delete mode 100644 keyboards/yugo_m/model_m_101/keymaps/default/readme.md delete mode 100644 keyboards/yugo_m/model_m_101/model_m_101.c delete mode 100644 keyboards/yugo_m/model_m_101/readme.md delete mode 100644 keyboards/yugo_m/model_m_101/rules.mk delete mode 100644 keyboards/yugo_m/readme.md (limited to 'keyboards/yugo_m') diff --git a/keyboards/yugo_m/model_m_101/config.h b/keyboards/yugo_m/model_m_101/config.h deleted file mode 100644 index 2b7fc4d157..0000000000 --- a/keyboards/yugo_m/model_m_101/config.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2020 Nidzo Tomic -Copyright 2022 an_achronism <87213873+an-achronism@users.noreply.github.com> - -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 - -/* define if matrix has ghost */ -#define MATRIX_HAS_GHOST - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -/* redefine available (emulated) EEPROM as 4 kB rather than the default 2 kB to let VIA use more of the on-chip Flash of the STM32F303 to store 4 layers (since 4 layers * 8 rows * 16 columns * 2 = 1024 bytes but the default max available is 1023 bytes due to ATMEGA32U4 etc. only having 1 kB of EEPROM) */ -#define WEAR_LEVELING_BACKING_SIZE 4096 -#define WEAR_LEVELING_LOGICAL_SIZE 2048 diff --git a/keyboards/yugo_m/model_m_101/info.json b/keyboards/yugo_m/model_m_101/info.json deleted file mode 100644 index 9c1aeb0ac9..0000000000 --- a/keyboards/yugo_m/model_m_101/info.json +++ /dev/null @@ -1,398 +0,0 @@ -{ - "keyboard_name": "Yugo-M (Model M replacment controller)", - "manufacturer": "IBM", - "url": "https://github.com/tomic1785/qmk_firmware/tree/stm32_model_m/keyboards/yugo_m/model_m_101", - "maintainer": "Nidzo Tomic", - "usb": { - "vid": "0xFEED", - "pid": "0x8E81", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3"], - "rows": ["B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"] - }, - "diode_direction": "ROW2COL", - "processor": "STM32F303", - "bootloader": "stm32-dfu", - "board": "QMK_PROTON_C", - "layouts": { - "LAYOUT_all": { - "layout": [ - {"label": "Esc", "matrix": [0, 2], "x": 0, "y": 0}, - - {"label": "F1", "matrix": [2, 3], "x": 2, "y": 0}, - {"label": "F2", "matrix": [2, 4], "x": 3, "y": 0}, - {"label": "F3", "matrix": [1, 4], "x": 4, "y": 0}, - {"label": "F4", "matrix": [0, 4], "x": 5, "y": 0}, - - {"label": "F5", "matrix": [0, 6], "x": 6.5, "y": 0}, - {"label": "F6", "matrix": [0, 8], "x": 7.5, "y": 0}, - {"label": "F7", "matrix": [1, 9], "x": 8.5, "y": 0}, - {"label": "F8", "matrix": [2, 9], "x": 9.5, "y": 0}, - - {"label": "F9", "matrix": [2, 6], "x": 11, "y": 0}, - {"label": "F10", "matrix": [3, 6], "x": 12, "y": 0}, - {"label": "F11", "matrix": [3, 11], "x": 13, "y": 0}, - {"label": "F12", "matrix": [3, 12], "x": 14, "y": 0}, - - {"label": "Print Screen", "matrix": [3, 15], "x": 15.5, "y": 0}, - {"label": "Scroll Lock", "matrix": [4, 15], "x": 16.5, "y": 0}, - {"label": "Pause", "matrix": [6, 14], "x": 17.5, "y": 0}, - - {"label": "`", "matrix": [2, 2], "x": 0, "y": 1.5}, - {"label": "1", "matrix": [3, 2], "x": 1, "y": 1.5}, - {"label": "2", "matrix": [3, 3], "x": 2, "y": 1.5}, - {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.5}, - {"label": "4", "matrix": [3, 5], "x": 4, "y": 1.5}, - {"label": "5", "matrix": [2, 5], "x": 5, "y": 1.5}, - {"label": "6", "matrix": [2, 7], "x": 6, "y": 1.5}, - {"label": "7", "matrix": [3, 7], "x": 7, "y": 1.5}, - {"label": "8", "matrix": [3, 8], "x": 8, "y": 1.5}, - {"label": "9", "matrix": [3, 9], "x": 9, "y": 1.5}, - {"label": "0", "matrix": [3, 10], "x": 10, "y": 1.5}, - {"label": "-", "matrix": [2, 10], "x": 11, "y": 1.5}, - {"label": "=", "matrix": [2, 8], "x": 12, "y": 1.5}, - {"label": "\\", "matrix": [4, 6], "x": 13, "y": 1.5}, - {"label": "Backspace", "matrix": [1, 6], "x": 14, "y": 1.5}, - - {"label": "Insert", "matrix": [2, 12], "x": 15.5, "y": 1.5}, - {"label": "Home", "matrix": [2, 14], "x": 16.5, "y": 1.5}, - {"label": "Page Up", "matrix": [2, 13], "x": 17.5, "y": 1.5}, - - {"label": "Num Lock", "matrix": [6, 11], "x": 19, "y": 1.5}, - {"label": "/", "matrix": [6, 12], "x": 20, "y": 1.5}, - {"label": "*", "matrix": [6, 13], "x": 21, "y": 1.5}, - {"label": "-", "matrix": [7, 13], "x": 22, "y": 1.5}, - - {"label": "Tab", "matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, - {"label": "Q", "matrix": [4, 2], "x": 1.5, "y": 2.5}, - {"label": "W", "matrix": [4, 3], "x": 2.5, "y": 2.5}, - {"label": "E", "matrix": [4, 4], "x": 3.5, "y": 2.5}, - {"label": "R", "matrix": [4, 5], "x": 4.5, "y": 2.5}, - {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2.5}, - {"label": "Y", "matrix": [1, 7], "x": 6.5, "y": 2.5}, - {"label": "U", "matrix": [4, 7], "x": 7.5, "y": 2.5}, - {"label": "I", "matrix": [4, 8], "x": 8.5, "y": 2.5}, - {"label": "O", "matrix": [4, 9], "x": 9.5, "y": 2.5}, - {"label": "P", "matrix": [4, 10], "x": 10.5, "y": 2.5}, - {"label": "[", "matrix": [1, 10], "x": 11.5, "y": 2.5}, - {"label": "]", "matrix": [1, 8], "x": 12.5, "y": 2.5}, - {"label": "\\", "matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5}, - - {"label": "Delete", "matrix": [2, 11], "x": 15.5, "y": 2.5}, - {"label": "End", "matrix": [3, 14], "x": 16.5, "y": 2.5}, - {"label": "Page Down", "matrix": [3, 13], "x": 17.5, "y": 2.5}, - - {"label": "7", "matrix": [4, 11], "x": 19, "y": 2.5}, - {"label": "8", "matrix": [4, 12], "x": 20, "y": 2.5}, - {"label": "9", "matrix": [4, 13], "x": 21, "y": 2.5}, - {"label": "+", "matrix": [4, 14], "x": 22, "y": 2.5}, - - {"label": "Caps Lock", "matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, - {"label": "A", "matrix": [5, 2], "x": 1.75, "y": 3.5}, - {"label": "S", "matrix": [5, 3], "x": 2.75, "y": 3.5}, - {"label": "D", "matrix": [5, 4], "x": 3.75, "y": 3.5}, - {"label": "F", "matrix": [5, 5], "x": 4.75, "y": 3.5}, - {"label": "G", "matrix": [0, 5], "x": 5.75, "y": 3.5}, - {"label": "H", "matrix": [0, 7], "x": 6.75, "y": 3.5}, - {"label": "J", "matrix": [5, 7], "x": 7.75, "y": 3.5}, - {"label": "K", "matrix": [5, 8], "x": 8.75, "y": 3.5}, - {"label": "L", "matrix": [5, 9], "x": 9.75, "y": 3.5}, - {"label": ";", "matrix": [5, 10], "x": 10.75, "y": 3.5}, - {"label": "'", "matrix": [0, 10], "x": 11.75, "y": 3.5}, - {"label": "#", "matrix": [6, 10], "x": 12.75, "y": 3.5}, - {"label": "Enter", "matrix": [6, 6], "x": 13.75, "y": 3.5, "w": 1.25}, - - {"label": "4", "matrix": [1, 11], "x": 19, "y": 3.5}, - {"label": "5", "matrix": [1, 12], "x": 20, "y": 3.5}, - {"label": "6", "matrix": [1, 13], "x": 21, "y": 3.5}, - {"label": "=", "matrix": [1, 14], "x": 22, "y": 3.5}, - - {"label": "Shift", "matrix": [1, 1], "x": 0, "y": 4.5, "w": 1.25}, - {"label": "\\", "matrix": [0, 3], "x": 1.25, "y": 4.5}, - {"label": "Z", "matrix": [6, 2], "x": 2.25, "y": 4.5}, - {"label": "X", "matrix": [6, 3], "x": 3.25, "y": 4.5}, - {"label": "C", "matrix": [6, 4], "x": 4.25, "y": 4.5}, - {"label": "V", "matrix": [6, 5], "x": 5.25, "y": 4.5}, - {"label": "B", "matrix": [7, 5], "x": 6.25, "y": 4.5}, - {"label": "N", "matrix": [7, 7], "x": 7.25, "y": 4.5}, - {"label": "M", "matrix": [6, 7], "x": 8.25, "y": 4.5}, - {"label": ",", "matrix": [6, 8], "x": 9.25, "y": 4.5}, - {"label": ".", "matrix": [6, 9], "x": 10.25, "y": 4.5}, - {"label": "/", "matrix": [7, 10], "x": 11.25, "y": 4.5}, - {"label": "\\", "matrix": [7, 8], "x": 12.25, "y": 4.5}, - {"label": "Shift", "matrix": [6, 1], "x": 13.25, "y": 4.5, "w": 1.75}, - - {"label": "\u2191", "matrix": [0, 14], "x": 16.5, "y": 4.5}, - - {"label": "1", "matrix": [5, 11], "x": 19, "y": 4.5}, - {"label": "2", "matrix": [5, 12], "x": 20, "y": 4.5}, - {"label": "3", "matrix": [5, 13], "x": 21, "y": 4.5}, - {"label": "Enter", "matrix": [5, 14], "x": 22, "y": 4.5}, - - {"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, - {"label": "Alt", "matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, - {"label": "Space", "matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, - {"label": "Alt Gr", "matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, - {"label": "Ctrl", "matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, - - {"label": "\u2190", "matrix": [7, 14], "x": 15.5, "y": 5.5}, - {"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5}, - {"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5}, - - {"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5}, - {"label": ",", "matrix": [0, 12], "x": 20, "y": 5.5}, - {"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5}, - {"label": "GUI", "matrix": [5, 15], "x": 22, "y": 5.5} - ] - }, - "LAYOUT_fullsize_ansi_wkl": { - "layout": [ - {"label": "Esc", "matrix": [0, 2], "x": 0, "y": 0}, - - {"label": "F1", "matrix": [2, 3], "x": 2, "y": 0}, - {"label": "F2", "matrix": [2, 4], "x": 3, "y": 0}, - {"label": "F3", "matrix": [1, 4], "x": 4, "y": 0}, - {"label": "F4", "matrix": [0, 4], "x": 5, "y": 0}, - - {"label": "F5", "matrix": [0, 6], "x": 6.5, "y": 0}, - {"label": "F6", "matrix": [0, 8], "x": 7.5, "y": 0}, - {"label": "F7", "matrix": [1, 9], "x": 8.5, "y": 0}, - {"label": "F8", "matrix": [2, 9], "x": 9.5, "y": 0}, - - {"label": "F9", "matrix": [2, 6], "x": 11, "y": 0}, - {"label": "F10", "matrix": [3, 6], "x": 12, "y": 0}, - {"label": "F11", "matrix": [3, 11], "x": 13, "y": 0}, - {"label": "F12", "matrix": [3, 12], "x": 14, "y": 0}, - - {"label": "Print Screen", "matrix": [3, 15], "x": 15.5, "y": 0}, - {"label": "Scroll Lock", "matrix": [4, 15], "x": 16.5, "y": 0}, - {"label": "Pause", "matrix": [6, 14], "x": 17.5, "y": 0}, - - {"label": "`", "matrix": [2, 2], "x": 0, "y": 1.5}, - {"label": "1", "matrix": [3, 2], "x": 1, "y": 1.5}, - {"label": "2", "matrix": [3, 3], "x": 2, "y": 1.5}, - {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.5}, - {"label": "4", "matrix": [3, 5], "x": 4, "y": 1.5}, - {"label": "5", "matrix": [2, 5], "x": 5, "y": 1.5}, - {"label": "6", "matrix": [2, 7], "x": 6, "y": 1.5}, - {"label": "7", "matrix": [3, 7], "x": 7, "y": 1.5}, - {"label": "8", "matrix": [3, 8], "x": 8, "y": 1.5}, - {"label": "9", "matrix": [3, 9], "x": 9, "y": 1.5}, - {"label": "0", "matrix": [3, 10], "x": 10, "y": 1.5}, - {"label": "-", "matrix": [2, 10], "x": 11, "y": 1.5}, - {"label": "=", "matrix": [2, 8], "x": 12, "y": 1.5}, - {"label": "Backspace", "matrix": [1, 6], "x": 13, "y": 1.5, "w": 2}, - - {"label": "Insert", "matrix": [2, 12], "x": 15.5, "y": 1.5}, - {"label": "Home", "matrix": [2, 14], "x": 16.5, "y": 1.5}, - {"label": "Page Up", "matrix": [2, 13], "x": 17.5, "y": 1.5}, - - {"label": "Num Lock", "matrix": [6, 11], "x": 19, "y": 1.5}, - {"label": "/", "matrix": [6, 12], "x": 20, "y": 1.5}, - {"label": "*", "matrix": [6, 13], "x": 21, "y": 1.5}, - {"label": "-", "matrix": [7, 13], "x": 22, "y": 1.5}, - - {"label": "Tab", "matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, - {"label": "Q", "matrix": [4, 2], "x": 1.5, "y": 2.5}, - {"label": "W", "matrix": [4, 3], "x": 2.5, "y": 2.5}, - {"label": "E", "matrix": [4, 4], "x": 3.5, "y": 2.5}, - {"label": "R", "matrix": [4, 5], "x": 4.5, "y": 2.5}, - {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2.5}, - {"label": "Y", "matrix": [1, 7], "x": 6.5, "y": 2.5}, - {"label": "U", "matrix": [4, 7], "x": 7.5, "y": 2.5}, - {"label": "I", "matrix": [4, 8], "x": 8.5, "y": 2.5}, - {"label": "O", "matrix": [4, 9], "x": 9.5, "y": 2.5}, - {"label": "P", "matrix": [4, 10], "x": 10.5, "y": 2.5}, - {"label": "[", "matrix": [1, 10], "x": 11.5, "y": 2.5}, - {"label": "]", "matrix": [1, 8], "x": 12.5, "y": 2.5}, - {"label": "\\", "matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5}, - - {"label": "Delete", "matrix": [2, 11], "x": 15.5, "y": 2.5}, - {"label": "End", "matrix": [3, 14], "x": 16.5, "y": 2.5}, - {"label": "Page Down", "matrix": [3, 13], "x": 17.5, "y": 2.5}, - - {"label": "7", "matrix": [4, 11], "x": 19, "y": 2.5}, - {"label": "8", "matrix": [4, 12], "x": 20, "y": 2.5}, - {"label": "9", "matrix": [4, 13], "x": 21, "y": 2.5}, - {"label": "+", "matrix": [4, 14], "x": 22, "y": 2.5, "h": 2}, - - {"label": "Caps Lock", "matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, - {"label": "A", "matrix": [5, 2], "x": 1.75, "y": 3.5}, - {"label": "S", "matrix": [5, 3], "x": 2.75, "y": 3.5}, - {"label": "D", "matrix": [5, 4], "x": 3.75, "y": 3.5}, - {"label": "F", "matrix": [5, 5], "x": 4.75, "y": 3.5}, - {"label": "G", "matrix": [0, 5], "x": 5.75, "y": 3.5}, - {"label": "H", "matrix": [0, 7], "x": 6.75, "y": 3.5}, - {"label": "J", "matrix": [5, 7], "x": 7.75, "y": 3.5}, - {"label": "K", "matrix": [5, 8], "x": 8.75, "y": 3.5}, - {"label": "L", "matrix": [5, 9], "x": 9.75, "y": 3.5}, - {"label": ";", "matrix": [5, 10], "x": 10.75, "y": 3.5}, - {"label": "'", "matrix": [0, 10], "x": 11.75, "y": 3.5}, - {"label": "Enter", "matrix": [6, 6], "x": 12.75, "y": 3.5, "w": 2.25}, - - {"label": "4", "matrix": [1, 11], "x": 19, "y": 3.5}, - {"label": "5", "matrix": [1, 12], "x": 20, "y": 3.5}, - {"label": "6", "matrix": [1, 13], "x": 21, "y": 3.5}, - - {"label": "Shift", "matrix": [1, 1], "x": 0, "y": 4.5, "w": 2.25}, - {"label": "Z", "matrix": [6, 2], "x": 2.25, "y": 4.5}, - {"label": "X", "matrix": [6, 3], "x": 3.25, "y": 4.5}, - {"label": "C", "matrix": [6, 4], "x": 4.25, "y": 4.5}, - {"label": "V", "matrix": [6, 5], "x": 5.25, "y": 4.5}, - {"label": "B", "matrix": [7, 5], "x": 6.25, "y": 4.5}, - {"label": "N", "matrix": [7, 7], "x": 7.25, "y": 4.5}, - {"label": "M", "matrix": [6, 7], "x": 8.25, "y": 4.5}, - {"label": ",", "matrix": [6, 8], "x": 9.25, "y": 4.5}, - {"label": ".", "matrix": [6, 9], "x": 10.25, "y": 4.5}, - {"label": "/", "matrix": [7, 10], "x": 11.25, "y": 4.5}, - {"label": "Shift", "matrix": [6, 1], "x": 12.25, "y": 4.5, "w": 2.75}, - - {"label": "\u2191", "matrix": [0, 14], "x": 16.5, "y": 4.5}, - - {"label": "1", "matrix": [5, 11], "x": 19, "y": 4.5}, - {"label": "2", "matrix": [5, 12], "x": 20, "y": 4.5}, - {"label": "3", "matrix": [5, 13], "x": 21, "y": 4.5}, - {"label": "Enter", "matrix": [5, 14], "x": 22, "y": 4.5, "h": 2}, - - {"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, - {"label": "Alt", "matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, - {"label": "Space", "matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, - {"label": "Alt Gr", "matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, - {"label": "Ctrl", "matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, - - {"label": "\u2190", "matrix": [7, 14], "x": 15.5, "y": 5.5}, - {"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5}, - {"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5}, - - {"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5, "w": 2}, - {"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5} - ] - }, - "LAYOUT_fullsize_iso_wkl": { - "layout": [ - {"label": "Esc", "matrix": [0, 2], "x": 0, "y": 0}, - - {"label": "F1", "matrix": [2, 3], "x": 2, "y": 0}, - {"label": "F2", "matrix": [2, 4], "x": 3, "y": 0}, - {"label": "F3", "matrix": [1, 4], "x": 4, "y": 0}, - {"label": "F4", "matrix": [0, 4], "x": 5, "y": 0}, - - {"label": "F5", "matrix": [0, 6], "x": 6.5, "y": 0}, - {"label": "F6", "matrix": [0, 8], "x": 7.5, "y": 0}, - {"label": "F7", "matrix": [1, 9], "x": 8.5, "y": 0}, - {"label": "F8", "matrix": [2, 9], "x": 9.5, "y": 0}, - - {"label": "F9", "matrix": [2, 6], "x": 11, "y": 0}, - {"label": "F10", "matrix": [3, 6], "x": 12, "y": 0}, - {"label": "F11", "matrix": [3, 11], "x": 13, "y": 0}, - {"label": "F12", "matrix": [3, 12], "x": 14, "y": 0}, - - {"label": "Print Screen", "matrix": [3, 15], "x": 15.5, "y": 0}, - {"label": "Scroll Lock", "matrix": [4, 15], "x": 16.5, "y": 0}, - {"label": "Pause", "matrix": [6, 14], "x": 17.5, "y": 0}, - - {"label": "`", "matrix": [2, 2], "x": 0, "y": 1.5}, - {"label": "1", "matrix": [3, 2], "x": 1, "y": 1.5}, - {"label": "2", "matrix": [3, 3], "x": 2, "y": 1.5}, - {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.5}, - {"label": "4", "matrix": [3, 5], "x": 4, "y": 1.5}, - {"label": "5", "matrix": [2, 5], "x": 5, "y": 1.5}, - {"label": "6", "matrix": [2, 7], "x": 6, "y": 1.5}, - {"label": "7", "matrix": [3, 7], "x": 7, "y": 1.5}, - {"label": "8", "matrix": [3, 8], "x": 8, "y": 1.5}, - {"label": "9", "matrix": [3, 9], "x": 9, "y": 1.5}, - {"label": "0", "matrix": [3, 10], "x": 10, "y": 1.5}, - {"label": "-", "matrix": [2, 10], "x": 11, "y": 1.5}, - {"label": "=", "matrix": [2, 8], "x": 12, "y": 1.5}, - {"label": "Backspace", "matrix": [1, 6], "x": 13, "y": 1.5, "w": 2}, - - {"label": "Insert", "matrix": [2, 12], "x": 15.5, "y": 1.5}, - {"label": "Home", "matrix": [2, 14], "x": 16.5, "y": 1.5}, - {"label": "Page Up", "matrix": [2, 13], "x": 17.5, "y": 1.5}, - - {"label": "Num Lock", "matrix": [6, 11], "x": 19, "y": 1.5}, - {"label": "/", "matrix": [6, 12], "x": 20, "y": 1.5}, - {"label": "*", "matrix": [6, 13], "x": 21, "y": 1.5}, - {"label": "-", "matrix": [7, 13], "x": 22, "y": 1.5}, - - {"label": "Tab", "matrix": [1, 2], "x": 0, "y": 2.5, "w": 1.5}, - {"label": "Q", "matrix": [4, 2], "x": 1.5, "y": 2.5}, - {"label": "W", "matrix": [4, 3], "x": 2.5, "y": 2.5}, - {"label": "E", "matrix": [4, 4], "x": 3.5, "y": 2.5}, - {"label": "R", "matrix": [4, 5], "x": 4.5, "y": 2.5}, - {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2.5}, - {"label": "Y", "matrix": [1, 7], "x": 6.5, "y": 2.5}, - {"label": "U", "matrix": [4, 7], "x": 7.5, "y": 2.5}, - {"label": "I", "matrix": [4, 8], "x": 8.5, "y": 2.5}, - {"label": "O", "matrix": [4, 9], "x": 9.5, "y": 2.5}, - {"label": "P", "matrix": [4, 10], "x": 10.5, "y": 2.5}, - {"label": "[", "matrix": [1, 10], "x": 11.5, "y": 2.5}, - {"label": "]", "matrix": [1, 8], "x": 12.5, "y": 2.5}, - - {"label": "Delete", "matrix": [2, 11], "x": 15.5, "y": 2.5}, - {"label": "End", "matrix": [3, 14], "x": 16.5, "y": 2.5}, - {"label": "Page Down", "matrix": [3, 13], "x": 17.5, "y": 2.5}, - - {"label": "7", "matrix": [4, 11], "x": 19, "y": 2.5}, - {"label": "8", "matrix": [4, 12], "x": 20, "y": 2.5}, - {"label": "9", "matrix": [4, 13], "x": 21, "y": 2.5}, - {"label": "+", "matrix": [4, 14], "x": 22, "y": 2.5, "h": 2}, - - {"label": "Caps Lock", "matrix": [1, 3], "x": 0, "y": 3.5, "w": 1.25}, - {"label": "A", "matrix": [5, 2], "x": 1.75, "y": 3.5}, - {"label": "S", "matrix": [5, 3], "x": 2.75, "y": 3.5}, - {"label": "D", "matrix": [5, 4], "x": 3.75, "y": 3.5}, - {"label": "F", "matrix": [5, 5], "x": 4.75, "y": 3.5}, - {"label": "G", "matrix": [0, 5], "x": 5.75, "y": 3.5}, - {"label": "H", "matrix": [0, 7], "x": 6.75, "y": 3.5}, - {"label": "J", "matrix": [5, 7], "x": 7.75, "y": 3.5}, - {"label": "K", "matrix": [5, 8], "x": 8.75, "y": 3.5}, - {"label": "L", "matrix": [5, 9], "x": 9.75, "y": 3.5}, - {"label": ";", "matrix": [5, 10], "x": 10.75, "y": 3.5}, - {"label": "'", "matrix": [0, 10], "x": 11.75, "y": 3.5}, - {"label": "#", "matrix": [6, 10], "x": 12.75, "y": 3.5}, - {"label": "Enter", "matrix": [6, 6], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2}, - - {"label": "4", "matrix": [1, 11], "x": 19, "y": 3.5}, - {"label": "5", "matrix": [1, 12], "x": 20, "y": 3.5}, - {"label": "6", "matrix": [1, 13], "x": 21, "y": 3.5}, - - {"label": "Shift", "matrix": [1, 1], "x": 0, "y": 4.5, "w": 1.25}, - {"label": "\\", "matrix": [0, 3], "x": 1.25, "y": 4.5}, - {"label": "Z", "matrix": [6, 2], "x": 2.25, "y": 4.5}, - {"label": "X", "matrix": [6, 3], "x": 3.25, "y": 4.5}, - {"label": "C", "matrix": [6, 4], "x": 4.25, "y": 4.5}, - {"label": "V", "matrix": [6, 5], "x": 5.25, "y": 4.5}, - {"label": "B", "matrix": [7, 5], "x": 6.25, "y": 4.5}, - {"label": "N", "matrix": [7, 7], "x": 7.25, "y": 4.5}, - {"label": "M", "matrix": [6, 7], "x": 8.25, "y": 4.5}, - {"label": ",", "matrix": [6, 8], "x": 9.25, "y": 4.5}, - {"label": ".", "matrix": [6, 9], "x": 10.25, "y": 4.5}, - {"label": "/", "matrix": [7, 10], "x": 11.25, "y": 4.5}, - {"label": "Shift", "matrix": [6, 1], "x": 12.25, "y": 4.5, "w": 2.75}, - - {"label": "\u2191", "matrix": [0, 14], "x": 16.5, "y": 4.5}, - - {"label": "1", "matrix": [5, 11], "x": 19, "y": 4.5}, - {"label": "2", "matrix": [5, 12], "x": 20, "y": 4.5}, - {"label": "3", "matrix": [5, 13], "x": 21, "y": 4.5}, - {"label": "Enter", "matrix": [5, 14], "x": 22, "y": 4.5, "h": 2}, - - {"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 5.5, "w": 1.5}, - {"label": "Alt", "matrix": [0, 15], "x": 2.5, "y": 5.5, "w": 1.5}, - {"label": "Space", "matrix": [7, 6], "x": 4, "y": 5.5, "w": 7}, - {"label": "Alt Gr", "matrix": [7, 15], "x": 11, "y": 5.5, "w": 1.5}, - {"label": "Ctrl", "matrix": [6, 0], "x": 13.5, "y": 5.5, "w": 1.5}, - - {"label": "\u2190", "matrix": [7, 14], "x": 15.5, "y": 5.5}, - {"label": "\u2193", "matrix": [7, 11], "x": 16.5, "y": 5.5}, - {"label": "\u2192", "matrix": [7, 12], "x": 17.5, "y": 5.5}, - - {"label": "0", "matrix": [0, 11], "x": 19, "y": 5.5, "w": 2}, - {"label": ".", "matrix": [0, 13], "x": 21, "y": 5.5} - ] - } - } -} diff --git a/keyboards/yugo_m/model_m_101/keymaps/default/keymap.c b/keyboards/yugo_m/model_m_101/keymaps/default/keymap.c deleted file mode 100644 index 2759790e4f..0000000000 --- a/keyboards/yugo_m/model_m_101/keymaps/default/keymap.c +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright 2020 Nidzo Tomic - * Copyright 2022 an_achronism <87213873+an-achronism@users.noreply.github.com> - * - * 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 QMK_KEYBOARD_H - -enum keyboard_layers { - _BL, // Base Layer -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Layer 0: Default Layer - * ,-------------------------------------------------------------------------------------------------. - * |Esc| |F1 |F2 |F3 |F4 | |F5 |F6 |F7 |F8 | |F9 |F10|F11|F12| |PSc|ScL|Pse| | - * | | - * |` |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |¥ |BSp| |Ins|Hom|PgU| |Num|/ |* |- | - * |-----------------------------------------------------------| |-----------| |---------------| - * |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ | |Del|End|PgD| |7 |8 |9 |+ | - * |-----------------------------------------------------------| |---------------| - * |CapsLk|A |S |D |F |G |H |J |K |L |; |' |# |Ent | |4 |5 |6 |= | - * |-----------------------------------------------------------| |---------------| - * |Shift|\ |Z |X |C |V |B |N |M |, |. |/ |\ |Shift| |Up | |1 |2 |3 |Ent| - * |-----------------------------------------------------------| |---| |---------------| - * |Ctrl | |Alt | Space |Alt Gr| |Ctrl | |Lt |Dn |Rt | |0 |, |. |GUI| - * `-------------------------------------------------------------------------------------------------' - */ - [_BL] = LAYOUT_all( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_INT3, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PEQL, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_INT1, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_INT6, KC_PDOT, KC_LGUI), -}; diff --git a/keyboards/yugo_m/model_m_101/keymaps/default/readme.md b/keyboards/yugo_m/model_m_101/keymaps/default/readme.md deleted file mode 100644 index 3d983cc1e7..0000000000 --- a/keyboards/yugo_m/model_m_101/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for IBM/Lexmark/Unicomp Enhanced Keyboards (a.k.a. "Keyboard M", "Model M") with arrays comprising between 101 and 108 keys (unused keys can simply be ignored as they will be physically blocked by keycap stabiliser posts). As of February 2022, ANSI, ISO, and JIS key positions are all supported and mapped to the appropriate default functions. diff --git a/keyboards/yugo_m/model_m_101/model_m_101.c b/keyboards/yugo_m/model_m_101/model_m_101.c deleted file mode 100644 index 87e681d8e0..0000000000 --- a/keyboards/yugo_m/model_m_101/model_m_101.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright 2020 Nidzo Tomic - * - * 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 "quantum.h" - -void keyboard_pre_init_kb(void) { - // Set our LED pins as output - setPinOutput(A2); - setPinOutput(A1); - setPinOutput(A0); - - keyboard_pre_init_user(); -} - -bool led_update_kb(led_t led_state) { - bool res = led_update_user(led_state); - if(res) { - writePin(A2, !led_state.num_lock); - writePin(A1, !led_state.caps_lock); - writePin(A0, !led_state.scroll_lock); - } - return res; -} diff --git a/keyboards/yugo_m/model_m_101/readme.md b/keyboards/yugo_m/model_m_101/readme.md deleted file mode 100644 index 7c14dea804..0000000000 --- a/keyboards/yugo_m/model_m_101/readme.md +++ /dev/null @@ -1,25 +0,0 @@ -# Yugo-M - -![Yugo-M](https://raw.githubusercontent.com/tomic1785/Yugo-M-controller-project/master/Pictures/rev_09b.jpg) - -A drop-in replacement controller PCB for IBM Model M keyboards, based on the STM32 MCU. [More info on the Yugo-M project repository](https://github.com/tomic1785/Yugo-M-controller-project) - -* Keyboard Maintainer: [Nidzo Tomic](https://github.com/tomic1785) -* Hardware Supported: Yugo-M PCB - * Rev 0.9b - * Rev 1.1b -* Hardware Availability: [Check out the project repository](https://github.com/tomic1785/Yugo-M-controller-project) - -Make example for this keyboard (after setting up your build environment): - - make yugo_m/model_m_101:default - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - - - -Note regarding 2022 matrix update: - -The original author's firmware did not make several lesser-used membrane/matrix positions available to the controller. These are useful for JIS users and/or if you simply want to create a more unique layout. I've added all of the unused membrane positions to the firmware, except for an extremely seldom used one that sits in the left side of the space bar on some later membranes (I would have added it if I knew its matrix position, but I haven't mapped that out yet). The default mappings for these additional keys follow JIS conventions, except for the extra key on the bottom right corner of the numpad (lower half of vertical 2u Enter), which I've mapped to the LGUI key a.k.a. left Windows/Command key for now. Remap as you wish! - -- an_achronism, February 2022 \ No newline at end of file diff --git a/keyboards/yugo_m/model_m_101/rules.mk b/keyboards/yugo_m/model_m_101/rules.mk deleted file mode 100644 index ab2c49da70..0000000000 --- a/keyboards/yugo_m/model_m_101/rules.mk +++ /dev/null @@ -1,12 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/yugo_m/readme.md b/keyboards/yugo_m/readme.md deleted file mode 100644 index 40c7b64073..0000000000 --- a/keyboards/yugo_m/readme.md +++ /dev/null @@ -1,19 +0,0 @@ -# Yugo-M - An STM32-based IBM Model M controller - -A drop-in replacement controller PCB for IBM Model M keyboards. -Currently available only for 101/102 key keyboards. - -* Keyboard Maintainer: [Nidzo Tomic](https://github.com/tomic1785) -* Hardware Supported: Yugo-M PCB - * Rev 0.9b - * Rev 1.1b - -For more info visit the project repository: [Yugo-M-controller-project](https://github.com/tomic1785/Yugo-M-controller-project) - - - -Note regarding 2022 matrix update: - -The original author's firmware did not make several lesser-used membrane/matrix positions available to the controller. These are useful for JIS users and/or if you simply want to create a more unique layout. I've added all of the unused membrane positions to the firmware, except for an extremely seldom used one that sits in the left side of the space bar on some later membranes (I would have added it if I knew its matrix position, but I haven't mapped that out yet). The default mappings for these additional keys follow JIS conventions, except for the extra key on the bottom right corner of the numpad (lower half of vertical 2u Enter), which I've mapped to the LGUI key a.k.a. left Windows/Command key for now. Remap as you wish! - -- an_achronism, February 2022 \ No newline at end of file -- cgit v1.2.3