CannonKeys HoodrowG Layout Macro Additions (#20563)

* add matrix_diagram.md

* refactor keymaps

- use four-space indent
- grid-align keycodes

* info.json: apply friendly formatting

* add LAYOUT_tkl_ansi_tsangan

* add LAYOUT_tkl_iso_tsangan

* enable Community Layout support
This commit is contained in:
James Young 2023-04-26 11:16:17 -07:00 committed by GitHub
parent a11d8f6e71
commit c99012da57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 359 additions and 123 deletions

View File

@ -22,110 +22,319 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": [
"tkl_ansi_tsangan",
"tkl_iso_tsangan"
],
"layouts": {
"LAYOUT_all": {
"layout": [
{"matrix": [1, 0], "x": 0, "y": 0},
{"label": "Esc", "matrix": [1, 0], "x": 0, "y": 0},
{"matrix": [1, 1], "x": 2, "y": 0},
{"matrix": [0, 1], "x": 3, "y": 0},
{"matrix": [1, 2], "x": 4, "y": 0},
{"matrix": [0, 2], "x": 5, "y": 0},
{"label": "F1", "matrix": [1, 1], "x": 2, "y": 0},
{"label": "F2", "matrix": [0, 1], "x": 3, "y": 0},
{"label": "F3", "matrix": [1, 2], "x": 4, "y": 0},
{"label": "F4", "matrix": [0, 2], "x": 5, "y": 0},
{"matrix": [1, 3], "x": 6.5, "y": 0},
{"matrix": [0, 3], "x": 7.5, "y": 0},
{"matrix": [1, 4], "x": 8.5, "y": 0},
{"matrix": [0, 4], "x": 9.5, "y": 0},
{"label": "F5", "matrix": [1, 3], "x": 6.5, "y": 0},
{"label": "F6", "matrix": [0, 3], "x": 7.5, "y": 0},
{"label": "F7", "matrix": [1, 4], "x": 8.5, "y": 0},
{"label": "F8", "matrix": [0, 4], "x": 9.5, "y": 0},
{"matrix": [1, 5], "x": 11, "y": 0},
{"matrix": [0, 5], "x": 12, "y": 0},
{"matrix": [1, 6], "x": 13, "y": 0},
{"matrix": [0, 6], "x": 14, "y": 0},
{"label": "F9", "matrix": [1, 5], "x": 11, "y": 0},
{"label": "F10", "matrix": [0, 5], "x": 12, "y": 0},
{"label": "F11", "matrix": [1, 6], "x": 13, "y": 0},
{"label": "F12", "matrix": [0, 6], "x": 14, "y": 0},
{"matrix": [1, 7], "x": 15.25, "y": 0},
{"matrix": [0, 7], "x": 16.25, "y": 0},
{"matrix": [1, 8], "x": 17.25, "y": 0},
{"label": "Print Screen", "matrix": [1, 7], "x": 15.25, "y": 0},
{"label": "Scroll Lock", "matrix": [0, 7], "x": 16.25, "y": 0},
{"label": "Pause", "matrix": [1, 8], "x": 17.25, "y": 0},
{"matrix": [3, 0], "x": 0, "y": 1.5},
{"matrix": [2, 0], "x": 1, "y": 1.5},
{"matrix": [3, 1], "x": 2, "y": 1.5},
{"matrix": [2, 1], "x": 3, "y": 1.5},
{"matrix": [3, 2], "x": 4, "y": 1.5},
{"matrix": [2, 2], "x": 5, "y": 1.5},
{"matrix": [3, 3], "x": 6, "y": 1.5},
{"matrix": [2, 3], "x": 7, "y": 1.5},
{"matrix": [3, 4], "x": 8, "y": 1.5},
{"matrix": [2, 4], "x": 9, "y": 1.5},
{"matrix": [3, 5], "x": 10, "y": 1.5},
{"matrix": [2, 5], "x": 11, "y": 1.5},
{"matrix": [3, 6], "x": 12, "y": 1.5},
{"matrix": [2, 6], "x": 13, "y": 1.5, "w": 2},
{"label": "`", "matrix": [3, 0], "x": 0, "y": 1.5},
{"label": "1", "matrix": [2, 0], "x": 1, "y": 1.5},
{"label": "2", "matrix": [3, 1], "x": 2, "y": 1.5},
{"label": "3", "matrix": [2, 1], "x": 3, "y": 1.5},
{"label": "4", "matrix": [3, 2], "x": 4, "y": 1.5},
{"label": "5", "matrix": [2, 2], "x": 5, "y": 1.5},
{"label": "6", "matrix": [3, 3], "x": 6, "y": 1.5},
{"label": "7", "matrix": [2, 3], "x": 7, "y": 1.5},
{"label": "8", "matrix": [3, 4], "x": 8, "y": 1.5},
{"label": "9", "matrix": [2, 4], "x": 9, "y": 1.5},
{"label": "0", "matrix": [3, 5], "x": 10, "y": 1.5},
{"label": "-", "matrix": [2, 5], "x": 11, "y": 1.5},
{"label": "=", "matrix": [3, 6], "x": 12, "y": 1.5},
{"label": "Backspace", "matrix": [2, 6], "x": 13, "y": 1.5, "w": 2},
{"matrix": [3, 7], "x": 15.25, "y": 1.5},
{"matrix": [2, 7], "x": 16.25, "y": 1.5},
{"matrix": [3, 8], "x": 17.25, "y": 1.5},
{"label": "Insert", "matrix": [3, 7], "x": 15.25, "y": 1.5},
{"label": "Home", "matrix": [2, 7], "x": 16.25, "y": 1.5},
{"label": "Page Up", "matrix": [3, 8], "x": 17.25, "y": 1.5},
{"matrix": [5, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [4, 0], "x": 1.5, "y": 2.5},
{"matrix": [5, 1], "x": 2.5, "y": 2.5},
{"matrix": [4, 1], "x": 3.5, "y": 2.5},
{"matrix": [5, 2], "x": 4.5, "y": 2.5},
{"matrix": [4, 2], "x": 5.5, "y": 2.5},
{"matrix": [5, 3], "x": 6.5, "y": 2.5},
{"matrix": [4, 3], "x": 7.5, "y": 2.5},
{"matrix": [5, 4], "x": 8.5, "y": 2.5},
{"matrix": [4, 4], "x": 9.5, "y": 2.5},
{"matrix": [5, 5], "x": 10.5, "y": 2.5},
{"matrix": [4, 5], "x": 11.5, "y": 2.5},
{"matrix": [5, 6], "x": 12.5, "y": 2.5},
{"matrix": [4, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"label": "Tab", "matrix": [5, 0], "x": 0, "y": 2.5, "w": 1.5},
{"label": "Q", "matrix": [4, 0], "x": 1.5, "y": 2.5},
{"label": "W", "matrix": [5, 1], "x": 2.5, "y": 2.5},
{"label": "E", "matrix": [4, 1], "x": 3.5, "y": 2.5},
{"label": "R", "matrix": [5, 2], "x": 4.5, "y": 2.5},
{"label": "T", "matrix": [4, 2], "x": 5.5, "y": 2.5},
{"label": "Y", "matrix": [5, 3], "x": 6.5, "y": 2.5},
{"label": "U", "matrix": [4, 3], "x": 7.5, "y": 2.5},
{"label": "I", "matrix": [5, 4], "x": 8.5, "y": 2.5},
{"label": "O", "matrix": [4, 4], "x": 9.5, "y": 2.5},
{"label": "P", "matrix": [5, 5], "x": 10.5, "y": 2.5},
{"label": "[", "matrix": [4, 5], "x": 11.5, "y": 2.5},
{"label": "]", "matrix": [5, 6], "x": 12.5, "y": 2.5},
{"label": "\\", "matrix": [4, 6], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [5, 7], "x": 15.25, "y": 2.5},
{"matrix": [4, 7], "x": 16.25, "y": 2.5},
{"matrix": [5, 8], "x": 17.25, "y": 2.5},
{"label": "Delete", "matrix": [5, 7], "x": 15.25, "y": 2.5},
{"label": "End", "matrix": [4, 7], "x": 16.25, "y": 2.5},
{"label": "Page Down", "matrix": [5, 8], "x": 17.25, "y": 2.5},
{"matrix": [7, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [6, 0], "x": 1.75, "y": 3.5},
{"matrix": [7, 1], "x": 2.75, "y": 3.5},
{"matrix": [6, 1], "x": 3.75, "y": 3.5},
{"matrix": [7, 2], "x": 4.75, "y": 3.5},
{"matrix": [6, 2], "x": 5.75, "y": 3.5},
{"matrix": [7, 3], "x": 6.75, "y": 3.5},
{"matrix": [6, 3], "x": 7.75, "y": 3.5},
{"matrix": [7, 4], "x": 8.75, "y": 3.5},
{"matrix": [6, 4], "x": 9.75, "y": 3.5},
{"matrix": [7, 5], "x": 10.75, "y": 3.5},
{"matrix": [6, 5], "x": 11.75, "y": 3.5},
{"matrix": [7, 6], "x": 12.75, "y": 3.5},
{"matrix": [6, 6], "x": 13.75, "y": 3.5, "w": 1.25},
{"label": "Caps Lock", "matrix": [7, 0], "x": 0, "y": 3.5, "w": 1.75},
{"label": "A", "matrix": [6, 0], "x": 1.75, "y": 3.5},
{"label": "S", "matrix": [7, 1], "x": 2.75, "y": 3.5},
{"label": "D", "matrix": [6, 1], "x": 3.75, "y": 3.5},
{"label": "F", "matrix": [7, 2], "x": 4.75, "y": 3.5},
{"label": "G", "matrix": [6, 2], "x": 5.75, "y": 3.5},
{"label": "H", "matrix": [7, 3], "x": 6.75, "y": 3.5},
{"label": "J", "matrix": [6, 3], "x": 7.75, "y": 3.5},
{"label": "K", "matrix": [7, 4], "x": 8.75, "y": 3.5},
{"label": "L", "matrix": [6, 4], "x": 9.75, "y": 3.5},
{"label": ";", "matrix": [7, 5], "x": 10.75, "y": 3.5},
{"label": "'", "matrix": [6, 5], "x": 11.75, "y": 3.5},
{"label": "#", "matrix": [7, 6], "x": 12.75, "y": 3.5},
{"label": "Enter", "matrix": [6, 6], "x": 13.75, "y": 3.5, "w": 1.25},
{"matrix": [9, 0], "x": 0, "y": 4.5, "w": 1.25},
{"matrix": [8, 0], "x": 1.25, "y": 4.5},
{"matrix": [9, 1], "x": 2.25, "y": 4.5},
{"matrix": [8, 1], "x": 3.25, "y": 4.5},
{"matrix": [9, 2], "x": 4.25, "y": 4.5},
{"matrix": [8, 2], "x": 5.25, "y": 4.5},
{"matrix": [9, 3], "x": 6.25, "y": 4.5},
{"matrix": [8, 3], "x": 7.25, "y": 4.5},
{"matrix": [9, 4], "x": 8.25, "y": 4.5},
{"matrix": [8, 4], "x": 9.25, "y": 4.5},
{"matrix": [9, 5], "x": 10.25, "y": 4.5},
{"matrix": [8, 5], "x": 11.25, "y": 4.5},
{"matrix": [8, 6], "x": 12.25, "y": 4.5, "w": 2.75},
{"label": "Shift", "matrix": [9, 0], "x": 0, "y": 4.5, "w": 1.25},
{"label": "\\", "matrix": [8, 0], "x": 1.25, "y": 4.5},
{"label": "Z", "matrix": [9, 1], "x": 2.25, "y": 4.5},
{"label": "X", "matrix": [8, 1], "x": 3.25, "y": 4.5},
{"label": "C", "matrix": [9, 2], "x": 4.25, "y": 4.5},
{"label": "V", "matrix": [8, 2], "x": 5.25, "y": 4.5},
{"label": "B", "matrix": [9, 3], "x": 6.25, "y": 4.5},
{"label": "N", "matrix": [8, 3], "x": 7.25, "y": 4.5},
{"label": "M", "matrix": [9, 4], "x": 8.25, "y": 4.5},
{"label": ",", "matrix": [8, 4], "x": 9.25, "y": 4.5},
{"label": ".", "matrix": [9, 5], "x": 10.25, "y": 4.5},
{"label": "/", "matrix": [8, 5], "x": 11.25, "y": 4.5},
{"label": "Shift", "matrix": [8, 6], "x": 12.25, "y": 4.5, "w": 2.75},
{"matrix": [8, 7], "x": 16.25, "y": 4.5},
{"label": "\u2191", "matrix": [8, 7], "x": 16.25, "y": 4.5},
{"matrix": [11, 0], "x": 0, "y": 5.5, "w": 1.5},
{"matrix": [10, 0], "x": 1.5, "y": 5.5},
{"matrix": [11, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"matrix": [11, 6], "x": 12.5, "y": 5.5},
{"matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"label": "Ctrl", "matrix": [11, 0], "x": 0, "y": 5.5, "w": 1.5},
{"label": "GUI", "matrix": [10, 0], "x": 1.5, "y": 5.5},
{"label": "Alt", "matrix": [11, 1], "x": 2.5, "y": 5.5, "w": 1.5},
{"label": "Space", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7},
{"label": "Alt", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
{"label": "GUI", "matrix": [11, 6], "x": 12.5, "y": 5.5},
{"label": "Ctrl", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5},
{"matrix": [11, 7], "x": 15.25, "y": 5.5},
{"matrix": [10, 7], "x": 16.25, "y": 5.5},
{"matrix": [11, 8], "x": 17.25, "y": 5.5}
{"label": "\u2190", "matrix": [11, 7], "x": 15.25, "y": 5.5},
{"label": "\u2193", "matrix": [10, 7], "x": 16.25, "y": 5.5},
{"label": "\u2192", "matrix": [11, 8], "x": 17.25, "y": 5.5}
]
},
"LAYOUT_tkl_ansi_tsangan": {
"layout": [
{ "label": "Esc", "matrix": [1, 0], "x": 0, "y": 0 },
{ "label": "F1", "matrix": [1, 1], "x": 2, "y": 0 },
{ "label": "F2", "matrix": [0, 1], "x": 3, "y": 0 },
{ "label": "F3", "matrix": [1, 2], "x": 4, "y": 0 },
{ "label": "F4", "matrix": [0, 2], "x": 5, "y": 0 },
{ "label": "F5", "matrix": [1, 3], "x": 6.5, "y": 0 },
{ "label": "F6", "matrix": [0, 3], "x": 7.5, "y": 0 },
{ "label": "F7", "matrix": [1, 4], "x": 8.5, "y": 0 },
{ "label": "F8", "matrix": [0, 4], "x": 9.5, "y": 0 },
{ "label": "F9", "matrix": [1, 5], "x": 11, "y": 0 },
{ "label": "F10", "matrix": [0, 5], "x": 12, "y": 0 },
{ "label": "F11", "matrix": [1, 6], "x": 13, "y": 0 },
{ "label": "F12", "matrix": [0, 6], "x": 14, "y": 0 },
{ "label": "Print Screen", "matrix": [1, 7], "x": 15.25, "y": 0 },
{ "label": "Scroll Lock", "matrix": [0, 7], "x": 16.25, "y": 0 },
{ "label": "Pause", "matrix": [1, 8], "x": 17.25, "y": 0 },
{ "label": "`", "matrix": [3, 0], "x": 0, "y": 1.5 },
{ "label": "1", "matrix": [2, 0], "x": 1, "y": 1.5 },
{ "label": "2", "matrix": [3, 1], "x": 2, "y": 1.5 },
{ "label": "3", "matrix": [2, 1], "x": 3, "y": 1.5 },
{ "label": "4", "matrix": [3, 2], "x": 4, "y": 1.5 },
{ "label": "5", "matrix": [2, 2], "x": 5, "y": 1.5 },
{ "label": "6", "matrix": [3, 3], "x": 6, "y": 1.5 },
{ "label": "7", "matrix": [2, 3], "x": 7, "y": 1.5 },
{ "label": "8", "matrix": [3, 4], "x": 8, "y": 1.5 },
{ "label": "9", "matrix": [2, 4], "x": 9, "y": 1.5 },
{ "label": "0", "matrix": [3, 5], "x": 10, "y": 1.5 },
{ "label": "-", "matrix": [2, 5], "x": 11, "y": 1.5 },
{ "label": "=", "matrix": [3, 6], "x": 12, "y": 1.5 },
{ "label": "Backspace", "matrix": [2, 6], "x": 13, "y": 1.5, "w": 2 },
{ "label": "Insert", "matrix": [3, 7], "x": 15.25, "y": 1.5 },
{ "label": "Home", "matrix": [2, 7], "x": 16.25, "y": 1.5 },
{ "label": "Page Up", "matrix": [3, 8], "x": 17.25, "y": 1.5 },
{ "label": "Tab", "matrix": [5, 0], "x": 0, "y": 2.5, "w": 1.5 },
{ "label": "Q", "matrix": [4, 0], "x": 1.5, "y": 2.5 },
{ "label": "W", "matrix": [5, 1], "x": 2.5, "y": 2.5 },
{ "label": "E", "matrix": [4, 1], "x": 3.5, "y": 2.5 },
{ "label": "R", "matrix": [5, 2], "x": 4.5, "y": 2.5 },
{ "label": "T", "matrix": [4, 2], "x": 5.5, "y": 2.5 },
{ "label": "Y", "matrix": [5, 3], "x": 6.5, "y": 2.5 },
{ "label": "U", "matrix": [4, 3], "x": 7.5, "y": 2.5 },
{ "label": "I", "matrix": [5, 4], "x": 8.5, "y": 2.5 },
{ "label": "O", "matrix": [4, 4], "x": 9.5, "y": 2.5 },
{ "label": "P", "matrix": [5, 5], "x": 10.5, "y": 2.5 },
{ "label": "[", "matrix": [4, 5], "x": 11.5, "y": 2.5 },
{ "label": "]", "matrix": [5, 6], "x": 12.5, "y": 2.5 },
{ "label": "\\", "matrix": [4, 6], "x": 13.5, "y": 2.5, "w": 1.5 },
{ "label": "Delete", "matrix": [5, 7], "x": 15.25, "y": 2.5 },
{ "label": "End", "matrix": [4, 7], "x": 16.25, "y": 2.5 },
{ "label": "Page Down", "matrix": [5, 8], "x": 17.25, "y": 2.5 },
{ "label": "Caps Lock", "matrix": [7, 0], "x": 0, "y": 3.5, "w": 1.75 },
{ "label": "A", "matrix": [6, 0], "x": 1.75, "y": 3.5 },
{ "label": "S", "matrix": [7, 1], "x": 2.75, "y": 3.5 },
{ "label": "D", "matrix": [6, 1], "x": 3.75, "y": 3.5 },
{ "label": "F", "matrix": [7, 2], "x": 4.75, "y": 3.5 },
{ "label": "G", "matrix": [6, 2], "x": 5.75, "y": 3.5 },
{ "label": "H", "matrix": [7, 3], "x": 6.75, "y": 3.5 },
{ "label": "J", "matrix": [6, 3], "x": 7.75, "y": 3.5 },
{ "label": "K", "matrix": [7, 4], "x": 8.75, "y": 3.5 },
{ "label": "L", "matrix": [6, 4], "x": 9.75, "y": 3.5 },
{ "label": ";", "matrix": [7, 5], "x": 10.75, "y": 3.5 },
{ "label": "'", "matrix": [6, 5], "x": 11.75, "y": 3.5 },
{ "label": "Enter", "matrix": [6, 6], "x": 12.75, "y": 3.5, "w": 2.25 },
{ "label": "Shift", "matrix": [9, 0], "x": 0, "y": 4.5, "w": 2.25 },
{ "label": "Z", "matrix": [9, 1], "x": 2.25, "y": 4.5 },
{ "label": "X", "matrix": [8, 1], "x": 3.25, "y": 4.5 },
{ "label": "C", "matrix": [9, 2], "x": 4.25, "y": 4.5 },
{ "label": "V", "matrix": [8, 2], "x": 5.25, "y": 4.5 },
{ "label": "B", "matrix": [9, 3], "x": 6.25, "y": 4.5 },
{ "label": "N", "matrix": [8, 3], "x": 7.25, "y": 4.5 },
{ "label": "M", "matrix": [9, 4], "x": 8.25, "y": 4.5 },
{ "label": ",", "matrix": [8, 4], "x": 9.25, "y": 4.5 },
{ "label": ".", "matrix": [9, 5], "x": 10.25, "y": 4.5 },
{ "label": "/", "matrix": [8, 5], "x": 11.25, "y": 4.5 },
{ "label": "Shift", "matrix": [8, 6], "x": 12.25, "y": 4.5, "w": 2.75 },
{ "label": "Up", "matrix": [8, 7], "x": 16.25, "y": 4.5 },
{ "label": "Ctrl", "matrix": [11, 0], "x": 0, "y": 5.5, "w": 1.5 },
{ "label": "GUI", "matrix": [10, 0], "x": 1.5, "y": 5.5 },
{ "label": "Alt", "matrix": [11, 1], "x": 2.5, "y": 5.5, "w": 1.5 },
{ "label": "Space", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7 },
{ "label": "Alt", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5 },
{ "label": "GUI", "matrix": [11, 6], "x": 12.5, "y": 5.5 },
{ "label": "Ctrl", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5 },
{ "label": "Left", "matrix": [11, 7], "x": 15.25, "y": 5.5 },
{ "label": "Down", "matrix": [10, 7], "x": 16.25, "y": 5.5 },
{ "label": "Right", "matrix": [11, 8], "x": 17.25, "y": 5.5 }
]
},
"LAYOUT_tkl_iso_tsangan": {
"layout": [
{ "label": "Esc", "matrix": [1, 0], "x": 0, "y": 0 },
{ "label": "F1", "matrix": [1, 1], "x": 2, "y": 0 },
{ "label": "F2", "matrix": [0, 1], "x": 3, "y": 0 },
{ "label": "F3", "matrix": [1, 2], "x": 4, "y": 0 },
{ "label": "F4", "matrix": [0, 2], "x": 5, "y": 0 },
{ "label": "F5", "matrix": [1, 3], "x": 6.5, "y": 0 },
{ "label": "F6", "matrix": [0, 3], "x": 7.5, "y": 0 },
{ "label": "F7", "matrix": [1, 4], "x": 8.5, "y": 0 },
{ "label": "F8", "matrix": [0, 4], "x": 9.5, "y": 0 },
{ "label": "F9", "matrix": [1, 5], "x": 11, "y": 0 },
{ "label": "F10", "matrix": [0, 5], "x": 12, "y": 0 },
{ "label": "F11", "matrix": [1, 6], "x": 13, "y": 0 },
{ "label": "F12", "matrix": [0, 6], "x": 14, "y": 0 },
{ "label": "Print Screen", "matrix": [1, 7], "x": 15.25, "y": 0 },
{ "label": "Scroll Lock", "matrix": [0, 7], "x": 16.25, "y": 0 },
{ "label": "Pause", "matrix": [1, 8], "x": 17.25, "y": 0 },
{ "label": "`", "matrix": [3, 0], "x": 0, "y": 1.5 },
{ "label": "1", "matrix": [2, 0], "x": 1, "y": 1.5 },
{ "label": "2", "matrix": [3, 1], "x": 2, "y": 1.5 },
{ "label": "3", "matrix": [2, 1], "x": 3, "y": 1.5 },
{ "label": "4", "matrix": [3, 2], "x": 4, "y": 1.5 },
{ "label": "5", "matrix": [2, 2], "x": 5, "y": 1.5 },
{ "label": "6", "matrix": [3, 3], "x": 6, "y": 1.5 },
{ "label": "7", "matrix": [2, 3], "x": 7, "y": 1.5 },
{ "label": "8", "matrix": [3, 4], "x": 8, "y": 1.5 },
{ "label": "9", "matrix": [2, 4], "x": 9, "y": 1.5 },
{ "label": "0", "matrix": [3, 5], "x": 10, "y": 1.5 },
{ "label": "-", "matrix": [2, 5], "x": 11, "y": 1.5 },
{ "label": "=", "matrix": [3, 6], "x": 12, "y": 1.5 },
{ "label": "Backspace", "matrix": [2, 6], "x": 13, "y": 1.5, "w": 2 },
{ "label": "Insert", "matrix": [3, 7], "x": 15.25, "y": 1.5 },
{ "label": "Home", "matrix": [2, 7], "x": 16.25, "y": 1.5 },
{ "label": "Page Up", "matrix": [3, 8], "x": 17.25, "y": 1.5 },
{ "label": "Tab", "matrix": [5, 0], "x": 0, "y": 2.5, "w": 1.5 },
{ "label": "Q", "matrix": [4, 0], "x": 1.5, "y": 2.5 },
{ "label": "W", "matrix": [5, 1], "x": 2.5, "y": 2.5 },
{ "label": "E", "matrix": [4, 1], "x": 3.5, "y": 2.5 },
{ "label": "R", "matrix": [5, 2], "x": 4.5, "y": 2.5 },
{ "label": "T", "matrix": [4, 2], "x": 5.5, "y": 2.5 },
{ "label": "Y", "matrix": [5, 3], "x": 6.5, "y": 2.5 },
{ "label": "U", "matrix": [4, 3], "x": 7.5, "y": 2.5 },
{ "label": "I", "matrix": [5, 4], "x": 8.5, "y": 2.5 },
{ "label": "O", "matrix": [4, 4], "x": 9.5, "y": 2.5 },
{ "label": "P", "matrix": [5, 5], "x": 10.5, "y": 2.5 },
{ "label": "[", "matrix": [4, 5], "x": 11.5, "y": 2.5 },
{ "label": "]", "matrix": [5, 6], "x": 12.5, "y": 2.5 },
{ "label": "Delete", "matrix": [5, 7], "x": 15.25, "y": 2.5 },
{ "label": "End", "matrix": [4, 7], "x": 16.25, "y": 2.5 },
{ "label": "Page Down", "matrix": [5, 8], "x": 17.25, "y": 2.5 },
{ "label": "Caps Lock", "matrix": [7, 0], "x": 0, "y": 3.5, "w": 1.75 },
{ "label": "A", "matrix": [6, 0], "x": 1.75, "y": 3.5 },
{ "label": "S", "matrix": [7, 1], "x": 2.75, "y": 3.5 },
{ "label": "D", "matrix": [6, 1], "x": 3.75, "y": 3.5 },
{ "label": "F", "matrix": [7, 2], "x": 4.75, "y": 3.5 },
{ "label": "G", "matrix": [6, 2], "x": 5.75, "y": 3.5 },
{ "label": "H", "matrix": [7, 3], "x": 6.75, "y": 3.5 },
{ "label": "J", "matrix": [6, 3], "x": 7.75, "y": 3.5 },
{ "label": "K", "matrix": [7, 4], "x": 8.75, "y": 3.5 },
{ "label": "L", "matrix": [6, 4], "x": 9.75, "y": 3.5 },
{ "label": ";", "matrix": [7, 5], "x": 10.75, "y": 3.5 },
{ "label": "'", "matrix": [6, 5], "x": 11.75, "y": 3.5 },
{ "label": "#", "matrix": [7, 6], "x": 12.75, "y": 3.5 },
{ "label": "Enter", "matrix": [6, 6], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2 },
{ "label": "Shift", "matrix": [9, 0], "x": 0, "y": 4.5, "w": 1.25 },
{ "label": "\\", "matrix": [8, 0], "x": 1.25, "y": 4.5 },
{ "label": "Z", "matrix": [9, 1], "x": 2.25, "y": 4.5 },
{ "label": "X", "matrix": [8, 1], "x": 3.25, "y": 4.5 },
{ "label": "C", "matrix": [9, 2], "x": 4.25, "y": 4.5 },
{ "label": "V", "matrix": [8, 2], "x": 5.25, "y": 4.5 },
{ "label": "B", "matrix": [9, 3], "x": 6.25, "y": 4.5 },
{ "label": "N", "matrix": [8, 3], "x": 7.25, "y": 4.5 },
{ "label": "M", "matrix": [9, 4], "x": 8.25, "y": 4.5 },
{ "label": ",", "matrix": [8, 4], "x": 9.25, "y": 4.5 },
{ "label": ".", "matrix": [9, 5], "x": 10.25, "y": 4.5 },
{ "label": "/", "matrix": [8, 5], "x": 11.25, "y": 4.5 },
{ "label": "Shift", "matrix": [8, 6], "x": 12.25, "y": 4.5, "w": 2.75 },
{ "label": "Up", "matrix": [8, 7], "x": 16.25, "y": 4.5 },
{ "label": "Ctrl", "matrix": [11, 0], "x": 0, "y": 5.5, "w": 1.5 },
{ "label": "GUI", "matrix": [10, 0], "x": 1.5, "y": 5.5 },
{ "label": "Alt", "matrix": [11, 1], "x": 2.5, "y": 5.5, "w": 1.5 },
{ "label": "Space", "matrix": [11, 3], "x": 4, "y": 5.5, "w": 7 },
{ "label": "Alt", "matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5 },
{ "label": "GUI", "matrix": [11, 6], "x": 12.5, "y": 5.5 },
{ "label": "Ctrl", "matrix": [10, 6], "x": 13.5, "y": 5.5, "w": 1.5 },
{ "label": "Left", "matrix": [11, 7], "x": 15.25, "y": 5.5 },
{ "label": "Down", "matrix": [10, 7], "x": 16.25, "y": 5.5 },
{ "label": "Right", "matrix": [11, 8], "x": 17.25, "y": 5.5 }
]
}
}

View File

@ -28,14 +28,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[_FN1] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, BL_TOGG, BL_DOWN, BL_UP,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_MNXT, KC_VOLD,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
};

View File

@ -29,21 +29,25 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[_FN1] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, BL_TOGG, BL_DOWN, BL_UP,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_MNXT, KC_VOLD,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
[_FN2] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_TOGG, BL_DOWN, BL_UP,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_MNXT, KC_VOLD,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS )
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
)
};

View File

@ -0,0 +1,21 @@
# Matrix Diagram for CannonKeys HoodrowG
```
┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐
│10 │ │11 │01 │12 │02 │ │13 │03 │14 │04 │ │15 │05 │16 │06 │ │17 │07 │18 │
└───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┘
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┬───┬───┐
│30 │20 │31 │21 │32 │22 │33 │23 │34 │24 │35 │25 │36 │26 │ │37 │27 │38 │
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┼───┼───┤ ┌─────┐
│50 │40 │51 │41 │52 │42 │53 │43 │54 │44 │55 │45 │56 │46 │ │57 │47 │58 │ │ │
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ └───┴───┴───┘ ┌──┴┐66 │ ISO Enter
│70 │60 │71 │61 │72 │62 │73 │63 │74 │64 │75 │65 │66 │ │76 │ │
├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤ ┌───┐ └───┴────┘
│90 │80 │91 │81 │92 │82 │93 │83 │94 │84 │95 │85 │86 │ │87 │
├────┴┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─────┤ ┌───┼───┼───┐
│B0 │A0 │B1 │B3 │B5 │B6 │A6 │ │B7 │A7 │B8 │
└─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ └───┴───┴───┘
┌────────┐
│90 │ 2.25u LShift
└────────┘
```