Skip to content

Commit

Permalink
Mechlovin Zed65 910 Layout Standardization (#22018)
Browse files Browse the repository at this point in the history
* Add layout/matrix diagram

[docs]

* Rename `LAYOUT_65_iso_tsangan_split_bs` to `LAYOUT_iso_split_bs`

[refactor]

* Rename `LAYOUT_65_ansi_tsangan` to `LAYOUT_ansi`

[refactor]

* Rename `LAYOUT_65_ansi_blocker_tsangan` to `LAYOUT_ansi_blocker_tsangan`

[refactor]

* Rename `LAYOUT_65_ansi_tsangan_split_bs` to `LAYOUT_all`

[refactor]
  • Loading branch information
noroadsleft authored Sep 14, 2023
1 parent cfe52b6 commit 269c7b6
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 6 deletions.
14 changes: 10 additions & 4 deletions keyboards/mechlovin/zed65/910/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@
"pin": "A7",
"driver": "spi"
},
"layout_aliases": {
"LAYOUT_65_iso_tsangan_split_bs": "LAYOUT_iso_split_bs",
"LAYOUT_65_ansi_tsangan": "LAYOUT_ansi",
"LAYOUT_65_ansi_blocker_tsangan": "LAYOUT_ansi_blocker_tsangan",
"LAYOUT_65_ansi_tsangan_split_bs": "LAYOUT_all"
},
"layouts": {
"LAYOUT_65_iso_tsangan_split_bs": {
"LAYOUT_iso_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down Expand Up @@ -120,7 +126,7 @@
{"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_65_ansi_tsangan_split_bs": {
"LAYOUT_all": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down Expand Up @@ -197,7 +203,7 @@
{"matrix": [4, 14], "x": 15, "y": 4}
]
},
"LAYOUT_65_ansi_tsangan": {
"LAYOUT_ansi": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down Expand Up @@ -273,7 +279,7 @@
]
},

"LAYOUT_65_ansi_blocker_tsangan": {
"LAYOUT_ansi_blocker_tsangan": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
2 changes: 1 addition & 1 deletion keyboards/mechlovin/zed65/910/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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_65_ansi_tsangan_split_bs(
[0] = LAYOUT_all(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
Expand Down
2 changes: 1 addition & 1 deletion keyboards/mechlovin/zed65/910/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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_65_ansi_tsangan_split_bs(
[0] = LAYOUT_all(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
Expand Down
27 changes: 27 additions & 0 deletions keyboards/mechlovin/zed65/910/matrix_diagram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Matrix Diagram for Mechlovin Studio Zed65 910 Rev1

```
┌───────┐
2u Backspace │0D │
└───────┘
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │2C │
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┐ ┌─────┐
│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │ │ │
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┐2D │ ISO Enter
│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2D │2E │ │1D │ │
├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴────┘
│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3E │
├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
│40 │41 │42 │46 │49 │4A │4B │4C │4D │4E │
└────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
┌────────┐ ┌──────────┐
│30 │ 2.25u LShift 2.75u RShift │3C │
└────────┘ └──────────┘
┌────┬────┬────┬────────────────────────┬────┬────┐
│40 │41 │42 │46 │49 │4A │ Blocker
└────┴────┴────┴────────────────────────┴────┴────┘
┌─────┬───┬─────┬───────────────────────────┬─────┐
│40 │41 │42 │46 │4A │ Blocker Tsangan
└─────┴───┴─────┴───────────────────────────┴─────┘
```

0 comments on commit 269c7b6

Please sign in to comment.