keebzdotnet FMe Layout Additionns (#20696)

* add matrix_diagram.md

* add LAYOUT_1x2u with reference keymap

* add LAYOUT_2x1u with reference keymap
This commit is contained in:
James Young 2023-05-03 18:06:58 -07:00 committed by GitHub
parent 4efd6a805c
commit a662d366fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 115 additions and 0 deletions

View file

@ -38,6 +38,41 @@
{"matrix": [2, 1], "x": 3, "y": 2, "w": 2}, {"matrix": [2, 1], "x": 3, "y": 2, "w": 2},
{"matrix": [0, 1], "x": 4, "y": 3} {"matrix": [0, 1], "x": 4, "y": 3}
] ]
},
"LAYOUT_1x2u": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [1, 3], "x": 1, "y": 0},
{"matrix": [1, 4], "x": 2, "y": 0},
{"matrix": [1, 2], "x": 3, "y": 0},
{"matrix": [1, 0], "x": 4, "y": 0},
{"matrix": [1, 1], "x": 0.25, "y": 1},
{"matrix": [0, 4], "x": 1.25, "y": 1},
{"matrix": [0, 2], "x": 2.25, "y": 1},
{"matrix": [0, 3], "x": 3.25, "y": 1, "w": 1.75},
{"matrix": [2, 2], "x": 0.25, "y": 2, "w": 2.75},
{"matrix": [2, 1], "x": 3, "y": 2, "w": 2}
]
},
"LAYOUT_2x1u": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [1, 3], "x": 1, "y": 0},
{"matrix": [1, 4], "x": 2, "y": 0},
{"matrix": [1, 2], "x": 3, "y": 0},
{"matrix": [1, 0], "x": 4, "y": 0},
{"matrix": [1, 1], "x": 0.25, "y": 1},
{"matrix": [0, 4], "x": 1.25, "y": 1},
{"matrix": [0, 2], "x": 2.25, "y": 1},
{"matrix": [0, 3], "x": 3.25, "y": 1, "w": 1.75},
{"matrix": [2, 2], "x": 0.25, "y": 2, "w": 2.75},
{"matrix": [3, 2], "x": 3, "y": 2},
{"matrix": [0, 1], "x": 4, "y": 2}
]
} }
} }
} }

View file

@ -0,0 +1,33 @@
/*
Copyright 2021 keebnewb
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_1x2u(
KC_F, KC_U, KC_C, KC_K, KC_BSPC,
KC_Y, KC_O, KC_U, MO(1),
KC_SPC, KC_SPC
),
[1] = LAYOUT_1x2u(
QK_BOOT, _______, _______, _______, KC_DEL,
_______, _______, _______, _______,
_______, _______
),
};

View file

@ -0,0 +1,33 @@
/*
Copyright 2021 keebnewb
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_2x1u(
KC_F, KC_U, KC_C, KC_K, KC_BSPC,
KC_Y, KC_O, KC_U, MO(1),
KC_SPC, KC_SPC, KC_SPC
),
[1] = LAYOUT_2x1u(
QK_BOOT, _______, _______, _______, KC_DEL,
_______, _______, _______, _______,
_______, _______, _______
),
};

View file

@ -0,0 +1,14 @@
# Matrix Diagram for keebzdotnet FMe
```
┌───┬───┬───┬───┬───┐
│00 │13 │14 │12 │10 │
└┬──┴┬──┴┬──┴┬──┴───┤
│11 │04 │02 │03 │
├───┴───┴──┬┴──┬───┤
│22 │32 │01 │ ┐
└──────────┴───┴───┘ ├─ 2x1u or
┌───────┐ │ 1x2u
│21 │ ┘
└───────┘
```