summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-09-04 06:18:28 +0000
committerQMK Bot <hello@qmk.fm>2023-09-04 06:18:28 +0000
commitecec4e4a7a260b71535615681744b7d8d35ee5ec (patch)
tree19eca5ea73147d69496f783ca7b84435f5b5fac3
parentcaf6245c322a71b917a815ef5a6d978fed861e18 (diff)
parent9eaa8a24ed02181270c7e90fdb81bad77e607a07 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/anavi/macropad12/info.json5
-rw-r--r--keyboards/anavi/macropad12/keymaps/default/keymap.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/anavi/macropad12/info.json b/keyboards/anavi/macropad12/info.json
index a5ed9857ca..f0f6d6ca60 100644
--- a/keyboards/anavi/macropad12/info.json
+++ b/keyboards/anavi/macropad12/info.json
@@ -43,8 +43,11 @@
"backlight": {
"pin": "GP26"
},
+ "layout_aliases": {
+ "LAYOUT": "LAYOUT_ortho_4x3"
+ },
"layouts": {
- "LAYOUT": {
+ "LAYOUT_ortho_4x3": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
diff --git a/keyboards/anavi/macropad12/keymaps/default/keymap.c b/keyboards/anavi/macropad12/keymaps/default/keymap.c
index 054322cb64..e74b20d9ba 100644
--- a/keyboards/anavi/macropad12/keymaps/default/keymap.c
+++ b/keyboards/anavi/macropad12/keymaps/default/keymap.c
@@ -8,7 +8,7 @@ enum layer_names {
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_BASE] = LAYOUT(
+ [_BASE] = LAYOUT_ortho_4x3(
KC_1, KC_2, KC_3,
KC_4, KC_5, KC_6,
KC_7, KC_8, KC_9,