Compare commits

...

44 Commits

Author SHA1 Message Date
Ming-Gih Lam
947dbbbca5
Merge 1f9941da70 into 9bea332a21 2024-11-20 22:22:13 -08:00
Ryan
9bea332a21
qmk via2json: Improve macro parsing (#24345) 2024-11-21 17:20:05 +11:00
Ryan
8cbcdcac62
qmk new-keymap: validate keymap name (#23420) 2024-11-21 17:18:51 +11:00
dcpedit
1f9941da70 Duplicate rules.mk 2024-10-21 22:25:14 -07:00
dcpedit
bcc734279c remove VIA files 2024-10-15 13:59:58 -07:00
dcpedit
e823a81001 format info.json 2024-10-15 12:09:58 -07:00
Ming-Gih Lam
1dd16d81b8
Update keyboards/dcpedit/modmmm/config.h
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-10-15 12:06:54 -07:00
dcpedit
6e44d23103 revert unrelated files 2024-08-05 12:39:46 -07:00
Ming-Gih Lam
88a14ebbda
Update keyboards/dcpedit/modmmm/standard/keyboard.json
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-11 09:52:04 -07:00
Ming-Gih Lam
2d4c32d494
Update keyboards/dcpedit/modmmm/ortho/keyboard.json
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-11 09:51:47 -07:00
dcpedit
aebaa238f3 Merge branch 'modmmm' of github.com:dcpedit/qmk_firmware into modmmm 2024-06-10 16:58:10 -07:00
Ming-Gih Lam
99e76dd168
Update keyboards/dcpedit/modmmm/readme.md
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-10 16:57:55 -07:00
Ming-Gih Lam
7045999564
Update keyboards/dcpedit/modmmm/readme.md
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-10 16:57:46 -07:00
dcpedit
0e74be0704 Add additional layouts to keyboard.json 2024-06-10 16:57:24 -07:00
Ming-Gih Lam
ee4532aac4
Update keyboards/dcpedit/modmmm/readme.md
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-10 14:00:52 -07:00
dcpedit
f68ef6a545 Move layout data back into respective keyboard.json 2024-06-01 09:57:00 -07:00
dcpedit
eca31ebda6 Revert "[docs] Remove gitbook directory (#23839)"
This reverts commit fa6d23235b.
2024-06-01 07:24:16 -07:00
dcpedit
8ec5e02ae8 Move layouts to info.json 2024-06-01 07:14:29 -07:00
dcpedit
8e7418bdca Rename info.json to keyboard.json 2024-06-01 07:10:39 -07:00
dcpedit
015b698981 Add widths to keyboard json 2024-06-01 06:31:01 -07:00
dcpedit
ed8ace9152 remove rules.mk 2024-06-01 06:31:01 -07:00
Ming-Gih Lam
021487b35c Update keyboards/dcpedit/modmmm/rules.mk
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-01 06:31:01 -07:00
Ming-Gih Lam
12e46ab836 Update keyboards/dcpedit/modmmm/config.h
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-01 06:31:01 -07:00
Ming-Gih Lam
25cc365cfd Update keyboards/dcpedit/modmmm/mcuconf.h
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-01 06:31:01 -07:00
Ming-Gih Lam
a58ab97e21 Update keyboards/dcpedit/modmmm/info.json
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-06-01 06:31:01 -07:00
dcpedit
12bd313122 Move url 2024-06-01 06:28:59 -07:00
dcpedit
713a7d6d5d Add ortho to readme 2024-06-01 06:28:59 -07:00
dcpedit
0c9266801f Split ortho vs standard 2024-06-01 06:28:59 -07:00
dcpedit
c7857be17f Fix keymapping 2024-06-01 06:26:17 -07:00
dcpedit
2b16c6d112 Update readme 2024-06-01 06:26:16 -07:00
dcpedit
dd3f490036 Mod Mmm support 2024-06-01 06:26:16 -07:00
dcpedit
82078b8fb2 Add widths to keyboard json 2024-05-31 13:52:09 -07:00
dcpedit
3edf426223 remove rules.mk 2024-05-31 13:29:09 -07:00
Ming-Gih Lam
c0ef2662d4
Update keyboards/dcpedit/modmmm/rules.mk
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-05-31 13:24:07 -07:00
Ming-Gih Lam
a510d44075
Update keyboards/dcpedit/modmmm/config.h
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-05-31 13:22:10 -07:00
Ming-Gih Lam
ab80654af3
Update keyboards/dcpedit/modmmm/mcuconf.h
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-05-31 13:21:44 -07:00
Ming-Gih Lam
1c0834e7cc
Update keyboards/dcpedit/modmmm/info.json
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-05-31 13:21:25 -07:00
dcpedit
ae11de2bf3 revert chibios-contrib 2024-05-31 13:20:14 -07:00
dcpedit
5507aa9883 Move url 2024-05-31 10:38:38 -07:00
dcpedit
1a39d1749a Add ortho to readme 2024-05-30 15:59:13 -07:00
dcpedit
b531617a92 Split ortho vs standard 2024-05-15 15:45:27 -07:00
dcpedit
ed8e76463e Fix keymapping 2024-04-23 14:54:23 -07:00
dcpedit
1a53b4f8df Update readme 2024-03-19 12:32:24 -07:00
dcpedit
cc2a4fc04c Mod Mmm support 2024-03-19 12:12:29 -07:00
13 changed files with 1123 additions and 9 deletions

View File

@ -0,0 +1,16 @@
// Copyright 2023 Ming-Gih Lam (@dcpedit)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define SOLENOID_PIN A10
#define AUDIO_INIT_DELAY
#define AUDIO_PIN A8
#define AUDIO_PWM_DRIVER PWMD1
#define AUDIO_PWM_CHANNEL 1
#define AUDIO_PWM_PAL_MODE 1
#define AUDIO_CLICKY
#define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f
#define STARTUP_SONG SONG(STARTUP_SOUND)

View File

@ -0,0 +1,9 @@
// Copyright 2024 Ming-Gih Lam (@dcpedit)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
// Used for audio
#define HAL_USE_PWM TRUE
#include_next <halconf.h>

View File

@ -0,0 +1,34 @@
{
"manufacturer": "dcpedit",
"maintainer": "dcpedit",
"development_board": "blackpill_f411",
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 2
},
"encoder": {
"rotary": [
{"pin_a": "A2", "pin_b": "A13"},
{"pin_a": "A2", "pin_b": "A14"},
{"pin_a": "A13", "pin_b": "A14"}
]
},
"features": {
"audio": true,
"bootmagic": true,
"encoder": true,
"extrakey": true,
"haptic": true,
"mousekey": true
},
"indicators": {
"caps_lock": "B12",
"num_lock": "A1",
"scroll_lock": "A0"
},
"matrix_pins": {
"cols": ["B13", "B14", "B15", "A15", "B1", "A3", "B9", "C15", "C14", "C13"],
"rows": ["B10", "B3", "B0", "B4", "A7", "B5", "A4", "A6", "B6", "A5", "B7", "B8"]
},
"url": "https://github.com/dcpedit/mod-mmm"
}

View File

@ -0,0 +1,8 @@
// Copyright 2024 Ming-Gih Lam (@dcpedit)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include_next <mcuconf.h>
// Used for audio
#undef STM32_PWM_USE_TIM1
#define STM32_PWM_USE_TIM1 TRUE

View File

@ -0,0 +1,239 @@
{
"keyboard_name": "Mod Mmm Ortho",
"usb": {
"device_version": "1.0.0",
"pid": "0x0177",
"vid": "0xDC9E"
},
"layouts": {
"LAYOUT_all": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.5, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.5, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.5, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5, "w": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1.5, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2.5, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3.5, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4.5, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5.5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6.5, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7.5, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8.5, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9.5, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10.5, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11.5, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12.5, "y": 1.5},
{"label": "7,6", "matrix": [7, 6], "x": 13.5, "y": 1.5, "w": 1.5},
{"label": "2,7", "matrix": [2, 7], "x": 15.5, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 16.5, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 17.5, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 19, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 20, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 21, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 22, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "8,6", "matrix": [8, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.5, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 16.5, "y": 2.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.5, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 19, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 20, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 21, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 22, "y": 2.5},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.5},
{"label": "9,0", "matrix": [9, 0], "x": 1.5, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.5, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.5, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.5, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.5, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.5, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.5, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.5, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.5, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.5, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.5, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 12.5, "y": 3.5},
{"label": "9,6", "matrix": [9, 6], "x": 13.5, "y": 3.5, "w": 1.5},
{"label": "2,8", "matrix": [2, 8], "x": 19, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 20, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 21, "y": 3.5},
{"label": "8,9", "matrix": [8, 9], "x": 22, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.5},
{"label": "10,0", "matrix": [10, 0], "x": 1.5, "y": 4.5},
{"label": "4,1", "matrix": [4, 1], "x": 2.5, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.5, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.5, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.5, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.5, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.5, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.5, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.5, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.5, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.5, "y": 4.5},
{"label": "4,6", "matrix": [4, 6], "x": 12.5, "y": 4.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 4.5, "w": 1.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.5, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 19, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 20, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 21, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 22, "y": 4.5},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5},
{"label": "11,1", "matrix": [11, 1], "x": 3.5, "y": 5.5},
{"label": "5,2", "matrix": [5, 2], "x": 4.5, "y": 5.5},
{"label": "11,2", "matrix": [11, 2], "x": 5.5, "y": 5.5},
{"label": "5,3", "matrix": [5, 3], "x": 6.5, "y": 5.5},
{"label": "11,3", "matrix": [11, 3], "x": 7.5, "y": 5.5},
{"label": "5,4", "matrix": [5, 4], "x": 8.5, "y": 5.5},
{"label": "11,4", "matrix": [11, 4], "x": 9.5, "y": 5.5},
{"label": "5,5", "matrix": [5, 5], "x": 10.5, "y": 5.5},
{"label": "11,5", "matrix": [11, 5], "x": 11.5, "y": 5.5},
{"label": "11,6", "matrix": [11, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,7", "matrix": [5, 7], "x": 15.5, "y": 5.5},
{"label": "11,7", "matrix": [11, 7], "x": 16.5, "y": 5.5},
{"label": "10,7", "matrix": [10, 7], "x": 17.5, "y": 5.5},
{"label": "4,8", "matrix": [4, 8], "x": 19, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 20, "y": 5.5},
{"label": "4,9", "matrix": [4, 9], "x": 21, "y": 5.5},
{"label": "10,9", "matrix": [10, 9], "x": 22, "y": 5.5}
]
},
"LAYOUT_default": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.5, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.5, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.5, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5, "w": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1.5, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2.5, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3.5, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4.5, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5.5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6.5, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7.5, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8.5, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9.5, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10.5, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11.5, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12.5, "y": 1.5},
{"label": "7,6", "matrix": [7, 6], "x": 13.5, "y": 1.5, "w": 1.5},
{"label": "2,7", "matrix": [2, 7], "x": 15.5, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 16.5, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 17.5, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 19, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 20, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 21, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 22, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5, "h": 1.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5, "h": 1.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "8,6", "matrix": [8, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.5, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 16.5, "y": 2.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.5, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 19, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 20, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 21, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 22, "y": 2.5, "h": 2},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.5},
{"label": "9,0", "matrix": [9, 0], "x": 1.5, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.5, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.5, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.5, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.5, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.5, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.5, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.5, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.5, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 12.5, "y": 3.5},
{"label": "9,6", "matrix": [9, 6], "x": 13.5, "y": 3.5, "w": 1.5},
{"label": "2,8", "matrix": [2, 8], "x": 19, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 20, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 21, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.5},
{"label": "10,0", "matrix": [10, 0], "x": 1.5, "y": 4.5},
{"label": "4,1", "matrix": [4, 1], "x": 2.5, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.5, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.5, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.5, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.5, "y": 4, "h": 1.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.5, "y": 4, "h": 1.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.5, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.5, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.5, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.5, "y": 4.5},
{"label": "4,6", "matrix": [4, 6], "x": 12.5, "y": 4.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 4.5, "w": 1.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.5, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 19, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 20, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 21, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 22, "y": 4.5, "h": 2},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5},
{"label": "11,1", "matrix": [11, 1], "x": 3.5, "y": 5.5},
{"label": "5,2", "matrix": [5, 2], "x": 4.5, "y": 5.5},
{"label": "5,3", "matrix": [5, 3], "x": 5.5, "y": 5.5, "w": 2},
{"label": "11,3", "matrix": [11, 3], "x": 7.5, "y": 5.5, "w": 2},
{"label": "11,4", "matrix": [11, 4], "x": 9.5, "y": 5.5},
{"label": "5,5", "matrix": [5, 5], "x": 10.5, "y": 5.5},
{"label": "11,5", "matrix": [11, 5], "x": 11.5, "y": 5.5},
{"label": "11,6", "matrix": [11, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,7", "matrix": [5, 7], "x": 15.5, "y": 5.5},
{"label": "11,7", "matrix": [11, 7], "x": 16.5, "y": 5.5},
{"label": "10,7", "matrix": [10, 7], "x": 17.5, "y": 5.5},
{"label": "4,8", "matrix": [4, 8], "x": 19, "y": 5.5, "w": 2},
{"label": "4,9", "matrix": [4, 9], "x": 21, "y": 5.5}
]
}
}
}

