Balloondogcaps TR90 and TR90PM: rename LAYOUT to LAYOUT_ortho_3x3 (#17879)

* balloondogcaps/tr90: rename LAYOUT to LAYOUT_ortho_3x3

* balloondogcaps/tr90pm: rename LAYOUT to LAYOUT_ortho_3x3
master
James Young 2022-08-03 17:21:59 -07:00 committed by GitHub
parent b01814bf68
commit 5a631ed9ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 14 deletions

View File

@ -23,8 +23,11 @@
"pid": "0x0001", "pid": "0x0001",
"vid": "0x4243" "vid": "0x4243"
}, },
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_3x3"
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT_ortho_3x3": {
"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 },

View File

@ -16,12 +16,12 @@
#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( /* Base */ [0] = LAYOUT_ortho_3x3( /* Base */
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_VOLD, KC_VOLU, MO(1) KC_VOLD, KC_VOLU, MO(1)
), ),
[1] = LAYOUT( [1] = LAYOUT_ortho_3x3(
KC_7, KC_8, KC_9, KC_7, KC_8, KC_9,
KC_0, KC_MINUS, KC_PLUS, KC_0, KC_MINUS, KC_PLUS,
RESET, KC_AT , KC_TRNS RESET, KC_AT , KC_TRNS

View File

@ -16,22 +16,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( /* Base */ [0] = LAYOUT_ortho_3x3( /* Base */
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_VOLD, KC_VOLU, MO(1) KC_VOLD, KC_VOLU, MO(1)
), ),
[1] = LAYOUT( [1] = LAYOUT_ortho_3x3(
KC_7, KC_8, KC_9, KC_7, KC_8, KC_9,
KC_0, KC_MINUS, KC_PLUS, KC_0, KC_MINUS, KC_PLUS,
RESET, KC_AT , KC_TRNS RESET, KC_AT , KC_TRNS
), ),
[2] = LAYOUT( [2] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS KC_TRNS, KC_TRNS, KC_TRNS
), ),
[3] = LAYOUT( [3] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS KC_TRNS, KC_TRNS, KC_TRNS

View File

@ -23,8 +23,11 @@
"pid": "0x0002", "pid": "0x0002",
"vid": "0x4243" "vid": "0x4243"
}, },
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_3x3"
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT_ortho_3x3": {
"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 },

View File

@ -16,12 +16,12 @@
#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( /* Base */ [0] = LAYOUT_ortho_3x3( /* Base */
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_VOLD, KC_VOLU, MO(1) KC_VOLD, KC_VOLU, MO(1)
), ),
[1] = LAYOUT( [1] = LAYOUT_ortho_3x3(
KC_7, KC_8, KC_9, KC_7, KC_8, KC_9,
KC_0, KC_MINUS, KC_PLUS, KC_0, KC_MINUS, KC_PLUS,
RESET, KC_AT , KC_TRNS RESET, KC_AT , KC_TRNS

View File

@ -16,22 +16,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( /* Base */ [0] = LAYOUT_ortho_3x3( /* Base */
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_VOLD, KC_VOLU, MO(1) KC_VOLD, KC_VOLU, MO(1)
), ),
[1] = LAYOUT( [1] = LAYOUT_ortho_3x3(
KC_7, KC_8, KC_9, KC_7, KC_8, KC_9,
KC_0, KC_MINUS, KC_PLUS, KC_0, KC_MINUS, KC_PLUS,
RESET, KC_AT , KC_TRNS RESET, KC_AT , KC_TRNS
), ),
[2] = LAYOUT( [2] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS KC_TRNS, KC_TRNS, KC_TRNS
), ),
[3] = LAYOUT( [3] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS KC_TRNS, KC_TRNS, KC_TRNS