ANAVI Macro Pad 12: rename LAYOUT to LAYOUT_ortho_4x3 (#21886)
[refactor]
This commit is contained in:
parent
dd17b6be29
commit
9eaa8a24ed
|
@ -43,8 +43,11 @@
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"pin": "GP26"
|
"pin": "GP26"
|
||||||
},
|
},
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT": "LAYOUT_ortho_4x3"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT_ortho_4x3": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
|
|
@ -8,7 +8,7 @@ enum layer_names {
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[_BASE] = LAYOUT(
|
[_BASE] = LAYOUT_ortho_4x3(
|
||||||
KC_1, KC_2, KC_3,
|
KC_1, KC_2, KC_3,
|
||||||
KC_4, KC_5, KC_6,
|
KC_4, KC_5, KC_6,
|
||||||
KC_7, KC_8, KC_9,
|
KC_7, KC_8, KC_9,
|
||||||
|
|
Loading…
Reference in a new issue