Skip to content

Commit

Permalink
update LAYOUT macro
Browse files Browse the repository at this point in the history
  • Loading branch information
dunk2k committed Jun 20, 2023
1 parent 83be24f commit 36df643
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keyboards/handwired/dmote/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"soft_serial_pin": "D0"
},
"layouts": {
"LAYOUT_dmote": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
6 changes: 3 additions & 3 deletions keyboards/handwired/dmote/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ enum layer_names {
// https://github.com/qmk/qmk_firmware/pull/2055

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_dmote(
[_QWERTY] = LAYOUT(
KC_VOLD, KC_VOLU, CM_W, CM_F, CM_P, CM_G,
KC_TAB, CM_Q, CM_R, CM_S, CM_T, CM_D,
KC_BSPC, CM_A, CM_X, CM_C, CM_V, CM_B,
Expand All @@ -59,7 +59,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_RALT, BK_RCTL
),

[_COLEMAK] = LAYOUT_dmote(
[_COLEMAK] = LAYOUT(
_______, _______, KC_W, KC_F, KC_P, KC_G,
_______, KC_Q, KC_R, KC_S, KC_T, KC_D,
_______, KC_A, KC_X, KC_C, KC_V, KC_B,
Expand All @@ -77,7 +77,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______
),

[_NUMERIC] = LAYOUT_dmote(
[_NUMERIC] = LAYOUT(
LAYER_C, KC_INS, KC_F2, KC_F3, KC_F4, KC_F5,
KC_F12, KC_F1, KC_2, KC_3, KC_4, KC_5,
_______, KC_1, KC_AT, KC_HASH, KC_DLR, KC_PERC,
Expand Down

0 comments on commit 36df643

Please sign in to comment.