summaryrefslogtreecommitdiff
path: root/keyboards/nopunin10did
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nopunin10did')
-rw-r--r--keyboards/nopunin10did/jabberwocky/v1/config.h8
-rw-r--r--keyboards/nopunin10did/jabberwocky/v1/info.json366
-rw-r--r--keyboards/nopunin10did/jabberwocky/v1/v1.c17
-rw-r--r--keyboards/nopunin10did/jabberwocky/v1/v1.h65
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/config.h8
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/info.json503
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/v2.c17
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/v2.h65
-rw-r--r--keyboards/nopunin10did/kastenwagen1840/config.h8
-rw-r--r--keyboards/nopunin10did/kastenwagen1840/info.json219
-rw-r--r--keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.c2
-rw-r--r--keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.h51
-rw-r--r--keyboards/nopunin10did/kastenwagen1840/matrix_diagram.md17
-rw-r--r--keyboards/nopunin10did/kastenwagen48/config.h8
-rw-r--r--keyboards/nopunin10did/kastenwagen48/info.json181
-rw-r--r--keyboards/nopunin10did/kastenwagen48/kastenwagen48.c2
-rw-r--r--keyboards/nopunin10did/kastenwagen48/kastenwagen48.h51
-rw-r--r--keyboards/nopunin10did/kastenwagen48/matrix_diagram.md17
-rw-r--r--keyboards/nopunin10did/railroad/rev0/config.h8
-rw-r--r--keyboards/nopunin10did/railroad/rev0/info.json210
-rw-r--r--keyboards/nopunin10did/railroad/rev0/rev0.c17
-rw-r--r--keyboards/nopunin10did/railroad/rev0/rev0.h51
22 files changed, 940 insertions, 951 deletions
diff --git a/keyboards/nopunin10did/jabberwocky/v1/config.h b/keyboards/nopunin10did/jabberwocky/v1/config.h
index bec3df0189..1eb25da282 100644
--- a/keyboards/nopunin10did/jabberwocky/v1/config.h
+++ b/keyboards/nopunin10did/jabberwocky/v1/config.h
@@ -16,14 +16,6 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { E6, B4, B5, B7, D5, C7, F1, F0, B1, B3, B2, B6 }
-#define MATRIX_COL_PINS { F4, F5, F6, F7, D7, C6, D4, D0, D2, D3 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/nopunin10did/jabberwocky/v1/info.json b/keyboards/nopunin10did/jabberwocky/v1/info.json
index bbf52486b9..bf83362e16 100644
--- a/keyboards/nopunin10did/jabberwocky/v1/info.json
+++ b/keyboards/nopunin10did/jabberwocky/v1/info.json
@@ -8,6 +8,11 @@
"pid": "0x4A57",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F4", "F5", "F6", "F7", "D7", "C6", "D4", "D0", "D2", "D3"],
+ "rows": ["E6", "B4", "B5", "B7", "D5", "C7", "F1", "F0", "B1", "B3", "B2", "B6"]
+ },
+ "diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "B0",
"num_lock": "D1"
@@ -15,121 +20,256 @@
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
+ "LAYOUT_lh": {
+ "layout": [
+ {"matrix": [0, 8], "x": 0, "y": 0},
+ {"matrix": [1, 8], "x": 1, "y": 0},
+ {"matrix": [0, 9], "x": 2, "y": 0},
+ {"matrix": [1, 9], "x": 3, "y": 0},
+ {"matrix": [7, 0], "x": 4, "y": 0},
+ {"matrix": [1, 1], "x": 5, "y": 0},
+ {"matrix": [0, 1], "x": 6, "y": 0},
+ {"matrix": [1, 2], "x": 7, "y": 0},
+ {"matrix": [0, 2], "x": 8, "y": 0},
+ {"matrix": [1, 3], "x": 9, "y": 0},
+ {"matrix": [0, 3], "x": 10, "y": 0},
+ {"matrix": [0, 4], "x": 11, "y": 0},
+ {"matrix": [1, 4], "x": 12, "y": 0},
+ {"matrix": [0, 5], "x": 13, "y": 0},
+ {"matrix": [1, 5], "x": 14, "y": 0},
+ {"matrix": [0, 6], "x": 15, "y": 0},
+ {"matrix": [1, 6], "x": 16, "y": 0},
+ {"matrix": [0, 7], "x": 17, "y": 0},
+ {"matrix": [1, 7], "x": 18, "y": 0},
+ {"matrix": [0, 0], "x": 19, "y": 0},
+ {"matrix": [1, 0], "x": 20, "y": 0},
+ {"matrix": [2, 8], "x": 21, "y": 0},
+ {"matrix": [3, 8], "x": 22, "y": 0},
+ {"matrix": [2, 9], "x": 23, "y": 0},
+ {"matrix": [3, 9], "x": 24, "y": 0},
+ {"matrix": [4, 0], "x": 25, "y": 0},
+ {"matrix": [2, 1], "x": 26, "y": 0},
+ {"matrix": [3, 1], "x": 27, "y": 0},
+ {"matrix": [2, 2], "x": 28, "y": 0},
+ {"matrix": [3, 2], "x": 29, "y": 0},
+ {"matrix": [2, 3], "x": 30, "y": 0},
+ {"matrix": [2, 4], "x": 31, "y": 0},
+ {"matrix": [3, 4], "x": 32, "y": 0},
+ {"matrix": [2, 5], "x": 33, "y": 0},
+ {"matrix": [3, 5], "x": 34, "y": 0},
+ {"matrix": [2, 6], "x": 35, "y": 0},
+ {"matrix": [3, 6], "x": 36, "y": 0},
+ {"matrix": [2, 7], "x": 37, "y": 0},
+ {"matrix": [3, 7], "x": 38, "y": 0},
+ {"matrix": [2, 0], "x": 39, "y": 0},
+ {"matrix": [4, 8], "x": 40, "y": 0},
+ {"matrix": [5, 8], "x": 41, "y": 0},
+ {"matrix": [4, 9], "x": 42, "y": 0},
+ {"matrix": [5, 9], "x": 43, "y": 0},
+ {"matrix": [6, 0], "x": 44, "y": 0},
+ {"matrix": [4, 1], "x": 45, "y": 0},
+ {"matrix": [5, 1], "x": 46, "y": 0},
+ {"matrix": [4, 2], "x": 47, "y": 0},
+ {"matrix": [5, 2], "x": 48, "y": 0},
+ {"matrix": [4, 3], "x": 49, "y": 0},
+ {"matrix": [4, 4], "x": 50, "y": 0},
+ {"matrix": [5, 4], "x": 51, "y": 0},
+ {"matrix": [4, 5], "x": 52, "y": 0},
+ {"matrix": [5, 5], "x": 53, "y": 0},
+ {"matrix": [4, 6], "x": 54, "y": 0},
+ {"matrix": [5, 6], "x": 55, "y": 0},
+ {"matrix": [4, 7], "x": 56, "y": 0},
+ {"matrix": [5, 7], "x": 57, "y": 0},
+ {"matrix": [6, 8], "x": 58, "y": 0},
+ {"matrix": [7, 8], "x": 59, "y": 0},
+ {"matrix": [6, 9], "x": 60, "y": 0},
+ {"matrix": [7, 9], "x": 61, "y": 0},
+ {"matrix": [7, 1], "x": 62, "y": 0},
+ {"matrix": [6, 1], "x": 63, "y": 0},
+ {"matrix": [7, 2], "x": 64, "y": 0},
+ {"matrix": [6, 2], "x": 65, "y": 0},
+ {"matrix": [7, 3], "x": 66, "y": 0},
+ {"matrix": [6, 3], "x": 67, "y": 0},
+ {"matrix": [6, 4], "x": 68, "y": 0},
+ {"matrix": [7, 4], "x": 69, "y": 0},
+ {"matrix": [6, 5], "x": 70, "y": 0},
+ {"matrix": [7, 5], "x": 71, "y": 0},
+ {"matrix": [6, 6], "x": 72, "y": 0},
+ {"matrix": [7, 6], "x": 73, "y": 0},
+ {"matrix": [6, 7], "x": 74, "y": 0},
+ {"matrix": [7, 7], "x": 75, "y": 0},
+ {"matrix": [8, 8], "x": 76, "y": 0},
+ {"matrix": [9, 8], "x": 77, "y": 0},
+ {"matrix": [8, 9], "x": 78, "y": 0},
+ {"matrix": [9, 9], "x": 79, "y": 0},
+ {"matrix": [8, 0], "x": 80, "y": 0},
+ {"matrix": [9, 0], "x": 81, "y": 0},
+ {"matrix": [8, 1], "x": 82, "y": 0},
+ {"matrix": [9, 1], "x": 83, "y": 0},
+ {"matrix": [8, 2], "x": 84, "y": 0},
+ {"matrix": [9, 2], "x": 85, "y": 0},
+ {"matrix": [8, 3], "x": 86, "y": 0},
+ {"matrix": [9, 3], "x": 87, "y": 0},
+ {"matrix": [10, 4], "x": 88, "y": 0},
+ {"matrix": [8, 4], "x": 89, "y": 0},
+ {"matrix": [9, 4], "x": 90, "y": 0},
+ {"matrix": [8, 5], "x": 91, "y": 0},
+ {"matrix": [9, 5], "x": 92, "y": 0},
+ {"matrix": [8, 6], "x": 93, "y": 0},
+ {"matrix": [9, 6], "x": 94, "y": 0},
+ {"matrix": [8, 7], "x": 95, "y": 0},
+ {"matrix": [9, 7], "x": 96, "y": 0},
+ {"matrix": [10, 8], "x": 97, "y": 0},
+ {"matrix": [11, 8], "x": 98, "y": 0},
+ {"matrix": [10, 9], "x": 99, "y": 0},
+ {"matrix": [11, 9], "x": 100, "y": 0},
+ {"matrix": [10, 0], "x": 101, "y": 0},
+ {"matrix": [10, 1], "x": 102, "y": 0},
+ {"matrix": [10, 2], "x": 103, "y": 0},
+ {"matrix": [10, 3], "x": 104, "y": 0},
+ {"matrix": [11, 3], "x": 105, "y": 0},
+ {"matrix": [11, 4], "x": 106, "y": 0},
+ {"matrix": [10, 5], "x": 107, "y": 0},
+ {"matrix": [11, 5], "x": 108, "y": 0},
+ {"matrix": [10, 6], "x": 109, "y": 0},
+ {"matrix": [11, 6], "x": 110, "y": 0},
+ {"matrix": [10, 7], "x": 111, "y": 0},
+ {"matrix": [11, 7], "x": 112, "y": 0}
+ ]
+ },
"LAYOUT_rh": {
"layout": [
- {"x":0.75, "y":0.25, "label":"Esc"},
- {"x":2.25, "y":0.25, "label":"F1"},
- {"x":3.25, "y":0.25, "label":"F2"},
- {"x":4.25, "y":0.25, "r":14, "rx":4, "ry":2.5, "label":"F3"},
- {"x":5.25, "y":0.125, "r":14, "rx":4, "ry":2.5, "label":"F4"},
- {"x":6.25, "y":0.25, "r":14, "rx":4, "ry":2.5, "label":"F5"},
- {"x":7.25, "y":0.375, "r":14, "rx":4, "ry":2.5, "label":"F6"},
- {"x":10.25, "y":0.375, "r":-14, "rx":13.25, "ry":2.5, "label":"F7"},
- {"x":11.25, "y":0.25, "r":-14, "rx":13.25, "ry":2.5, "label":"F8"},
- {"x":12.25, "y":0.125, "r":-14, "rx":13.25, "ry":2.5, "label":"F9"},
- {"x":13.25, "y":0.25, "r":-14, "rx":13.25, "ry":2.5, "label":"F10"},
- {"x":14.25, "y":0.25, "label":"F11"},
- {"x":15.25, "y":0.25, "label":"F12"},
- {"x":16.375, "y":0.25, "label":"Print"},
- {"x":17.375, "y":0.25, "label":"Scroll"},
- {"x":18.5, "y":0.25, "label":"Ins"},
- {"x":19.5, "y":0.25, "label":"Del"},
- {"x":20.75, "y":0.25, "label":"Home"},
- {"x":21.75, "y":0.25, "label":"End"},
- {"x":22.75, "y":0.25, "label":"PgUp"},
- {"x":23.75, "y":0.25, "label":"PgDn"},
- {"x":2, "y":1.5, "label":"Grave"},
- {"x":3, "y":1.5, "label":"1"},
- {"x":4.25, "y":1.5, "r":14, "rx":4, "ry":2.5, "label":"2"},
- {"x":5.25, "y":1.375, "r":14, "rx":4, "ry":2.5, "label":"3"},
- {"x":6.25, "y":1.5, "r":14, "rx":4, "ry":2.5, "label":"4"},
- {"x":7.25, "y":1.625, "r":14, "rx":4, "ry":2.5, "label":"5"},
- {"x":10.25, "y":1.625, "r":-14, "rx":13.25, "ry":2.5, "label":"6"},
- {"x":11.25, "y":1.5, "r":-14, "rx":13.25, "ry":2.5, "label":"7"},
- {"x":12.25, "y":1.375, "r":-14, "rx":13.25, "ry":2.5, "label":"8"},
- {"x":13.25, "y":1.5, "r":-14, "rx":13.25, "ry":2.5, "label":"9"},
- {"x":14.5, "y":1.5, "label":"0"},
- {"x":15.5, "y":1.5, "label":"Dash"},
- {"x":16.5, "y":1.5, "label":"Equals"},
- {"x":17.5, "y":1.5, "label":"Backspace"},
- {"x":18.5, "y":1.5, "label":"Split BS"},
- {"x":20.75, "y":1.5, "label":"NumLock"},
- {"x":21.75, "y":1.5, "label":"P-Div"},
- {"x":22.75, "y":1.5, "label":"P-Mult"},
- {"x":23.75, "y":1.5, "label":"Pause"},
- {"x":1.25, "y":2.5, "w":1.5, "label":"Tab"},
- {"x":2.75, "y":2.5, "label":"Q"},
- {"x":4.25, "y":2.5, "r":14, "rx":4, "ry":2.5, "label":"W"},
- {"x":5.25, "y":2.375, "r":14, "rx":4, "ry":2.5, "label":"E"},
- {"x":6.25, "y":2.5, "r":14, "rx":4, "ry":2.5, "label":"R"},
- {"x":7.25, "y":2.625, "r":14, "rx":4, "ry":2.5, "label":"T"},
- {"x":10.25, "y":2.625, "r":-14, "rx":13.25, "ry":2.5, "label":"y"},
- {"x":11.25, "y":2.5, "r":-14, "rx":13.25, "ry":2.5, "label":"U"},
- {"x":12.25, "y":2.375, "r":-14, "rx":13.25, "ry":2.5, "label":"I"},
- {"x":13.25, "y":2.5, "r":-14, "rx":13.25, "ry":2.5, "label":"O"},
- {"x":14.75, "y":2.5, "label":"P"},
- {"x":15.75, "y":2.5, "label":"L bracket"},
- {"x":16.75, "y":2.5, "label":"R bracket"},
- {"x":17.75, "y":2.5, "w":1.5, "label":"ANSI Backslash"},
- {"x":20.75, "y":2.5, "label":"P-7"},
- {"x":21.75, "y":2.5, "label":"P-8"},
- {"x":22.75, "y":2.5, "label":"P-9"},
- {"x":23.75, "y":2.5, "label":"P-Minus"},
- {"x":0.75, "y":3.5, "w":1.75, "label":"Caps Lock"},
- {"x":2.5, "y":3.5, "label":"A"},
- {"x":4.25, "y":3.5, "r":14, "rx":4, "ry":2.5, "label":"S"},
- {"x":5.25, "y":3.375, "r":14, "rx":4, "ry":2.5, "label":"D"},
- {"x":6.25, "y":3.5, "r":14, "rx":4, "ry":2.5, "label":"F"},
- {"x":7.25, "y":3.625, "r":14, "rx":4, "ry":2.5, "label":"G"},
- {"x":10.25, "y":3.625, "r":-14, "rx":13.25, "ry":2.5, "label":"H"},
- {"x":11.25, "y":3.5, "r":-14, "rx":13.25, "ry":2.5, "label":"J"},
- {"x":12.25, "y":3.375, "r":-14, "rx":13.25, "ry":2.5, "label":"K"},
- {"x":13.25, "y":3.5, "r":-14, "rx":13.25, "ry":2.5, "label":"L"},
- {"x":15, "y":3.5, "label":"Semicolon"},
- {"x":16, "y":3.5, "label":"Quote"},
- {"x":17, "y":3.5, "label":"Non-US Hash"},
- {"x":18, "y":3.5, "w":1.25, "label":"Enter"},
- {"x":20.75, "y":3.5, "label":"P-4"},
- {"x":21.75, "y":3.5, "label":"P-5"},
- {"x":22.75, "y":3.5, "label":"P-6"},
- {"x":23.75, "y":3.5, "label":"P-Plus"},
- {"x":0, "y":4.5, "w":1.25, "label":"Left Shift"},
- {"x":1.25, "y":4.5, "label":"Non-US Backslash"},
- {"x":2.25, "y":4.5, "label":"Z"},
- {"x":4.25, "y":4.5, "r":14, "rx":4, "ry":2.5, "label":"X"},
- {"x":5.25, "y":4.375, "r":14, "rx":4, "ry":2.5, "label":"C"},
- {"x":6.25, "y":4.5, "r":14, "rx":4, "ry":2.5, "label":"V"},
- {"x":7.25, "y":4.625, "r":14, "rx":4, "ry":2.5, "label":"B"},
- {"x":8.25, "y":4.625, "r":14, "rx":4, "ry":2.5, "label":"Layer"},
- {"x":9.25, "y":4.625, "r":-14, "rx":13.25, "ry":2.5, "label":"Layer"},
- {"x":10.25, "y":4.625, "r":-14, "rx":13.25, "ry":2.5, "label":"N"},
- {"x":11.25, "y":4.5, "r":-14, "rx":13.25, "ry":2.5, "label":"M"},
- {"x":12.25, "y":4.375, "r":-14, "rx":13.25, "ry":2.5, "label":"Comma"},
- {"x":13.25, "y":4.5, "r":-14, "rx":13.25, "ry":2.5, "label":"Period"},
- {"x":15.25, "y":4.5, "label":"Slash"},
- {"x":16.25, "y":4.5, "label":"JIS Backslash"},
- {"x":17.25, "y":4.5, "w":1.25, "label":"Right Shift"},
- {"x":18.5, "y":4.5, "label":"Up"},
- {"x":20.75, "y":4.5, "label":"P-1"},
- {"x":21.75, "y":4.5, "label":"P-2"},
- {"x":22.75, "y":4.5, "label":"P-3"},
- {"x":23.75, "y":4.5, "label":"P-Enter"},
- {"x":0.5, "y":5.5, "w":1.25, "label":"Left Ctrl"},
- {"x":1.75, "y":5.5, "w":1.25, "label":"Left GUI"},
- {"x":4.75, "y":5.5, "w":1.25, "r":14, "rx":4, "ry":2.5, "label":"Left Alt"},
- {"x":6, "y":5.5, "w":1.25, "r":14, "rx":4, "ry":2.5, "label":"Menu"},
- {"x":7.25, "y":5.625, "w":2, "r":14, "rx":4, "ry":2.5, "label":"Space"},
- {"x":9.25, "y":5.625, "w":2.75, "r":-14, "rx":13.25, "ry":2.5, "label":"Space"},
- {"x":12, "y":5.5, "w":1.25, "r":-14, "rx":13.25, "ry":2.5, "label":"Right Alt"},
- {"x":15, "y":5.5, "w":1.25, "label":"Right GUI"},
- {"x":16.25, "y":5.5, "w":1.25, "label":"Right Ctrl"},
- {"x":17.5, "y":5.5, "label":"Left"},
- {"x":18.5, "y":5.5, "label":"Down"},
- {"x":19.5, "y":5.5, "label":"Right"},
- {"x":20.75, "y":5.5, "label":"P-0"},
- {"x":21.75, "y":5.5, "label":"P-00"},
- {"x":22.75, "y":5.5, "label":"P-Decimal"},
- {"x":23.75, "y":5.5, "label":"P-Enter"}
+ {"matrix": [7, 0], "x": 0.75, "y": 0.125},
+
+ {"matrix": [1, 1], "x": 2.25, "y": 0.125},
+ {"matrix": [0, 1], "x": 3.25, "y": 0.125},
+ {"matrix": [1, 2], "x": 4.25, "y": 0.125, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [0, 2], "x": 5.25, "y": 0, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [1, 3], "x": 6.25, "y": 0.125, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [0, 3], "x": 7.25, "y": 0.25, "r": 14, "rx": 4, "ry": 2.5},
+
+ {"matrix": [0, 4], "x": 10.25, "y": 0.25, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [1, 4], "x": 11.25, "y": 0.125, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [0, 5], "x": 12.25, "y": 0, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [1, 5], "x": 13.25, "y": 0.125, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [0, 6], "x": 14.25, "y": 0.125},
+ {"matrix": [1, 6], "x": 15.25, "y": 0.125},
+ {"matrix": [0, 7], "x": 16.375, "y": 0.125},
+ {"matrix": [1, 7], "x": 17.375, "y": 0.125},
+ {"matrix": [0, 0], "x": 18.5, "y": 0.125},
+ {"matrix": [1, 0], "x": 19.5, "y": 0.125},
+
+ {"matrix": [0, 8], "x": 20.75, "y": 0.125},
+ {"matrix": [1, 8], "x": 21.75, "y": 0.125},
+ {"matrix": [0, 9], "x": 22.75, "y": 0.125},
+ {"matrix": [1, 9], "x": 23.75, "y": 0.125},
+
+ {"matrix": [4, 0], "x": 2, "y": 1.375},
+ {"matrix": [2, 1], "x": 3, "y": 1.375},
+ {"matrix": [3, 1], "x": 4.25, "y": 1.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [2, 2], "x": 5.25, "y": 1.25, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [3, 2], "x": 6.25, "y": 1.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [2, 3], "x": 7.25, "y": 1.5, "r": 14, "rx": 4, "ry": 2.5},
+
+ {"matrix": [2, 4], "x": 10.25, "y": 1.5, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [3, 4], "x": 11.25, "y": 1.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [2, 5], "x": 12.25, "y": 1.25, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [3, 5], "x": 13.25, "y": 1.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [2, 6], "x": 14.5, "y": 1.375},
+ {"matrix": [3, 6], "x": 15.5, "y": 1.375},
+ {"matrix": [2, 7], "x": 16.5, "y": 1.375},
+ {"matrix": [3, 7], "x": 17.5, "y": 1.375},
+ {"matrix": [2, 0], "x": 18.5, "y": 1.375},
+
+ {"matrix": [2, 8], "x": 20.75, "y": 1.375},
+ {"matrix": [3, 8], "x": 21.75, "y": 1.375},
+ {"matrix": [2, 9], "x": 22.75, "y": 1.375},
+ {"matrix": [3, 9], "x": 23.75, "y": 1.375},
+
+ {"matrix": [6, 0], "x": 1.25, "y": 2.375, "w": 1.5},
+ {"matrix": [4, 1], "x": 2.75, "y": 2.375},
+ {"matrix": [5, 1], "x": 4.25, "y": 2.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [4, 2], "x": 5.25, "y": 2.25, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [5, 2], "x": 6.25, "y": 2.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [4, 3], "x": 7.25, "y": 2.5, "r": 14, "rx": 4, "ry": 2.5},
+
+ {"matrix": [4, 4], "x": 10.25, "y": 2.5, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [5, 4], "x": 11.25, "y": 2.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [4, 5], "x": 12.25, "y": 2.25, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [5, 5], "x": 13.25, "y": 2.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [4, 6], "x": 14.75, "y": 2.375},
+ {"matrix": [5, 6], "x": 15.75, "y": 2.375},
+ {"matrix": [4, 7], "x": 16.75, "y": 2.375},
+ {"matrix": [5, 7], "x": 17.75, "y": 2.375, "w": 1.5},
+
+ {"matrix": [4, 8], "x": 20.75, "y": 2.375},
+ {"matrix": [5, 8], "x": 21.75, "y": 2.375},
+ {"matrix": [4, 9], "x": 22.75, "y": 2.375},
+ {"matrix": [5, 9], "x": 23.75, "y": 2.375},
+
+ {"matrix": [7, 1], "x": 0.75, "y": 3.375, "w": 1.75},
+ {"matrix": [6, 1], "x": 2.5, "y": 3.375},
+ {"matrix": [7, 2], "x": 4.25, "y": 3.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [6, 2], "x": 5.25, "y": 3.25, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [7, 3], "x": 6.25, "y": 3.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [6, 3], "x": 7.25, "y": 3.5, "r": 14, "rx": 4, "ry": 2.5},
+
+ {"matrix": [6, 4], "x": 10.25, "y": 3.5, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [7, 4], "x": 11.25, "y": 3.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [6, 5], "x": 12.25, "y": 3.25, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [7, 5], "x": 13.25, "y": 3.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [6, 6], "x": 15, "y": 3.375},
+ {"matrix": [7, 6], "x": 16, "y": 3.375},
+ {"matrix": [6, 7], "x": 17, "y": 3.375},
+ {"matrix": [7, 7], "x": 18, "y": 3.375, "w": 1.25},
+
+ {"matrix": [6, 8], "x": 20.75, "y": 3.375},
+ {"matrix": [7, 8], "x": 21.75, "y": 3.375},
+ {"matrix": [6, 9], "x": 22.75, "y": 3.375},
+ {"matrix": [7, 9], "x": 23.75, "y": 3.375},
+
+ {"matrix": [8, 0], "x": 0, "y": 4.375, "w": 1.25},
+ {"matrix": [9, 0], "x": 1.25, "y": 4.375},
+ {"matrix": [8, 1], "x": 2.25, "y": 4.375},
+ {"matrix": [9, 1], "x": 4.25, "y": 4.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [8, 2], "x": 5.25, "y": 4.25, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [9, 2], "x": 6.25, "y": 4.375, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [8, 3], "x": 7.25, "y": 4.5, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [9, 3], "x": 8.25, "y": 4.5, "r": 14, "rx": 4, "ry": 2.5},
+
+ {"matrix": [10, 4], "x": 9.25, "y": 4.5, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [8, 4], "x": 10.25, "y": 4.5, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [9, 4], "x": 11.25, "y": 4.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [8, 5], "x": 12.25, "y": 4.25, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [9, 5], "x": 13.25, "y": 4.375, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [8, 6], "x": 15.25, "y": 4.375},
+ {"matrix": [9, 6], "x": 16.25, "y": 4.375},
+ {"matrix": [8, 7], "x": 17.25, "y": 4.375, "w": 1.25},
+
+ {"matrix": [9, 7], "x": 18.5, "y": 4.375},
+ {"matrix": [8, 8], "x": 20.75, "y": 4.375},
+ {"matrix": [9, 8], "x": 21.75, "y": 4.375},
+ {"matrix": [8, 9], "x": 22.75, "y": 4.375},
+ {"matrix": [9, 9], "x": 23.75, "y": 4.375},
+
+ {"matrix": [10, 0], "x": 0.5, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 1], "x": 1.75, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 2], "x": 4.75, "y": 5.375, "w": 1.25, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [10, 3], "x": 6, "y": 5.375, "w": 1.25, "r": 14, "rx": 4, "ry": 2.5},
+ {"matrix": [11, 3], "x": 7.25, "y": 5.5, "w": 2, "r": 14, "rx": 4, "ry": 2.5},
+
+ {"matrix": [11, 4], "x": 9.25, "y": 5.5, "w": 2.75, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [10, 5], "x": 12, "y": 5.375, "w": 1.25, "r": -14, "rx": 13.25, "ry": 2.5},
+ {"matrix": [11, 5], "x": 15, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 6], "x": 16.25, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 6], "x": 17.5, "y": 5.375},
+ {"matrix": [10, 7], "x": 18.5, "y": 5.375},
+ {"matrix": [11, 7], "x": 19.5, "y": 5.375},
+
+ {"matrix": [10, 8], "x": 20.75, "y": 5.375},
+ {"matrix": [11, 8], "x": 21.75, "y": 5.375},
+ {"matrix": [10, 9], "x": 22.75, "y": 5.375},
+ {"matrix": [11, 9], "x": 23.75, "y": 5.375}
]
}
}
diff --git a/keyboards/nopunin10did/jabberwocky/v1/v1.c b/keyboards/nopunin10did/jabberwocky/v1/v1.c
deleted file mode 100644
index bea87aa889..0000000000
--- a/keyboards/nopunin10did/jabberwocky/v1/v1.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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 "v1.h"
diff --git a/keyboards/nopunin10did/jabberwocky/v1/v1.h b/keyboards/nopunin10did/jabberwocky/v1/v1.h
deleted file mode 100644
index 7abec1bf1a..0000000000
--- a/keyboards/nopunin10did/jabberwocky/v1/v1.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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
-
-#include "quantum.h"
-
-#define LAYOUT_rh( \
- K0007, K0101, K0100, K0201, K0200, K0301, K0300, K0400, K0401, K0500, K0501, K0600, K0601, K0700, K0701, K0000, K0001, K0800, K0801, K0900, K0901, \
- K0004, K0102, K0103, K0202, K0203, K0302, K0402, K0403, K0502, K0503, K0602, K0603, K0702, K0703, K0002, K0802, K0803, K0902, K0903, \
- K0006, K0104, K0105, K0204, K0205, K0304, K0404, K0405, K0504, K0505, K0604, K0605, K0704, K0705, K0804, K0805, K0904, K0905, \
- K0107, K0106, K0207, K0206, K0307, K0306, K0406, K0407, K0506, K0507, K0606, K0607, K0706, K0707, K0806, K0807, K0906, K0907, \
- K0008, K0009, K0108, K0109, K0208, K0209, K0308, K0309, K0410, K0408, K0409, K0508, K0509, K0608, K0609, K0708, K0709, K0808, K0809, K0908, K0909, \
- K0010, K0110, K0210, K0310, K0311, K0411, K0510, K0511, K0610, K0611, K0710, K0711, K0810, K0811, K0910, K0911 \
-) \
-{ \
- { K0000, K0100, K0200, K0300, K0400, K0500, K0600, K0700, K0800, K0900 }, \
- { K0001, K0101, K0201, K0301, K0401, K0501, K0601, K0701, K0801, K0901 }, \
- { K0002, K0102, K0202, K0302, K0402, K0502, K0602, K0702, K0802, K0902 }, \
- { KC_NO, K0103, K0203, KC_NO, K0403, K0503, K0603, K0703, K0803, K0903 }, \
- { K0004, K0104, K0204, K0304, K0404, K0504, K0604, K0704, K0804, K0904 }, \
- { KC_NO, K0105, K0205, KC_NO, K0405, K0505, K0605, K0705, K0805, K0905 }, \
- { K0006, K0106, K0206, K0306, K0406, K0506, K0606, K0706, K0806, K0906 }, \
- { K0007, K0107, K0207, K0307, K0407, K0507, K0607, K0707, K0807, K0907 }, \
- { K0008, K0108, K0208, K0308, K0408, K0508, K0608, K0708, K0808, K0908 }, \
- { K0009, K0109, K0209, K0309, K0409, K0509, K0609, K0709, K0809, K0909 }, \
- { K0010, K0110, K0210, K0310, K0410, K0510, K0610, K0710, K0810, K0910 }, \
- { KC_NO, KC_NO, KC_NO, K0311, K0411, K0511, K0611, K0711, K0811, K0911 } \
-}
-
-#define LAYOUT_lh( \
- K0800, K0801, K0900, K0901, K0007, K0101, K0100, K0201, K0200, K0301, K0300, K0400, K0401, K0500, K0501, K0600, K0601, K0700, K0701, K0000, K0001, \
- K0802, K0803, K0902, K0903, K0004, K0102, K0103, K0202, K0203, K0302, K0402, K0403, K0502, K0503, K0602, K0603, K0702, K0703, K0002, \
- K0804, K0805, K0904, K0905, K0006, K0104, K0105, K0204, K0205, K0304, K0404, K0405, K0504, K0505, K0604, K0605, K0704, K0705, \
- K0806, K0807, K0906, K0907, K0107, K0106, K0207, K0206, K0307, K0306, K0406, K0407, K0506, K0507, K0606, K0607, K0706, K0707, \
- K0808, K0809, K0908, K0909, K0008, K0009, K0108, K0109, K0208, K0209, K0308, K0309, K0410, K0408, K0409, K0508, K0509, K0608, K0609, K0708, K0709, \
- K0810, K0811, K0910, K0911, K0010, K0110, K0210, K0310, K0311, K0411, K0510, K0511, K0610, K0611, K0710, K0711 \
-) \
-{ \
- { K0000, K0100, K0200, K0300, K0400, K0500, K0600, K0700, K0800, K0900 }, \
- { K0001, K0101, K0201, K0301, K0401, K0501, K0601, K0701, K0801, K0901 }, \
- { K0002, K0102, K0202, K0302, K0402, K0502, K0602, K0702, K0802, K0902 }, \
- { KC_NO, K0103, K0203, KC_NO, K0403, K0503, K0603, K0703, K0803, K0903 }, \
- { K0004, K0104, K0204, K0304, K0404, K0504, K0604, K0704, K0804, K0904 }, \
- { KC_NO, K0105, K0205, KC_NO, K0405, K0505, K0605, K0705, K0805, K0905 }, \
- { K0006, K0106, K0206, K0306, K0406, K0506, K0606, K0706, K0806, K0906 }, \
- { K0007, K0107, K0207, K0307, K0407, K0507, K0607, K0707, K0807, K0907 }, \
- { K0008, K0108, K0208, K0308, K0408, K0508, K0608, K0708, K0808, K0908 }, \
- { K0009, K0109, K0209, K0309, K0409, K0509, K0609, K0709, K0809, K0909 }, \
- { K0010, K0110, K0210, K0310, K0410, K0510, K0610, K0710, K0810, K0910 }, \
- { KC_NO, KC_NO, KC_NO, K0311, K0411, K0511, K0611, K0711, K0811, K0911 } \
-}
diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h
index 0a91a41444..7be9070afe 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/config.h
+++ b/keyboards/nopunin10did/jabberwocky/v2/config.h
@@ -16,14 +16,6 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 }
-#define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/info.json
index a2b9d5a02c..71d6d94542 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/info.json
+++ b/keyboards/nopunin10did/jabberwocky/v2/info.json
@@ -8,6 +8,11 @@
"pid": "0x4A58",
"device_version": "0.2.0"
},
+ "matrix_pins": {
+ "cols": ["D0", "D2", "D3", "D5", "B5", "D7", "F6", "F7", "C7", "B6"],
+ "rows": ["B2", "B3", "B1", "D4", "B4", "D1", "E6", "B0", "F0", "F1", "F4", "F5"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"driver": "software",
"pins": ["D6"],
@@ -22,246 +27,272 @@
"layouts": {
"LAYOUT_lh": {
"layout": [
- {"x":0, "y":0.25, "label":"Home"},
- {"x":1, "y":0.25, "label":"End"},
- {"x":2, "y":0.25, "label":"PgUp"},
- {"x":3, "y":0.25, "label":"PgDn"},
- {"x":5, "y":0.25, "label":"Esc"},
- {"x":6.5, "y":0.25, "label":"F1"},
- {"x":7.5, "y":0.25, "label":"F2"},
- {"x":8.5, "y":0.25, "label":"F3"},
- {"x":9.5, "y":0.125, "label":"F4"},
- {"x":10.5, "y":0.25, "label":"F5"},
- {"x":11.5, "y":0.375, "label":"F6"},
- {"x":14.75, "y":0.375, "label":"F7"},
- {"x":15.75, "y":0.25, "label":"F8"},
- {"x":16.75, "y":0.125, "label":"F9"},
- {"x":17.75, "y":0.25, "label":"F10"},
- {"x":18.75, "y":0.25, "label":"F11"},
- {"x":19.75, "y":0.25, "label":"F12"},
- {"x":21, "y":0.25, "label":"Print"},
- {"x":22, "y":0.25, "label":"Scroll"},
- {"x":23, "y":0.25, "label":"Ins"},
- {"x":24, "y":0.25, "label":"Del"},
-
- {"x":0, "y":1.5, "label":"NumLock"},
- {"x":1, "y":1.5, "label":"P-Div"},
- {"x":2, "y":1.5, "label":"P-Mult"},
- {"x":3, "y":1.5, "label":"P-Minus"},
- {"x":6.25, "y":1.5, "label":"Grave"},
- {"x":7.25, "y":1.5, "label":"1"},
- {"x":8.5, "y":1.5, "label":"2"},
- {"x":9.5, "y":1.375, "label":"3"},
- {"x":10.5, "y":1.5, "label":"4"},
- {"x":11.5, "y":1.625, "label":"5"},
- {"x":14.75, "y":1.625, "label":"6"},
- {"x":15.75, "y":1.5, "label":"7"},
- {"x":16.75, "y":1.375, "label":"8"},
- {"x":17.75, "y":1.5, "label":"9"},
- {"x":19, "y":1.5, "label":"0"},
- {"x":20, "y":1.5, "label":"Dash"},
- {"x":21, "y":1.5, "label":"Equals"},
- {"x":22, "y":1.5, "label":"Backspace"},
- {"x":23, "y":1.5, "label":"Backspace"},
-
- {"x":0, "y":2.5, "label":"P-7"},
- {"x":1, "y":2.5, "label":"P-8"},
- {"x":2, "y":2.5, "label":"P-9"},
- {"x":3, "y":2.5, "label":"P-Plus"},
- {"x":5.5, "y":2.5, "w":1.5, "label":"Tab"},
- {"x":7, "y":2.5, "label":"Q"},
- {"x":8.5, "y":2.5, "label":"W"},
- {"x":9.5, "y":2.375, "label":"E"},
- {"x":10.5, "y":2.5, "label":"R"},
- {"x":11.5, "y":2.625, "label":"T"},
- {"x":14.75, "y":2.625, "label":"Y"},
- {"x":15.75, "y":2.5, "label":"U"},
- {"x":16.75, "y":2.375, "label":"I"},
- {"x":17.75, "y":2.5, "label":"O"},
- {"x":19.25, "y":2.5, "label":"P"},
- {"x":20.25, "y":2.5, "label":"L bracket"},
- {"x":21.25, "y":2.5, "label":"R bracket"},
- {"x":22.25, "y":2.5, "w":1.5, "label":"ANSI Backslash"},
-
- {"x":0, "y":3.5, "label":"P-4"},
- {"x":1, "y":3.5, "label":"P-5"},
- {"x":2, "y":3.5, "label":"P-6"},
- {"x":3, "y":3.5, "label":"P-Plus"},
- {"x":5, "y":3.5, "w":1.75, "label":"Caps Lock"},
- {"x":6.75, "y":3.5, "label":"A"},
- {"x":8.5, "y":3.5, "label":"S"},
- {"x":9.5, "y":3.375, "label":"D"},
- {"x":10.5, "y":3.5, "label":"F"},
- {"x":11.5, "y":3.625, "label":"G"},
- {"x":14.75, "y":3.625, "label":"H"},
- {"x":15.75, "y":3.5, "label":"J"},
- {"x":16.75, "y":3.375, "label":"K"},
- {"x":17.75, "y":3.5, "label":"L"},
- {"x":19.5, "y":3.5, "label":"Semicolon"},
- {"x":20.5, "y":3.5, "label":"Quote"},
- {"x":21.5, "y":3.5, "label":"Non-US Hash"},
- {"x":22.5, "y":3.5, "w":1.25, "label":"Enter"},
-
- {"x":0, "y":4.5, "label":"P-1"},
- {"x":1, "y":4.5, "label":"P-2"},
- {"x":2, "y":4.5, "label":"P-3"},
- {"x":3, "y":4.5, "label":"P-Enter"},
- {"x":4.25, "y":4.5, "w":1.25, "label":"Left Shift"},
- {"x":5.25, "y":4.5, "label":"Non-US Backslash"},
- {"x":6.25, "y":4.5, "label":"Z"},
- {"x":8.5, "y":4.5, "label":"X"},
- {"x":9.5, "y":4.375, "label":"C"},
- {"x":10.5, "y":4.5, "label":"V"},
- {"x":11.5, "y":4.625, "label":"B"},
- {"x":12.5, "y":4.625, "label":"Layer"},
- {"x":13.75, "y":4.625, "label":"Layer"},
- {"x":14.75, "y":4.625, "label":"N"},
- {"x":15.75, "y":4.5, "label":"M"},
- {"x":16.75, "y":4.375, "label":"Comma"},
- {"x":17.75, "y":4.5, "label":"Period"},
- {"x":19.75, "y":4.5, "label":"Slash"},
- {"x":20.75, "y":4.5, "label":"JIS Ro"},
- {"x":21.75, "y":4.5, "w":1.25, "label":"Right Shift"},
- {"x":23, "y":4.5, "label":"Up"},
-
- {"x":0, "y":5.5, "label":"P-0"},
- {"x":1, "y":5.5, "label":"P-00"},
- {"x":2, "y":5.5, "label":"P-Decimal"},
- {"x":3, "y":5.5, "label":"P-Enter"},
- {"x":4.75, "y":5.5, "w":1.25, "label":"Left Ctrl"},
- {"x":6, "y":5.5, "w":1.25, "label":"Left GUI"},
- {"x":9, "y":5.5, "w":1.25, "label":"Left Alt"},
- {"x":10.25, "y":5.5, "w":1.25, "label":"Menu"},
- {"x":11.5, "y":5.625, "w":2, "label":"Space"},
- {"x":13.75, "y":5.625, "w":2.75, "label":"Space"},
- {"x":16.5, "y":5.5, "w":1.25, "label":"Right Alt"},
- {"x":19.5, "y":5.5, "w":1.25, "label":"Right GUI"},
- {"x":20.75, "y":5.5, "w":1.25, "label":"Right Ctrl"},
- {"x":22, "y":5.5, "label":"Left"},
- {"x":23, "y":5.5, "label":"Down"},
- {"x":24, "y":5.5, "label":"Right"}
+ {"matrix": [0, 0], "x": 0, "y": 0.125},
+ {"matrix": [1, 0], "x": 1, "y": 0.125},
+ {"matrix": [0, 1], "x": 2, "y": 0.125},
+ {"matrix": [1, 1], "x": 3, "y": 0.125},
+
+ {"matrix": [0, 2], "x": 5, "y": 0.125},
+
+ {"matrix": [1, 2], "x": 6.5, "y": 0.125},
+ {"matrix": [0, 3], "x": 7.5, "y": 0.125},
+ {"matrix": [1, 3], "x": 8.5, "y": 0.125},
+ {"matrix": [0, 4], "x": 9.5, "y": 0},
+ {"matrix": [1, 4], "x": 10.5, "y": 0.125},
+ {"matrix": [0, 5], "x": 11.5, "y": 0.25},
+
+ {"matrix": [1, 5], "x": 14.75, "y": 0.25},
+ {"matrix": [0, 6], "x": 15.75, "y": 0.125},
+ {"matrix": [1, 6], "x": 16.75, "y": 0},
+ {"matrix": [0, 7], "x": 17.75, "y": 0.125},
+ {"matrix": [1, 7], "x": 18.75, "y": 0.125},
+ {"matrix": [0, 8], "x": 19.75, "y": 0.125},
+ {"matrix": [1, 8], "x": 21, "y": 0.125},
+ {"matrix": [0, 9], "x": 22, "y": 0.125},
+ {"matrix": [1, 9], "x": 23, "y": 0.125},
+ {"matrix": [5, 9], "x": 24, "y": 0.125},
+
+ {"matrix": [2, 0], "x": 0, "y": 1.375},
+ {"matrix": [3, 0], "x": 1, "y": 1.375},
+ {"matrix": [2, 1], "x": 2, "y": 1.375},
+ {"matrix": [3, 1], "x": 3, "y": 1.375},
+
+ {"matrix": [3, 2], "x": 6.25, "y": 1.375},
+ {"matrix": [2, 3], "x": 7.25, "y": 1.375},
+ {"matrix": [3, 3], "x": 8.5, "y": 1.375},
+ {"matrix": [2, 4], "x": 9.5, "y": 1.25},
+ {"matrix": [3, 4], "x": 10.5, "y": 1.375},
+ {"matrix": [2, 5], "x": 11.5, "y": 1.5},
+
+ {"matrix": [3, 5], "x": 14.75, "y": 1.5},
+ {"matrix": [2, 6], "x": 15.75, "y": 1.375},
+ {"matrix": [3, 6], "x": 16.75, "y": 1.25},
+ {"matrix": [2, 7], "x": 17.75, "y": 1.375},
+ {"matrix": [3, 7], "x": 19, "y": 1.375},
+ {"matrix": [2, 8], "x": 20, "y": 1.375},
+ {"matrix": [3, 8], "x": 21, "y": 1.375},
+ {"matrix": [2, 9], "x": 22, "y": 1.375},
+ {"matrix": [3, 9], "x": 23, "y": 1.375},
+
+ {"matrix": [4, 0], "x": 0, "y": 2.375},
+ {"matrix": [5, 0], "x": 1, "y": 2.375},
+ {"matrix": [4, 1], "x": 2, "y": 2.375},
+ {"matrix": [5, 1], "x": 3, "y": 2.375},
+
+ {"matrix": [5, 2], "x": 5.5, "y": 2.375, "w": 1.5},
+ {"matrix": [4, 3], "x": 7, "y": 2.375},
+ {"matrix": [5, 3], "x": 8.5, "y": 2.375},
+ {"matrix": [4, 4], "x": 9.5, "y": 2.25},
+ {"matrix": [5, 4], "x": 10.5, "y": 2.375},
+ {"matrix": [4, 5], "x": 11.5, "y": 2.5},
+
+ {"matrix": [5, 5], "x": 14.75, "y": 2.5},
+ {"matrix": [4, 6], "x": 15.75, "y": 2.375},
+ {"matrix": [5, 6], "x": 16.75, "y": 2.25},
+ {"matrix": [4, 7], "x": 17.75, "y": 2.375},
+ {"matrix": [5, 7], "x": 19.25, "y": 2.375},
+ {"matrix": [4, 8], "x": 20.25, "y": 2.375},
+ {"matrix": [5, 8], "x": 21.25, "y": 2.375},
+ {"matrix": [4, 9], "x": 22.25, "y": 2.375, "w": 1.5},
+
+ {"matrix": [6, 0], "x": 0, "y": 3.375},
+ {"matrix": [7, 0], "x": 1, "y": 3.375},
+ {"matrix": [6, 1], "x": 2, "y": 3.375},
+ {"matrix": [7, 1], "x": 3, "y": 3.375},
+
+ {"matrix": [7, 2], "x": 5, "y": 3.375, "w": 1.75},
+ {"matrix": [6, 3], "x": 6.75, "y": 3.375},
+ {"matrix": [7, 3], "x": 8.5, "y": 3.375},
+ {"matrix": [6, 4], "x": 9.5, "y": 3.25},
+ {"matrix": [7, 4], "x": 10.5, "y": 3.375},
+ {"matrix": [6, 5], "x": 11.5, "y": 3.5},
+
+ {"matrix": [7, 5], "x": 14.75, "y": 3.5},
+ {"matrix": [6, 6], "x": 15.75, "y": 3.375},
+ {"matrix": [7, 6], "x": 16.75, "y": 3.25},
+ {"matrix": [6, 7], "x": 17.75, "y": 3.375},
+ {"matrix": [7, 7], "x": 19.5, "y": 3.375},
+ {"matrix": [6, 8], "x": 20.5, "y": 3.375},
+ {"matrix": [7, 8], "x": 21.5, "y": 3.375},
+ {"matrix": [7, 9], "x": 22.5, "y": 3.375, "w": 1.25},
+
+ {"matrix": [8, 0], "x": 0, "y": 4.375},
+ {"matrix": [9, 0], "x": 1, "y": 4.375},
+ {"matrix": [8, 1], "x": 2, "y": 4.375},
+ {"matrix": [9, 1], "x": 3, "y": 4.375},
+
+ {"matrix": [8, 2], "x": 4.25, "y": 4.375, "w": 1.25},
+ {"matrix": [9, 2], "x": 5.25, "y": 4.375},
+ {"matrix": [8, 3], "x": 6.25, "y": 4.375},
+ {"matrix": [9, 3], "x": 8.5, "y": 4.375},
+ {"matrix": [8, 4], "x": 9.5, "y": 4.25},
+ {"matrix": [9, 4], "x": 10.5, "y": 4.375},
+ {"matrix": [8, 5], "x": 11.5, "y": 4.5},
+ {"matrix": [10, 5], "x": 12.5, "y": 4.5},
+
+ {"matrix": [11, 5], "x": 13.75, "y": 4.5},
+ {"matrix": [9, 5], "x": 14.75, "y": 4.5},
+ {"matrix": [8, 6], "x": 15.75, "y": 4.375},
+ {"matrix": [9, 6], "x": 16.75, "y": 4.25},
+ {"matrix": [8, 7], "x": 17.75, "y": 4.375},
+ {"matrix": [9, 7], "x": 19.75, "y": 4.375},
+ {"matrix": [8, 8], "x": 20.75, "y": 4.375},
+ {"matrix": [9, 8], "x": 21.75, "y": 4.375, "w": 1.25},
+ {"matrix": [8, 9], "x": 23, "y": 4.375},
+
+ {"matrix": [10, 0], "x": 0, "y": 5.375},
+ {"matrix": [11, 0], "x": 1, "y": 5.375},
+ {"matrix": [10, 1], "x": 2, "y": 5.375},
+ {"matrix": [11, 1], "x": 3, "y": 5.375},
+
+ {"matrix": [11, 2], "x": 4.75, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 3], "x": 6, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 3], "x": 9, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 4], "x": 10.25, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 4], "x": 11.5, "y": 5.5, "w": 2},
+
+ {"matrix": [10, 6], "x": 13.75, "y": 5.5, "w": 2.75},
+ {"matrix": [11, 6], "x": 16.5, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 7], "x": 19.5, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 8], "x": 20.75, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 8], "x": 22, "y": 5.375},
+ {"matrix": [10, 9], "x": 23, "y": 5.375},
+ {"matrix": [11, 9], "x": 24, "y": 5.375}
]
},
"LAYOUT_rh": {
"layout": [
- {"x":0.75, "y":0.25, "label":"Esc"},
- {"x":2.25, "y":0.25, "label":"F1"},
- {"x":3.25, "y":0.25, "label":"F2"},
- {"x":4.25, "y":0.25, "label":"F3"},
- {"x":5.25, "y":0.125, "label":"F4"},
- {"x":6.25, "y":0.25, "label":"F5"},
- {"x":7.25, "y":0.375, "label":"F6"},
- {"x":10.5, "y":0.375, "label":"F7"},
- {"x":11.5, "y":0.25, "label":"F8"},
- {"x":12.5, "y":0.125, "label":"F9"},
- {"x":13.5, "y":0.25, "label":"F10"},
- {"x":14.5, "y":0.25, "label":"F11"},
- {"x":15.5, "y":0.25, "label":"F12"},
- {"x":16.75, "y":0.25, "label":"Print"},
- {"x":17.75, "y":0.25, "label":"Scroll"},
- {"x":18.75, "y":0.25, "label":"Ins"},
- {"x":19.75, "y":0.25, "label":"Del"},
- {"x":21, "y":0.25, "label":"Home"},
- {"x":22, "y":0.25, "label":"End"},
- {"x":23, "y":0.25, "label":"PgUp"},
- {"x":24, "y":0.25, "label":"PgDn"},
-
- {"x":2, "y":1.5, "label":"Grave"},
- {"x":3, "y":1.5, "label":"1"},
- {"x":4.25, "y":1.5, "label":"2"},
- {"x":5.25, "y":1.375, "label":"3"},
- {"x":6.25, "y":1.5, "label":"4"},
- {"x":7.25, "y":1.625, "label":"5"},
- {"x":10.5, "y":1.625, "label":"6"},
- {"x":11.5, "y":1.5, "label":"7"},
- {"x":12.5, "y":1.375, "label":"8"},
- {"x":13.5, "y":1.5, "label":"9"},
- {"x":14.75, "y":1.5, "label":"0"},
- {"x":15.75, "y":1.5, "label":"Dash"},
- {"x":16.75, "y":1.5, "label":"Equals"},
- {"x":17.75, "y":1.5, "label":"Backspace"},
- {"x":18.75, "y":1.5, "label":"Backspace"},
- {"x":21, "y":1.5, "label":"NumLock"},
- {"x":22, "y":1.5, "label":"P-Div"},
- {"x":23, "y":1.5, "label":"P-Mult"},
- {"x":24, "y":1.5, "label":"P-Minus"},
-
- {"x":1.25, "y":2.5, "w":1.5, "label":"Tab"},
- {"x":2.75, "y":2.5, "label":"Q"},
- {"x":4.25, "y":2.5, "label":"W"},
- {"x":5.25, "y":2.375, "label":"E"},
- {"x":6.25, "y":2.5, "label":"R"},
- {"x":7.25, "y":2.625, "label":"T"},
- {"x":10.5, "y":2.625, "label":"Y"},
- {"x":11.5, "y":2.5, "label":"U"},
- {"x":12.5, "y":2.375, "label":"I"},
- {"x":13.5, "y":2.5, "label":"O"},
- {"x":15, "y":2.5, "label":"P"},
- {"x":16, "y":2.5, "label":"L bracket"},
- {"x":17, "y":2.5, "label":"R bracket"},
- {"x":18, "y":2.5, "w":1.5, "label":"ANSI Backslash"},
- {"x":21, "y":2.5, "label":"P-7"},
- {"x":22, "y":2.5, "label":"P-8"},
- {"x":23, "y":2.5, "label":"P-9"},
- {"x":24, "y":2.5, "label":"P-Plus"},
-
- {"x":0.75, "y":3.5, "w":1.75, "label":"Caps Lock"},
- {"x":2.5, "y":3.5, "label":"A"},
- {"x":4.25, "y":3.5, "label":"S"},
- {"x":5.25, "y":3.375, "label":"D"},
- {"x":6.25, "y":3.5, "label":"F"},
- {"x":7.25, "y":3.625, "label":"G"},
- {"x":10.5, "y":3.625, "label":"H"},
- {"x":11.5, "y":3.5, "label":"J"},
- {"x":12.5, "y":3.375, "label":"K"},
- {"x":13.5, "y":3.5, "label":"L"},
- {"x":15.25, "y":3.5, "label":"Semicolon"},
- {"x":16.25, "y":3.5, "label":"Quote"},
- {"x":17.25, "y":3.5, "label":"Non-US Hash"},
- {"x":18.25, "y":3.5, "w":1.25, "label":"Enter"},
- {"x":21, "y":3.5, "label":"P-4"},
- {"x":22, "y":3.5, "label":"P-5"},
- {"x":23, "y":3.5, "label":"P-6"},
- {"x":24, "y":3.5, "label":"P-Plus"},
-
- {"x":0, "y":4.5, "w":1.25, "label":"Left Shift"},
- {"x":1.25, "y":4.5, "label":"Non-US Backslash"},
- {"x":2.25, "y":4.5, "label":"Z"},
- {"x":4.25, "y":4.5, "label":"X"},
- {"x":5.25, "y":4.375, "label":"C"},
- {"x":6.25, "y":4.5, "label":"V"},
- {"x":7.25, "y":4.625, "label":"B"},
- {"x":8.25, "y":4.625, "label":"Layer"},
- {"x":9.5, "y":4.625, "label":"Layer"},
- {"x":10.5, "y":4.625, "label":"N"},
- {"x":11.5, "y":4.5, "label":"M"},
- {"x":12.5, "y":4.375, "label":"Comma"},
- {"x":13.5, "y":4.5, "label":"Period"},
- {"x":15.5, "y":4.5, "label":"Slash"},
- {"x":16.5, "y":4.5, "label":"JIS Ro"},
- {"x":17.5, "y":4.5, "w":1.25, "label":"Right Shift"},
- {"x":18.75, "y":4.5, "label":"Up"},
- {"x":21, "y":4.5, "label":"P-1"},
- {"x":22, "y":4.5, "label":"P-2"},
- {"x":23, "y":4.5, "label":"P-3"},
- {"x":24, "y":4.5, "label":"P-Enter"},
-
- {"x":0.5, "y":5.5, "w":1.25, "label":"Left Ctrl"},
- {"x":1.75, "y":5.5, "w":1.25, "label":"Left GUI"},
- {"x":4.75, "y":5.5, "w":1.25, "label":"Left Alt"},
- {"x":6, "y":5.5, "w":1.25, "label":"Menu"},
- {"x":7.25, "y":5.625, "w":2, "label":"Space"},
- {"x":9.5, "y":5.625, "w":2.75, "label":"Space"},
- {"x":12.25, "y":5.5, "w":1.25, "label":"Right Alt"},
- {"x":15.25, "y":5.5, "w":1.25, "label":"Right GUI"},
- {"x":16.5, "y":5.5, "w":1.25, "label":"Right Ctrl"},
- {"x":17.75, "y":5.5, "label":"Left"},
- {"x":18.75, "y":5.5, "label":"Down"},
- {"x":19.75, "y":5.5, "label":"Right"},
- {"x":21, "y":5.5, "label":"P-0"},
- {"x":22, "y":5.5, "label":"P-00"},
- {"x":23, "y":5.5, "label":"P-Decimal"},
- {"x":24, "y":5.5, "label":"P-Enter"}
+ {"matrix": [0, 2], "x": 0.75, "y": 0.125},
+
+ {"matrix": [1, 2], "x": 2.25, "y": 0.125},
+ {"matrix": [0, 3], "x": 3.25, "y": 0.125},
+ {"matrix": [1, 3], "x": 4.25, "y": 0.125},
+ {"matrix": [0, 4], "x": 5.25, "y": 0},
+ {"matrix": [1, 4], "x": 6.25, "y": 0.125},
+ {"matrix": [0, 5], "x": 7.25, "y": 0.25},
+
+ {"matrix": [1, 5], "x": 10.5, "y": 0.25},
+ {"matrix": [0, 6], "x": 11.5, "y": 0.125},
+ {"matrix": [1, 6], "x": 12.5, "y": 0},
+ {"matrix": [0, 7], "x": 13.5, "y": 0.125},
+ {"matrix": [1, 7], "x": 14.5, "y": 0.125},
+ {"matrix": [0, 8], "x": 15.5, "y": 0.125},
+ {"matrix": [1, 8], "x": 16.75, "y": 0.125},
+ {"matrix": [0, 9], "x": 17.75, "y": 0.125},
+ {"matrix": [1, 9], "x": 18.75, "y": 0.125},
+ {"matrix": [5, 9], "x": 19.75, "y": 0.125},
+
+ {"matrix": [0, 0], "x": 21, "y": 0.125},
+ {"matrix": [1, 0], "x": 22, "y": 0.125},
+ {"matrix": [0, 1], "x": 23, "y": 0.125},
+ {"matrix": [1, 1], "x": 24, "y": 0.125},
+
+ {"matrix": [3, 2], "x": 2, "y": 1.375},
+ {"matrix": [2, 3], "x": 3, "y": 1.375},
+ {"matrix": [3, 3], "x": 4.25, "y": 1.375},
+ {"matrix": [2, 4], "x": 5.25, "y": 1.25},
+ {"matrix": [3, 4], "x": 6.25, "y": 1.375},
+ {"matrix": [2, 5], "x": 7.25, "y": 1.5},
+
+ {"matrix": [3, 5], "x": 10.5, "y": 1.5},
+ {"matrix": [2, 6], "x": 11.5, "y": 1.375},
+ {"matrix": [3, 6], "x": 12.5, "y": 1.25},
+ {"matrix": [2, 7], "x": 13.5, "y": 1.375},
+ {"matrix": [3, 7], "x": 14.75, "y": 1.375},
+ {"matrix": [2, 8], "x": 15.75, "y": 1.375},
+ {"matrix": [3, 8], "x": 16.75, "y": 1.375},
+ {"matrix": [2, 9], "x": 17.75, "y": 1.375},
+ {"matrix": [3, 9], "x": 18.75, "y": 1.375},
+
+ {"matrix": [2, 0], "x": 21, "y": 1.375},
+ {"matrix": [3, 0], "x": 22, "y": 1.375},
+ {"matrix": [2, 1], "x": 23, "y": 1.375},
+ {"matrix": [3, 1], "x": 24, "y": 1.375},
+
+ {"matrix": [5, 2], "x": 1.25, "y": 2.375, "w": 1.5},
+ {"matrix": [4, 3], "x": 2.75, "y": 2.375},
+ {"matrix": [5, 3], "x": 4.25, "y": 2.375},
+ {"matrix": [4, 4], "x": 5.25, "y": 2.25},
+ {"matrix": [5, 4], "x": 6.25, "y": 2.375},
+ {"matrix": [4, 5], "x": 7.25, "y": 2.5},
+
+ {"matrix": [5, 5], "x": 10.5, "y": 2.5},
+ {"matrix": [4, 6], "x": 11.5, "y": 2.375},
+ {"matrix": [5, 6], "x": 12.5, "y": 2.25},
+ {"matrix": [4, 7], "x": 13.5, "y": 2.375},
+ {"matrix": [5, 7], "x": 15, "y": 2.375},
+ {"matrix": [4, 8], "x": 16, "y": 2.375},
+ {"matrix": [5, 8], "x": 17, "y": 2.375},
+ {"matrix": [4, 9], "x": 18, "y": 2.375, "w": 1.5},
+
+ {"matrix": [4, 0], "x": 21, "y": 2.375},
+ {"matrix": [5, 0], "x": 22, "y": 2.375},
+ {"matrix": [4, 1], "x": 23, "y": 2.375},
+ {"matrix": [5, 1], "x": 24, "y": 2.375},
+
+ {"matrix": [7, 2], "x": 0.75, "y": 3.375, "w": 1.75},
+ {"matrix": [6, 3], "x": 2.5, "y": 3.375},
+ {"matrix": [7, 3], "x": 4.25, "y": 3.375},
+ {"matrix": [6, 4], "x": 5.25, "y": 3.25},
+ {"matrix": [7, 4], "x": 6.25, "y": 3.375},
+ {"matrix": [6, 5], "x": 7.25, "y": 3.5},
+
+ {"matrix": [7, 5], "x": 10.5, "y": 3.5},
+ {"matrix": [6, 6], "x": 11.5, "y": 3.375},
+ {"matrix": [7, 6], "x": 12.5, "y": 3.25},
+ {"matrix": [6, 7], "x": 13.5, "y": 3.375},
+ {"matrix": [7, 7], "x": 15.25, "y": 3.375},
+ {"matrix": [6, 8], "x": 16.25, "y": 3.375},
+ {"matrix": [7, 8], "x": 17.25, "y": 3.375},
+ {"matrix": [7, 9], "x": 18.25, "y": 3.375, "w": 1.25},
+
+ {"matrix": [6, 0], "x": 21, "y": 3.375},
+ {"matrix": [7, 0], "x": 22, "y": 3.375},
+ {"matrix": [6, 1], "x": 23, "y": 3.375},
+ {"matrix": [7, 1], "x": 24, "y": 3.375},
+
+ {"matrix": [8, 2], "x": 0, "y": 4.375, "w": 1.25},
+ {"matrix": [9, 2], "x": 1.25, "y": 4.375},
+ {"matrix": [8, 3], "x": 2.25, "y": 4.375},
+ {"matrix": [9, 3], "x": 4.25, "y": 4.375},
+ {"matrix": [8, 4], "x": 5.25, "y": 4.25},
+ {"matrix": [9, 4], "x": 6.25, "y": 4.375},
+ {"matrix": [8, 5], "x": 7.25, "y": 4.5},
+ {"matrix": [10, 5], "x": 8.25, "y": 4.5},
+
+ {"matrix": [11, 5], "x": 9.5, "y": 4.5},
+ {"matrix": [9, 5], "x": 10.5, "y": 4.5},
+ {"matrix": [8, 6], "x": 11.5, "y": 4.375},
+ {"matrix": [9, 6], "x": 12.5, "y": 4.25},
+ {"matrix": [8, 7], "x": 13.5, "y": 4.375},
+ {"matrix": [9, 7], "x": 15.5, "y": 4.375},
+ {"matrix": [8, 8], "x": 16.5, "y": 4.375},
+ {"matrix": [9, 8], "x": 17.5, "y": 4.375, "w": 1.25},
+ {"matrix": [8, 9], "x": 18.75, "y": 4.375},
+
+ {"matrix": [8, 0], "x": 21, "y": 4.375},
+ {"matrix": [9, 0], "x": 22, "y": 4.375},
+ {"matrix": [8, 1], "x": 23, "y": 4.375},
+ {"matrix": [9, 1], "x": 24, "y": 4.375},
+
+ {"matrix": [11, 2], "x": 0.5, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 3], "x": 1.75, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 3], "x": 4.75, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 4], "x": 6, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 4], "x": 7.25, "y": 5.5, "w": 2},
+
+ {"matrix": [10, 6], "x": 9.5, "y": 5.5, "w": 2.75},
+ {"matrix": [11, 6], "x": 12.25, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 7], "x": 15.25, "y": 5.375, "w": 1.25},
+ {"matrix": [10, 8], "x": 16.5, "y": 5.375, "w": 1.25},
+ {"matrix": [11, 8], "x": 17.75, "y": 5.375},
+ {"matrix": [10, 9], "x": 18.75, "y": 5.375},
+ {"matrix": [11, 9], "x": 19.75, "y": 5.375},
+
+ {"matrix": [10, 0], "x": 21, "y": 5.375},
+ {"matrix": [11, 0], "x": 22, "y": 5.375},
+ {"matrix": [10, 1], "x": 23, "y": 5.375},
+ {"matrix": [11, 1], "x": 24, "y": 5.375}
]
}
}
diff --git a/keyboards/nopunin10did/jabberwocky/v2/v2.c b/keyboards/nopunin10did/jabberwocky/v2/v2.c
deleted file mode 100644
index 792093997b..0000000000
--- a/keyboards/nopunin10did/jabberwocky/v2/v2.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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 "v2.h"
diff --git a/keyboards/nopunin10did/jabberwocky/v2/v2.h b/keyboards/nopunin10did/jabberwocky/v2/v2.h
deleted file mode 100644
index f319eb2240..0000000000
--- a/keyboards/nopunin10did/jabberwocky/v2/v2.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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
-
-#include "quantum.h"
-
-#define LAYOUT_lh( \
- K0000, K0001, K0100, K0101, K0200, K0201, K0300, K0301, K0400, K0401, K0500, K0501, K0600, K0601, K0700, K0701, K0800, K0801, K0900, K0901, K0905, \
- K0002, K0003, K0102, K0103, K0203, K0302, K0303, K0402, K0403, K0502, K0503, K0602, K0603, K0702, K0703, K0802, K0803, K0902, K0903, \
- K0004, K0005, K0104, K0105, K0205, K0304, K0305, K0404, K0405, K0504, K0505, K0604, K0605, K0704, K0705, K0804, K0805, K0904, \
- K0006, K0007, K0106, K0107, K0207, K0306, K0307, K0406, K0407, K0506, K0507, K0606, K0607, K0706, K0707, K0806, K0807, K0907, \
- K0008, K0009, K0108, K0109, K0208, K0209, K0308, K0309, K0408, K0409, K0508, K0510, K0511, K0509, K0608, K0609, K0708, K0709, K0808, K0809, K0908, \
- K0010, K0011, K0110, K0111, K0211, K0310, K0311, K0410, K0411, K0610, K0611, K0711, K0810, K0811, K0910, K0911 \
-) \
-{ \
- { K0000, K0100, K0200, K0300, K0400, K0500, K0600, K0700, K0800, K0900 }, \
- { K0001, K0101, K0201, K0301, K0401, K0501, K0601, K0701, K0801, K0901 }, \
- { K0002, K0102, KC_NO, K0302, K0402, K0502, K0602, K0702, K0802, K0902 }, \
- { K0003, K0103, K0203, K0303, K0403, K0503, K0603, K0703, K0803, K0903 }, \
- { K0004, K0104, KC_NO, K0304, K0404, K0504, K0604, K0704, K0804, K0904 }, \
- { K0005, K0105, K0205, K0305, K0405, K0505, K0605, K0705, K0805, K0905 }, \
- { K0006, K0106, KC_NO, K0306, K0406, K0506, K0606, K0706, K0806, KC_NO }, \
- { K0007, K0107, K0207, K0307, K0407, K0507, K0607, K0707, K0807, K0907 }, \
- { K0008, K0108, K0208, K0308, K0408, K0508, K0608, K0708, K0808, K0908 }, \
- { K0009, K0109, K0209, K0309, K0409, K0509, K0609, K0709, K0809, KC_NO }, \
- { K0010, K0110, KC_NO, K0310, K0410, K0510, K0610, KC_NO, K0810, K0910 }, \
- { K0011, K0111, K0211, K0311, K0411, K0511, K0611, K0711, K0811, K0911 } \
-}
-
-#define LAYOUT_rh( \
- K0200, K0201, K0300, K0301, K0400, K0401, K0500, K0501, K0600, K0601, K0700, K0701, K0800, K0801, K0900, K0901, K0905, K0000, K0001, K0100, K0101, \
- K0203, K0302, K0303, K0402, K0403, K0502, K0503, K0602, K0603, K0702, K0703, K0802, K0803, K0902, K0903, K0002, K0003, K0102, K0103, \
- K0205, K0304, K0305, K0404, K0405, K0504, K0505, K0604, K0605, K0704, K0705, K0804, K0805, K0904, K0004, K0005, K0104, K0105, \
- K0207, K0306, K0307, K0406, K0407, K0506, K0507, K0606, K0607, K0706, K0707, K0806, K0807, K0907, K0006, K0007, K0106, K0107, \
- K0208, K0209, K0308, K0309, K0408, K0409, K0508, K0510, K0511, K0509, K0608, K0609, K0708, K0709, K0808, K0809, K0908, K0008, K0009, K0108, K0109, \
- K0211, K0310, K0311, K0410, K0411, K0610, K0611, K0711, K0810, K0811, K0910, K0911, K0010, K0011, K0110, K0111 \
-) \
-{ \
- { K0000, K0100, K0200, K0300, K0400, K0500, K0600, K0700, K0800, K0900 }, \
- { K0001, K0101, K0201, K0301, K0401, K0501, K0601, K0701, K0801, K0901 }, \
- { K0002, K0102, KC_NO, K0302, K0402, K0502, K0602, K0702, K0802, K0902 }, \
- { K0003, K0103, K0203, K0303, K0403, K0503, K0603, K0703, K0803, K0903 }, \
- { K0004, K0104, KC_NO, K0304, K0404, K0504, K0604, K0704, K0804, K0904 }, \
- { K0005, K0105, K0205, K0305, K0405, K0505, K0605, K0705, K0805, K0905 }, \
- { K0006, K0106, KC_NO, K0306, K0406, K0506, K0606, K0706, K0806, KC_NO }, \
- { K0007, K0107, K0207, K0307, K0407, K0507, K0607, K0707, K0807, K0907 }, \
- { K0008, K0108, K0208, K0308, K0408, K0508, K0608, K0708, K0808, K0908 }, \
- { K0009, K0109, K0209, K0309, K0409, K0509, K0609, K0709, K0809, KC_NO }, \
- { K0010, K0110, KC_NO, K0310, K0410, K0510, K0610, KC_NO, K0810, K0910 }, \
- { K0011, K0111, K0211, K0311, K0411, K0511, K0611, K0711, K0811, K0911 } \
-}
diff --git a/keyboards/nopunin10did/kastenwagen1840/config.h b/keyboards/nopunin10did/kastenwagen1840/config.h
index 80a7793edb..42a557e6a4 100644
--- a/keyboards/nopunin10did/kastenwagen1840/config.h
+++ b/keyboards/nopunin10did/kastenwagen1840/config.h
@@ -16,15 +16,7 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B4, B5, B7, D5, C7, F1, F0, B6 }
-#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, E6, D7 }
-
/* Indicator LEDs */
#define LED_INDICATOR_TOP B0
#define LED_INDICATOR_MID D4
#define LED_INDICATOR_BOT C6
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/nopunin10did/kastenwagen1840/info.json b/keyboards/nopunin10did/kastenwagen1840/info.json
index bf6b9234b0..a43f84fa57 100644
--- a/keyboards/nopunin10did/kastenwagen1840/info.json
+++ b/keyboards/nopunin10did/kastenwagen1840/info.json
@@ -8,6 +8,11 @@
"pid": "0x4B57",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "E6", "D7"],
+ "rows": ["B4", "B5", "B7", "D5", "C7", "F1", "F0", "B6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D0", "pin_b": "D1"},
@@ -19,71 +24,155 @@
"layouts": {
"LAYOUT_all": {
"layout": [
- {"x":0 , "y":0, "label":"Esc"},
- {"x":1 , "y":0, "label":"Q"},
- {"x":2 , "y":0, "label":"W"},
- {"x":3 , "y":0, "label":"E"},
- {"x":4 , "y":0, "label":"R"},
- {"x":5 , "y":0, "label":"T"},
- {"x":6 , "y":0, "label":"Y"},
- {"x":7 , "y":0, "label":"U"},
- {"x":8 , "y":0, "label":"I"},
- {"x":9 , "y":0, "label":"O"},
- {"x":10 , "y":0, "label":"P"},
- {"x":11 , "y":0, "label":"L Bracket"},
- {"x":12 , "y":0, "label":"Backspace", "w":1.75},
- {"x":14.25, "y":0, "label":"P-7"},
- {"x":15.25, "y":0, "label":"P-8"},
- {"x":16.25, "y":0, "label":"P-9"},
- {"x":17.25, "y":0, "label":"P-Minus"},
- {"x":0 , "y":1, "label":"Tab", "w":1.25},
- {"x":1.25, "y":1, "label":"A"},
- {"x":2.25, "y":1, "label":"S"},
- {"x":3.25, "y":1, "label":"D"},
- {"x":4.25, "y":1, "label":"F"},
- {"x":5.25, "y":1, "label":"G"},
- {"x":6.25, "y":1, "label":"H"},
- {"x":7.25, "y":1, "label":"J"},
- {"x":8.25, "y":1, "label":"K"},
- {"x":9.25, "y":1, "label":"L"},
- {"x":10.25, "y":1, "label":"Semicolon"},
- {"x":11.25, "y":1, "label":"Quote"},
- {"x":12.25, "y":1, "label":"Enter", "w":1.5},
- {"x":14.25, "y":1, "label":"P-4"},
- {"x":15.25, "y":1, "label":"P-5"},
- {"x":16.25, "y":1, "label":"P-6"},
- {"x":17.25, "y":1, "label":"P-Plus"},
- {"x":0 , "y":2, "label":"Left Shift", "w":1.75},
- {"x":1.75, "y":2, "label":"Z"},
- {"x":2.75, "y":2, "label":"X"},
- {"x":3.75, "y":2, "label":"C"},
- {"x":4.75, "y":2, "label":"V"},
- {"x":5.75, "y":2, "label":"B"},
- {"x":6.75, "y":2, "label":"N"},
- {"x":7.75, "y":2, "label":"M"},
- {"x":8.75, "y":2, "label":"Comma"},
- {"x":9.75, "y":2, "label":"Period"},
- {"x":10.75, "y":2, "label":"Slash"},
- {"x":11.75, "y":2, "label":"Right Shift", "w":1.25},
- {"x":13.125,"y":2.125,"label":"Up"},
- {"x":14.25, "y":2, "label":"P-1"},
- {"x":15.25, "y":2, "label":"P-2"},
- {"x":16.25, "y":2, "label":"P-3"},
- {"x":17.25, "y":2, "label":"P-Mult"},
- {"x":0 , "y":3, "label":"Left Ctrl", "w":1.25},
- {"x":1.25 , "y":3, "label":"Left Alt", "w":1.25},
- {"x":2.5 , "y":3, "label":"MO(2)"},
- {"x":3.5 , "y":3, "label":"Space", "w":2.75},
- {"x":6.25 , "y":3, "label":"Space", "w":2.25},
- {"x":8.5 , "y":3, "label":"MO(3)"},
- {"x":9.5 , "y":3, "label":"R Win / Alt Gr", "w":1.25},
- {"x":10.75, "y":3, "label":"MO(1)", "w":1.25},
- {"x":12.125,"y":3.125,"label":"Left"},
- {"x":13.125,"y":3.125,"label":"Down"},
- {"x":14.125,"y":3.125,"label":"Right"},
- {"x":15.25 ,"y":3, "label":"P-0"},
- {"x":16.25 ,"y":3, "label":"P-Dot"},
- {"x":17.25 ,"y":3, "label":"P-Enter"}
+ {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
+ {"label": "W", "matrix": [0, 1], "x": 2, "y": 0},
+ {"label": "E", "matrix": [1, 1], "x": 3, "y": 0},
+ {"label": "R", "matrix": [0, 2], "x": 4, "y": 0},
+ {"label": "T", "matrix": [1, 2], "x": 5, "y": 0},
+ {"label": "Y", "matrix": [0, 3], "x": 6, "y": 0},
+ {"label": "U", "matrix": [1, 3], "x": 7, "y": 0},
+ {"label": "I", "matrix": [0, 4], "x": 8, "y": 0},
+ {"label": "O", "matrix": [1, 4], "x": 9, "y": 0},
+ {"label": "P", "matrix": [0, 5], "x": 10, "y": 0},
+ {"label": "[", "matrix": [1, 5], "x": 11, "y": 0},
+ {"label": "Backspace", "matrix": [0, 6], "x": 12, "y": 0, "w": 1.75},
+
+ {"label": "7", "matrix": [0, 7], "x": 14.25, "y": 0},
+ {"label": "8", "matrix": [1, 7], "x": 15.25, "y": 0},
+ {"label": "9", "matrix": [0, 8], "x": 16.25, "y": 0},
+ {"label": "-", "matrix": [1, 8], "x": 17.25, "y": 0},
+
+ {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 1, "w": 1.25},
+ {"label": "A", "matrix": [3, 0], "x": 1.25, "y": 1},
+ {"label": "S", "matrix": [2, 1], "x": 2.25, "y": 1},
+ {"label": "D", "matrix": [3, 1], "x": 3.25, "y": 1},
+ {"label": "F", "matrix": [2, 2], "x": 4.25, "y": 1},
+ {"label": "G", "matrix": [3, 2], "x": 5.25, "y": 1},
+ {"label": "H", "matrix": [2, 3], "x": 6.25, "y": 1},
+ {"label": "J", "matrix": [3, 3], "x": 7.25, "y": 1},
+ {"label": "K", "matrix": [2, 4], "x": 8.25, "y": 1},
+ {"label": "L", "matrix": [3, 4], "x": 9.25, "y": 1},
+ {"label": ";", "matrix": [2, 5], "x": 10.25, "y": 1},
+ {"label": "'", "matrix": [3, 5], "x": 11.25, "y": 1},
+ {"label": "Enter", "matrix": [2, 6], "x": 12.25, "y": 1, "w": 1.5},
+
+ {"label": "4", "matrix": [2, 7], "x": 14.25, "y": 1},
+ {"label": "5", "matrix": [3, 7], "x": 15.25, "y": 1},
+ {"label": "6", "matrix": [2, 8], "x": 16.25, "y": 1},
+ {"label": "+", "matrix": [3, 8], "x": 17.25, "y": 1},
+
+ {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"label": "Z", "matrix": [5, 0], "x": 1.75, "y": 2},
+ {"label": "X", "matrix": [4, 1], "x": 2.75, "y": 2},
+ {"label": "C", "matrix": [5, 1], "x": 3.75, "y": 2},
+ {"label": "V", "matrix": [4, 2], "x": 4.75, "y": 2},
+ {"label": "B", "matrix": [5, 2], "x": 5.75, "y": 2},
+ {"label": "N", "matrix": [4, 3], "x": 6.75, "y": 2},
+ {"label": "M", "matrix": [5, 3], "x": 7.75, "y": 2},
+ {"label": ",", "matrix": [4, 4], "x": 8.75, "y": 2},
+ {"label": ".", "matrix": [5, 4], "x": 9.75, "y": 2},
+ {"label": "/", "matrix": [4, 5], "x": 10.75, "y": 2},
+ {"label": "Shift", "matrix": [5, 5], "x": 11.75, "y": 2, "w": 1.25},
+
+ {"label": "\u2191", "matrix": [4, 6], "x": 13.125, "y": 2.125},
+
+ {"label": "1", "matrix": [4, 7], "x": 14.25, "y": 2},
+ {"label": "2", "matrix": [5, 7], "x": 15.25, "y": 2},
+ {"label": "3", "matrix": [4, 8], "x": 16.25, "y": 2},
+ {"label": "*", "matrix": [5, 8], "x": 17.25, "y": 2},
+
+ {"label": "Ctrl", "matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"label": "Alt", "matrix": [7, 0], "x": 1.25, "y": 3, "w": 1.25},
+ {"label": "Fn2", "matrix": [6, 1], "x": 2.5, "y": 3},
+ {"label": "Fn2/Space", "matrix": [7, 1], "x": 3.5, "y": 3, "w": 2.75},
+ {"label": "Fn3/Space", "matrix": [7, 3], "x": 6.25, "y": 3, "w": 2.25},
+ {"label": "Fn3", "matrix": [6, 4], "x": 8.5, "y": 3},
+ {"label": "GUI/Alt", "matrix": [7, 4], "x": 9.5, "y": 3, "w": 1.25},
+ {"label": "Fn", "matrix": [6, 5], "x": 10.75, "y": 3, "w": 1.25},
+
+ {"label": "\u2190", "matrix": [7, 5], "x": 12.125, "y": 3.125},
+ {"label": "\u2193", "matrix": [7, 6], "x": 13.125, "y": 3.125},
+ {"label": "\u2192", "matrix": [6, 7], "x": 14.125, "y": 3.125},
+
+ {"label": "0", "matrix": [7, 7], "x": 15.25, "y": 3},
+ {"label": ".", "matrix": [6, 8], "x": 16.25, "y": 3},
+ {"label": "Fn3/Enter", "matrix": [7, 8], "x": 17.25, "y": 3}
+ ]
+ },
+ "LAYOUT_7u_space": {
+ "layout": [
+ {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
+ {"label": "W", "matrix": [0, 1], "x": 2, "y": 0},
+ {"label": "E", "matrix": [1, 1], "x": 3, "y": 0},
+ {"label": "R", "matrix": [0, 2], "x": 4, "y": 0},
+ {"label": "T", "matrix": [1, 2], "x": 5, "y": 0},
+ {"label": "Y", "matrix": [0, 3], "x": 6, "y": 0},
+ {"label": "U", "matrix": [1, 3], "x": 7, "y": 0},
+ {"label": "I", "matrix": [0, 4], "x": 8, "y": 0},
+ {"label": "O", "matrix": [1, 4], "x": 9, "y": 0},
+ {"label": "P", "matrix": [0, 5], "x": 10, "y": 0},
+ {"label": "[", "matrix": [1, 5], "x": 11, "y": 0},
+ {"label": "Backspace", "matrix": [0, 6], "x": 12, "y": 0, "w": 1.75},
+
+ {"label": "7", "matrix": [0, 7], "x": 14.25, "y": 0},
+ {"label": "8", "matrix": [1, 7], "x": 15.25, "y": 0},
+ {"label": "9", "matrix": [0, 8], "x": 16.25, "y": 0},
+ {"label": "-", "matrix": [1, 8], "x": 17.25, "y": 0},
+
+ {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 1, "w": 1.25},
+ {"label": "A", "matrix": [3, 0], "x": 1.25, "y": 1},
+ {"label": "S", "matrix": [2, 1], "x": 2.25, "y": 1},
+ {"label": "D", "matrix": [3, 1], "x": 3.25, "y": 1},
+ {"label": "F", "matrix": [2, 2], "x": 4.25, "y": 1},
+ {"label": "G", "matrix": [3, 2], "x": 5.25, "y": 1},
+ {"label": "H", "matrix": [2, 3], "x": 6.25, "y": 1},
+ {"label": "J", "matrix": [3, 3], "x": 7.25, "y": 1},
+ {"label": "K", "matrix": [2, 4], "x": 8.25, "y": 1},
+ {"label": "L", "matrix": [3, 4], "x": 9.25, "y": 1},
+ {"label": ";", "matrix": [2, 5], "x": 10.25, "y": 1},
+ {"label": "'", "matrix": [3, 5], "x": 11.25, "y": 1},
+ {"label": "Enter", "matrix": [2, 6], "x": 12.25, "y": 1, "w": 1.5},
+
+ {"label": "4", "matrix": [2, 7], "x": 14.25, "y": 1},
+ {"label": "5", "matrix": [3, 7], "x": 15.25, "y": 1},
+ {"label": "6", "matrix": [2, 8], "x": 16.25, "y": 1},
+ {"label": "+", "matrix": [3, 8], "x": 17.25, "y": 1},
+
+ {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"label": "Z", "matrix": [5, 0], "x": 1.75, "y": 2},
+ {"label": "X", "matrix": [4, 1], "x": 2.75, "y": 2},
+ {"label": "C", "matrix": [5, 1], "x": 3.75, "y": 2},
+ {"label": "V", "matrix": [4, 2], "x": 4.75, "y": 2},
+ {"label": "B", "matrix": [5, 2], "x": 5.75, "y": 2},
+ {"label": "N", "matrix": [4, 3], "x": 6.75, "y": 2},
+ {"label": "M", "matrix": [5, 3], "x": 7.75, "y": 2},
+ {"label": ",", "matrix": [4, 4], "x": 8.75, "y": 2},
+ {"label": ".", "matrix": [5, 4], "x": 9.75, "y": 2},
+ {"label": "/", "matrix": [4, 5], "x": 10.75, "y": 2},
+ {"label": "Shift", "matrix": [5, 5], "x": 11.75, "y": 2, "w": 1.25},
+
+ {"label": "\u2191", "matrix": [4, 6], "x": 13.125, "y": 2.125},
+
+ {"label": "1", "matrix": [4, 7], "x": 14.25, "y": 2},
+ {"label": "2", "matrix": [5, 7], "x": 15.25, "y": 2},
+ {"label": "3", "matrix": [4, 8], "x": 16.25, "y": 2},
+ {"label": "*", "matrix": [5, 8], "x": 17.25, "y": 2},
+
+ {"label": "Ctrl", "matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"label": "Alt", "matrix": [7, 0], "x": 1.25, "y": 3, "w": 1.25},
+ {"label": "Fn2/Space", "matrix": [7, 1], "x": 2.5, "y": 3, "w": 7},
+ {"label": "GUI/Alt", "matrix": [7, 4], "x": 9.5, "y": 3, "w": 1.25},
+ {"label": "Fn", "matrix": [6, 5], "x": 10.75, "y": 3, "w": 1.25},
+
+ {"label": "\u2190", "matrix": [7, 5], "x": 12.125, "y": 3.125},
+ {"label": "\u2193", "matrix": [7, 6], "x": 13.125, "y": 3.125},
+ {"label": "\u2192", "matrix": [6, 7], "x": 14.125, "y": 3.125},
+
+ {"label": "0", "matrix": [7, 7], "x": 15.25, "y": 3},
+ {"label": ".", "matrix": [6, 8], "x": 16.25, "y": 3},
+ {"label": "Fn3/Enter", "matrix": [7, 8], "x": 17.25, "y": 3}
]
}
}
diff --git a/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.c b/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.c
index a54b557406..01eb8f3903 100644
--- a/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.c
+++ b/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "kastenwagen1840.h"
+#include "quantum.h"
#ifndef LAYER_LED_DISABLE
diff --git a/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.h b/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.h
deleted file mode 100644
index a6fad98d00..0000000000
--- a/keyboards/nopunin10did/kastenwagen1840/kastenwagen1840.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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
-
-#include "quantum.h"
-
-/*
- * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──────┐ ┌───┬───┬───┬───┐
- * │100│101│110│111│120│121│130│131│140│141│150│151│160 │ │170│171│180│181│
- * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┤ ├───┼───┼───┼───┤
- * │202 │203│212│213│222│223│232│233│242│243│252│253│262 │ │272│273│282│283│
- * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬──┘ ├───┼───┼───┼───┤ ┌───┐
- * │304 │305│314│315│324│325│334│335│344│345│354│355 │┌───┐│374│375│384│385│ │ │
- * ├────┬─┴──┬┴──┬┴───┴───┴─┬─┴───┴──┬┴──┬┴───┼───┴┬───┘│364│└───┼───┼───┼───┤ │487│ 2u NumEnter
- * │406 │407 │416│417 │437 │446│447 │456 │┌───┼───┼───┐│477│486│487│ │ │
- * └────┴────┴───┴──────────┴────────┴───┴────┴────┘│457│467│476│└───┴───┴───┘ └───┘
- * ┌───────────────────────────┐ └───┴───┴───┘┌───────┐
- * │417 │ 7u Space │477 │ 2u Num0
- * └───────────────────────────┘ └───────┘
- */
-
-#define LAYOUT_all( \
-K100 , K101 , K110 , K111 , K120 , K121 , K130 , K131 , K140 , K141 , K150 , K151 , K160 , K170 , K171 , K180 , K181 , \
-K202 , K203 , K212 , K213 , K222 , K223 , K232 , K233 , K242 , K243 , K252 , K253 , K262 , K272 , K273 , K282 , K283 , \
-K304 , K305 , K314 , K315 , K324 , K325 , K334 , K335 , K344 , K345 , K354 , K355 , K364 , K374 , K375 , K384 , K385 , \
-K406 , K407 , K416 , K417 , K437 , K446 , K447 , K456 , K457 , K467 , K476 , K477 , K486 , K487 \
-) \
-{ \
- { K100 , K110 , K120 , K130 , K140 , K150 , K160 , K170 , K180 }, \
- { K101 , K111 , K121 , K131 , K141 , K151 , KC_NO, K171 , K181 }, \
- { K202 , K212 , K222 , K232 , K242 , K252 , K262 , K272 , K282 }, \
- { K203 , K213 , K223 , K233 , K243 , K253 , KC_NO, K273 , K283 }, \
- { K304 , K314 , K324 , K334 , K344 , K354 , K364 , K374 , K384 }, \
- { K305 , K315 , K325 , K335 , K345 , K355 , KC_NO, K375 , K385 }, \
- { K406 , K416 , KC_NO, KC_NO, K446 , K456 , KC_NO, K476 , K486 }, \
- { K407 , K417 , KC_NO, K437 , K447 , K457 , K467 , K477 , K487 } \
-}
diff --git a/keyboards/nopunin10did/kastenwagen1840/matrix_diagram.md b/keyboards/nopunin10did/kastenwagen1840/matrix_diagram.md
new file mode 100644
index 0000000000..7f7fbe619a
--- /dev/null
+++ b/keyboards/nopunin10did/kastenwagen1840/matrix_diagram.md
@@ -0,0 +1,17 @@
+# Matrix Diagram for Kastenwagen 1840
+
+```
+┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──────┐ ┌───┬───┬───┬───┐
+│00 │10 │01 │11 │02 │12 │03 │13 │04 │14 │05 │15 │06 │ │07 │17 │08 │18 │
+├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┤ ├───┼───┼───┼───┤
+│20 │30 │21 │31 │22 │32 │23 │33 │24 │34 │25 │35 │26 │ │27 │37 │28 │38 │
+├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬──┘ ├───┼───┼───┼───┤ ┌───┐
+│40 │50 │41 │51 │42 │52 │43 │53 │44 │54 │45 │55 │┌───┐│47 │57 │48 │58 │ │ │
+├────┬─┴──┬┴──┬┴───┴───┴─┬─┴───┴──┬┴──┬┴───┼───┴┬───┘│46 │└───┼───┼───┼───┤ │78 │ 2u Numpad Enter
+│60 │70 │61 │71 │73 │64 │74 │65 │┌───┼───┼───┐│77 │68 │78 │ │ │
+└────┴────┴───┴──────────┴────────┴───┴────┴────┘│75 │76 │67 │└───┴───┴───┘ └───┘
+ ┌─ 7u Spacebar ─────────────┐ └───┴───┴───┘┌───────┐
+ ┌───────────────────────────┐ │77 │ 2u Numpad Zero
+ │71 │ └───────┘
+ └───────────────────────────┘
+```
diff --git a/keyboards/nopunin10did/kastenwagen48/config.h b/keyboards/nopunin10did/kastenwagen48/config.h
index 555a0c488f..42a557e6a4 100644
--- a/keyboards/nopunin10did/kastenwagen48/config.h
+++ b/keyboards/nopunin10did/kastenwagen48/config.h
@@ -16,15 +16,7 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B4, B5, B7, D5, C7, F1, F0, B6 }
-#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, E6 }
-
/* Indicator LEDs */
#define LED_INDICATOR_TOP B0
#define LED_INDICATOR_MID D4
#define LED_INDICATOR_BOT C6
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/nopunin10did/kastenwagen48/info.json b/keyboards/nopunin10did/kastenwagen48/info.json
index 00fe51e381..20332aaa43 100644
--- a/keyboards/nopunin10did/kastenwagen48/info.json
+++ b/keyboards/nopunin10did/kastenwagen48/info.json
@@ -8,6 +8,11 @@
"pid": "0x4B30",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "E6"],
+ "rows": ["B4", "B5", "B7", "D5", "C7", "F1", "F0", "B6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D0", "pin_b": "D1"},
@@ -19,59 +24,129 @@
"layouts": {
"LAYOUT_all": {
"layout": [
- {"x":0 , "y":0, "label":"Esc"},
- {"x":1 , "y":0, "label":"Q"},
- {"x":2 , "y":0, "label":"W"},
- {"x":3 , "y":0, "label":"E"},
- {"x":4 , "y":0, "label":"R"},
- {"x":5 , "y":0, "label":"T"},
- {"x":6 , "y":0, "label":"Y"},
- {"x":7 , "y":0, "label":"U"},
- {"x":8 , "y":0, "label":"I"},
- {"x":9 , "y":0, "label":"O"},
- {"x":10 , "y":0, "label":"P"},
- {"x":11 , "y":0, "label":"L Bracket"},
- {"x":12 , "y":0, "label":"Backspace", "w":1.75},
- {"x":14.25, "y":0, "label":"Delete"},
- {"x":0 , "y":1, "label":"Tab", "w":1.25},
- {"x":1.25, "y":1, "label":"A"},
- {"x":2.25, "y":1, "label":"S"},
- {"x":3.25, "y":1, "label":"D"},
- {"x":4.25, "y":1, "label":"F"},
- {"x":5.25, "y":1, "label":"G"},
- {"x":6.25, "y":1, "label":"H"},
- {"x":7.25, "y":1, "label":"J"},
- {"x":8.25, "y":1, "label":"K"},
- {"x":9.25, "y":1, "label":"L"},
- {"x":10.25, "y":1, "label":"Semicolon"},
- {"x":11.25, "y":1, "label":"Quote"},
- {"x":12.25, "y":1, "label":"Enter", "w":1.5},
- {"x":14.25, "y":1, "label":"Pg Up"},
- {"x":0 , "y":2, "label":"Left Shift", "w":1.75},
- {"x":1.75, "y":2, "label":"Z"},
- {"x":2.75, "y":2, "label":"X"},
- {"x":3.75, "y":2, "label":"C"},
- {"x":4.75, "y":2, "label":"V"},
- {"x":5.75, "y":2, "label":"B"},
- {"x":6.75, "y":2, "label":"N"},
- {"x":7.75, "y":2, "label":"M"},
- {"x":8.75, "y":2, "label":"Comma"},
- {"x":9.75, "y":2, "label":"Period"},
- {"x":10.75, "y":2, "label":"Slash"},
- {"x":11.75, "y":2, "label":"Right Shift", "w":1.25},
- {"x":13.125,"y":2.125,"label":"Up"},
- {"x":14.25, "y":2, "label":"Pg Dn"},
- {"x":0 , "y":3, "label":"Left Ctrl", "w":1.25},
- {"x":1.25 , "y":3, "label":"Left Alt", "w":1.25},
- {"x":2.5 , "y":3, "label":"MO(2)"},
- {"x":3.5 , "y":3, "label":"Space", "w":2.75},
- {"x":6.25 , "y":3, "label":"Space", "w":2.25},
- {"x":8.5 , "y":3, "label":"MO(3)"},
- {"x":9.5 , "y":3, "label":"R Win / Alt Gr", "w":1.25},
- {"x":10.75, "y":3, "label":"MO(1)", "w":1.25},
- {"x":12.125,"y":3.125,"label":"Left"},
- {"x":13.125,"y":3.125,"label":"Down"},
- {"x":14.125,"y":3.125,"label":"Right"}
+ {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
+ {"label": "W", "matrix": [0, 1], "x": 2, "y": 0},
+ {"label": "E", "matrix": [1, 1], "x": 3, "y": 0},
+ {"label": "R", "matrix": [0, 2], "x": 4, "y": 0},
+ {"label": "T", "matrix": [1, 2], "x": 5, "y": 0},
+ {"label": "Y", "matrix": [0, 3], "x": 6, "y": 0},
+ {"label": "U", "matrix": [1, 3], "x": 7, "y": 0},
+ {"label": "I", "matrix": [0, 4], "x": 8, "y": 0},
+ {"label": "O", "matrix": [1, 4], "x": 9, "y": 0},
+ {"label": "P", "matrix": [0, 5], "x": 10, "y": 0},
+ {"label": "[", "matrix": [1, 5], "x": 11, "y": 0},
+ {"label": "Backspace", "matrix": [0, 6], "x": 12, "y": 0, "w": 1.75},
+
+ {"label": "Delete", "matrix": [0, 7], "x": 14.25, "y": 0},
+
+ {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 1, "w": 1.25},
+ {"label": "A", "matrix": [3, 0], "x": 1.25, "y": 1},
+ {"label": "S", "matrix": [2, 1], "x": 2.25, "y": 1},
+ {"label": "D", "matrix": [3, 1], "x": 3.25, "y": 1},
+ {"label": "F", "matrix": [2, 2], "x": 4.25, "y": 1},
+ {"label": "G", "matrix": [3, 2], "x": 5.25, "y": 1},
+ {"label": "H", "matrix": [2, 3], "x": 6.25, "y": 1},
+ {"label": "J", "matrix": [3, 3], "x": 7.25, "y": 1},
+ {"label": "K", "matrix": [2, 4], "x": 8.25, "y": 1},
+ {"label": "L", "matrix": [3, 4], "x": 9.25, "y": 1},
+ {"label": ";", "matrix": [2, 5], "x": 10.25, "y": 1},
+ {"label": "'", "matrix": [3, 5], "x": 11.25, "y": 1},
+ {"label": "Enter", "matrix": [2, 6], "x": 12.25, "y": 1, "w": 1.5},
+
+ {"label": "Page Up", "matrix": [2, 7], "x": 14.25, "y": 1},
+
+ {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"label": "Z", "matrix": [5, 0], "x": 1.75, "y": 2},
+ {"label": "X", "matrix": [4, 1], "x": 2.75, "y": 2},
+ {"label": "C", "matrix": [5, 1], "x": 3.75, "y": 2},
+ {"label": "V", "matrix": [4, 2], "x": 4.75, "y": 2},
+ {"label": "B", "matrix": [5, 2], "x": 5.75, "y": 2},
+ {"label": "N", "matrix": [4, 3], "x": 6.75, "y": 2},
+ {"label": "M", "matrix": [5, 3], "x": 7.75, "y": 2},
+ {"label": ",", "matrix": [4, 4], "x": 8.75, "y": 2},
+ {"label": ".", "matrix": [5, 4], "x": 9.75, "y": 2},
+ {"label": "/", "matrix": [4, 5], "x": 10.75, "y": 2},
+ {"label": "Shift", "matrix": [5, 5], "x": 11.75, "y": 2, "w": 1.25},
+
+ {"label": "\u2191", "matrix": [4, 6], "x": 13.125, "y": 2.125},
+
+ {"label": "Page Down", "matrix": [4, 7], "x": 14.25, "y": 2},
+
+ {"label": "Ctrl", "matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"label": "Alt", "matrix": [7, 0], "x": 1.25, "y": 3, "w": 1.25},
+ {"label": "Fn2", "matrix": [6, 1], "x": 2.5, "y": 3},
+ {"label": "Fn2/Space", "matrix": [7, 1], "x": 3.5, "y": 3, "w": 2.75},
+ {"label": "Fn3/Space", "matrix": [7, 3], "x": 6.25, "y": 3, "w": 2.25},
+ {"label": "Fn3", "matrix": [6, 4], "x": 8.5, "y": 3},
+ {"label": "GUI/Alt", "matrix": [7, 4], "x": 9.5, "y": 3, "w": 1.25},
+ {"label": "Fn", "matrix": [6, 5], "x": 10.75, "y": 3, "w": 1.25},
+
+ {"label": "\u2190", "matrix": [7, 5], "x": 12.125, "y": 3.125},
+ {"label": "\u2193", "matrix": [7, 6], "x": 13.125, "y": 3.125},
+ {"label": "\u2192", "matrix": [6, 7], "x": 14.125, "y": 3.125}
+ ]
+ },
+ "LAYOUT_7u_space": {
+ "layout": [
+ {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "Q", "matrix": [1, 0], "x": 1, "y": 0},
+ {"label": "W", "matrix": [0, 1], "x": 2, "y": 0},
+ {"label": "E", "matrix": [1, 1], "x": 3, "y": 0},
+ {"label": "R", "matrix": [0, 2], "x": 4, "y": 0},
+ {"label": "T", "matrix": [1, 2], "x": 5, "y": 0},
+ {"label": "Y", "matrix": [0, 3], "x": 6, "y": 0},
+ {"label": "U", "matrix": [1, 3], "x": 7, "y": 0},
+ {"label": "I", "matrix": [0, 4], "x": 8, "y": 0},
+ {"label": "O", "matrix": [1, 4], "x": 9, "y": 0},
+ {"label": "P", "matrix": [0, 5], "x": 10, "y": 0},
+ {"label": "[", "matrix": [1, 5], "x": 11, "y": 0},
+ {"label": "Backspace", "matrix": [0, 6], "x": 12, "y": 0, "w": 1.75},
+
+ {"label": "Delete", "matrix": [0, 7], "x": 14.25, "y": 0},
+
+ {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 1, "w": 1.25},
+ {"label": "A", "matrix": [3, 0], "x": 1.25, "y": 1},
+ {"label": "S", "matrix": [2, 1], "x": 2.25, "y": 1},
+ {"label": "D", "matrix": [3, 1], "x": 3.25, "y": 1},
+ {"label": "F", "matrix": [2, 2], "x": 4.25, "y": 1},
+ {"label": "G", "matrix": [3, 2], "x": 5.25, "y": 1},
+ {"label": "H", "matrix": [2, 3], "x": 6.25, "y": 1},
+ {"label": "J", "matrix": [3, 3], "x": 7.25, "y": 1},
+ {"label": "K", "matrix": [2, 4], "x": 8.25, "y": 1},
+ {"label": "L", "matrix": [3, 4], "x": 9.25, "y": 1},
+ {"label": ";", "matrix": [2, 5], "x": 10.25, "y": 1},
+ {"label": "'", "matrix": [3, 5], "x": 11.25, "y": 1},
+ {"label": "Enter", "matrix": [2, 6], "x": 12.25, "y": 1, "w": 1.5},
+
+ {"label": "Page Up", "matrix": [2, 7], "x": 14.25, "y": 1},
+
+ {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
+ {"label": "Z", "matrix": [5, 0], "x": 1.75, "y": 2},
+ {"label": "X", "matrix": [4, 1], "x": 2.75, "y": 2},
+ {"label": "C", "matrix": [5, 1], "x": 3.75, "y": 2},
+ {"label": "V", "matrix": [4, 2], "x": 4.75, "y": 2},
+ {"label": "B", "matrix": [5, 2], "x": 5.75, "y": 2},
+ {"label": "N", "matrix": [4, 3], "x": 6.75, "y": 2},
+ {"label": "M", "matrix": [5, 3], "x": 7.75, "y": 2},
+ {"label": ",", "matrix": [4, 4], "x": 8.75, "y": 2},
+ {"label": ".", "matrix": [5, 4], "x": 9.75, "y": 2},
+ {"label": "/", "matrix": [4, 5], "x": 10.75, "y": 2},
+ {"label": "Shift", "matrix": [5, 5], "x": 11.75, "y": 2, "w": 1.25},
+
+ {"label": "\u2191", "matrix": [4, 6], "x": 13.125, "y": 2.125},
+
+ {"label": "Page Down", "matrix": [4, 7], "x": 14.25, "y": 2},
+
+ {"label": "Ctrl", "matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
+ {"label": "Alt", "matrix": [7, 0], "x": 1.25, "y": 3, "w": 1.25},
+ {"label": "Fn2/Space", "matrix": [7, 1], "x": 2.5, "y": 3, "w": 7},
+ {"label": "GUI/Alt", "matrix": [7, 4], "x": 9.5, "y": 3, "w": 1.25},
+ {"label": "Fn", "matrix": [6, 5], "x": 10.75, "y": 3, "w": 1.25},
+
+ {"label": "\u2190", "matrix": [7, 5], "x": 12.125, "y": 3.125},
+ {"label": "\u2193", "matrix": [7, 6], "x": 13.125, "y": 3.125},
+ {"label": "\u2192", "matrix": [6, 7], "x": 14.125, "y": 3.125}
]
}
}
diff --git a/keyboards/nopunin10did/kastenwagen48/kastenwagen48.c b/keyboards/nopunin10did/kastenwagen48/kastenwagen48.c
index 9cce6ac2e3..01eb8f3903 100644
--- a/keyboards/nopunin10did/kastenwagen48/kastenwagen48.c
+++ b/keyboards/nopunin10did/kastenwagen48/kastenwagen48.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "kastenwagen48.h"
+#include "quantum.h"
#ifndef LAYER_LED_DISABLE
diff --git a/keyboards/nopunin10did/kastenwagen48/kastenwagen48.h b/keyboards/nopunin10did/kastenwagen48/kastenwagen48.h
deleted file mode 100644
index 65ed03d201..0000000000
--- a/keyboards/nopunin10did/kastenwagen48/kastenwagen48.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Copyright 2022 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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
-
-#include "quantum.h"
-
-/*
- * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──────┐ ┌───┐
- * │100│101│110│111│120│121│130│131│140│141│150│151│160 │ │170│
- * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┤ ├───┤
- * │202 │203│212│213│222│223│232│233│242│243│252│253│262 │ │272│
- * ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬──┘ ├───┤
- * │304 │305│314│315│324│325│334│335│344│345│354│355 │┌───┐│374│
- * ├────┬─┴──┬┴──┬┴───┴───┴─┬─┴───┴──┬┴──┬┴───┼───┴┬───┘│364│└───┘
- * │406 │407 │416│417 │437 │446│447 │456 │┌───┼───┼───┐
- * └────┴────┴───┴──────────┴────────┴───┴────┴────┘│457│467│476│
- * ┌───────────────────────────┐ └───┴───┴───┘
- * │417 │ 7u Space
- * └───────────────────────────┘
- */
-
-#define LAYOUT_all( \
-K100 , K101 , K110 , K111 , K120 , K121 , K130 , K131 , K140 , K141 , K150 , K151 , K160 , K170 , \
-K202 , K203 , K212 , K213 , K222 , K223 , K232 , K233 , K242 , K243 , K252 , K253 , K262 , K272 , \
-K304 , K305 , K314 , K315 , K324 , K325 , K334 , K335 , K344 , K345 , K354 , K355 , K364 , K374 , \
-K406 , K407 , K416 , K417 , K437 , K446 , K447 , K456 , K457 , K467 , K476 \
-) \
-{ \
- { K100 , K110 , K120 , K130 , K140 , K150 , K160 , K170 }, \
- { K101 , K111 , K121 , K131 , K141 , K151 , KC_NO, KC_NO }, \
- { K202 , K212 , K222 , K232 , K242 , K252 , K262 , K272 }, \
- { K203 , K213 , K223 , K233 , K243 , K253 , KC_NO, KC_NO }, \
- { K304 , K314 , K324 , K334 , K344 , K354 , K364 , K374 }, \
- { K305 , K315 , K325 , K335 , K345 , K355 , KC_NO, KC_NO }, \
- { K406 , K416 , KC_NO, KC_NO, K446 , K456 , KC_NO, K476 }, \
- { K407 , K417 , KC_NO, K437 , K447 , K457 , K467 , KC_NO } \
-}
diff --git a/keyboards/nopunin10did/kastenwagen48/matrix_diagram.md b/keyboards/nopunin10did/kastenwagen48/matrix_diagram.md
new file mode 100644
index 0000000000..f91eace577
--- /dev/null
+++ b/keyboards/nopunin10did/kastenwagen48/matrix_diagram.md
@@ -0,0 +1,17 @@
+# Matrix Diagram for Kastenwagen 48
+
+```
+┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──────┐ ┌───┐
+│00 │10 │01 │11 │02 │12 │03 │13 │04 │14 │05 │15 │06 │ │07 │
+├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─────┤ ├───┤
+│20 │30 │21 │31 │22 │32 │23 │33 │24 │34 │25 │35 │26 │ │27 │
+├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬──┘ ├───┤
+│40 │50 │41 │51 │42 │52 │43 │53 │44 │54 │45 │55 │┌───┐│47 │
+├────┬─┴──┬┴──┬┴───┴───┴─┬─┴───┴──┬┴──┬┴───┼───┴┬───┘│46 │└───┘
+│60 │70 │61 │71 │73 │64 │74 │65 │┌───┼───┼───┐
+└────┴────┴───┴──────────┴────────┴───┴────┴────┘│75 │76 │67 │
+ ┌─ 7u Spacebar ─────────────┐ └───┴───┴───┘
+ ┌───────────────────────────┐
+ │71 │
+ └───────────────────────────┘
+```
diff --git a/keyboards/nopunin10did/railroad/rev0/config.h b/keyboards/nopunin10did/railroad/rev0/config.h
index 114cec9e0f..15ea042da2 100644
--- a/keyboards/nopunin10did/railroad/rev0/config.h
+++ b/keyboards/nopunin10did/railroad/rev0/config.h
@@ -16,14 +16,6 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { D2, D3, D5, C6, C7, F6, F5, F4, F1, F0 }
-#define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D4, D6, D7, B4, B5, B6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/nopunin10did/railroad/rev0/info.json b/keyboards/nopunin10did/railroad/rev0/info.json
index 8a89b6c287..04c3f7e5e9 100644
--- a/keyboards/nopunin10did/railroad/rev0/info.json
+++ b/keyboards/nopunin10did/railroad/rev0/info.json
@@ -8,119 +8,113 @@
"pid": "0x9111",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B0", "B1", "B2", "B3", "B7", "D4", "D6", "D7", "B4", "B5", "B6"],
+ "rows": ["D2", "D3", "D5", "C6", "C7", "F6", "F5", "F4", "F1", "F0"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
- {"y":0, "x":0, "label":"Scroll"},
- {"y":0, "x":1, "label":"Pause"},
- {"y":0, "x":2, "label":"Esc"},
- {"y":0, "x":3, "label":"`"},
- {"y":0, "x":4, "label":"1"},
- {"y":0, "x":5, "label":"2"},
- {"y":0, "x":6, "label":"3"},
- {"y":0, "x":7, "label":"4"},
- {"y":0, "x":8, "label":"5"},
- {"y":0, "x":9, "label":"-"},
-
- {"y":1, "x":0, "label":"Print"},
- {"y":1, "x":1, "label":"Backspace", "w":1.5},
- {"y":1, "x":2.5, "label":"Tab", "w":1.5},
- {"y":1, "x":4, "label":"Q"},
- {"y":1, "x":5, "label":"W"},
- {"y":1, "x":6, "label":"E"},
- {"y":1, "x":7, "label":"R"},
- {"y":1, "x":8, "label":"T"},
- {"y":1, "x":9, "label":"["},
-
- {"y":2, "x":0, "label":"Caps", "w":1.25},
- {"y":2, "x":1.75, "label":"Control", "w":2.25},
- {"y":2, "x":4, "label":"A"},
- {"y":2, "x":5, "label":"S"},
- {"y":2, "x":6, "label":"D"},
- {"y":2, "x":7, "label":"F"},
- {"y":2, "x":8, "label":"G"},
- {"y":2, "x":9, "label":"PgUp"},
-
- {"y":3.25, "x":0, "label":"Cut"},
- {"y":3, "x":1.25, "label":"Shift", "w":2.75},
- {"y":3, "x":4, "label":"Z"},
- {"y":3, "x":5, "label":"X"},
- {"y":3, "x":6, "label":"C"},
- {"y":3, "x":7, "label":"V"},
- {"y":3, "x":8, "label":"B"},
- {"y":3, "x":9, "label":"PgDn"},
-
- {"y":4.25, "x":0, "label":"Copy"},
- {"y":4.25, "x":1, "label":"Paste"},
- {"y":4, "x":2.25, "label":"Control", "w":1.5},
- {"y":4, "x":3.75, "label":"Super", "w":1.25},
- {"y":4, "x":5, "label":"Alt", "w":1.25},
- {"y":4.25, "x":6.5, "label":"UK \\|"},
- {"y":4.25, "x":7.5, "label":"Space", "w":1.75},
- {"y":4.25, "x":9.25, "label":"Shift / Del", "w":2.75},
-
- {"y":0, "x":10.25, "label":"F1"},
- {"y":0, "x":11.25, "label":"F5"},
- {"y":0, "x":12.25, "label":"F9"},
- {"y":1, "x":10.25, "label":"F2"},
- {"y":1, "x":11.25, "label":"F6"},
- {"y":1, "x":12.25, "label":"F10"},
- {"y":2, "x":10.25, "label":"F3"},
- {"y":2, "x":11.25, "label":"F7"},
- {"y":2, "x":12.25, "label":"F11"},
- {"y":3, "x":10.25, "label":"F4"},
- {"y":3, "x":11.25, "label":"F8"},
- {"y":3, "x":12.25, "label":"F12"},
-
- {"y":0, "x":13.5, "label":"="},
- {"y":0, "x":14.5, "label":"6"},
- {"y":0, "x":15.5, "label":"7"},
- {"y":0, "x":16.5, "label":"8"},
- {"y":0, "x":17.5, "label":"9"},
- {"y":0, "x":18.5, "label":"0"},
- {"y":0, "x":19.5, "label":"Backspace", "w":2},
- {"y":0, "x":21.5, "label":"Ins"},
- {"y":0, "x":22.5, "label":"Esc"},
-
- {"y":1, "x":13.5, "label":"]"},
- {"y":1, "x":14.5, "label":"Y"},
- {"y":1, "x":15.5, "label":"U"},
- {"y":1, "x":16.5, "label":"I"},
- {"y":1, "x":17.5, "label":"O"},
- {"y":1, "x":18.5, "label":"P"},
- {"y":1, "x":19.5, "label":"\\", "w":1.5},
- {"y":1, "x":21, "label":"Del"},
-
- {"y":2, "x":13.5, "label":"Home"},
- {"y":2, "x":14.5, "label":"H"},
- {"y":2, "x":15.5, "label":"J"},
- {"y":2, "x":16.5, "label":"K"},
- {"y":2, "x":17.5, "label":"L"},
- {"y":2, "x":18.5, "label":";"},
- {"y":2, "x":19.5, "label":"'"},
- {"y":2, "x":20.5, "label":"Return", "w":1.75},
-
- {"y":1, "x":22.25, "label":"ISO Enter", "h":2, "w":1.25},
-
- {"y":3, "x":13.5, "label":"End"},
- {"y":3, "x":14.5, "label":"N"},
- {"y":3, "x":15.5, "label":"M"},
- {"y":3, "x":16.5, "label":","},
- {"y":3, "x":17.5, "label":"."},
- {"y":3, "x":18.5, "label":"/"},
- {"y":3, "x":19.5, "label":"Shift", "w":1.75},
- {"y":3.25, "x":21.5, "label":"Up"},
-
- {"y":4.25, "x":12, "label":"LShftAlt / Calc", "w":2.25},
- {"y":4.25, "x":14.25, "label":"Space", "w":1.75},
- {"y":4.25, "x":16, "label":"UK #~"},
- {"y":4, "x":17.25, "label":"AltGr / Home", "w":1.5},
- {"y":4, "x":18.75, "label":"Ctrl / End", "w":1.5},
- {"y":4.25, "x":20.5, "label":"Left"},
- {"y":4.25, "x":21.5, "label":"Down"},
- {"y":4.25, "x":22.5, "label":"Right"}
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [5, 0], "x": 1, "y": 0},
+ {"matrix": [1, 0], "x": 2, "y": 0},
+ {"matrix": [0, 1], "x": 3, "y": 0},
+ {"matrix": [1, 1], "x": 4, "y": 0},
+ {"matrix": [0, 2], "x": 5, "y": 0},
+ {"matrix": [1, 2], "x": 6, "y": 0},
+ {"matrix": [0, 3], "x": 7, "y": 0},
+ {"matrix": [1, 3], "x": 8, "y": 0},
+ {"matrix": [0, 4], "x": 9, "y": 0},
+ {"matrix": [2, 0], "x": 0, "y": 1},
+ {"matrix": [3, 0], "x": 1, "y": 1, "w": 1.5},
+ {"matrix": [2, 1], "x": 2.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 1], "x": 4, "y": 1},
+ {"matrix": [2, 2], "x": 5, "y": 1},
+ {"matrix": [3, 2], "x": 6, "y": 1},
+ {"matrix": [2, 3], "x": 7, "y": 1},
+ {"matrix": [3, 3], "x": 8, "y": 1},
+ {"matrix": [2, 4], "x": 9, "y": 1},
+ {"matrix": [4, 0], "x": 0, "y": 2, "w": 1.25},
+ {"matrix": [4, 1], "x": 1.75, "y": 2, "w": 2.25},
+ {"matrix": [5, 1], "x": 4, "y": 2},
+ {"matrix": [4, 2], "x": 5, "y": 2},
+ {"matrix": [5, 2], "x": 6, "y": 2},
+ {"matrix": [4, 3], "x": 7, "y": 2},
+ {"matrix": [5, 3], "x": 8, "y": 2},
+ {"matrix": [4, 4], "x": 9, "y": 2},
+ {"matrix": [6, 0], "x": 0, "y": 3.25},
+ {"matrix": [6, 1], "x": 1.25, "y": 3, "w": 2.75},
+ {"matrix": [7, 1], "x": 4, "y": 3},
+ {"matrix": [6, 2], "x": 5, "y": 3},
+ {"matrix": [7, 2], "x": 6, "y": 3},
+ {"matrix": [6, 3], "x": 7, "y": 3},
+ {"matrix": [7, 3], "x": 8, "y": 3},
+ {"matrix": [6, 4], "x": 9, "y": 3},
+ {"matrix": [8, 0], "x": 0, "y": 4.25},
+ {"matrix": [9, 0], "x": 1, "y": 4.25},
+ {"matrix": [8, 1], "x": 2.25, "y": 4, "w": 1.5},
+ {"matrix": [9, 1], "x": 3.75, "y": 4, "w": 1.25},
+ {"matrix": [8, 2], "x": 5, "y": 4, "w": 1.25},
+ {"matrix": [9, 2], "x": 6.5, "y": 4.25},
+ {"matrix": [9, 3], "x": 7.5, "y": 4.25, "w": 1.75},
+ {"matrix": [9, 4], "x": 9.25, "y": 4.25, "w": 2.75},
+ {"matrix": [1, 4], "x": 10.25, "y": 0},
+ {"matrix": [0, 5], "x": 11.25, "y": 0},
+ {"matrix": [1, 5], "x": 12.25, "y": 0},
+ {"matrix": [3, 4], "x": 10.25, "y": 1},
+ {"matrix": [2, 5], "x": 11.25, "y": 1},
+ {"matrix": [3, 5], "x": 12.25, "y": 1},
+ {"matrix": [5, 4], "x": 10.25, "y": 2},
+ {"matrix": [4, 5], "x": 11.25, "y": 2},
+ {"matrix": [5, 5], "x": 12.25, "y": 2},
+ {"matrix": [7, 4], "x": 10.25, "y": 3},
+ {"matrix": [6, 5], "x": 11.25, "y": 3},
+ {"matrix": [7, 5], "x": 12.25, "y": 3},
+ {"matrix": [0, 6], "x": 13.5, "y": 0},
+ {"matrix": [1, 6], "x": 14.5, "y": 0},
+ {"matrix": [0, 7], "x": 15.5, "y": 0},
+ {"matrix": [1, 7], "x": 16.5, "y": 0},
+ {"matrix": [0, 8], "x": 17.5, "y": 0},
+ {"matrix": [1, 8], "x": 18.5, "y": 0},
+ {"matrix": [0, 9], "x": 19.5, "y": 0, "w": 2},
+ {"matrix": [1, 9], "x": 21.5, "y": 0},
+ {"matrix": [0, 10], "x": 22.5, "y": 0},
+ {"matrix": [2, 6], "x": 13.5, "y": 1},
+ {"matrix": [3, 6], "x": 14.5, "y": 1},
+ {"matrix": [2, 7], "x": 15.5, "y": 1},
+ {"matrix": [3, 7], "x": 16.5, "y": 1},
+ {"matrix": [2, 8], "x": 17.5, "y": 1},
+ {"matrix": [3, 8], "x": 18.5, "y": 1},
+ {"matrix": [2, 9], "x": 19.5, "y": 1, "w": 1.5},
+ {"matrix": [3, 9], "x": 21, "y": 1},
+ {"matrix": [4, 6], "x": 13.5, "y": 2},
+ {"matrix": [5, 6], "x": 14.5, "y": 2},
+ {"matrix": [4, 7], "x": 15.5, "y": 2},
+ {"matrix": [5, 7], "x": 16.5, "y": 2},
+ {"matrix": [4, 8], "x": 17.5, "y": 2},
+ {"matrix": [5, 8], "x": 18.5, "y": 2},
+ {"matrix": [4, 9], "x": 19.5, "y": 2},
+ {"matrix": [5, 9], "x": 20.5, "y": 2, "w": 1.75},
+ {"matrix": [4, 10], "x": 22.25, "y": 1, "w": 1.25, "h": 2},
+ {"matrix": [6, 6], "x": 13.5, "y": 3},
+ {"matrix": [7, 6], "x": 14.5, "y": 3},
+ {"matrix": [6, 7], "x": 15.5, "y": 3},
+ {"matrix": [7, 7], "x": 16.5, "y": 3},
+ {"matrix": [6, 8], "x": 17.5, "y": 3},
+ {"matrix": [7, 8], "x": 18.5, "y": 3},
+ {"matrix": [6, 9], "x": 19.5, "y": 3, "w": 1.75},
+ {"matrix": [7, 9], "x": 21.5, "y": 3.25},
+ {"matrix": [9, 5], "x": 12, "y": 4.25, "w": 2.25},
+ {"matrix": [9, 6], "x": 14.25, "y": 4.25, "w": 1.75},
+ {"matrix": [9, 7], "x": 16, "y": 4.25},
+ {"matrix": [8, 8], "x": 17.25, "y": 4, "w": 1.5},
+ {"matrix": [9, 8], "x": 18.75, "y": 4, "w": 1.5},
+ {"matrix": [8, 9], "x": 20.5, "y": 4.25},
+ {"matrix": [9, 9], "x": 21.5, "y": 4.25},
+ {"matrix": [8, 10], "x": 22.5, "y": 4.25}
]
}
}
diff --git a/keyboards/nopunin10did/railroad/rev0/rev0.c b/keyboards/nopunin10did/railroad/rev0/rev0.c
deleted file mode 100644
index f9a51af643..0000000000
--- a/keyboards/nopunin10did/railroad/rev0/rev0.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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 "rev0.h"
diff --git a/keyboards/nopunin10did/railroad/rev0/rev0.h b/keyboards/nopunin10did/railroad/rev0/rev0.h
deleted file mode 100644
index ff7c31524e..0000000000
--- a/keyboards/nopunin10did/railroad/rev0/rev0.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Copyright 2020 W. Alex Ronke, a.k.a. NoPunIn10Did (w.alex.ronke@gmail.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
-
-#include "quantum.h"
-
-#define LAYOUT( \
-\
- K0000, K0500, K0100, K0001, K0101, K0002, K0102, K0003, K0103, K0004, \
- K0200, K0300, K0201, K0301, K0202, K0302, K0203, K0303, K0204, \
- K0400, K0401, K0501, K0402, K0502, K0403, K0503, K0404, \
- K0600, K0601, K0701, K0602, K0702, K0603, K0703, K0604, \
- K0800, K0900, K0801, K0901, K0802, K0902, K0903, K0904,\
-\
- K0104, K0005, K0105, \
- K0304, K0205, K0305, \
- K0504, K0405, K0505, \
- K0704, K0605, K0705, \
-\
- K0006, K0106, K0007, K0107, K0008, K0108, K0009, K0109, K0010, \
- K0206, K0306, K0207, K0307, K0208, K0308, K0209, K0309, \
- K0406, K0506, K0407, K0507, K0408, K0508, K0409, K0509, K0410, \
- K0606, K0706, K0607, K0707, K0608, K0708, K0609, K0709, \
- K0905, K0906, K0907, K0808, K0908, K0809, K0909, K0810 \
-) \
-{ \
- { K0000, K0001, K0002, K0003, K0004, K0005, K0006, K0007, K0008, K0009, K0010 }, \
- { K0100, K0101, K0102, K0103, K0104, K0105, K0106, K0107, K0108, K0109, KC_NO }, \
- { K0200, K0201, K0202, K0203, K0204, K0205, K0206, K0207, K0208, K0209, KC_NO }, \
- { K0300, K0301, K0302, K0303, K0304, K0305, K0306, K0307, K0308, K0309, KC_NO }, \
- { K0400, K0401, K0402, K0403, K0404, K0405, K0406, K0407, K0408, K0409, K0410 }, \
- { K0500, K0501, K0502, K0503, K0504, K0505, K0506, K0507, K0508, K0509, KC_NO }, \
- { K0600, K0601, K0602, K0603, K0604, K0605, K0606, K0607, K0608, K0609, KC_NO }, \
- { KC_NO, K0701, K0702, K0703, K0704, K0705, K0706, K0707, K0708, K0709, KC_NO }, \
- { K0800, K0801, K0802, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K0808, K0809, K0810 }, \
- { K0900, K0901, K0902, K0903, K0904, K0905, K0906, K0907, K0908, K0909, KC_NO } \
-}