View File

@ -0,0 +1,44 @@
{
"keyboard": "dcpedit/modmmm",
"keymap": "default",
"author": "dcpedit",
"version": 1,
"layout": "LAYOUT_all",
"config": {
"features": {
"encoder_map": true
}
},
"encoders": [
[
{ "ccw": "KC_VOLD", "cw": "KC_VOLU" },
{ "ccw": "KC_PGDN", "cw": "KC_PGUP" },
{ "ccw": "KC_DOWN", "cw": "KC_UP" }
],
[
{ "ccw": "_______", "cw": "_______" },
{ "ccw": "_______", "cw": "_______" },
{ "ccw": "_______", "cw": "_______" }
]
],
"layers": [
[
"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", "MO(1)",
"KC_GRV", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "_______", "_______", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "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_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_ENT", "KC_P4", "KC_P5", "KC_P6", "_______",
"KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "_______", "_______", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_BSLS", "KC_RSFT", "KC_UP", "KC_P1", "KC_P2", "KC_P3", "KC_PENT",
"KC_LCTL", "MO(1)", "KC_LGUI", "KC_LALT", "KC_BSPC", "KC_BSPC", "KC_SPC", "KC_SPC", "MO(1)", "KC_RALT", "KC_RGUI", "KC_RCTL", "KC_LEFT", "KC_DOWN", "KC_RGHT", "KC_P0", "_______", "KC_PDOT", "_______"
],
[
"QK_RBT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"QK_BOOT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "AU_TOGG", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "HF_TOGG", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______"
]
]
}

