Macro3: rename LAYOUT to LAYOUT_ortho_2x4 (#18820)
This commit is contained in:
parent
4a9771c0ec
commit
716969a01a
3 changed files with 7 additions and 4 deletions
|
@ -8,8 +8,11 @@
|
||||||
"pid": "0x3388",
|
"pid": "0x3388",
|
||||||
"device_version": "0.0.3"
|
"device_version": "0.0.3"
|
||||||
},
|
},
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT": "LAYOUT_ortho_2x4"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT_ortho_2x4": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x": 0, "y": 0},
|
{"x": 0, "y": 0},
|
||||||
{"x": 1, "y": 0},
|
{"x": 1, "y": 0},
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
#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_2x4(
|
||||||
KC_MUTE, KC_MPLY, KC_MRWD, LT(1,KC_MFFD),
|
KC_MUTE, KC_MPLY, KC_MRWD, LT(1,KC_MFFD),
|
||||||
C(KC_Z), C(KC_X), C(KC_C), C(KC_V)
|
C(KC_Z), C(KC_X), C(KC_C), C(KC_V)
|
||||||
),
|
),
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT_ortho_2x4(
|
||||||
_______, _______, _______, _______,
|
_______, _______, _______, _______,
|
||||||
QK_BOOT, _______, _______, _______
|
QK_BOOT, _______, _______, _______
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define LAYOUT( \
|
#define LAYOUT_ortho_2x4( \
|
||||||
K00, K01, K02, K03, \
|
K00, K01, K02, K03, \
|
||||||
K10, K11, K12, K13 \
|
K10, K11, K12, K13 \
|
||||||
) \
|
) \
|
||||||
|
|
Loading…
Reference in a new issue