Ocean Wang Ergo: Fix QMK Configurator Implementation (#15249)

* info.json: apply friendly formatting

* info.json: update labels; reposition keys

* wang_ergo.h: use XXX for KC_NO

* wang_ergo.h: add matrix diagram

* rename LAYOUT to LAYOUT_all

* move Backspace keycode to top row

Moves the matrix argument/keycode for Backspace to its proper position at the end of the top row.

* add LAYOUT_2x2u with keymap

* info.json: update maintainer field

Use the maintainer's GitHub username.
This commit is contained in:
James Young
2021-11-21 22:38:31 +00:00
committed by GitHub
parent d1cf21bede
commit e864786c0b
5 changed files with 198 additions and 40 deletions

View File

@@ -1,10 +1,114 @@
{
"keyboard_name": "Wang Ergo",
"url": "",
"maintainer": "Ocean",
"keyboard_name": "Wang Ergo",
"url": "",
"maintainer": "oceeean",
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,0", "x":1.75, "y":2.25}, {"label":"0,11", "x":15.15, "y":2.25}, {"label":"3,10", "x":16.15, "y":2.25}, {"label":"1,0", "x":1.5, "y":3.25, "w":1.25}, {"label":"1,11", "x":15.15, "y":3.25, "w":1.75}, {"label":"2,0", "x":1, "y":4.25, "w":1.75}, {"label":"2,11", "x":15.15, "y":4.25, "w":1.25}, {"label":"3,0", "x":0.75, "y":5.25}, {"label":"3,1", "x":1.75, "y":5.25}, {"label":"3,11", "x":15.15, "y":5.25}, {"label":"0,1", "x":3.15, "y":2}, {"label":"1,1", "x":3.15, "y":3}, {"label":"2,1", "x":3.15, "y":4}, {"label":"0,2", "x":4.5, "y":1.75}, {"label":"0,3", "x":5.5, "y":1.75}, {"label":"0,4", "x":6.5, "y":1.75}, {"label":"0,5", "x":7.5, "y":1.75}, {"label":"1,2", "x":4.5, "y":2.75}, {"label":"1,3", "x":5.5, "y":2.75}, {"label":"1,4", "x":6.5, "y":2.75}, {"label":"1,5", "x":7.5, "y":2.75}, {"label":"2,2", "x":4.5, "y":3.75}, {"label":"2,3", "x":5.5, "y":3.75}, {"label":"2,4", "x":6.5, "y":3.75}, {"label":"2,5", "x":7.5, "y":3.75}, {"label":"3,3", "x":5.5, "y":4.75}, {"label":"3,4", "x":6.5, "y":4.75}, {"label":"3,5", "x":7.5, "y":4.75}, {"label":"0,6", "x":9.25, "y":4.25}, {"label":"0,7", "x":10.25, "y":4.25}, {"label":"0,8", "x":11.25, "y":4.25}, {"label":"0,9", "x":12.25, "y":4.25}, {"label":"1,6", "x":9.25, "y":5.25}, {"label":"1,7", "x":10.25, "y":5.25}, {"label":"1,8", "x":11.25, "y":5.25}, {"label":"1,9", "x":12.25, "y":5.25}, {"label":"2,6", "x":9.25, "y":6.25}, {"label":"2,7", "x":10.25, "y":6.25}, {"label":"2,8", "x":11.25, "y":6.25}, {"label":"2,9", "x":12.25, "y":6.25}, {"label":"3,6", "x":9.25, "y":7.25}, {"label":"3,7", "x":10.25, "y":7.25}, {"label":"3,8", "x":11.25, "y":7.25}, {"label":"0,10", "x":13.75, "y":3.25}, {"label":"1,10", "x":13.75, "y":4.25}, {"label":"2,10", "x":13.75, "y":5.25}]
"LAYOUT_all": {
"layout": [
{"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":8, "y":0},
{"label":"U", "x":9, "y":0},
{"label":"I", "x":10, "y":0},
{"label":"O", "x":11, "y":0},
{"label":"P", "x":12, "y":0},
{"label":"Del", "x":13, "y":0},
{"label":"Backspace", "x":14, "y":0},
{"label":"Tab", "x":0.75, "y":1, "w":1.25},
{"label":"A", "x":2, "y":1},
{"label":"S", "x":3, "y":1},
{"label":"D", "x":4, "y":1},
{"label":"F", "x":5, "y":1},
{"label":"G", "x":6, "y":1},
{"label":"H", "x":8, "y":1},
{"label":"J", "x":9, "y":1},
{"label":"K", "x":10, "y":1},
{"label":"L", "x":11, "y":1},
{"label":";:", "x":12, "y":1},
{"label":"Enter", "x":13, "y":1, "w":1.75},
{"label":"Shift", "x":0.25, "y":2, "w":1.75},
{"label":"Z", "x":2, "y":2},
{"label":"X", "x":3, "y":2},
{"label":"C", "x":4, "y":2},
{"label":"V", "x":5, "y":2},
{"label":"B", "x":6, "y":2},
{"label":"N", "x":8, "y":2},
{"label":"M", "x":9, "y":2},
{"label":",<", "x":10, "y":2},
{"label":".>", "x":11, "y":2},
{"label":"/?", "x":12, "y":2},
{"label":"Fn", "x":13, "y":2, "w":1.25},
{"label":"Ctrl", "x":0, "y":3},
{"label":"GUI", "x":1, "y":3},
{"label":"Alt", "x":4, "y":3},
{"label":"Space", "x":5, "y":3},
{"label":"Space", "x":6, "y":3},
{"label":"Space", "x":8, "y":3},
{"label":"Space", "x":9, "y":3},
{"label":"Alt", "x":10, "y":3},
{"label":"Ctrl", "x":13, "y":3}
]
},
"LAYOUT_2x2u": {
"layout": [
{"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":8, "y":0},
{"label":"U", "x":9, "y":0},
{"label":"I", "x":10, "y":0},
{"label":"O", "x":11, "y":0},
{"label":"P", "x":12, "y":0},
{"label":"Del", "x":13, "y":0},
{"label":"Backspace", "x":14, "y":0},
{"label":"Tab", "x":0.75, "y":1, "w":1.25},
{"label":"A", "x":2, "y":1},
{"label":"S", "x":3, "y":1},
{"label":"D", "x":4, "y":1},
{"label":"F", "x":5, "y":1},
{"label":"G", "x":6, "y":1},
{"label":"H", "x":8, "y":1},
{"label":"J", "x":9, "y":1},
{"label":"K", "x":10, "y":1},
{"label":"L", "x":11, "y":1},
{"label":";:", "x":12, "y":1},
{"label":"Enter", "x":13, "y":1, "w":1.75},
{"label":"Shift", "x":0.25, "y":2, "w":1.75},
{"label":"Z", "x":2, "y":2},
{"label":"X", "x":3, "y":2},
{"label":"C", "x":4, "y":2},
{"label":"V", "x":5, "y":2},
{"label":"B", "x":6, "y":2},
{"label":"N", "x":8, "y":2},
{"label":"M", "x":9, "y":2},
{"label":",<", "x":10, "y":2},
{"label":".>", "x":11, "y":2},
{"label":"/?", "x":12, "y":2},
{"label":"Fn", "x":13, "y":2, "w":1.25},
{"label":"Ctrl", "x":0, "y":3},
{"label":"GUI", "x":1, "y":3},
{"label":"Alt", "x":4, "y":3},
{"label":"Space", "x":5, "y":3, "w":2},
{"label":"Space", "x":8, "y":3, "w":2},
{"label":"Alt", "x":10, "y":3},
{"label":"Ctrl", "x":13, "y":3}
]
}
}
}
}