1
0
Fork 0

Refactor some layouts which contain keyboard name (#19645)

* Refactor some layouts which contain keyboard name

* use planck_mit
This commit is contained in:
Joel Challis 2023-01-20 05:44:05 +00:00 committed by GitHub
parent 18d107b29b
commit 53cc6170ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 179 additions and 94 deletions

View file

@ -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 },

View file

@ -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