diff options
author | jackytrabbit <jacky_lijun@126.com> | 2022-02-21 17:03:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 10:03:18 +0100 |
commit | ae5f43072f0de93b65854af569ba90564b8003de (patch) | |
tree | a6536177910b590cc3a2ebed0c1c1b60736e573e | |
parent | f252287b0ec08f1b977cb7bfa4279db4499e8a88 (diff) | |
download | qmk_firmware-ae5f43072f0de93b65854af569ba90564b8003de.tar.gz qmk_firmware-ae5f43072f0de93b65854af569ba90564b8003de.zip |
Update the support for lazydesigners/dimple (#14797)
Co-authored-by: Ryan <fauxpark@gmail.com>
31 files changed, 1026 insertions, 31 deletions
diff --git a/keyboards/lazydesigners/dimple/config.h b/keyboards/lazydesigners/dimple/config.h index d5bab811e..7ed6da406 100644 --- a/keyboards/lazydesigners/dimple/config.h +++ b/keyboards/lazydesigners/dimple/config.h | |||
@@ -57,3 +57,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
57 | /* #define RGBLIGHT_SAT_STEP 8 */ | 57 | /* #define RGBLIGHT_SAT_STEP 8 */ |
58 | /* #define RGBLIGHT_VAL_STEP 8 */ | 58 | /* #define RGBLIGHT_VAL_STEP 8 */ |
59 | #endif | 59 | #endif |
60 | |||
diff --git a/keyboards/lazydesigners/dimple/ortho/info.json b/keyboards/lazydesigners/dimple/ortho/info.json new file mode 100644 index 000000000..dbe70f821 --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/info.json | |||
@@ -0,0 +1,150 @@ | |||
1 | { | ||
2 | "keyboard_name": "Dimple", | ||
3 | "url": "http://lazydesigners.cn", | ||
4 | "maintainer": "Jacky@LAZYDESIGNERS", | ||
5 | "layouts": { | ||
6 | "LAYOUT_ortho_2u": { | ||
7 | "layout": [ | ||
8 | {"label":"Esc", "x":0, "y":0, "w":1.25}, | ||
9 | {"label":"Q", "x":1.25, "y":0}, | ||
10 | {"label":"W", "x":2.25, "y":0}, | ||
11 | {"label":"E", "x":3.25, "y":0}, | ||
12 | {"label":"R", "x":4.25, "y":0}, | ||
13 | {"label":"T", "x":5.25, "y":0}, | ||
14 | {"label":"Y", "x":6.25, "y":0}, | ||
15 | {"label":"U", "x":7.25, "y":0}, | ||
16 | {"label":"I", "x":8.25, "y":0}, | ||
17 | {"label":"O", "x":9.25, "y":0}, | ||
18 | {"label":"P", "x":10.25, "y":0}, | ||
19 | {"label":"BackSpace", "x":11.25, "y":0, "w":1.25}, | ||
20 | {"label":"Tab", "x":0, "y":1, "w":1.25}, | ||
21 | {"label":"A", "x":1.25, "y":1}, | ||
22 | {"label":"S", "x":2.25, "y":1}, | ||
23 | {"label":"D", "x":3.25, "y":1}, | ||
24 | {"label":"F", "x":4.25, "y":1}, | ||
25 | {"label":"G", "x":5.25, "y":1}, | ||
26 | {"label":"H", "x":6.25, "y":1}, | ||
27 | {"label":"J", "x":7.25, "y":1}, | ||
28 | {"label":"K", "x":8.25, "y":1}, | ||
29 | {"label":"L", "x":9.25, "y":1}, | ||
30 | {"label":"'", "x":10.25, "y":1}, | ||
31 | {"label":"Enter", "x":11.25, "y":1, "w":1.25}, | ||
32 | {"label":"Shift", "x":0, "y":2, "w":1.25}, | ||
33 | {"label":"Z", "x":1.25, "y":2}, | ||
34 | {"label":"X", "x":2.25, "y":2}, | ||
35 | {"label":"C", "x":3.25, "y":2}, | ||
36 | {"label":"V", "x":4.25, "y":2}, | ||
37 | {"label":"B", "x":5.25, "y":2}, | ||
38 | {"label":"N", "x":6.25, "y":2}, | ||
39 | {"label":"M", "x":7.25, "y":2}, | ||
40 | {"label":",", "x":8.25, "y":2}, | ||
41 | {"label":".", "x":9.25, "y":2}, | ||
42 | {"label":"Up", "x":10.25, "y":2}, | ||
43 | {"label":"FN", "x":11.25, "y":2, "w":1.25}, | ||
44 | {"label":"Ctrl", "x":0.75, "y":3}, | ||
45 | {"label":"Gui", "x":1.75, "y":3}, | ||
46 | {"label":"Alt", "x":2.75, "y":3}, | ||
47 | {"label":"Space", "x":3.75, "y":3, "w":2}, | ||
48 | {"label":"FN", "x":5.75, "y":3}, | ||
49 | {"label":"Space", "x":6.75, "y":3, "w":2}, | ||
50 | {"label":"Left", "x":8.75, "y":3}, | ||
51 | {"label":"Down", "x":9.75, "y":3}, | ||
52 | {"label":"Right", "x":10.75, "y":3} | ||
53 | ] | ||
54 | }, | ||
55 | "LAYOUT_ortho_3u": { | ||
56 | "layout": [ | ||
57 | {"label":"Esc", "x":0, "y":0, "w":1.25}, | ||
58 | {"label":"Q", "x":1.25, "y":0}, | ||
59 | {"label":"W", "x":2.25, "y":0}, | ||
60 | {"label":"E", "x":3.25, "y":0}, | ||
61 | {"label":"R", "x":4.25, "y":0}, | ||
62 | {"label":"T", "x":5.25, "y":0}, | ||
63 | {"label":"Y", "x":6.25, "y":0}, | ||
64 | {"label":"U", "x":7.25, "y":0}, | ||
65 | {"label":"I", "x":8.25, "y":0}, | ||
66 | {"label":"O", "x":9.25, "y":0}, | ||
67 | {"label":"P", "x":10.25, "y":0}, | ||
68 | {"label":"BackSpace", "x":11.25, "y":0, "w":1.25}, | ||
69 | {"label":"Tab", "x":0, "y":1, "w":1.25}, | ||
70 | {"label":"A", "x":1.25, "y":1}, | ||
71 | {"label":"S", "x":2.25, "y":1}, | ||
72 | {"label":"D", "x":3.25, "y":1}, | ||
73 | {"label":"F", "x":4.25, "y":1}, | ||
74 | {"label":"G", "x":5.25, "y":1}, | ||
75 | {"label":"H", "x":6.25, "y":1}, | ||
76 | {"label":"J", "x":7.25, "y":1}, | ||
77 | {"label":"K", "x":8.25, "y":1}, | ||
78 | {"label":"L", "x":9.25, "y":1}, | ||
79 | {"label":"'", "x":10.25, "y":1}, | ||
80 | {"label":"Enter", "x":11.25, "y":1, "w":1.25}, | ||
81 | {"label":"Shift", "x":0, "y":2, "w":1.25}, | ||
82 | {"label":"Z", "x":1.25, "y":2}, | ||
83 | {"label":"X", "x":2.25, "y":2}, | ||
84 | {"label":"C", "x":3.25, "y":2}, | ||
85 | {"label":"V", "x":4.25, "y":2}, | ||
86 | {"label":"B", "x":5.25, "y":2}, | ||
87 | {"label":"N", "x":6.25, "y":2}, | ||
88 | {"label":"M", "x":7.25, "y":2}, | ||
89 | {"label":",", "x":8.25, "y":2}, | ||
90 | {"label":".", "x":9.25, "y":2}, | ||
91 | {"label":"Up", "x":10.25, "y":2}, | ||
92 | {"label":"FN", "x":11.25, "y":2, "w":1.25}, | ||
93 | {"label":"Ctrl", "x":0.75, "y":3}, | ||
94 | {"label":"Gui", "x":1.75, "y":3}, | ||
95 | {"label":"Alt", "x":2.75, "y":3}, | ||
96 | {"label":"Raise", "x":3.75, "y":3}, | ||
97 | {"label":"FN", "x":4.75, "y":3,"w":3}, | ||
98 | {"label":"Lower", "x":7.75, "y":3}, | ||
99 | {"label":"Left", "x":8.75, "y":3}, | ||
100 | {"label":"Down", "x":9.75, "y":3}, | ||
101 | {"label":"Right", "x":10.75, "y":3} | ||
102 | ] | ||
103 | }, | ||
104 | "LAYOUT_ortho_7u": { | ||
105 | "layout": [ | ||
106 | {"label":"Esc", "x":0, "y":0, "w":1.25}, | ||
107 | {"label":"Q", "x":1.25, "y":0}, | ||
108 | {"label":"W", "x":2.25, "y":0}, | ||
109 | {"label":"E", "x":3.25, "y":0}, | ||
110 | {"label":"R", "x":4.25, "y":0}, | ||
111 | {"label":"T", "x":5.25, "y":0}, | ||
112 | {"label":"Y", "x":6.25, "y":0}, | ||
113 | {"label":"U", "x":7.25, "y":0}, | ||
114 | {"label":"I", "x":8.25, "y":0}, | ||
115 | {"label":"O", "x":9.25, "y":0}, | ||
116 | {"label":"P", "x":10.25, "y":0}, | ||
117 | {"label":"Back<br>Space", "x":11.25, "y":0, "w":1.25}, | ||
118 | {"label":"Tab", "x":0, "y":1, "w":1.25}, | ||
119 | {"label":"A", "x":1.25, "y":1}, | ||
120 | {"label":"S", "x":2.25, "y":1}, | ||
121 | {"label":"D", "x":3.25, "y":1}, | ||
122 | {"label":"F", "x":4.25, "y":1}, | ||
123 | {"label":"G", "x":5.25, "y":1}, | ||
124 | {"label":"H", "x":6.25, "y":1}, | ||
125 | {"label":"J", "x":7.25, "y":1}, | ||
126 | {"label":"K", "x":8.25, "y":1}, | ||
127 | {"label":"L", "x":9.25, "y":1}, | ||
128 | {"label":"'", "x":10.25, "y":1}, | ||
129 | {"label":"Enter", "x":11.25, "y":1, "w":1.25}, | ||
130 | {"label":"Shift", "x":0, "y":2, "w":1.25}, | ||
131 | {"label":"Z", "x":1.25, "y":2}, | ||
132 | {"label":"X", "x":2.25, "y":2}, | ||
133 | {"label":"C", "x":3.25, "y":2}, | ||
134 | {"label":"V", "x":4.25, "y":2}, | ||
135 | {"label":"B", "x":5.25, "y":2}, | ||
136 | {"label":"N", "x":6.25, "y":2}, | ||
137 | {"label":"M", "x":7.25, "y":2}, | ||
138 | {"label":",", "x":8.25, "y":2}, | ||
139 | {"label":".", "x":9.25, "y":2}, | ||
140 | {"label":"Up", "x":10.25, "y":2}, | ||
141 | {"label":"FN", "x":11.25, "y":2, "w":1.25}, | ||
142 | {"label":"Ctrl", "x":0.75, "y":3}, | ||
143 | {"label":"Gui", "x":1.75, "y":3}, | ||
144 | {"label":"Space", "x":2.75, "y":3, "w":7}, | ||
145 | {"label":"Down", "x":9.75, "y":3}, | ||
146 | {"label":"Right", "x":10.75, "y":3} | ||
147 | ] | ||
148 | } | ||
149 | } | ||
150 | } | ||
diff --git a/keyboards/lazydesigners/dimple/ortho/keymaps/default/keymap.c b/keyboards/lazydesigners/dimple/ortho/keymaps/default/keymap.c new file mode 100644 index 000000000..6fd8f5875 --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/keymaps/default/keymap.c | |||
@@ -0,0 +1,53 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | #define LT2_TAB LT(2, KC_TAB) | ||
20 | #define LT1_SPC LT(1, KC_SPC) | ||
21 | |||
22 | /* | ||
23 | * ,------------------------------------------------------------------. | ||
24 | * |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | | ||
25 | * |------------------------------------------------------------------| | ||
26 | * |Tab/LT2| A | S | D | F | G | H | J | K | L | ' | |Enter| | ||
27 | * |------------------------------------------------------------------| | ||
28 | * | Shift | Z | X | C | V | B | N | M | , | . | Up | MO(2) | | ||
29 | * |------------------------------------------------------------------| | ||
30 | * |Ctrl|Gui |Alt | Spc/LT1 | MO(2)| Spc |Left|Down|Rght| | ||
31 | * `---------------------------------------------------------' | ||
32 | */ | ||
33 | |||
34 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
35 | [0] = LAYOUT_ortho_2u( | ||
36 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
37 | LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, | ||
38 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MO(2), | ||
39 | KC_LCTL, KC_LGUI, KC_RALT, LT1_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT | ||
40 | ), | ||
41 | [1] = LAYOUT_ortho_2u( | ||
42 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, | ||
43 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO, | ||
44 | KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
45 | KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO | ||
46 | ), | ||
47 | [2] = LAYOUT_ortho_2u( | ||
48 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
49 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
50 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
51 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
52 | ), | ||
53 | }; | ||
diff --git a/keyboards/lazydesigners/dimple/ortho/keymaps/via/keymap.c b/keyboards/lazydesigners/dimple/ortho/keymaps/via/keymap.c new file mode 100644 index 000000000..32b71b75d --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/keymaps/via/keymap.c | |||
@@ -0,0 +1,59 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | #define LT2_TAB LT(2, KC_TAB) | ||
20 | #define LT1_SPC LT(1, KC_SPC) | ||
21 | |||
22 | /* | ||
23 | * ,------------------------------------------------------------------. | ||
24 | * |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | | ||
25 | * |------------------------------------------------------------------| | ||
26 | * |Tab/LT2| A | S | D | F | G | H | J | K | L | ' | |Enter| | ||
27 | * |------------------------------------------------------------------| | ||
28 | * | Shift | Z | X | C | V | B | N | M | , | . | Up | MO(2) | | ||
29 | * |------------------------------------------------------------------| | ||
30 | * |Ctrl|Gui |Alt | Spc/LT1 | MO(2)| Spc |Left|Down|Rght| | ||
31 | * `---------------------------------------------------------' | ||
32 | */ | ||
33 | |||
34 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
35 | [0] = LAYOUT_ortho_2u( | ||
36 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
37 | LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, | ||
38 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, MO(2), | ||
39 | KC_LCTL, KC_LGUI, KC_RALT, LT1_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT | ||
40 | ), | ||
41 | [1] = LAYOUT_ortho_2u( | ||
42 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, | ||
43 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO, | ||
44 | KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
45 | KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO | ||
46 | ), | ||
47 | [2] = LAYOUT_ortho_2u( | ||
48 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
49 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
50 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
51 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
52 | ), | ||
53 | [3] = LAYOUT_ortho_2u( | ||
54 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
55 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
56 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
57 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
58 | ), | ||
59 | }; | ||
diff --git a/keyboards/lazydesigners/dimple/keymaps/via/rules.mk b/keyboards/lazydesigners/dimple/ortho/keymaps/via/rules.mk index 36b7ba9cb..36b7ba9cb 100644 --- a/keyboards/lazydesigners/dimple/keymaps/via/rules.mk +++ b/keyboards/lazydesigners/dimple/ortho/keymaps/via/rules.mk | |||
diff --git a/keyboards/lazydesigners/dimple/ortho/ortho.c b/keyboards/lazydesigners/dimple/ortho/ortho.c new file mode 100644 index 000000000..da76fde17 --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/ortho.c | |||
@@ -0,0 +1,15 @@ | |||
1 | /* | ||
2 | Copyright 2021 LAZYDESIGNERS | ||
3 | This program is free software: you can redistribute it and/or modify | ||
4 | it under the terms of the GNU General Public License as published by | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | This program is distributed in the hope that it will be useful, | ||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | GNU General Public License for more details. | ||
11 | You should have received a copy of the GNU General Public License | ||
12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
13 | */ | ||
14 | |||
15 | #include "ortho.h" | ||
diff --git a/keyboards/lazydesigners/dimple/ortho/ortho.h b/keyboards/lazydesigners/dimple/ortho/ortho.h new file mode 100644 index 000000000..592cf47de --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/ortho.h | |||
@@ -0,0 +1,91 @@ | |||
1 | /* | ||
2 | Copyright 2021 LAZYDESIGNERS | ||
3 | This program is free software: you can redistribute it and/or modify | ||
4 | it under the terms of the GNU General Public License as published by | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | This program is distributed in the hope that it will be useful, | ||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | GNU General Public License for more details. | ||
11 | You should have received a copy of the GNU General Public License | ||
12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
13 | */ | ||
14 | |||
15 | #pragma once | ||
16 | |||
17 | #include "quantum.h" | ||
18 | |||
19 | /* | ||
20 | * ,-------------------------------------------------------------. | ||
21 | * | | | | | | | | | | | | | | ||
22 | * |-------------------------------------------------------------| | ||
23 | * | | | | | | | | | | | | | | ||
24 | * |-------------------------------------------------------------| | ||
25 | * | | | | | | | | | | | | | | ||
26 | * |-------------------------------------------------------------| | ||
27 | * | | | | 2U | | 2U | | | | | ||
28 | * `------------------------------------------------------' | ||
29 | */ | ||
30 | |||
31 | #define LAYOUT_ortho_2u( \ | ||
32 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
33 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
34 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
35 | K300, K302, K303, K304, K305, K306, K307, K308, K309 \ | ||
36 | ) { \ | ||
37 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
38 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
39 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
40 | { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \ | ||
41 | } | ||
42 | |||
43 | /* | ||
44 | * ,-------------------------------------------------------------. | ||
45 | * | | | | | | | | | | | | | | ||
46 | * |-------------------------------------------------------------| | ||
47 | * | | | | | | | | | | | | | | ||
48 | * |-------------------------------------------------------------| | ||
49 | * | | | | | | | | | | | | | | ||
50 | * |-------------------------------------------------------------| | ||
51 | * | | | | | 3U | | | | | | ||
52 | * `------------------------------------------------------' | ||
53 | */ | ||
54 | |||
55 | #define LAYOUT_ortho_3u( \ | ||
56 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
57 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
58 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
59 | K300, K302, K303, K304, K305, K306, K307, K308, K309 \ | ||
60 | ) { \ | ||
61 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
62 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
63 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
64 | { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, KC_NO, KC_NO } \ | ||
65 | } | ||
66 | |||
67 | /* | ||
68 | * ,-------------------------------------------------------------. | ||
69 | * | | | | | | | | | | | | | | ||
70 | * |-------------------------------------------------------------| | ||
71 | * | | | | | | | | | | | | | | ||
72 | * |-------------------------------------------------------------| | ||
73 | * | | | | | | | | | | | | | | ||
74 | * |-------------------------------------------------------------| | ||
75 | * | | | 7U | | | | ||
76 | * `------------------------------------------------------' | ||
77 | */ | ||
78 | |||
79 | #define LAYOUT_ortho_7u( \ | ||
80 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
81 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
82 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
83 | K300, K302, K305, K308, K309 \ | ||
84 | ) { \ | ||
85 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
86 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
87 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
88 | { K300, KC_NO, K302, KC_NO, KC_NO, K305, KC_NO, KC_NO, K308, K309, KC_NO, KC_NO } \ | ||
89 | } | ||
90 | |||
91 | |||
diff --git a/keyboards/lazydesigners/dimple/ortho/rules.mk b/keyboards/lazydesigners/dimple/ortho/rules.mk new file mode 100644 index 000000000..902a3d4bb --- /dev/null +++ b/keyboards/lazydesigners/dimple/ortho/rules.mk | |||
@@ -0,0 +1,3 @@ | |||
1 | # Disable unsupported hardware | ||
2 | BACKLIGHT_SUPPORTED = no | ||
3 | RGBLIGHT_ENABLE = no | ||
diff --git a/keyboards/lazydesigners/dimple/readme.md b/keyboards/lazydesigners/dimple/readme.md index 04b4b438d..2e15cec2b 100644 --- a/keyboards/lazydesigners/dimple/readme.md +++ b/keyboards/lazydesigners/dimple/readme.md | |||
@@ -4,13 +4,22 @@ | |||
4 | 4 | ||
5 | A 40% custom keyboard designed and produced by [LazyDesigners](http://lazydesigners.cn). | 5 | A 40% custom keyboard designed and produced by [LazyDesigners](http://lazydesigners.cn). |
6 | 6 | ||
7 | Keyboard Maintainer: [Erovia](https://github.com/Erovia) | 7 | * Keyboard Maintainer: [Erovia](https://github.com/Erovia) / [Jacky@LAZYDESIGNERS](https://github.com/jackytrabbit) |
8 | Hardware Supported: Dimple | 8 | * Hardware Supported: Dimple by LAZYDESIGNERS |
9 | Hardware Availability: Check for GBs on [Geekhack](https://geekhack.org) and on [LazyDesigner's homepage.](http://lazydesigners.cn) | 9 | * Hardware Availability: Check on [LAZYDESIGNERS's homepage.](http://lazydesigners.cn) |
10 | |||
11 | Detail versions: | ||
12 | |||
13 | 1. Dimple Round 1 in 2019 (Use dimple/staggered/Rev1) | ||
14 | 2. Dimple Round 2 Hotswap in 2021 (Use dimple/staggered/Rev2) | ||
15 | 3. Dimple Round 2 Solder in 2021 (Use dimple/staggered/Rev3) | ||
16 | 4. Dimple Round 2 OrthoStrange (Use dimple/ortho) | ||
10 | 17 | ||
11 | Make example for this keyboard (after setting up your build environment): | 18 | Make example for this keyboard (after setting up your build environment): |
12 | 19 | ||
13 | make lazydesigners/dimple:default:dfu | 20 | make lazydesigners/dimple/staggered/rev1:default |
21 | make lazydesigners/dimple/staggered/rev2:default | ||
22 | make lazydesigners/dimple/ortho:default | ||
14 | 23 | ||
15 | To enter the bootloader, either short the pins on the PCB or the RESET button on the FN layer. | 24 | To enter the bootloader, either short the pins on the PCB or the RESET button on the FN layer. |
16 | 25 | ||
diff --git a/keyboards/lazydesigners/dimple/rules.mk b/keyboards/lazydesigners/dimple/rules.mk index 0581d54ba..ee586a38e 100644 --- a/keyboards/lazydesigners/dimple/rules.mk +++ b/keyboards/lazydesigners/dimple/rules.mk | |||
@@ -8,12 +8,16 @@ BOOTLOADER = atmel-dfu | |||
8 | # change yes to no to disable | 8 | # change yes to no to disable |
9 | # | 9 | # |
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite |
11 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
13 | NKRO_ENABLE = yes # Enable N-Key Rollover | 15 | NKRO_ENABLE = yes # Enable N-Key Rollover |
14 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
15 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
18 | AUDIO_ENABLE = no # Audio output | ||
19 | |||
16 | 20 | ||
17 | # Disable unsupported hardware | 21 | # Disable unsupported hardware |
18 | AUDIO_SUPPORTED = no | 22 | AUDIO_SUPPORTED = no |
19 | BACKLIGHT_SUPPORTED = no | 23 | DEFAULT_FOLDER = lazydesigners/dimple/staggered/rev1 |
diff --git a/keyboards/lazydesigners/dimple/info.json b/keyboards/lazydesigners/dimple/staggered/info.json index 4cfa1e6f1..4cfa1e6f1 100644 --- a/keyboards/lazydesigners/dimple/info.json +++ b/keyboards/lazydesigners/dimple/staggered/info.json | |||
diff --git a/keyboards/lazydesigners/dimple/keymaps/default/keymap.c b/keyboards/lazydesigners/dimple/staggered/keymaps/default/keymap.c index d23c8e8a6..65b81ff4e 100644 --- a/keyboards/lazydesigners/dimple/keymaps/default/keymap.c +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/default/keymap.c | |||
@@ -108,14 +108,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
108 | ), | 108 | ), |
109 | }; | 109 | }; |
110 | 110 | ||
111 | void led_set_user(uint8_t usb_led) { | 111 | #ifdef KEYBOARD_lazydesigner_dimple_staggered_rev1 |
112 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { | ||
113 | dimple_led_on(); | ||
114 | } else { | ||
115 | dimple_led_off(); | ||
116 | } | ||
117 | } | ||
118 | |||
119 | layer_state_t layer_state_set_user(layer_state_t state) { | 112 | layer_state_t layer_state_set_user(layer_state_t state) { |
120 | state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | 113 | state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
121 | switch (get_highest_layer(state)) { | 114 | switch (get_highest_layer(state)) { |
@@ -134,3 +127,4 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
134 | } | 127 | } |
135 | return state; | 128 | return state; |
136 | } | 129 | } |
130 | #endif | ||
diff --git a/keyboards/lazydesigners/dimple/keymaps/default/readme.md b/keyboards/lazydesigners/dimple/staggered/keymaps/default/readme.md index c334b6c36..c334b6c36 100644 --- a/keyboards/lazydesigners/dimple/keymaps/default/readme.md +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/default/readme.md | |||
diff --git a/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/config.h b/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/config.h new file mode 100644 index 000000000..214ff982c --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/config.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #define TAPPING_TERM 170 | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/keymap.c b/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/keymap.c new file mode 100644 index 000000000..6f893e187 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/keymap.c | |||
@@ -0,0 +1,162 @@ | |||
1 | /* Copyright 2019 Erovia | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | #include "erovia.h" | ||
18 | |||
19 | // Left space on tap, LOWER on hold | ||
20 | #define SPC_LOW LT(_LOWER, KC_TAB) | ||
21 | // Left space on tap, UPPER on hold | ||
22 | #define SPC_UPR LT(_RAISE, KC_SPC) | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | |||
26 | /* | ||
27 | * ,---------------------------------------------------------------. | ||
28 | * | ` | Q | W | E | R | T | Y | U | I | O | P | Bspc | | ||
29 | * |---------------------------------------------------------------| | ||
30 | * | Esc | A | S | D | F | G | H | J | K | L | ' | . | | ||
31 | * |---------------------------------------------------------------| | ||
32 | * | Shift | Z | X | C | V | B | N | M | , | . | Enter | | ||
33 | * |---------------------------------------------------------------| | ||
34 | * |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse | | | | | ||
35 | * `-----------------------------------------------------' | ||
36 | */ | ||
37 | |||
38 | [_QWERTY] = LAYOUT( | ||
39 | KC_GRV, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
40 | VIM_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_DOT, | ||
41 | TD_SHFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TD_ENTR, | ||
42 | KC_LCTL, KC_LGUI, KC_LALT, SPC_LOW, SPC_UPR, KC_NO, KC_NO, KC_NO | ||
43 | ), | ||
44 | |||
45 | /* | ||
46 | * ,---------------------------------------------------------------. | ||
47 | * | ` | Q | W | E | R | T | Y | U | I | O | P | Bspc | | ||
48 | * |---------------------------------------------------------------| | ||
49 | * | Esc | A | S | D | F | G | H | J | K | L | ' | ' | | ||
50 | * |---------------------------------------------------------------| | ||
51 | * | Shift | Z | X | C | V | B | N | M | , | . | Enter | | ||
52 | * |---------------------------------------------------------------| | ||
53 | * |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse | | | | | ||
54 | * `-----------------------------------------------------' | ||
55 | */ | ||
56 | |||
57 | [_COLEMAK] = LAYOUT( | ||
58 | KC_GRV, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | ||
59 | VIM_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | ||
60 | TD_SHFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, TD_ENTR, | ||
61 | KC_LCTL, KC_LGUI, KC_LALT, SPC_LOW, SPC_UPR, KC_NO, KC_NO, KC_NO | ||
62 | ), | ||
63 | |||
64 | /* | ||
65 | * ,---------------------------------------------------------------. | ||
66 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | | | ||
67 | * |---------------------------------------------------------------| | ||
68 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
69 | * |---------------------------------------------------------------| | ||
70 | * | | F7 | F8 | F9 |F10 |F11 |F12 | | ; |PgUp| / | | ||
71 | * |---------------------------------------------------------------| | ||
72 | * | | | | | |Home|PgDn|End | | ||
73 | * `-----------------------------------------------------' | ||
74 | */ | ||
75 | |||
76 | [_LOWER] = LAYOUT( | ||
77 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TRNS, | ||
78 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
79 | KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_SCLN, KC_PGUP, KC_SLSH, | ||
80 | KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END | ||
81 | ), | ||
82 | |||
83 | /* | ||
84 | * ,---------------------------------------------------------------. | ||
85 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | | ||
86 | * |---------------------------------------------------------------| | ||
87 | * | Ins | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
88 | * |---------------------------------------------------------------| | ||
89 | * | | F7 | F8 | F9 |F10 |F11 |F12 | | | | | | ||
90 | * |---------------------------------------------------------------| | ||
91 | * |VolD|Mute|VolU| | | | | | | ||
92 | * `-----------------------------------------------------' | ||
93 | */ | ||
94 | |||
95 | [_RAISE] = LAYOUT( | ||
96 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, | ||
97 | KC_INS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
98 | KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, | ||
99 | KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO | ||
100 | ), | ||
101 | |||
102 | /* | ||
103 | * ,---------------------------------------------------------------. | ||
104 | * |EEPR|RST | | | | | | | | | | | | ||
105 | * |---------------------------------------------------------------| | ||
106 | * |Leader| | | | | | | | | | | | | ||
107 | * |---------------------------------------------------------------| | ||
108 | * | | | | | | | | | | | | | ||
109 | * |---------------------------------------------------------------| | ||
110 | * |RGB-|RGB |RGB+| | | | | | | ||
111 | * `-----------------------------------------------------' | ||
112 | */ | ||
113 | |||
114 | [_ADJUST] = LAYOUT( | ||
115 | EEP_RST, RESET, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
116 | KC_LEAD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, QWERTY, COLEMAK, KC_NO, KC_NO, KC_NO, KC_NO, | ||
117 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
118 | RGB_VAD, RGB_TOG, RGB_VAI, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
119 | ), | ||
120 | |||
121 | /* | ||
122 | * ,---------------------------------------------------------------. | ||
123 | * | | | | | | | | | | | | | | ||
124 | * |---------------------------------------------------------------| | ||
125 | * | | | | | | | H | J | K | L | | | | ||
126 | * |---------------------------------------------------------------| | ||
127 | * | | | | | | | | | |Up | | | ||
128 | * |---------------------------------------------------------------| | ||
129 | * | | | | | |Left|Down|Rght| | ||
130 | * `-----------------------------------------------------' | ||
131 | */ | ||
132 | |||
133 | [_VIM] = LAYOUT( | ||
134 | EEP_RST, RESET, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
135 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_H, KC_J, KC_K, KC_L, KC_NO, KC_NO, | ||
136 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, | ||
137 | RGB_VAD, RGB_TOG, RGB_VAI, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT | ||
138 | ), | ||
139 | }; | ||
140 | |||
141 | layer_state_t layer_state_set_keymap(layer_state_t state) { | ||
142 | state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | ||
143 | switch (biton32(state)) { | ||
144 | case _LOWER: | ||
145 | rgblight_sethsv_noeeprom(HSV_GREEN); | ||
146 | break; | ||
147 | case _RAISE: | ||
148 | rgblight_sethsv_noeeprom(HSV_GOLD); | ||
149 | break; | ||
150 | case _ADJUST: | ||
151 | rgblight_sethsv_noeeprom(HSV_RED); | ||
152 | break; | ||
153 | default: | ||
154 | rgblight_sethsv_noeeprom(HSV_WHITE); | ||
155 | break; | ||
156 | } | ||
157 | return state; | ||
158 | } | ||
159 | |||
160 | void keyboard_post_init_user(void) { | ||
161 | dimple_led_off(); | ||
162 | } | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/readme.md b/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/readme.md new file mode 100644 index 000000000..c334b6c36 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/erovia/readme.md | |||
@@ -0,0 +1,60 @@ | |||
1 | # The default keymap for Dimple | ||
2 | |||
3 | **Features** | ||
4 | |||
5 | * Shift acts as CapsLock when tapped | ||
6 | * Left space: space on tap, Lower layer on hold | ||
7 | * Right space: space on tap, Raise layer on hold | ||
8 | * Both space: Adjust layer on hold | ||
9 | |||
10 | ## QWERTY (Normal) Layer | ||
11 | ``` | ||
12 | ,---------------------------------------------------------------. | ||
13 | |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | | ||
14 | |---------------------------------------------------------------| | ||
15 | | Tab | A | S | D | F | G | H | J | K | L | ' |Enter | | ||
16 | |---------------------------------------------------------------| | ||
17 | | Shift | Z | X | C | V | B | N | M | , | Up | . | | ||
18 | |---------------------------------------------------------------| | ||
19 | |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse |Left|Down|Rght| | ||
20 | `-----------------------------------------------------' | ||
21 | ``` | ||
22 | |||
23 | ## Lower Layer | ||
24 | ``` | ||
25 | ,---------------------------------------------------------------. | ||
26 | | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | | | ||
27 | |---------------------------------------------------------------| | ||
28 | | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
29 | |---------------------------------------------------------------| | ||
30 | | | F7 | F8 | F9 |F10 |F11 |F12 | | ; |PgUp| / | | ||
31 | |---------------------------------------------------------------| | ||
32 | | | | | | |Home|PgDn|End | | ||
33 | `-----------------------------------------------------' | ||
34 | ``` | ||
35 | |||
36 | ## Raise Layer | ||
37 | ``` | ||
38 | ,---------------------------------------------------------------. | ||
39 | | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | | ||
40 | |---------------------------------------------------------------| | ||
41 | | Ins | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
42 | |---------------------------------------------------------------| | ||
43 | | | F7 | F8 | F9 |F10 |F11 |F12 | | | | | | ||
44 | |---------------------------------------------------------------| | ||
45 | |VolD|Mute|VolU| | | | | | | ||
46 | `-----------------------------------------------------' | ||
47 | ``` | ||
48 | |||
49 | ## Adjust Layer | ||
50 | ``` | ||
51 | ,---------------------------------------------------------------. | ||
52 | |EEPR|RST | | | | | | | | | | | | ||
53 | |---------------------------------------------------------------| | ||
54 | | | | | | | | | | | | | | | ||
55 | |---------------------------------------------------------------| | ||
56 | | | | | | | | | | | | | | ||
57 | |---------------------------------------------------------------| | ||
58 | |RGB-|RGB |RGB+| | | | | | | ||
59 | `-----------------------------------------------------' | ||
60 | ``` | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/keymaps/oncesavedgaming/keymap.c b/keyboards/lazydesigners/dimple/staggered/keymaps/oncesavedgaming/keymap.c new file mode 100644 index 000000000..e4b4161b0 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/oncesavedgaming/keymap.c | |||
@@ -0,0 +1,23 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | [0] = LAYOUT(KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT(KC_SLSH), KC_DEL, KC_ESC, KC_LALT, KC_SPC, LT(1,KC_SPC), KC_RALT, KC_RGUI, KC_LCTL), | ||
21 | [1] = LAYOUT(KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, RESET, RGB_SPI, RGB_SPD, RGB_M_P, RGB_M_B, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, KC_SCLN, KC_NO, KC_LSFT, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_VAI, RGB_VAD, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, KC_NO, MO(2), KC_NO, KC_LEFT, KC_DOWN, KC_RGHT), | ||
22 | [2] = LAYOUT(KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO) | ||
23 | }; | ||
diff --git a/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c b/keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c index cdaade987..cdaade987 100644 --- a/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/tominabox1/keymap.c | |||
diff --git a/keyboards/lazydesigners/dimple/keymaps/via/keymap.c b/keyboards/lazydesigners/dimple/staggered/keymaps/via/keymap.c index d3bfed176..d3bfed176 100644 --- a/keyboards/lazydesigners/dimple/keymaps/via/keymap.c +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/via/keymap.c | |||
diff --git a/keyboards/lazydesigners/dimple/staggered/keymaps/via/rules.mk b/keyboards/lazydesigners/dimple/staggered/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev1/config.h b/keyboards/lazydesigners/dimple/staggered/rev1/config.h new file mode 100644 index 000000000..b62f3c419 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev1/config.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #define LED_CAPS_LOCK_PIN E6 | ||
20 | #define LED_PIN_ON_STATE 0 | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev1/rules.mk b/keyboards/lazydesigners/dimple/staggered/rev1/rules.mk new file mode 100644 index 000000000..2fdb308d1 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev1/rules.mk | |||
@@ -0,0 +1,4 @@ | |||
1 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
2 | |||
3 | # Disable unsupported hardware | ||
4 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev2/rules.mk b/keyboards/lazydesigners/dimple/staggered/rev2/rules.mk new file mode 100644 index 000000000..1961392f2 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev2/rules.mk | |||
@@ -0,0 +1,4 @@ | |||
1 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
2 | |||
3 | # Disable unsupported hardware | ||
4 | RGBLIGHT_ENABLE = no | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/config.h b/keyboards/lazydesigners/dimple/staggered/rev3/config.h new file mode 100644 index 000000000..cc32223f3 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev3/config.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #pragma once | ||
18 | |||
19 | #define BACKLIGHT_PIN B7 | ||
20 | // #define BACKLIGHT_BREATHING | ||
21 | #define BACKLIGHT_LEVELS 3 | ||
22 | |||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/info.json b/keyboards/lazydesigners/dimple/staggered/rev3/info.json new file mode 100644 index 000000000..eb1d8b14d --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev3/info.json | |||
@@ -0,0 +1,144 @@ | |||
1 | { | ||
2 | "keyboard_name": "Dimple", | ||
3 | "url": "http://lazydesigners.cn", | ||
4 | "maintainer": "Jacky@LAZYDESIGNERS", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [ | ||
8 | {"label":"Esc", "x":0, "y":0}, | ||
9 | {"label":"Q", "x":1, "y":0}, | ||
10 | {"label":"W", "x":2, "y":0}, | ||
11 | {"label":"E", "x":3, "y":0}, | ||
12 | {"label":"R", "x":4, "y":0}, | ||
13 | {"label":"T", "x":5, "y":0}, | ||
14 | {"label":"Y", "x":6, "y":0}, | ||
15 | {"label":"U", "x":7, "y":0}, | ||
16 | {"label":"I", "x":8, "y":0}, | ||
17 | {"label":"O", "x":9, "y":0}, | ||
18 | {"label":"P", "x":10, "y":0}, | ||
19 | {"label":"Back<br>Space", "x":11, "y":0, "w":1.5}, | ||
20 | {"label":"Tab", "x":0, "y":1, "w":1.25}, | ||
21 | {"label":"A", "x":1.25, "y":1}, | ||
22 | {"label":"S", "x":2.25, "y":1}, | ||
23 | {"label":"D", "x":3.25, "y":1}, | ||
24 | {"label":"F", "x":4.25, "y":1}, | ||
25 | {"label":"G", "x":5.25, "y":1}, | ||
26 | {"label":"H", "x":6.25, "y":1}, | ||
27 | {"label":"J", "x":7.25, "y":1}, | ||
28 | {"label":"K", "x":8.25, "y":1}, | ||
29 | {"label":"L", "x":9.25, "y":1}, | ||
30 | {"label":"'", "x":10.25, "y":1}, | ||
31 | {"label":"Enter", "x":11.25, "y":1, "w":1.25}, | ||
32 | {"label":"Shift", "x":0, "y":2, "w":1.75}, | ||
33 | {"label":"Z", "x":1.75, "y":2}, | ||
34 | {"label":"X", "x":2.75, "y":2}, | ||
35 | {"label":"C", "x":3.75, "y":2}, | ||
36 | {"label":"V", "x":4.75, "y":2}, | ||
37 | {"label":"B", "x":5.75, "y":2}, | ||
38 | {"label":"N", "x":6.75, "y":2}, | ||
39 | {"label":"M", "x":7.75, "y":2}, | ||
40 | {"label":",", "x":8.75, "y":2}, | ||
41 | {"label":"Up", "x":9.75, "y":2}, | ||
42 | {"label":".", "x":10.75, "y":2, "w":1.75}, | ||
43 | {"label":"Ctrl", "x":0.75, "y":3}, | ||
44 | {"label":"Gui", "x":1.75, "y":3}, | ||
45 | {"label":"Alt", "x":2.75, "y":3}, | ||
46 | {"label":"Space", "x":3.75, "y":3, "w":2.25}, | ||
47 | {"label":"Space", "x":6, "y":3, "w":2.75}, | ||
48 | {"label":"Left", "x":8.75, "y":3}, | ||
49 | {"label":"Down", "x":9.75, "y":3}, | ||
50 | {"label":"Right", "x":10.75, "y":3} | ||
51 | ] | ||
52 | }, | ||
53 | "LAYOUT_iso": { | ||
54 | "layout": [ | ||
55 | {"label":"Esc", "x":0, "y":0}, | ||
56 | {"label":"Q", "x":1, "y":0}, | ||
57 | {"label":"W", "x":2, "y":0}, | ||
58 | {"label":"E", "x":3, "y":0}, | ||
59 | {"label":"R", "x":4, "y":0}, | ||
60 | {"label":"T", "x":5, "y":0}, | ||
61 | {"label":"Y", "x":6, "y":0}, | ||
62 | {"label":"U", "x":7, "y":0}, | ||
63 | {"label":"I", "x":8, "y":0}, | ||
64 | {"label":"O", "x":9, "y":0}, | ||
65 | {"label":"P", "x":10, "y":0}, | ||
66 | {"label":"Tab", "x":0, "y":1, "w":1.25}, | ||
67 | {"label":"A", "x":1.25, "y":1}, | ||
68 | {"label":"S", "x":2.25, "y":1}, | ||
69 | {"label":"D", "x":3.25, "y":1}, | ||
70 | {"label":"F", "x":4.25, "y":1}, | ||
71 | {"label":"G", "x":5.25, "y":1}, | ||
72 | {"label":"H", "x":6.25, "y":1}, | ||
73 | {"label":"J", "x":7.25, "y":1}, | ||
74 | {"label":"K", "x":8.25, "y":1}, | ||
75 | {"label":"L", "x":9.25, "y":1}, | ||
76 | {"label":"'", "x":10.25, "y":1}, | ||
77 | {"label":"Enter", "x":11.25, "y":0, "w":1.25,"h":2}, | ||
78 | {"label":"Shift", "x":0, "y":2, "w":1.75}, | ||
79 | {"label":"Z", "x":1.75, "y":2}, | ||
80 | {"label":"X", "x":2.75, "y":2}, | ||
81 | {"label":"C", "x":3.75, "y":2}, | ||
82 | {"label":"V", "x":4.75, "y":2}, | ||
83 | {"label":"B", "x":5.75, "y":2}, | ||
84 | {"label":"N", "x":6.75, "y":2}, | ||
85 | {"label":"M", "x":7.75, "y":2}, | ||
86 | {"label":",", "x":8.75, "y":2}, | ||
87 | {"label":"Up", "x":9.75, "y":2}, | ||
88 | {"label":".", "x":10.75, "y":2, "w":1.75}, | ||
89 | {"label":"Ctrl", "x":0.75, "y":3}, | ||
90 | {"label":"Gui", "x":1.75, "y":3}, | ||
91 | {"label":"Alt", "x":2.75, "y":3}, | ||
92 | {"label":"Space", "x":3.75, "y":3, "w":2.25}, | ||
93 | {"label":"Space", "x":6, "y":3, "w":2.75}, | ||
94 | {"label":"Left", "x":8.75, "y":3}, | ||
95 | {"label":"Down", "x":9.75, "y":3}, | ||
96 | {"label":"Right", "x":10.75, "y":3} | ||
97 | ] | ||
98 | }, | ||
99 | "LAYOUT_7u": { | ||
100 | "layout": [ | ||
101 | {"label":"Esc", "x":0, "y":0}, | ||
102 | {"label":"Q", "x":1, "y":0}, | ||
103 | {"label":"W", "x":2, "y":0}, | ||
104 | {"label":"E", "x":3, "y":0}, | ||
105 | {"label":"R", "x":4, "y":0}, | ||
106 | {"label":"T", "x":5, "y":0}, | ||
107 | {"label":"Y", "x":6, "y":0}, | ||
108 | {"label":"U", "x":7, "y":0}, | ||
109 | {"label":"I", "x":8, "y":0}, | ||
110 | {"label":"O", "x":9, "y":0}, | ||
111 | {"label":"P", "x":10, "y":0}, | ||
112 | {"label":"Back<br>Space", "x":11, "y":0, "w":1.5}, | ||
113 | {"label":"Tab", "x":0, "y":1, "w":1.25}, | ||
114 | {"label":"A", "x":1.25, "y":1}, | ||
115 | {"label":"S", "x":2.25, "y":1}, | ||
116 | {"label":"D", "x":3.25, "y":1}, | ||
117 | {"label":"F", "x":4.25, "y":1}, | ||
118 | {"label":"G", "x":5.25, "y":1}, | ||
119 | {"label":"H", "x":6.25, "y":1}, | ||
120 | {"label":"J", "x":7.25, "y":1}, | ||
121 | {"label":"K", "x":8.25, "y":1}, | ||
122 | {"label":"L", "x":9.25, "y":1}, | ||
123 | {"label":"'", "x":10.25, "y":1}, | ||
124 | {"label":"Enter", "x":11.25, "y":1, "w":1.25}, | ||
125 | {"label":"Shift", "x":0, "y":2, "w":1.75}, | ||
126 | {"label":"Z", "x":1.75, "y":2}, | ||
127 | {"label":"X", "x":2.75, "y":2}, | ||
128 | {"label":"C", "x":3.75, "y":2}, | ||
129 | {"label":"V", "x":4.75, "y":2}, | ||
130 | {"label":"B", "x":5.75, "y":2}, | ||
131 | {"label":"N", "x":6.75, "y":2}, | ||
132 | {"label":"M", "x":7.75, "y":2}, | ||
133 | {"label":",", "x":8.75, "y":2}, | ||
134 | {"label":"Up", "x":9.75, "y":2}, | ||
135 | {"label":".", "x":10.75, "y":2, "w":1.75}, | ||
136 | {"label":"Ctrl", "x":0.75, "y":3}, | ||
137 | {"label":"Gui", "x":1.75, "y":3}, | ||
138 | {"label":"Space", "x":2.75, "y":3, "w":7}, | ||
139 | {"label":"Down", "x":9.75, "y":3}, | ||
140 | {"label":"Right", "x":10.75, "y":3} | ||
141 | ] | ||
142 | } | ||
143 | } | ||
144 | } | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/keymaps/default/keymap.c b/keyboards/lazydesigners/dimple/staggered/rev3/keymaps/default/keymap.c new file mode 100644 index 000000000..ca20b0020 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev3/keymaps/default/keymap.c | |||
@@ -0,0 +1,54 @@ | |||
1 | /* Copyright 2021 LAZYDESIGNERS | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | #define LT2_TAB LT(2, KC_TAB) | ||
20 | #define LT1_SPC LT(1, KC_SPC) | ||
21 | |||
22 | /* | ||
23 | * ,---------------------------------------------------------------. | ||
24 | * |Esc | Q | W | E | R | T | Y | U | I | O | P | Bspc | | ||
25 | * |---------------------------------------------------------------| | ||
26 | * |Tab/LT2| A | S | D | F | G | H | J | K | L | ' |Enter| | ||
27 | * |---------------------------------------------------------------| | ||
28 | * | Shift | Z | X | C | V | B | N | M | , | Up | MO(2) | | ||
29 | * |---------------------------------------------------------------| | ||
30 | * |Ctrl|Gui |Alt | Spc/LT1 | Spc |Left|Down|Rght| | ||
31 | * `-----------------------------------------------------' | ||
32 | */ | ||
33 | |||
34 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
35 | [0] = LAYOUT_all( | ||
36 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
37 | LT2_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, | ||
38 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_UP, MO(2), | ||
39 | KC_LCTL, KC_LGUI, KC_RALT, LT1_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT | ||
40 | ), | ||
41 | [1] = LAYOUT_all( | ||
42 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, | ||
43 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_NO, | ||
44 | KC_NO, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, | ||
45 | KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO | ||
46 | ), | ||
47 | [2] = LAYOUT_all( | ||
48 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
49 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
50 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
51 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO | ||
52 | ), | ||
53 | }; | ||
54 | |||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/rev3.c b/keyboards/lazydesigners/dimple/staggered/rev3/rev3.c new file mode 100644 index 000000000..afa1d38b6 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev3/rev3.c | |||
@@ -0,0 +1,16 @@ | |||
1 | /* Copyright 2019 Erovia | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include "rev3.h" | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/rev3.h b/keyboards/lazydesigners/dimple/staggered/rev3/rev3.h new file mode 100644 index 000000000..2aec210d9 --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev3/rev3.h | |||
@@ -0,0 +1,90 @@ | |||
1 | /* Copyright 2019 Erovia | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #pragma once | ||
17 | |||
18 | #include "quantum.h" | ||
19 | |||
20 | /* | ||
21 | * ,---------------------------------------------------------------. | ||
22 | * | | | | | | | | | | | | | | ||
23 | * |---------------------------------------------------------------| | ||
24 | * | | | | | | | | | | | | | | ||
25 | * |---------------------------------------------------------------| | ||
26 | * | | | | | | | | | | | | | ||
27 | * |---------------------------------------------------------------| | ||
28 | * | | | | | | | | | | ||
29 | * `-----------------------------------------------------' | ||
30 | */ | ||
31 | |||
32 | #define LAYOUT_all( \ | ||
33 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
34 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
35 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
36 | K300, K302, K303, K304, K306, K307, K308, K309 \ | ||
37 | ) { \ | ||
38 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
39 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
40 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \ | ||
41 | { K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \ | ||
42 | } | ||
43 | |||
44 | /* | ||
45 | * ,---------------------------------------------------------------. | ||
46 | * | | | | | | | | | | | | | | ||
47 | * |-------------------------------------------------------- | | ||
48 | * | | | | | | | | | | | | | | ||
49 | * |---------------------------------------------------------------| | ||
50 | * | | | | | | | | | | | | | ||
51 | * |---------------------------------------------------------------| | ||
52 | * | | | | | | | | | | ||
53 | * `-----------------------------------------------------' | ||
54 | */ | ||
55 | |||
56 | #define LAYOUT_iso( \ | ||
57 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, \ | ||
58 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
59 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
60 | K300, K302, K303, K304, K306, K307, K308, K309 \ | ||
61 | ) { \ | ||
62 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, KC_NO }, \ | ||
63 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
64 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \ | ||
65 | { K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \ | ||
66 | } | ||
67 | |||
68 | /* | ||
69 | * ,---------------------------------------------------------------. | ||
70 | * | | | | | | | | | | | | | | ||
71 | * |---------------------------------------------------------------| | ||
72 | * | | | | | | | | | | | | | | ||
73 | * |---------------------------------------------------------------| | ||
74 | * | | | | | | | | | | | | | ||
75 | * |---------------------------------------------------------------| | ||
76 | * | | | | | | | ||
77 | * `-----------------------------------------------------' | ||
78 | */ | ||
79 | |||
80 | #define LAYOUT_7u( \ | ||
81 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
82 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ | ||
83 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \ | ||
84 | K300, K302, K304, K308, K309 \ | ||
85 | ) { \ | ||
86 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
87 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \ | ||
88 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \ | ||
89 | { K300, KC_NO, K302, KC_NO, K304, KC_NO, KC_NO, KC_NO, K308, K309, KC_NO, KC_NO } \ | ||
90 | } | ||
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/rules.mk b/keyboards/lazydesigners/dimple/staggered/rev3/rules.mk new file mode 100644 index 000000000..b3b1cc58a --- /dev/null +++ b/keyboards/lazydesigners/dimple/staggered/rev3/rules.mk | |||
@@ -0,0 +1,4 @@ | |||
1 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
2 | |||
3 | # Disable unsupported hardware | ||
4 | RGBLIGHT_ENABLE = no | ||
diff --git a/keyboards/lazydesigners/dimple/dimple.c b/keyboards/lazydesigners/dimple/staggered/staggered.c index 6bbb9a047..2cd8c018d 100644 --- a/keyboards/lazydesigners/dimple/dimple.c +++ b/keyboards/lazydesigners/dimple/staggered/staggered.c | |||
@@ -13,18 +13,11 @@ | |||
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #include "dimple.h" | 16 | #include "staggered.h" |
17 | |||
18 | void dimple_led_on() { | 17 | void dimple_led_on() { |
19 | writePinLow(E6); | 18 | writePinLow(E6); |
20 | } | 19 | } |
21 | |||
22 | void dimple_led_off() { | ||
23 | writePinHigh(E6); | ||
24 | } | ||
25 | 20 | ||
26 | void keyboard_pre_init_kb(void) { | 21 | void dimple_led_off() { |
27 | // Initialize Caps Lock LED | 22 | writePinHigh(E6); |
28 | setPinOutput(E6); | 23 | } |
29 | keyboard_pre_init_user(); | ||
30 | } | ||
diff --git a/keyboards/lazydesigners/dimple/dimple.h b/keyboards/lazydesigners/dimple/staggered/staggered.h index ba8a413ed..433de3b89 100644 --- a/keyboards/lazydesigners/dimple/dimple.h +++ b/keyboards/lazydesigners/dimple/staggered/staggered.h | |||
@@ -41,6 +41,5 @@ | |||
41 | { K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \ | 41 | { K300, KC_NO, K302, K303, K304, KC_NO, K306, K307, K308, K309, KC_NO, KC_NO } \ |
42 | } | 42 | } |
43 | 43 | ||
44 | |||
45 | void dimple_led_on(void); | 44 | void dimple_led_on(void); |
46 | void dimple_led_off(void); | 45 | void dimple_led_off(void); |