aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/ymd75/README.md5
-rw-r--r--keyboards/ymd75/config.h3
-rw-r--r--keyboards/ymd75/info.json87
-rw-r--r--keyboards/ymd75/keymaps/default_iso/keymap.c6
-rw-r--r--keyboards/ymd75/rev1/config.h1
-rw-r--r--keyboards/ymd75/rev2/config.h1
-rw-r--r--keyboards/ymd75/rev2/rev2.h2
-rw-r--r--keyboards/ymd75/rev3/config.h9
-rw-r--r--keyboards/ymd75/rev3/rev3.c32
-rw-r--r--keyboards/ymd75/rev3/rev3.h117
-rw-r--r--keyboards/ymd75/rev3/rules.mk23
-rw-r--r--keyboards/ymd75/ymd75.h2
12 files changed, 279 insertions, 9 deletions
diff --git a/keyboards/ymd75/README.md b/keyboards/ymd75/README.md
index 7c4779c9f..cb2bcbdd5 100644
--- a/keyboards/ymd75/README.md
+++ b/keyboards/ymd75/README.md
@@ -3,7 +3,10 @@
375% keyboard from YMDK. YMDK sell the board and name it "YMD75", however revision 1 of the PCB has "MT84" printed on both sides. 375% keyboard from YMDK. YMDK sell the board and name it "YMD75", however revision 1 of the PCB has "MT84" printed on both sides.
4 4
5* Keyboard Maintainer: [Wayne K Jones](github.com/WarmCatUK) 5* Keyboard Maintainer: [Wayne K Jones](github.com/WarmCatUK)
6* Hardware Supported: YMD75/MT84 (rev1 and rev2) with the ATmega32a chip. 6* Hardware Supported:
7 - rev1 (ATmega32a)
8 - rev2 (ATmega32a)
9 - rev3 (ATmega32u4)
7* Hardware Availability: <https://www.aliexpress.com/item/32812690592.html> 10* Hardware Availability: <https://www.aliexpress.com/item/32812690592.html>
8 11
9Make example for this keyboard (after setting up your build environment): 12Make example for this keyboard (after setting up your build environment):
diff --git a/keyboards/ymd75/config.h b/keyboards/ymd75/config.h
index 0ea23bc46..69102014f 100644
--- a/keyboards/ymd75/config.h
+++ b/keyboards/ymd75/config.h
@@ -23,12 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
23 23
24#define VENDOR_ID 0x20A0 24#define VENDOR_ID 0x20A0
25#define PRODUCT_ID 0x422D 25#define PRODUCT_ID 0x422D
26#define DEVICE_VER 0x0200
27 26
28#define MANUFACTURER YMDK 27#define MANUFACTURER YMDK
29#define PRODUCT YMD75 / MT84 28#define PRODUCT YMD75 / MT84
30#define DESCRIPTION 75% Keyboard
31
32 29
33#define BACKLIGHT_PIN D4 30#define BACKLIGHT_PIN D4
34#define BACKLIGHT_LEVELS 12 31#define BACKLIGHT_LEVELS 12
diff --git a/keyboards/ymd75/info.json b/keyboards/ymd75/info.json
index 64412dd2f..fe27c0c53 100644
--- a/keyboards/ymd75/info.json
+++ b/keyboards/ymd75/info.json
@@ -6,7 +6,92 @@
6 "height": 6, 6 "height": 6,
7 "layouts": { 7 "layouts": {
8 "LAYOUT": { 8 "LAYOUT": {
9 "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":1, "y":0}, {"label":"F2", "x":2, "y":0}, {"label":"F3", "x":3, "y":0}, {"label":"F4", "x":4, "y":0}, {"label":"F5", "x":5, "y":0}, {"label":"F6", "x":6, "y":0}, {"label":"F7", "x":7, "y":0}, {"label":"F8", "x":8, "y":0}, {"label":"F9", "x":9, "y":0}, {"label":"F10", "x":10, "y":0}, {"label":"F11", "x":11, "y":0}, {"label":"F12", "x":12, "y":0}, {"label":"PrtSc", "x":13, "y":0}, {"label":"Del", "x":14, "y":0}, {"label":"Fn", "x":15, "y":0}, {"label":"~", "x":0, "y":1}, {"label":"!", "x":1, "y":1}, {"label":"@", "x":2, "y":1}, {"label":"#", "x":3, "y":1}, {"label":"$", "x":4, "y":1}, {"label":"%", "x":5, "y":1}, {"label":"^", "x":6, "y":1}, {"label":"&", "x":7, "y":1}, {"label":"*", "x":8, "y":1}, {"label":"(", "x":9, "y":1}, {"label":")", "x":10, "y":1}, {"label":"_", "x":11, "y":1}, {"label":"+", "x":12, "y":1}, {"label":"Backspace", "x":13, "y":1, "w":2}, {"label":"Home", "x":15, "y":1}, {"label":"Tab", "x":0, "y":2, "w":1.5}, {"label":"Q", "x":1.5, "y":2}, {"label":"W", "x":2.5, "y":2}, {"label":"E", "x":3.5, "y":2}, {"label":"R", "x":4.5, "y":2}, {"label":"T", "x":5.5, "y":2}, {"label":"Y", "x":6.5, "y":2}, {"label":"U", "x":7.5, "y":2}, {"label":"I", "x":8.5, "y":2}, {"label":"O", "x":9.5, "y":2}, {"label":"P", "x":10.5, "y":2}, {"label":"{", "x":11.5, "y":2}, {"label":"}", "x":12.5, "y":2}, {"label":"|", "x":13.5, "y":2, "w":1.5}, {"label":"End", "x":15, "y":2}, {"label":"Caps Lock", "x":0, "y":3, "w":1.75}, {"label":"A", "x":1.75, "y":3}, {"label":"S", "x":2.75, "y":3}, {"label":"D", "x":3.75, "y":3}, {"label":"F", "x":4.75, "y":3}, {"label":"G", "x":5.75, "y":3}, {"label":"H", "x":6.75, "y":3}, {"label":"J", "x":7.75, "y":3}, {"label":"K", "x":8.75, "y":3}, {"label":"L", "x":9.75, "y":3}, {"label":":", "x":10.75, "y":3}, {"label":"\"", "x":11.75, "y":3}, {"label":"Enter", "x":12.75, "y":3, "w":2.25}, {"label":"Page Up", "x":15, "y":3}, {"label":"Shift", "x":0, "y":4, "w":2.25}, {"label":"Z", "x":2.25, "y":4}, {"label":"X", "x":3.25, "y":4}, {"label":"C", "x":4.25, "y":4}, {"label":"V", "x":5.25, "y":4}, {"label":"B", "x":6.25, "y":4}, {"label":"N", "x":7.25, "y":4}, {"label":"M", "x":8.25, "y":4}, {"label":"<", "x":9.25, "y":4}, {"label":">", "x":10.25, "y":4}, {"label":"?", "x":11.25, "y":4}, {"label":"Shift", "x":12.25, "y":4, "w":1.75}, {"label":"\u2191", "x":14, "y":4}, {"label":"Page Down", "x":15, "y":4}, {"label":"Ctrl", "x":0, "y":5, "w":1.25}, {"label":"GUI", "x":1.25, "y":5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5, "w":1.25}, {"x":3.75, "y":5, "w":6.25}, {"label":"Alt", "x":10, "y":5}, {"label":"Fn", "x":11, "y":5}, {"label":"Ctrl", "x":12, "y":5}, {"label":"\u2190", "x":13, "y":5}, {"label":"\u2193", "x":14, "y":5}, {"label":"\u2192", "x":15, "y":5}] 9 "layout": [
10 {"label":"Esc", "x":0, "y":0},
11 {"label":"F1", "x":1, "y":0},
12 {"label":"F2", "x":2, "y":0},
13 {"label":"F3", "x":3, "y":0},
14 {"label":"F4", "x":4, "y":0},
15 {"label":"F5", "x":5, "y":0},
16 {"label":"F6", "x":6, "y":0},
17 {"label":"F7", "x":7, "y":0},
18 {"label":"F8", "x":8, "y":0},
19 {"label":"F9", "x":9, "y":0},
20 {"label":"F10", "x":10, "y":0},
21 {"label":"F11", "x":11, "y":0},
22 {"label":"F12", "x":12, "y":0},
23 {"label":"PrtSc", "x":13, "y":0},
24 {"label":"Del", "x":14, "y":0},
25 {"label":"Fn", "x":15, "y":0},
26 {"label":"~", "x":0, "y":1},
27 {"label":"!", "x":1, "y":1},
28 {"label":"@", "x":2, "y":1},
29 {"label":"#", "x":3, "y":1},
30 {"label":"$", "x":4, "y":1},
31 {"label":"%", "x":5, "y":1},
32 {"label":"^", "x":6, "y":1},
33 {"label":"&", "x":7, "y":1},
34 {"label":"*", "x":8, "y":1},
35 {"label":"(", "x":9, "y":1},
36 {"label":")", "x":10, "y":1},
37 {"label":"_", "x":11, "y":1},
38 {"label":"+", "x":12, "y":1},
39 {"label":"Backspace", "x":13, "y":1, "w":2},
40 {"label":"Home", "x":15, "y":1},
41 {"label":"Tab", "x":0, "y":2, "w":1.5},
42 {"label":"Q", "x":1.5, "y":2},
43 {"label":"W", "x":2.5, "y":2},
44 {"label":"E", "x":3.5, "y":2},
45 {"label":"R", "x":4.5, "y":2},
46 {"label":"T", "x":5.5, "y":2},
47 {"label":"Y", "x":6.5, "y":2},
48 {"label":"U", "x":7.5, "y":2},
49 {"label":"I", "x":8.5, "y":2},
50 {"label":"O", "x":9.5, "y":2},
51 {"label":"P", "x":10.5, "y":2},
52 {"label":"{", "x":11.5, "y":2},
53 {"label":"}", "x":12.5, "y":2},
54 {"label":"|", "x":13.5, "y":2, "w":1.5},
55 {"label":"End", "x":15, "y":2},
56 {"label":"Caps Lock", "x":0, "y":3, "w":1.75},
57 {"label":"A", "x":1.75, "y":3},
58 {"label":"S", "x":2.75, "y":3},
59 {"label":"D", "x":3.75, "y":3},
60 {"label":"F", "x":4.75, "y":3},
61 {"label":"G", "x":5.75, "y":3},
62 {"label":"H", "x":6.75, "y":3},
63 {"label":"J", "x":7.75, "y":3},
64 {"label":"K", "x":8.75, "y":3},
65 {"label":"L", "x":9.75, "y":3},
66 {"label":":", "x":10.75, "y":3},
67 {"label":"\"", "x":11.75, "y":3},
68 {"label":"Enter", "x":12.75, "y":3, "w":2.25},
69 {"label":"Page Up", "x":15, "y":3},
70 {"label":"Shift", "x":0, "y":4, "w":2.25},
71 {"label":"Z", "x":2.25, "y":4},
72 {"label":"X", "x":3.25, "y":4},
73 {"label":"C", "x":4.25, "y":4},
74 {"label":"V", "x":5.25, "y":4},
75 {"label":"B", "x":6.25, "y":4},
76 {"label":"N", "x":7.25, "y":4},
77 {"label":"M", "x":8.25, "y":4},
78 {"label":"<", "x":9.25, "y":4},
79 {"label":">", "x":10.25, "y":4},
80 {"label":"?", "x":11.25, "y":4},
81 {"label":"Shift", "x":12.25, "y":4, "w":1.75},
82 {"label":"\u2191", "x":14, "y":4},
83 {"label":"Page Down", "x":15, "y":4},
84 {"label":"Ctrl", "x":0, "y":5, "w":1.25},
85 {"label":"GUI", "x":1.25, "y":5, "w":1.25},
86 {"label":"Alt", "x":2.5, "y":5, "w":1.25},
87 {"x":3.75, "y":5, "w":6.25},
88 {"label":"Alt", "x":10, "y":5},
89 {"label":"Fn", "x":11, "y":5},
90 {"label":"Ctrl", "x":12, "y":5},
91 {"label":"\u2190", "x":13, "y":5},
92 {"label":"\u2193", "x":14, "y":5},
93 {"label":"\u2192", "x":15, "y":5}
94 ]
10 }, 95 },
11 "LAYOUT_75_iso": { 96 "LAYOUT_75_iso": {
12 "layout": [ 97 "layout": [
diff --git a/keyboards/ymd75/keymaps/default_iso/keymap.c b/keyboards/ymd75/keymaps/default_iso/keymap.c
index 86af81e22..2008dddf8 100644
--- a/keyboards/ymd75/keymaps/default_iso/keymap.c
+++ b/keyboards/ymd75/keymaps/default_iso/keymap.c
@@ -20,15 +20,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 20
21 [1] = LAYOUT_75_iso( 21 [1] = LAYOUT_75_iso(
22 /* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */ 22 /* ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ */
23 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MPRV, KC_MNXT, 23 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MPRV, KC_MNXT,
24 /* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┤ */ 24 /* ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┤ */
25 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, 25 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU,
26 /* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┤ */ 26 /* ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┤ */
27 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, 27 RGB_MOD, RGB_TOG, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, KC_VOLD,
28 /* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬ ├─────────┤ */ 28 /* ├──────────────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬──────┴──┬ ├─────────┤ */
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 /* ├───────────┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴─────────┴─┬─────────┼─────────┤ */ 30 /* ├───────────┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴───┬─────┴─────────┴─┬─────────┼─────────┤ */
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 31 _______, _______, _______, _______, BL_DEC, BL_INC, BL_STEP, BL_TOGG, _______, _______, _______, _______, _______, _______, _______,
32 /* ├───────────┼─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴───────┬─┴───────┬─┴───────┬─────────┼─────────┼─────────┤ */ 32 /* ├───────────┼─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴───────┬─┴───────┬─┴───────┬─────────┼─────────┼─────────┤ */
33 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ 33 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
34 /* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */ 34 /* └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ */
diff --git a/keyboards/ymd75/rev1/config.h b/keyboards/ymd75/rev1/config.h
index e9009ee0e..d9796d9d7 100644
--- a/keyboards/ymd75/rev1/config.h
+++ b/keyboards/ymd75/rev1/config.h
@@ -25,3 +25,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
25#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 } 25#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
26#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } 26#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
27#define DIODE_DIRECTION COL2ROW 27#define DIODE_DIRECTION COL2ROW
28#define DEVICE_VER 0x0100
diff --git a/keyboards/ymd75/rev2/config.h b/keyboards/ymd75/rev2/config.h
index 9718b19dd..a9578d720 100644
--- a/keyboards/ymd75/rev2/config.h
+++ b/keyboards/ymd75/rev2/config.h
@@ -6,3 +6,4 @@
6#define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 } 6#define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 }
7#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } 7#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
8#define DIODE_DIRECTION COL2ROW 8#define DIODE_DIRECTION COL2ROW
9#define DEVICE_VER 0x0200
diff --git a/keyboards/ymd75/rev2/rev2.h b/keyboards/ymd75/rev2/rev2.h
index 85e07c576..952858382 100644
--- a/keyboards/ymd75/rev2/rev2.h
+++ b/keyboards/ymd75/rev2/rev2.h
@@ -30,7 +30,7 @@
30 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, K214 }, \ 30 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, K214 }, \
31 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314 }, \ 31 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314 }, \
32 { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414 }, \ 32 { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414 }, \
33 { K500, K501, K502, KC_NO, KC_NO, K505, K506, K507, K508, K509, K510, K511, KC_NO, K513, K514 } \ 33 { K500, K501, K502, KC_NO, KC_NO, K505, K506, K507, K508, K509, K510, K511, KC_NO, K513, K514 } \
34} 34}
35 35
36#define LAYOUT_75_iso_rwkl( \ 36#define LAYOUT_75_iso_rwkl( \
diff --git a/keyboards/ymd75/rev3/config.h b/keyboards/ymd75/rev3/config.h
new file mode 100644
index 000000000..6118b96b8
--- /dev/null
+++ b/keyboards/ymd75/rev3/config.h
@@ -0,0 +1,9 @@
1#pragma once
2
3#define MATRIX_ROWS 12
4#define MATRIX_COLS 9
5#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
6#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
7#define DIODE_DIRECTION ROW2COL
8#define DEVICE_VER 0x0300
9#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4
diff --git a/keyboards/ymd75/rev3/rev3.c b/keyboards/ymd75/rev3/rev3.c
new file mode 100644
index 000000000..96e1a4754
--- /dev/null
+++ b/keyboards/ymd75/rev3/rev3.c
@@ -0,0 +1,32 @@
1/*
2Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "ymd75.h"
19
20void keyboard_pre_init_kb(void) {
21 led_init_ports();
22 keyboard_pre_init_user();
23}
24
25void led_init_ports(void) { setPinOutput(D1); }
26
27bool led_update_kb(led_t led_state) {
28 if (led_update_user(led_state)) {
29 writePin(D1, led_state.caps_lock);
30 }
31 return true;
32}
diff --git a/keyboards/ymd75/rev3/rev3.h b/keyboards/ymd75/rev3/rev3.h
new file mode 100644
index 000000000..d25579eab
--- /dev/null
+++ b/keyboards/ymd75/rev3/rev3.h
@@ -0,0 +1,117 @@
1#pragma once
2#include "quantum.h"
3
4
5/* LAYOUT
6 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
7 * │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Psc│Pse│Del│
8 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
9 * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │0 │ - │ = │BckSpc │Hm │
10 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
11 * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │End│
12 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
13 * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgU│
14 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
15 * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RShift│ ↑ │PgD│
16 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
17 * │Ctrl│Sup │Alt │ Space │Alt│Sup│Ctl│ ← │ ↓ │ → │
18 * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
19 */
20
21#define LAYOUT( \
22 K50, K51, K52, K53, K54, K55, K56, K57, K58, KB8, KB7, KB5, KB4, KB3, KB6, KB2, \
23 K40, K41, K42, K43, K44, K45, K46, K47, K48, KA8, KA7, KA5, KA4, KA6, KA2, \
24 K30, K31, K32, K33, K34, K35, K36, K37, K38, K98, K97, K95, K94, K84, K96, \
25 K20, K21, K22, K23, K24, K25, K26, K27, K28, K88, K87, K85, K93, K86, \
26 K10, K12, K13, K14, K15, K16, K17, K18, K78, K77, K75, K74, K73, K76, \
27 K00, K01, K02, K06, K08, K07, K05, K04, K03, K66 \
28) { \
29 { K00, K01, K02, K03, K04, K05, K06, K07, K08 }, \
30 { K10, KC_NO, K12, K13, K14, K15, K16, K17, K18 }, \
31 { K20, K21, K22, K23, K24, K25, K26, K27, K28 }, \
32 { K30, K31, K32, K33, K34, K35, K36, K37, K38 }, \
33 { K40, K41, K42, K43, K44, K45, K46, K47, K48 }, \
34 { K50, K51, K52, K53, K54, K55, K56, K57, K58 }, \
35 { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K66, KC_NO, KC_NO }, \
36 { KC_NO, KC_NO, KC_NO, K73, K74, K75, K76, K77, K78 }, \
37 { KC_NO, KC_NO, KC_NO, KC_NO, K84, K85, K86, K87, K88 }, \
38 { KC_NO, KC_NO, KC_NO, K93, K94, K95, K96, K97, K98 }, \
39 { KC_NO, KC_NO, KA2, KC_NO, KA4, KA5, KA6, KA7, KA8 }, \
40 { KC_NO, KC_NO, KB2, KB3, KB4, KB5, KB6, KB7, KB8 }, \
41}
42
43/* LAYOUT_75_iso
44 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
45 * │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Psc│Pse│Del│
46 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
47 * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │0 │ - │ = │BckSpc │Hm │
48 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
49 * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │End│
50 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐Ent ├───┤
51 * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PgU│
52 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
53 * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift │ ↑ │PgD│
54 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
55 * │Ctrl│Sup │Alt │ Space │Alt│Mo │Ctl│ ← │ ↓ │ → │
56 * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
57 */
58
59#define LAYOUT_75_iso( \
60 K50, K51, K52, K53, K54, K55, K56, K57, K58, KB8, KB7, KB5, KB4, KB3, KB6, KB2, \
61 K40, K41, K42, K43, K44, K45, K46, K47, K48, KA8, KA7, KA5, KA4, KA6, KA2, \
62 K30, K31, K32, K33, K34, K35, K36, K37, K38, K98, K97, K95, K94, K96, \
63 K20, K21, K22, K23, K24, K25, K26, K27, K28, K88, K87, K85, K93, K84, K86, \
64 K10, K11, K12, K13, K14, K15, K16, K17, K18, K78, K77, K75, K74, K73, K76, \
65 K00, K01, K02, K06, K08, K07, K05, K04, K03, K66 \
66) { \
67 { K00, K01, K02, K03, K04, K05, K06, K07, K08 }, \
68 { K10, K11, K12, K13, K14, K15, K16, K17, K18 }, \
69 { K20, K21, K22, K23, K24, K25, K26, K27, K28 }, \
70 { K30, K31, K32, K33, K34, K35, K36, K37, K38 }, \
71 { K40, K41, K42, K43, K44, K45, K46, K47, K48 }, \
72 { K50, K51, K52, K53, K54, K55, K56, K57, K58 }, \
73 { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K66, KC_NO, KC_NO }, \
74 { KC_NO, KC_NO, KC_NO, K73, K74, K75, K76, K77, K78 }, \
75 { KC_NO, KC_NO, KC_NO, KC_NO, K93, K85, K86, K87, K88 }, \
76 { KC_NO, KC_NO, KC_NO, K84, K94, K95, K96, K97, K98 }, \
77 { KC_NO, KC_NO, KA2, KC_NO, KA4, KA5, KA6, KA7, KA8 }, \
78 { KC_NO, KC_NO, KB2, KB3, KB4, KB5, KB6, KB7, KB8 }, \
79}
80
81/* LAYOUT_75_iso_rwkl
82 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
83 * │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Psc│Pse│Del│
84 * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤
85 * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │0 │ - │ = │BckSpc │Hm │
86 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
87 * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │End│
88 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐Ent ├───┤
89 * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PgU│
90 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
91 * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift │ ↑ │PgD│
92 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴┬──┴──┬───┼───┼───┤
93 * │Ctrl│Sup │Alt │ Space │ Alt │ Ctl │ ← │ ↓ │ → │
94 * └────┴────┴────┴────────────────────────┴─────┴─────┴───┴───┴───┘
95 */
96
97#define LAYOUT_75_iso_rwkl( \
98 K50, K51, K52, K53, K54, K55, K56, K57, K58, KB8, KB7, KB5, KB4, KB3, KB6, KB2, \
99 K40, K41, K42, K43, K44, K45, K46, K47, K48, KA8, KA7, KA5, KA4, KA6, KA2, \
100 K30, K31, K32, K33, K34, K35, K36, K37, K38, K98, K97, K95, K94, K96, \
101 K20, K21, K22, K23, K24, K25, K26, K27, K28, K88, K87, K85, K93, K84, K86, \
102 K10, K11, K12, K13, K14, K15, K16, K17, K18, K78, K77, K75, K74, K73, K76, \
103 K00, K01, K02, K06, K08, K05, K04, K03, K66 \
104) { \
105 { K00, K01, K02, K03, K04, K05, K06, KC_NO, K08 }, \
106 { K10, K11, K12, K13, K14, K15, K16, K17, K18 }, \
107 { K20, K21, K22, K23, K24, K25, K26, K27, K28 }, \
108 { K30, K31, K32, K33, K34, K35, K36, K37, K38 }, \
109 { K40, K41, K42, K43, K44, K45, K46, K47, K48 }, \
110 { K50, K51, K52, K53, K54, K55, K56, K57, K58 }, \
111 { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K66, KC_NO, KC_NO }, \
112 { KC_NO, KC_NO, KC_NO, K73, K74, K75, K76, K77, K78 }, \
113 { KC_NO, KC_NO, KC_NO, KC_NO, K93, K85, K86, K87, K88 }, \
114 { KC_NO, KC_NO, KC_NO, K84, K94, K95, K96, K97, K98 }, \
115 { KC_NO, KC_NO, KA2, KC_NO, KA4, KA5, KA6, KA7, KA8 }, \
116 { KC_NO, KC_NO, KB2, KB3, KB4, KB5, KB6, KB7, KB8 }, \
117}
diff --git a/keyboards/ymd75/rev3/rules.mk b/keyboards/ymd75/rev3/rules.mk
new file mode 100644
index 000000000..9506e636d
--- /dev/null
+++ b/keyboards/ymd75/rev3/rules.mk
@@ -0,0 +1,23 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23KEY_LOCK_ENABLE = yes # Enable KC_LOCK support
diff --git a/keyboards/ymd75/ymd75.h b/keyboards/ymd75/ymd75.h
index afeb09567..134f08060 100644
--- a/keyboards/ymd75/ymd75.h
+++ b/keyboards/ymd75/ymd75.h
@@ -6,4 +6,6 @@
6 #include "rev1.h" 6 #include "rev1.h"
7#elif defined(KEYBOARD_ymd75_rev2) 7#elif defined(KEYBOARD_ymd75_rev2)
8 #include "rev2.h" 8 #include "rev2.h"
9#elif defined(KEYBOARD_ymd75_rev3)
10 #include "rev3.h"
9#endif 11#endif