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.miryoku-merge-master
parent
d1cf21bede
commit
e864786c0b
@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,24 @@
|
||||
/* Copyright 2021 Ocean
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_2x2u(
|
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, KC_BSPC,
|
||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(1),
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_RCTL
|
||||
),
|
||||
};
|
||||
Loading…
Reference in New Issue