Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keebzdotnet FMe Layout Additions #20696

Merged
merged 3 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions keyboards/keebzdotnet/fme/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}
]
}
}
}
33 changes: 33 additions & 0 deletions keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c
Original file line number Diff line number Diff line change
@@ -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,
_______, _______, _______, _______,
_______, _______
),

};
33 changes: 33 additions & 0 deletions keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c
Original file line number Diff line number Diff line change
@@ -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,
_______, _______, _______, _______,
_______, _______, _______
),

};
14 changes: 14 additions & 0 deletions keyboards/keebzdotnet/fme/matrix_diagram.md
Original file line number Diff line number Diff line change
@@ -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 │ ┘
└───────┘
```