diff options
author | Joel Challis <git@zvecr.com> | 2023-01-20 05:44:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 05:44:05 +0000 |
commit | 53cc6170ae2687b0c894f05738181a2f16ad0d6c (patch) | |
tree | 8ad46caf24ee9dd35af36c2f292d0ba322650c80 /keyboards/chord | |
parent | 18d107b29bc2b84b13a19f3fc4ef08724247b1bb (diff) |
Refactor some layouts which contain keyboard name (#19645)
* Refactor some layouts which contain keyboard name
* use planck_mit
Diffstat (limited to 'keyboards/chord')
-rw-r--r-- | keyboards/chord/zero/info.json | 5 | ||||
-rw-r--r-- | keyboards/chord/zero/keymaps/default/keymap.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/chord/zero/info.json b/keyboards/chord/zero/info.json index c49a8a3c2f..9b7c87e1b6 100644 --- a/keyboards/chord/zero/info.json +++ b/keyboards/chord/zero/info.json @@ -24,8 +24,11 @@ "cols": ["GP22", "GP9", "GP21", "GP11", "GP19", "GP12"], "rows": ["GP26", "GP20", "GP18", "GP17", "GP7", "GP10", "GP13", "GP14"] }, + "layout_aliases": { + "LAYOUT_zero": "LAYOUT" + }, "layouts": { - "LAYOUT_zero": { + "LAYOUT": { "layout": [ { "matrix": [0, 0], "y": 0, "x": 0 }, { "matrix": [0, 1], "y": 0, "x": 1 }, diff --git a/keyboards/chord/zero/keymaps/default/keymap.c b/keyboards/chord/zero/keymaps/default/keymap.c index a394893e1b..0469288fd4 100644 --- a/keyboards/chord/zero/keymaps/default/keymap.c +++ b/keyboards/chord/zero/keymaps/default/keymap.c @@ -5,7 +5,7 @@ #include "keymap_steno.h" const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_zero( + [0] = LAYOUT( STN_FN, STN_S1, STN_TL, STN_PL, STN_HL, STN_ST1, STN_ST3, STN_FR, STN_PR, STN_LR, STN_TR, STN_DR, STN_PWR, STN_S2, STN_KL, STN_WL, STN_RL, STN_ST2, STN_ST4, STN_RR, STN_BR, STN_GR, STN_SR, STN_ZR, STN_N1, STN_A, STN_O, STN_E, STN_U, STN_N7 |