diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2023-05-03 18:06:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 18:06:58 -0700 |
commit | a662d366fe8f579a487b154bcdd4c3f03beb3034 (patch) | |
tree | 4104bb9f5002446de0ef2f1a9c237f15a39ae1a2 | |
parent | 4efd6a805ced1faabff59a91cd8231166d31a35a (diff) |
keebzdotnet FMe Layout Additionns (#20696)
* add matrix_diagram.md
* add LAYOUT_1x2u with reference keymap
* add LAYOUT_2x1u with reference keymap
-rw-r--r-- | keyboards/keebzdotnet/fme/info.json | 35 | ||||
-rw-r--r-- | keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c | 33 | ||||
-rw-r--r-- | keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c | 33 | ||||
-rw-r--r-- | keyboards/keebzdotnet/fme/matrix_diagram.md | 14 |
4 files changed, 115 insertions, 0 deletions
diff --git a/keyboards/keebzdotnet/fme/info.json b/keyboards/keebzdotnet/fme/info.json index 72466f53d1..2254343f7b 100644 --- a/keyboards/keebzdotnet/fme/info.json +++ b/keyboards/keebzdotnet/fme/info.json @@ -38,6 +38,41 @@ {"matrix": [2, 1], "x": 3, "y": 2, "w": 2}, {"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} + ] } } } diff --git a/keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c b/keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c new file mode 100644 index 0000000000..0b7aaf2d67 --- /dev/null +++ b/keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c @@ -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, + _______, _______, _______, _______, + _______, _______ + ), + +}; diff --git a/keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c b/keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c new file mode 100644 index 0000000000..9e5ede7c3f --- /dev/null +++ b/keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c @@ -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, + _______, _______, _______, _______, + _______, _______, _______ + ), + +}; diff --git a/keyboards/keebzdotnet/fme/matrix_diagram.md b/keyboards/keebzdotnet/fme/matrix_diagram.md new file mode 100644 index 0000000000..b0c9714c36 --- /dev/null +++ b/keyboards/keebzdotnet/fme/matrix_diagram.md @@ -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 │ ┘ + └───────┘ +``` |