1
0
Fork 0
forked from forks/qmk_firmware

jels/boaty: adjust layout name (#24013)

This commit is contained in:
Ryan 2024-06-29 19:20:11 +10:00 committed by GitHub
parent 5624804c68
commit cc0b2f9814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 7 deletions

View file

@ -29,8 +29,11 @@
"rows": ["D6", "B0", "D7", "B5", "B3", "B4", "B2"]
},
"diode_direction": "COL2ROW",
"layout_aliases": {
"LAYOUT_all": "LAYOUT"
},
"layouts": {
"LAYOUT_all": {
"LAYOUT": {
"layout": [
{"label": "Num Lock", "matrix": [2, 10], "x": 6.75, "y": 0},
{"label": "-", "matrix": [1, 10], "x": 6.75, "y": 1},

View file

@ -19,7 +19,7 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//base layer
[0] = LAYOUT_all(
[0] = LAYOUT(
KC_NUM,
KC_PAST, KC_PSLS,
KC_P7, KC_P8, KC_P9,
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_1, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_RSFT,
KC_LCTL, KC_LALT, KC_SPC, KC_1, KC_RALT, KC_RCTL
),
[1] = LAYOUT_all(
[1] = LAYOUT(
KC_F2,
KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,

View file

@ -19,7 +19,7 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//base layer
[0] = LAYOUT_all(
[0] = LAYOUT(
KC_NUM,
KC_PAST, KC_PSLS,
KC_P7, KC_P8, KC_P9,
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_RSFT,
KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RCTL
),
[1] = LAYOUT_all(
[1] = LAYOUT(
KC_F2,
KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
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
),
[2] = LAYOUT_all(
[2] = LAYOUT(
KC_F2,
KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
@ -56,7 +56,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
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
),
[3] = LAYOUT_all(
[3] = LAYOUT(
KC_F2,
KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,