WinKeys Mini Winni: rename LAYOUT_all to LAYOUT_ortho_2x4 (#20881)

* info.json: apply friendly formatting

* rename LAYOUT_all to LAYOUT_ortho_2x4

* info.json: update maintainer field

Use the maintainer's GitHub username instead of their display name.
master
James Young 2023-05-12 07:33:41 -07:00 committed by GitHub
parent f8fb35d9fc
commit a31eea61b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 18 deletions

View File

@ -1,7 +1,7 @@
{ {
"keyboard_name": "Mini Winni", "keyboard_name": "Mini Winni",
"manufacturer": "WinKeys", "manufacturer": "WinKeys",
"maintainer": "Matthew Dias", "maintainer": "matthewdias",
"usb": { "usb": {
"vid": "0x574B", "vid": "0x574B",
"pid": "0x7770", "pid": "0x7770",
@ -18,17 +18,21 @@
"ws2812": { "ws2812": {
"pin": "E6" "pin": "E6"
}, },
"layout_aliases": {
"LAYOUT_all": "LAYOUT_ortho_2x4"
},
"layouts": { "layouts": {
"LAYOUT_all": { "LAYOUT_ortho_2x4": {
"layout": [ "layout": [
{"x": 0, "y": 0, "matrix": [0, 0]}, {"label": "F1", "x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]}, {"label": "F2", "x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]}, {"label": "F3", "x": 2, "y": 0, "matrix": [0, 2]},
{"x": 3, "y": 0, "matrix": [0, 3]}, {"label": "F4", "x": 3, "y": 0, "matrix": [0, 3]},
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]}, {"label": "F5", "x": 0, "y": 1, "matrix": [1, 0]},
{"x": 2, "y": 1, "matrix": [1, 2]}, {"label": "F6", "x": 1, "y": 1, "matrix": [1, 1]},
{"x": 3, "y": 1, "matrix": [1, 3]} {"label": "F7", "x": 2, "y": 1, "matrix": [1, 2]},
{"label": "F8", "x": 3, "y": 1, "matrix": [1, 3]}
] ]
} }
} }

View File

@ -19,22 +19,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all( [0] = LAYOUT_ortho_2x4(
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
), ),
[1] = LAYOUT_all( [1] = LAYOUT_ortho_2x4(
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
), ),
[2] = LAYOUT_all( [2] = LAYOUT_ortho_2x4(
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_all( [3] = LAYOUT_ortho_2x4(
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

@ -19,22 +19,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all( [0] = LAYOUT_ortho_2x4(
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
), ),
[1] = LAYOUT_all( [1] = LAYOUT_ortho_2x4(
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
), ),
[2] = LAYOUT_all( [2] = LAYOUT_ortho_2x4(
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_all( [3] = LAYOUT_ortho_2x4(
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
) )