diff options
author | nuess0r <nussgipfel@brain4free.org> | 2023-05-27 15:12:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 23:12:36 +1000 |
commit | f98f8eedf0dc6fe939162210ad44d5af8a0dfa08 (patch) | |
tree | 171b1de71a2fec4e7c4f30b6c7e0275061a8d3f3 /keyboards/yugo_m/model_m_101 | |
parent | e759230706373e9db8a0d6758f8c210288870d9f (diff) |
Consolidate modelm v2 (#14996)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/yugo_m/model_m_101')
-rw-r--r-- | keyboards/yugo_m/model_m_101/config.h | 42 | ||||
-rw-r--r-- | keyboards/yugo_m/model_m_101/info.json | 398 | ||||
-rw-r--r-- | keyboards/yugo_m/model_m_101/keymaps/default/keymap.c | 46 | ||||
-rw-r--r-- | keyboards/yugo_m/model_m_101/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/yugo_m/model_m_101/model_m_101.c | 35 | ||||
-rw-r--r-- | keyboards/yugo_m/model_m_101/readme.md | 25 | ||||
-rw-r--r-- | keyboards/yugo_m/model_m_101/rules.mk | 12 |
7 files changed, 0 insertions, 559 deletions
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 <tomicn8@hotmail.com> -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 <http://www.gnu.org/licenses/>. -*/ - -#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 <tomicn8@hotmail.com> - * 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 <http://www.gnu.org/licenses/>. - */ -#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 <tomicn8@hotmail.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 <http://www.gnu.org/licenses/>. - */ -#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 |