Skip to content

Commit

Permalink
dc01/arrow: fix layout name (qmk#24025)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and AJO-Python committed Jul 7, 2024
1 parent 8249811 commit 5b67b46
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 25 deletions.
5 changes: 4 additions & 1 deletion keyboards/dc01/arrow/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
"resync": true
}
},
"layout_aliases": {
"LAYOUT_all": "LAYOUT"
},
"layouts": {
"LAYOUT_all": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dc01/arrow/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all( /* Base */
[0] = LAYOUT( /* Base */
KC_INS, KC_HOME, KC_PGUP,
KC_DEL, KC_END, KC_PGDN,

Expand Down
25 changes: 2 additions & 23 deletions keyboards/dc01/arrow/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,10 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all( /* Base */
[0] = LAYOUT( /* Base */
KC_INS, KC_HOME, KC_PGUP,
KC_DEL, KC_END, KC_PGDN,

KC_UP,
KC_LEFT, KC_DOWN, KC_RIGHT),

[1] = LAYOUT_all( /* Empty for Dynamic keymap */
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,

KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS),

[2] = LAYOUT_all( /* Empty for Dynamic keymap */
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,

KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS),

[3] = LAYOUT_all( /* Empty for Dynamic keymap */
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,

KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS)
KC_LEFT, KC_DOWN, KC_RIGHT)
};

0 comments on commit 5b67b46

Please sign in to comment.