Skip to content

Commit a662d36

Browse files
authored
keebzdotnet FMe Layout Additionns (#20696)
* add matrix_diagram.md * add LAYOUT_1x2u with reference keymap * add LAYOUT_2x1u with reference keymap
1 parent 4efd6a8 commit a662d36

File tree

4 files changed

+115
-0
lines changed

4 files changed

+115
-0
lines changed

keyboards/keebzdotnet/fme/info.json

+35
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,41 @@
3838
{"matrix": [2, 1], "x": 3, "y": 2, "w": 2},
3939
{"matrix": [0, 1], "x": 4, "y": 3}
4040
]
41+
},
42+
"LAYOUT_1x2u": {
43+
"layout": [
44+
{"matrix": [0, 0], "x": 0, "y": 0},
45+
{"matrix": [1, 3], "x": 1, "y": 0},
46+
{"matrix": [1, 4], "x": 2, "y": 0},
47+
{"matrix": [1, 2], "x": 3, "y": 0},
48+
{"matrix": [1, 0], "x": 4, "y": 0},
49+
50+
{"matrix": [1, 1], "x": 0.25, "y": 1},
51+
{"matrix": [0, 4], "x": 1.25, "y": 1},
52+
{"matrix": [0, 2], "x": 2.25, "y": 1},
53+
{"matrix": [0, 3], "x": 3.25, "y": 1, "w": 1.75},
54+
55+
{"matrix": [2, 2], "x": 0.25, "y": 2, "w": 2.75},
56+
{"matrix": [2, 1], "x": 3, "y": 2, "w": 2}
57+
]
58+
},
59+
"LAYOUT_2x1u": {
60+
"layout": [
61+
{"matrix": [0, 0], "x": 0, "y": 0},
62+
{"matrix": [1, 3], "x": 1, "y": 0},
63+
{"matrix": [1, 4], "x": 2, "y": 0},
64+
{"matrix": [1, 2], "x": 3, "y": 0},
65+
{"matrix": [1, 0], "x": 4, "y": 0},
66+
67+
{"matrix": [1, 1], "x": 0.25, "y": 1},
68+
{"matrix": [0, 4], "x": 1.25, "y": 1},
69+
{"matrix": [0, 2], "x": 2.25, "y": 1},
70+
{"matrix": [0, 3], "x": 3.25, "y": 1, "w": 1.75},
71+
72+
{"matrix": [2, 2], "x": 0.25, "y": 2, "w": 2.75},
73+
{"matrix": [3, 2], "x": 3, "y": 2},
74+
{"matrix": [0, 1], "x": 4, "y": 2}
75+
]
4176
}
4277
}
4378
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
Copyright 2021 keebnewb
3+
4+
This program is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 2 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
#include QMK_KEYBOARD_H
18+
19+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20+
21+
[0] = LAYOUT_1x2u(
22+
KC_F, KC_U, KC_C, KC_K, KC_BSPC,
23+
KC_Y, KC_O, KC_U, MO(1),
24+
KC_SPC, KC_SPC
25+
),
26+
27+
[1] = LAYOUT_1x2u(
28+
QK_BOOT, _______, _______, _______, KC_DEL,
29+
_______, _______, _______, _______,
30+
_______, _______
31+
),
32+
33+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
Copyright 2021 keebnewb
3+
4+
This program is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 2 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
#include QMK_KEYBOARD_H
18+
19+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20+
21+
[0] = LAYOUT_2x1u(
22+
KC_F, KC_U, KC_C, KC_K, KC_BSPC,
23+
KC_Y, KC_O, KC_U, MO(1),
24+
KC_SPC, KC_SPC, KC_SPC
25+
),
26+
27+
[1] = LAYOUT_2x1u(
28+
QK_BOOT, _______, _______, _______, KC_DEL,
29+
_______, _______, _______, _______,
30+
_______, _______, _______
31+
),
32+
33+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Matrix Diagram for keebzdotnet FMe
2+
3+
```
4+
┌───┬───┬───┬───┬───┐
5+
│00 │13 │14 │12 │10 │
6+
└┬──┴┬──┴┬──┴┬──┴───┤
7+
│11 │04 │02 │03 │
8+
├───┴───┴──┬┴──┬───┤
9+
│22 │32 │01 │ ┐
10+
└──────────┴───┴───┘ ├─ 2x1u or
11+
┌───────┐ │ 1x2u
12+
│21 │ ┘
13+
└───────┘
14+
```

0 commit comments

Comments
 (0)