View File

@ -0,0 +1,2 @@
HAPTIC_DRIVER = solenoid
AUDIO_DRIVER = pwm_hardware

View File

@ -0,0 +1,32 @@
# Mod Mmm
![Mod Mmm](https://i.imgur.com/oMP5RlJ.jpeg)
_Standard_
![Mod Mmm Ortholinear](https://i.imgur.com/g60BMQH.jpeg)
_Ortho_
Replacement PCB for the IBM Model M keyboard.
* Keyboard Maintainer: [dcpedit](https://github.com/dcpedit)
* Hardware Supported: Blackpill STM32F411 development board, Standard/Ortho Mod Mmm PCB
* Hardware Availability: https://github.com/dcpedit/mod-mmm
Make example for this keyboard (after setting up your build environment):
make dcpedit/modmmm/standard:default
make dcpedit/modmmm/ortho:default
Flashing example for this keyboard:
make dcpedit/modmmm/standard:default:flash
make dcpedit/modmmm/ortho:default:flash
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).
## Bootloader
Enter the bootloader in 3 ways:
* **Bootmagic reset**: Hold down the ESC key (top-left key) and plug in the keyboard
* **Physical reset button**: On the development board, while holding down the BOOT button, press and release the RESET button
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

View File

@ -0,0 +1,656 @@
{
"keyboard_name": "Mod Mmm",
"usb": {
"device_version": "1.0.0",
"pid": "0x1770",
"vid": "0xDC9E"
},
"layouts": {
"LAYOUT_all": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.25, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.25, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12, "y": 1.5},
{"label": "7,6", "matrix": [7, 6], "x": 13, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 14, "y": 1.5},
{"label": "2,7", "matrix": [2, 7], "x": 15.25, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 16.25, "y": 1.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.25, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 18.5, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 19.5, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 20.5, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 21.5, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "8,6", "matrix": [8, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.25, "y": 2.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 17.25, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 18.5, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 19.5, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 20.5, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 21.5, "y": 2.5},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "9,0", "matrix": [9, 0], "x": 1.75, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.75, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.75, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.75, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.75, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.75, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.75, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.75, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.75, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.75, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.75, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 12.75, "y": 3.5, "w": 2.25},
{"label": "2,8", "matrix": [2, 8], "x": 18.5, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 19.5, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 20.5, "y": 3.5},
{"label": "8,9", "matrix": [8, 9], "x": 21.5, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"label": "10,0", "matrix": [10, 0], "x": 1.25, "y": 4.5},
{"label": "4,1", "matrix": [4, 1], "x": 2.25, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.25, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.25, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.25, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.25, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.25, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.25, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.25, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.25, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.25, "y": 4.5},
{"label": "4,6", "matrix": [4, 6], "x": 12.25, "y": 4.5},
{"label": "9,6", "matrix": [9, 6], "x": 13.25, "y": 4.5, "w": 1.75},
{"label": "4,8", "matrix": [4, 8], "x": 16.25, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 18.5, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 19.5, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 20.5, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 21.5, "y": 4.5},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "11,2", "matrix": [11, 2], "x": 4, "y": 5.5, "w": 2.75},
{"label": "11,3", "matrix": [11, 3], "x": 6.75, "y": 5.5, "w": 2.25},
{"label": "11,4", "matrix": [11, 4], "x": 9, "y": 5.5, "w": 2},
{"label": "11,5", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,8", "matrix": [5, 8], "x": 15.25, "y": 5.5},
{"label": "11,8", "matrix": [11, 8], "x": 16.25, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 17.25, "y": 5.5},
{"label": "5,9", "matrix": [5, 9], "x": 18.5, "y": 5.5},
{"label": "4,9", "matrix": [4, 9], "x": 19.5, "y": 5.5},
{"label": "11,9", "matrix": [11, 9], "x": 20.5, "y": 5.5},
{"label": "10,9", "matrix": [10, 9], "x": 21.5, "y": 5.5}
]
},
"LAYOUT_fullsize_ansi_wkl": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.25, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.25, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 13, "y": 1.5, "w": 2},
{"label": "2,7", "matrix": [2, 7], "x": 15.25, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 16.25, "y": 1.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.25, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 18.5, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 19.5, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 20.5, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 21.5, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "8,6", "matrix": [8, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.25, "y": 2.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 17.25, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 18.5, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 19.5, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 20.5, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 21.5, "y": 2.5, "h": 2},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "9,0", "matrix": [9, 0], "x": 1.75, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.75, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.75, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.75, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.75, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.75, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.75, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.75, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.75, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.75, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.75, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 12.75, "y": 3.5, "w": 2.25},
{"label": "2,8", "matrix": [2, 8], "x": 18.5, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 19.5, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 20.5, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
{"label": "4,1", "matrix": [4, 1], "x": 2.25, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.25, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.25, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.25, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.25, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.25, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.25, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.25, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.25, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.25, "y": 4.5},
{"label": "9,6", "matrix": [9, 6], "x": 12.25, "y": 4.5, "w": 2.75},
{"label": "4,8", "matrix": [4, 8], "x": 16.25, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 18.5, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 19.5, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 20.5, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 21.5, "y": 4.5, "h": 2},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "11,3", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"label": "11,5", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,8", "matrix": [5, 8], "x": 15.25, "y": 5.5},
{"label": "11,8", "matrix": [11, 8], "x": 16.25, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 17.25, "y": 5.5},
{"label": "5,9", "matrix": [5, 9], "x": 18.5, "y": 5.5, "w": 2},
{"label": "11,9", "matrix": [11, 9], "x": 20.5, "y": 5.5}
]
},
"LAYOUT_fullsize_ansi_wkl_split_bs_rshift": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.25, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.25, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12, "y": 1.5},
{"label": "7,6", "matrix": [7, 6], "x": 13, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 14, "y": 1.5},
{"label": "2,7", "matrix": [2, 7], "x": 15.25, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 16.25, "y": 1.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.25, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 18.5, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 19.5, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 20.5, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 21.5, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "8,6", "matrix": [8, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.25, "y": 2.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 17.25, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 18.5, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 19.5, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 20.5, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 21.5, "y": 2.5, "h": 2},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "9,0", "matrix": [9, 0], "x": 1.75, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.75, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.75, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.75, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.75, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.75, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.75, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.75, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.75, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.75, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.75, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 12.75, "y": 3.5, "w": 2.25},
{"label": "2,8", "matrix": [2, 8], "x": 18.5, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 19.5, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 20.5, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
{"label": "4,1", "matrix": [4, 1], "x": 2.25, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.25, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.25, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.25, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.25, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.25, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.25, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.25, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.25, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.25, "y": 4.5},
{"label": "4,6", "matrix": [4, 6], "x": 12.25, "y": 4.5},
{"label": "9,6", "matrix": [9, 6], "x": 13.25, "y": 4.5, "w": 1.75},
{"label": "4,8", "matrix": [4, 8], "x": 16.25, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 18.5, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 19.5, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 20.5, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 21.5, "y": 4.5, "h": 2},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "11,3", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"label": "11,5", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,8", "matrix": [5, 8], "x": 15.25, "y": 5.5},
{"label": "11,8", "matrix": [11, 8], "x": 16.25, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 17.25, "y": 5.5},
{"label": "5,9", "matrix": [5, 9], "x": 18.5, "y": 5.5, "w": 2},
{"label": "11,9", "matrix": [11, 9], "x": 20.5, "y": 5.5}
]
},
"LAYOUT_fullsize_iso_wkl": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.25, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.25, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 13, "y": 1.5, "w": 2},
{"label": "2,7", "matrix": [2, 7], "x": 15.25, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 16.25, "y": 1.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.25, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 18.5, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 19.5, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 20.5, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 21.5, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.25, "y": 2.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 17.25, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 18.5, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 19.5, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 20.5, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 21.5, "y": 2.5, "h": 2},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "9,0", "matrix": [9, 0], "x": 1.75, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.75, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.75, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.75, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.75, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.75, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.75, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.75, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.75, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.75, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.75, "y": 3.5},
{"label": "8,6", "matrix": [8, 6], "x": 12.75, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
{"label": "2,8", "matrix": [2, 8], "x": 18.5, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 19.5, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 20.5, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"label": "10,0", "matrix": [10, 0], "x": 1.25, "y": 4.5},
{"label": "4,1", "matrix": [4, 1], "x": 2.25, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.25, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.25, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.25, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.25, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.25, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.25, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.25, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.25, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.25, "y": 4.5},
{"label": "9,6", "matrix": [9, 6], "x": 12.25, "y": 4.5, "w": 2.75},
{"label": "4,8", "matrix": [4, 8], "x": 16.25, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 18.5, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 19.5, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 20.5, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 21.5, "y": 4.5, "h": 2},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "11,3", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"label": "11,5", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,8", "matrix": [5, 8], "x": 15.25, "y": 5.5},
{"label": "11,8", "matrix": [11, 8], "x": 16.25, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 17.25, "y": 5.5},
{"label": "5,9", "matrix": [5, 9], "x": 18.5, "y": 5.5, "w": 2},
{"label": "11,9", "matrix": [11, 9], "x": 20.5, "y": 5.5}
]
},
"LAYOUT_fullsize_iso_wkl_split_bs_rshift": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.25, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.25, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12, "y": 1.5},
{"label": "7,6", "matrix": [7, 6], "x": 13, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 14, "y": 1.5},
{"label": "2,7", "matrix": [2, 7], "x": 15.25, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 16.25, "y": 1.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.25, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 18.5, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 19.5, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 20.5, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 21.5, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.25, "y": 2.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 17.25, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 18.5, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 19.5, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 20.5, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 21.5, "y": 2.5, "h": 2},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "9,0", "matrix": [9, 0], "x": 1.75, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.75, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.75, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.75, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.75, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.75, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.75, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.75, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.75, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.75, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.75, "y": 3.5},
{"label": "8,6", "matrix": [8, 6], "x": 12.75, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
{"label": "2,8", "matrix": [2, 8], "x": 18.5, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 19.5, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 20.5, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"label": "10,0", "matrix": [10, 0], "x": 1.25, "y": 4.5},
{"label": "4,1", "matrix": [4, 1], "x": 2.25, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.25, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.25, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.25, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.25, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.25, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.25, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.25, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.25, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.25, "y": 4.5},
{"label": "4,6", "matrix": [4, 6], "x": 12.25, "y": 4.5},
{"label": "9,6", "matrix": [9, 6], "x": 13.25, "y": 4.5, "w": 1.75},
{"label": "4,8", "matrix": [4, 8], "x": 16.25, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 18.5, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 19.5, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 20.5, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 21.5, "y": 4.5, "h": 2},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "11,3", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"label": "11,5", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,8", "matrix": [5, 8], "x": 15.25, "y": 5.5},
{"label": "11,8", "matrix": [11, 8], "x": 16.25, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 17.25, "y": 5.5},
{"label": "5,9", "matrix": [5, 9], "x": 18.5, "y": 5.5, "w": 2},
{"label": "11,9", "matrix": [11, 9], "x": 20.5, "y": 5.5}
]
},
"LAYOUT_fullsize_abnt2_wkl": {
"layout": [
{"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "6,0", "matrix": [6, 0], "x": 2, "y": 0},
{"label": "0,1", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "6,1", "matrix": [6, 1], "x": 4, "y": 0},
{"label": "0,2", "matrix": [0, 2], "x": 5, "y": 0},
{"label": "6,2", "matrix": [6, 2], "x": 6.5, "y": 0},
{"label": "0,3", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "6,3", "matrix": [6, 3], "x": 8.5, "y": 0},
{"label": "0,4", "matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "6,4", "matrix": [6, 4], "x": 11, "y": 0},
{"label": "0,5", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "6,5", "matrix": [6, 5], "x": 13, "y": 0},
{"label": "0,6", "matrix": [0, 6], "x": 14, "y": 0},
{"label": "6,6", "matrix": [6, 6], "x": 15.25, "y": 0},
{"label": "0,7", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "6,7", "matrix": [6, 7], "x": 17.25, "y": 0},
{"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5},
{"label": "7,0", "matrix": [7, 0], "x": 1, "y": 1.5},
{"label": "1,1", "matrix": [1, 1], "x": 2, "y": 1.5},
{"label": "7,1", "matrix": [7, 1], "x": 3, "y": 1.5},
{"label": "1,2", "matrix": [1, 2], "x": 4, "y": 1.5},
{"label": "7,2", "matrix": [7, 2], "x": 5, "y": 1.5},
{"label": "1,3", "matrix": [1, 3], "x": 6, "y": 1.5},
{"label": "7,3", "matrix": [7, 3], "x": 7, "y": 1.5},
{"label": "1,4", "matrix": [1, 4], "x": 8, "y": 1.5},
{"label": "7,4", "matrix": [7, 4], "x": 9, "y": 1.5},
{"label": "1,5", "matrix": [1, 5], "x": 10, "y": 1.5},
{"label": "7,5", "matrix": [7, 5], "x": 11, "y": 1.5},
{"label": "1,6", "matrix": [1, 6], "x": 12, "y": 1.5},
{"label": "1,7", "matrix": [1, 7], "x": 13, "y": 1.5, "w": 2},
{"label": "2,7", "matrix": [2, 7], "x": 15.25, "y": 1.5},
{"label": "7,7", "matrix": [7, 7], "x": 16.25, "y": 1.5},
{"label": "8,7", "matrix": [8, 7], "x": 17.25, "y": 1.5},
{"label": "0,8", "matrix": [0, 8], "x": 18.5, "y": 1.5},
{"label": "6,8", "matrix": [6, 8], "x": 19.5, "y": 1.5},
{"label": "0,9", "matrix": [0, 9], "x": 20.5, "y": 1.5},
{"label": "6,9", "matrix": [6, 9], "x": 21.5, "y": 1.5},
{"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "8,0", "matrix": [8, 0], "x": 1.5, "y": 2.5},
{"label": "2,1", "matrix": [2, 1], "x": 2.5, "y": 2.5},
{"label": "8,1", "matrix": [8, 1], "x": 3.5, "y": 2.5},
{"label": "2,2", "matrix": [2, 2], "x": 4.5, "y": 2.5},
{"label": "8,2", "matrix": [8, 2], "x": 5.5, "y": 2.5},
{"label": "2,3", "matrix": [2, 3], "x": 6.5, "y": 2.5},
{"label": "8,3", "matrix": [8, 3], "x": 7.5, "y": 2.5},
{"label": "2,4", "matrix": [2, 4], "x": 8.5, "y": 2.5},
{"label": "8,4", "matrix": [8, 4], "x": 9.5, "y": 2.5},
{"label": "2,5", "matrix": [2, 5], "x": 10.5, "y": 2.5},
{"label": "8,5", "matrix": [8, 5], "x": 11.5, "y": 2.5},
{"label": "2,6", "matrix": [2, 6], "x": 12.5, "y": 2.5},
{"label": "3,7", "matrix": [3, 7], "x": 15.25, "y": 2.5},
{"label": "4,7", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "9,7", "matrix": [9, 7], "x": 17.25, "y": 2.5},
{"label": "1,8", "matrix": [1, 8], "x": 18.5, "y": 2.5},
{"label": "7,8", "matrix": [7, 8], "x": 19.5, "y": 2.5},
{"label": "1,9", "matrix": [1, 9], "x": 20.5, "y": 2.5},
{"label": "7,9", "matrix": [7, 9], "x": 21.5, "y": 2.5, "h": 2},
{"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "9,0", "matrix": [9, 0], "x": 1.75, "y": 3.5},
{"label": "3,1", "matrix": [3, 1], "x": 2.75, "y": 3.5},
{"label": "9,1", "matrix": [9, 1], "x": 3.75, "y": 3.5},
{"label": "3,2", "matrix": [3, 2], "x": 4.75, "y": 3.5},
{"label": "9,2", "matrix": [9, 2], "x": 5.75, "y": 3.5},
{"label": "3,3", "matrix": [3, 3], "x": 6.75, "y": 3.5},
{"label": "9,3", "matrix": [9, 3], "x": 7.75, "y": 3.5},
{"label": "3,4", "matrix": [3, 4], "x": 8.75, "y": 3.5},
{"label": "9,4", "matrix": [9, 4], "x": 9.75, "y": 3.5},
{"label": "3,5", "matrix": [3, 5], "x": 10.75, "y": 3.5},
{"label": "9,5", "matrix": [9, 5], "x": 11.75, "y": 3.5},
{"label": "8,6", "matrix": [8, 6], "x": 12.75, "y": 3.5},
{"label": "3,6", "matrix": [3, 6], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
{"label": "2,8", "matrix": [2, 8], "x": 18.5, "y": 3.5},
{"label": "8,8", "matrix": [8, 8], "x": 19.5, "y": 3.5},
{"label": "2,9", "matrix": [2, 9], "x": 20.5, "y": 3.5},
{"label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"label": "10,0", "matrix": [10, 0], "x": 1.25, "y": 4.5},
{"label": "4,1", "matrix": [4, 1], "x": 2.25, "y": 4.5},
{"label": "10,1", "matrix": [10, 1], "x": 3.25, "y": 4.5},
{"label": "4,2", "matrix": [4, 2], "x": 4.25, "y": 4.5},
{"label": "10,2", "matrix": [10, 2], "x": 5.25, "y": 4.5},
{"label": "4,3", "matrix": [4, 3], "x": 6.25, "y": 4.5},
{"label": "10,3", "matrix": [10, 3], "x": 7.25, "y": 4.5},
{"label": "4,4", "matrix": [4, 4], "x": 8.25, "y": 4.5},
{"label": "10,4", "matrix": [10, 4], "x": 9.25, "y": 4.5},
{"label": "4,5", "matrix": [4, 5], "x": 10.25, "y": 4.5},
{"label": "10,5", "matrix": [10, 5], "x": 11.25, "y": 4.5},
{"label": "4,6", "matrix": [4, 6], "x": 12.25, "y": 4.5},
{"label": "9,6", "matrix": [9, 6], "x": 13.25, "y": 4.5, "w": 1.75},
{"label": "4,8", "matrix": [4, 8], "x": 16.25, "y": 4.5},
{"label": "3,8", "matrix": [3, 8], "x": 18.5, "y": 4.5},
{"label": "9,8", "matrix": [9, 8], "x": 19.5, "y": 4.5},
{"label": "3,9", "matrix": [3, 9], "x": 20.5, "y": 4.5},
{"label": "9,9", "matrix": [9, 9], "x": 21.5, "y": 4.5, "h": 2},
{"label": "5,0", "matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "5,1", "matrix": [5, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "11,3", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"label": "11,5", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "10,6", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "5,8", "matrix": [5, 8], "x": 15.25, "y": 5.5},
{"label": "11,8", "matrix": [11, 8], "x": 16.25, "y": 5.5},
{"label": "10,8", "matrix": [10, 8], "x": 17.25, "y": 5.5},
{"label": "5,9", "matrix": [5, 9], "x": 18.5, "y": 5.5, "w": 2},
{"label": "11,9", "matrix": [11, 9], "x": 20.5, "y": 5.5}
]
}
}
}

View File

@ -0,0 +1,44 @@
{
"keyboard": "dcpedit/modmmm",
"keymap": "default",
"author": "dcpedit",
"version": 1,
"layout": "LAYOUT_all",
"config": {
"features": {
"encoder_map": true
}
},
"encoders": [
[
{ "ccw": "KC_VOLD", "cw": "KC_VOLU" },
{ "ccw": "KC_PGDN", "cw": "KC_PGUP" },
{ "ccw": "KC_DOWN", "cw": "KC_UP" }
],
[
{ "ccw": "_______", "cw": "_______" },
{ "ccw": "_______", "cw": "_______" },
{ "ccw": "_______", "cw": "_______" }
]
],
"layers": [
[
"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", "MO(1)",
"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_BSLS", "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_ENT", "KC_P4", "KC_P5", "KC_P6", "_______",
"KC_LSFT", "KC_BSLS", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_BSLS", "KC_RSFT", "KC_UP", "KC_P1", "KC_P2", "KC_P3", "KC_PENT",
"KC_LCTL", "KC_LALT", "KC_BSPC", "KC_SPC", "MO(1)", "KC_RALT", "KC_RCTL", "KC_LEFT", "KC_DOWN", "KC_RGHT", "KC_P0", "_______", "KC_PDOT", "_______"
],
[
"QK_RBT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"QK_BOOT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "AU_TOGG", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "HF_TOGG", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "KC_LGUI", "_______", "_______", "_______", "KC_RGUI", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______"
]
]
}

View File

@ -0,0 +1,2 @@
HAPTIC_DRIVER = solenoid
AUDIO_DRIVER = pwm_hardware

View File

@ -1,5 +1,6 @@
"""This script automates the copying of the default keymap into your own keymap. """This script automates the copying of the default keymap into your own keymap.
""" """
import re
import shutil import shutil
from milc import cli from milc import cli
@ -13,6 +14,13 @@ from qmk.keyboard import keyboard_completer, keyboard_folder
from qmk.userspace import UserspaceDefs from qmk.userspace import UserspaceDefs
def validate_keymap_name(name):
"""Returns True if the given keymap name contains only a-z, 0-9 and underscore characters.
"""
regex = re.compile(r'^[a-zA-Z0-9][a-zA-Z0-9_]+$')
return bool(regex.match(name))
def prompt_keyboard(): def prompt_keyboard():
prompt = """{fg_yellow}Select Keyboard{style_reset_all} prompt = """{fg_yellow}Select Keyboard{style_reset_all}
If you`re unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}. If you`re unsure you can view a full list of supported keyboards with {fg_yellow}qmk list-keyboards{style_reset_all}.
@ -60,6 +68,10 @@ def new_keymap(cli):
cli.log.error(f'Default keymap {{fg_cyan}}{keymap_path_default}{{fg_reset}} does not exist!') cli.log.error(f'Default keymap {{fg_cyan}}{keymap_path_default}{{fg_reset}} does not exist!')
return False return False
if not validate_keymap_name(user_name):
cli.log.error('Keymap names must contain only {fg_cyan}a-z{fg_reset}, {fg_cyan}0-9{fg_reset} and {fg_cyan}_{fg_reset}! Please choose a different name.')
return False
if keymap_path_new.exists(): if keymap_path_new.exists():
cli.log.error(f'Keymap {{fg_cyan}}{user_name}{{fg_reset}} already exists! Please choose a different name.') cli.log.error(f'Keymap {{fg_cyan}}{user_name}{{fg_reset}} already exists! Please choose a different name.')
return False return False

View File

@ -29,6 +29,7 @@ def _convert_macros(via_macros):
if len(via_macros) == 0: if len(via_macros) == 0:
return list() return list()
split_regex = re.compile(r'(}\,)|(\,{)') split_regex = re.compile(r'(}\,)|(\,{)')
macro_group_regex = re.compile(r'({.+?})')
macros = list() macros = list()
for via_macro in via_macros: for via_macro in via_macros:
# Split VIA macro to its elements # Split VIA macro to its elements
@ -38,13 +39,28 @@ def _convert_macros(via_macros):
macro_data = list() macro_data = list()
for m in macro: for m in macro:
if '{' in m or '}' in m: if '{' in m or '}' in m:
# Found keycode(s) # Split macro groups
keycodes = m.split(',') macro_groups = macro_group_regex.findall(m)
# Remove whitespaces and curly braces from around keycodes for macro_group in macro_groups:
keycodes = list(map(lambda s: s.strip(' {}'), keycodes)) # Remove whitespaces and curly braces from around group
# Remove the KC prefix macro_group = macro_group.strip(' {}')
keycodes = list(map(lambda s: s.replace('KC_', ''), keycodes))
macro_data.append({"action": "tap", "keycodes": keycodes}) macro_action = 'tap'
macro_keycodes = []
if macro_group[0] == '+':
macro_action = 'down'
macro_keycodes.append(macro_group[1:])
elif macro_group[0] == '-':
macro_action = 'up'
macro_keycodes.append(macro_group[1:])
else:
macro_keycodes.extend(macro_group.split(',') if ',' in macro_group else [macro_group])
# Remove the KC prefixes
macro_keycodes = list(map(lambda s: s.replace('KC_', ''), macro_keycodes))
macro_data.append({"action": macro_action, "keycodes": macro_keycodes})
else: else:
# Found text # Found text
macro_data.append(m) macro_data.append(m)
@ -54,13 +70,13 @@ def _convert_macros(via_macros):
def _fix_macro_keys(keymap_data): def _fix_macro_keys(keymap_data):
macro_no = re.compile(r'MACRO0?([0-9]{1,2})') macro_no = re.compile(r'MACRO0?\(([0-9]{1,2})\)')
for i in range(0, len(keymap_data)): for i in range(0, len(keymap_data)):
for j in range(0, len(keymap_data[i])): for j in range(0, len(keymap_data[i])):
kc = keymap_data[i][j] kc = keymap_data[i][j]
m = macro_no.match(kc) m = macro_no.match(kc)
if m: if m:
keymap_data[i][j] = f'MACRO_{m.group(1)}' keymap_data[i][j] = f'MC_{m.group(1)}'
return keymap_data return keymap_data