SapuSeven MacroPad12: rename LAYOUT to LAYOUT_ortho_3x4 (#22081)
This commit is contained in:
parent
8c92c0a59d
commit
2742935c54
|
@ -22,8 +22,11 @@
|
||||||
"vid": "0x1209",
|
"vid": "0x1209",
|
||||||
"pid": "0x7337"
|
"pid": "0x7337"
|
||||||
},
|
},
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT": "LAYOUT_ortho_3x4"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT_ortho_3x4": {
|
||||||
"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},
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT_ortho_3x4(
|
||||||
KC_1, KC_2, KC_3, KC_PLUS,
|
KC_1, KC_2, KC_3, KC_PLUS,
|
||||||
KC_4, KC_5, KC_6, KC_MINUS,
|
KC_4, KC_5, KC_6, KC_MINUS,
|
||||||
KC_7, KC_8, KC_9, KC_0
|
KC_7, KC_8, KC_9, KC_0
|
||||||
|
|
|
@ -17,22 +17,22 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT_ortho_3x4(
|
||||||
KC_1, KC_2, KC_3, KC_PLUS,
|
KC_1, KC_2, KC_3, KC_PLUS,
|
||||||
KC_4, KC_5, KC_6, KC_MINUS,
|
KC_4, KC_5, KC_6, KC_MINUS,
|
||||||
KC_7, KC_8, KC_9, KC_0
|
KC_7, KC_8, KC_9, KC_0
|
||||||
),
|
),
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT_ortho_3x4(
|
||||||
KC_F1, KC_F2, KC_F3, KC_F4,
|
KC_F1, KC_F2, KC_F3, KC_F4,
|
||||||
KC_F5, KC_F6, KC_F7, KC_F8,
|
KC_F5, KC_F6, KC_F7, KC_F8,
|
||||||
KC_F9, KC_F10, KC_F11, KC_F12
|
KC_F9, KC_F10, KC_F11, KC_F12
|
||||||
),
|
),
|
||||||
[2] = LAYOUT(
|
[2] = LAYOUT_ortho_3x4(
|
||||||
KC_F13, KC_F14, KC_F15, KC_F16,
|
KC_F13, KC_F14, KC_F15, KC_F16,
|
||||||
KC_F17, KC_F18, KC_F19, KC_F20,
|
KC_F17, KC_F18, KC_F19, KC_F20,
|
||||||
KC_F21, KC_F22, KC_F23, KC_F24
|
KC_F21, KC_F22, KC_F23, KC_F24
|
||||||
),
|
),
|
||||||
[3] = LAYOUT(
|
[3] = LAYOUT_ortho_3x4(
|
||||||
KC_NO, KC_NO, KC_NO, KC_NO,
|
KC_NO, KC_NO, KC_NO, KC_NO,
|
||||||
KC_NO, KC_NO, KC_NO, KC_NO,
|
KC_NO, KC_NO, KC_NO, KC_NO,
|
||||||
KC_NO, KC_NO, KC_NO, KC_NO
|
KC_NO, KC_NO, KC_NO, KC_NO
|
||||||
|
|
Loading…
Reference in a new issue