diff options
Diffstat (limited to 'keyboards/delikeeb')
73 files changed, 4245 insertions, 0 deletions
diff --git a/keyboards/delikeeb/flatbread60/config.h b/keyboards/delikeeb/flatbread60/config.h new file mode 100644 index 000000000..5d63a8f5f --- /dev/null +++ b/keyboards/delikeeb/flatbread60/config.h | |||
@@ -0,0 +1,122 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x9906 | ||
24 | #define PRODUCT_ID 0x0000 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER delikeeb | ||
27 | #define PRODUCT Flatbread60 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { F6, B1, B3, B2, B6 } | ||
44 | #define MATRIX_COL_PINS { F4, F5, B5, B4, E6, D7, C6, D4, D0, D1, D2, D3 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL*/ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | // #define BACKLIGHT_PIN B7 | ||
51 | // #define BACKLIGHT_BREATHING | ||
52 | // #define BACKLIGHT_LEVELS 3 | ||
53 | |||
54 | #define RGB_DI_PIN F7 | ||
55 | #ifdef RGB_DI_PIN | ||
56 | #define RGBLED_NUM 19 | ||
57 | #define RGBLIGHT_HUE_STEP 8 | ||
58 | #define RGBLIGHT_SAT_STEP 8 | ||
59 | #define RGBLIGHT_VAL_STEP 8 | ||
60 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
61 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
62 | /*== all animations enable ==*/ | ||
63 | #define RGBLIGHT_ANIMATIONS | ||
64 | |||
65 | #endif | ||
66 | |||
67 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
68 | #define DEBOUNCE 5 | ||
69 | |||
70 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
71 | //#define MATRIX_HAS_GHOST | ||
72 | |||
73 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
74 | #define LOCKING_SUPPORT_ENABLE | ||
75 | /* Locking resynchronize hack */ | ||
76 | #define LOCKING_RESYNC_ENABLE | ||
77 | |||
78 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
79 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
80 | */ | ||
81 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
82 | |||
83 | /* | ||
84 | * Force NKRO | ||
85 | * | ||
86 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
87 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
88 | * makefile for this to work.) | ||
89 | * | ||
90 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
91 | * until the next keyboard reset. | ||
92 | * | ||
93 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
94 | * fully operational during normal computer usage. | ||
95 | * | ||
96 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
97 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
98 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
99 | * power-up. | ||
100 | * | ||
101 | */ | ||
102 | //#define FORCE_NKRO | ||
103 | |||
104 | /* | ||
105 | * Feature disable options | ||
106 | * These options are also useful to firmware size reduction. | ||
107 | */ | ||
108 | |||
109 | /* disable debug print */ | ||
110 | //#define NO_DEBUG | ||
111 | |||
112 | /* disable print */ | ||
113 | //#define NO_PRINT | ||
114 | |||
115 | /* disable action features */ | ||
116 | //#define NO_ACTION_LAYER | ||
117 | //#define NO_ACTION_TAPPING | ||
118 | //#define NO_ACTION_ONESHOT | ||
119 | |||
120 | /* disable these deprecated features by default */ | ||
121 | #define NO_ACTION_MACRO | ||
122 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/delikeeb/flatbread60/flatbread60.c b/keyboards/delikeeb/flatbread60/flatbread60.c new file mode 100644 index 000000000..0cbc26553 --- /dev/null +++ b/keyboards/delikeeb/flatbread60/flatbread60.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "flatbread60.h" | ||
18 | |||
diff --git a/keyboards/delikeeb/flatbread60/flatbread60.h b/keyboards/delikeeb/flatbread60/flatbread60.h new file mode 100644 index 000000000..3fb8d7a6f --- /dev/null +++ b/keyboards/delikeeb/flatbread60/flatbread60.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT_ortho_5x12( \ | ||
30 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, \ | ||
31 | k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, \ | ||
32 | k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, \ | ||
33 | k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48, \ | ||
34 | k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 \ | ||
35 | ) \ | ||
36 | { \ | ||
37 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12 }, \ | ||
38 | { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24 }, \ | ||
39 | { k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36 }, \ | ||
40 | { k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ | ||
41 | { k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 } \ | ||
42 | } | ||
diff --git a/keyboards/delikeeb/flatbread60/info.json b/keyboards/delikeeb/flatbread60/info.json new file mode 100644 index 000000000..6de1a7e82 --- /dev/null +++ b/keyboards/delikeeb/flatbread60/info.json | |||
@@ -0,0 +1,251 @@ | |||
1 | { | ||
2 | "keyboard_name": "flatbread60", | ||
3 | "url": "", | ||
4 | "maintainer": "noclew", | ||
5 | "layouts": { | ||
6 | "LAYOUT_ortho_5x12": { | ||
7 | "layout": [ | ||
8 | { | ||
9 | "x": 0, | ||
10 | "y": 0 | ||
11 | }, | ||
12 | { | ||
13 | "x": 1, | ||
14 | "y": 0 | ||
15 | }, | ||
16 | { | ||
17 | "x": 2, | ||
18 | "y": 0 | ||
19 | }, | ||
20 | { | ||
21 | "x": 3, | ||
22 | "y": 0 | ||
23 | }, | ||
24 | { | ||
25 | "x": 4, | ||
26 | "y": 0 | ||
27 | }, | ||
28 | { | ||
29 | "x": 5, | ||
30 | "y": 0 | ||
31 | }, | ||
32 | { | ||
33 | "x": 6, | ||
34 | "y": 0 | ||
35 | }, | ||
36 | { | ||
37 | "x": 7, | ||
38 | "y": 0 | ||
39 | }, | ||
40 | { | ||
41 | "x": 8, | ||
42 | "y": 0 | ||
43 | }, | ||
44 | { | ||
45 | "x": 9, | ||
46 | "y": 0 | ||
47 | }, | ||
48 | { | ||
49 | "x": 10, | ||
50 | "y": 0 | ||
51 | }, | ||
52 | { | ||
53 | "x": 11, | ||
54 | "y": 0 | ||
55 | }, | ||
56 | { | ||
57 | "x": 0, | ||
58 | "y": 1 | ||
59 | }, | ||
60 | { | ||
61 | "x": 1, | ||
62 | "y": 1 | ||
63 | }, | ||
64 | { | ||
65 | "x": 2, | ||
66 | "y": 1 | ||
67 | }, | ||
68 | { | ||
69 | "x": 3, | ||
70 | "y": 1 | ||
71 | }, | ||
72 | { | ||
73 | "x": 4, | ||
74 | "y": 1 | ||
75 | }, | ||
76 | { | ||
77 | "x": 5, | ||
78 | "y": 1 | ||
79 | }, | ||
80 | { | ||
81 | "x": 6, | ||
82 | "y": 1 | ||
83 | }, | ||
84 | { | ||
85 | "x": 7, | ||
86 | "y": 1 | ||
87 | }, | ||
88 | { | ||
89 | "x": 8, | ||
90 | "y": 1 | ||
91 | }, | ||
92 | { | ||
93 | "x": 9, | ||
94 | "y": 1 | ||
95 | }, | ||
96 | { | ||
97 | "x": 10, | ||
98 | "y": 1 | ||
99 | }, | ||
100 | { | ||
101 | "x": 11, | ||
102 | "y": 1 | ||
103 | }, | ||
104 | { | ||
105 | "x": 0, | ||
106 | "y": 2 | ||
107 | }, | ||
108 | { | ||
109 | "x": 1, | ||
110 | "y": 2 | ||
111 | }, | ||
112 | { | ||
113 | "x": 2, | ||
114 | "y": 2 | ||
115 | }, | ||
116 | { | ||
117 | "x": 3, | ||
118 | "y": 2 | ||
119 | }, | ||
120 | { | ||
121 | "x": 4, | ||
122 | "y": 2 | ||
123 | }, | ||
124 | { | ||
125 | "x": 5, | ||
126 | "y": 2 | ||
127 | }, | ||
128 | { | ||
129 | "x": 6, | ||
130 | "y": 2 | ||
131 | }, | ||
132 | { | ||
133 | "x": 7, | ||
134 | "y": 2 | ||
135 | }, | ||
136 | { | ||
137 | "x": 8, | ||
138 | "y": 2 | ||
139 | }, | ||
140 | { | ||
141 | "x": 9, | ||
142 | "y": 2 | ||
143 | }, | ||
144 | { | ||
145 | "x": 10, | ||
146 | "y": 2 | ||
147 | }, | ||
148 | { | ||
149 | "x": 11, | ||
150 | "y": 2 | ||
151 | }, | ||
152 | { | ||
153 | "x": 0, | ||
154 | "y": 3 | ||
155 | }, | ||
156 | { | ||
157 | "x": 1, | ||
158 | "y": 3 | ||
159 | }, | ||
160 | { | ||
161 | "x": 2, | ||
162 | "y": 3 | ||
163 | }, | ||
164 | { | ||
165 | "x": 3, | ||
166 | "y": 3 | ||
167 | }, | ||
168 | { | ||
169 | "x": 4, | ||
170 | "y": 3 | ||
171 | }, | ||
172 | { | ||
173 | "x": 5, | ||
174 | "y": 3 | ||
175 | }, | ||
176 | { | ||
177 | "x": 6, | ||
178 | "y": 3 | ||
179 | }, | ||
180 | { | ||
181 | "x": 7, | ||
182 | "y": 3 | ||
183 | }, | ||
184 | { | ||
185 | "x": 8, | ||
186 | "y": 3 | ||
187 | }, | ||
188 | { | ||
189 | "x": 9, | ||
190 | "y": 3 | ||
191 | }, | ||
192 | { | ||
193 | "x": 10, | ||
194 | "y": 3 | ||
195 | }, | ||
196 | { | ||
197 | "x": 11, | ||
198 | "y": 3 | ||
199 | }, | ||
200 | { | ||
201 | "x": 0, | ||
202 | "y": 4 | ||
203 | }, | ||
204 | { | ||
205 | "x": 1, | ||
206 | "y": 4 | ||
207 | }, | ||
208 | { | ||
209 | "x": 2, | ||
210 | "y": 4 | ||
211 | }, | ||
212 | { | ||
213 | "x": 3, | ||
214 | "y": 4 | ||
215 | }, | ||
216 | { | ||
217 | "x": 4, | ||
218 | "y": 4 | ||
219 | }, | ||
220 | { | ||
221 | "x": 5, | ||
222 | "y": 4 | ||
223 | }, | ||
224 | { | ||
225 | "x": 6, | ||
226 | "y": 4 | ||
227 | }, | ||
228 | { | ||
229 | "x": 7, | ||
230 | "y": 4 | ||
231 | }, | ||
232 | { | ||
233 | "x": 8, | ||
234 | "y": 4 | ||
235 | }, | ||
236 | { | ||
237 | "x": 9, | ||
238 | "y": 4 | ||
239 | }, | ||
240 | { | ||
241 | "x": 10, | ||
242 | "y": 4 | ||
243 | }, | ||
244 | { | ||
245 | "x": 11, | ||
246 | "y": 4 | ||
247 | } | ||
248 | ] | ||
249 | } | ||
250 | } | ||
251 | } | ||
diff --git a/keyboards/delikeeb/flatbread60/keymaps/default/keymap.c b/keyboards/delikeeb/flatbread60/keymaps/default/keymap.c new file mode 100644 index 000000000..ed3ed2603 --- /dev/null +++ b/keyboards/delikeeb/flatbread60/keymaps/default/keymap.c | |||
@@ -0,0 +1,187 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { _QWERTY, _COLEMAK, _DVORAK, _LOWER, _RAISE, _ADJUST }; | ||
20 | |||
21 | enum layer_keycodes { | ||
22 | QWERTY = SAFE_RANGE, | ||
23 | COLEMAK, | ||
24 | DVORAK, | ||
25 | }; | ||
26 | |||
27 | // Defines the keycodes used by our macros in process_record_user | ||
28 | #define LOWER MO(_LOWER) | ||
29 | #define RAISE MO(_RAISE) | ||
30 | |||
31 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
32 | /* BASE | ||
33 | * ,-----------------------------------------------------------------------------------. | ||
34 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
35 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
36 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
37 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
38 | * | Esc | A | S | D | F | G | H | J | K | L | ; | " | | ||
39 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
40 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
41 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
42 | * | | Ctrl | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | | ||
43 | * `-----------------------------------------------------------------------------------' | ||
44 | * */ | ||
45 | [_QWERTY] = LAYOUT_ortho_5x12( | ||
46 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
47 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
48 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
49 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
50 | KC_NO, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
51 | ), | ||
52 | |||
53 | |||
54 | /* Colemak | ||
55 | * ,-----------------------------------------------------------------------------------. | ||
56 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
57 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
58 | * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Del | | ||
59 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
60 | * | Esc | A | R | S | T | D | H | N | E | I | O | " | | ||
61 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
62 | * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter | | ||
63 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
64 | * | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
65 | * `-----------------------------------------------------------------------------------' | ||
66 | */ | ||
67 | |||
68 | [_COLEMAK] = LAYOUT_ortho_5x12( | ||
69 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
70 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_DEL, | ||
71 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | ||
72 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
73 | KC_NO, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
74 | ), | ||
75 | |||
76 | /* Dvorak | ||
77 | * ,-----------------------------------------------------------------------------------. | ||
78 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
79 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
80 | * | Tab | " | , | . | P | Y | F | G | C | R | L | Del | | ||
81 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
82 | * | Esc | A | O | E | U | I | D | H | T | N | S | / | | ||
83 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
84 | * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | | ||
85 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
86 | * | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | | ||
87 | * `-----------------------------------------------------------------------------------' | ||
88 | */ | ||
89 | [_DVORAK] = LAYOUT_ortho_5x12( | ||
90 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
91 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, | ||
92 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, | ||
93 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT, | ||
94 | KC_NO, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
95 | ), | ||
96 | |||
97 | /* Lower | ||
98 | * ,-----------------------------------------------------------------------------------. | ||
99 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | | ||
100 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
101 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
102 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
103 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
104 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
105 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | | ||
106 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
107 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
108 | * `-----------------------------------------------------------------------------------' | ||
109 | */ | ||
110 | [_LOWER] = LAYOUT_ortho_5x12( | ||
111 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
112 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
113 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
114 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
115 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
116 | ), | ||
117 | |||
118 | /* Raise | ||
119 | * ,-----------------------------------------------------------------------------------. | ||
120 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
121 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
122 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
123 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
124 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
125 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
126 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PGUP| PGDN| | | ||
127 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
128 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
129 | * `-----------------------------------------------------------------------------------' | ||
130 | */ | ||
131 | [_RAISE] = LAYOUT_ortho_5x12( | ||
132 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
133 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
134 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
135 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
136 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
137 | ), | ||
138 | |||
139 | /* FN (Lower + Raise) | ||
140 | * ,-----------------------------------------------------------------------------------. | ||
141 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
142 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
143 | * | | Reset| Debug| | | | | | | | | Del | | ||
144 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
145 | * | | | | | |AGNorm|AGswap|Qwerty|Colemk|Dvorak| | | | ||
146 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
147 | * | | rgb |rgb M | Hue |brt + |brt - |sat + | | | | | | | ||
148 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
149 | * | | | | | | | | | | | | | ||
150 | * `-----------------------------------------------------------------------------------' | ||
151 | */ | ||
152 | [_ADJUST] = LAYOUT_ortho_5x12( | ||
153 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
154 | _______, RESET, DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, | ||
155 | _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, | ||
156 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_VAI, RGB_VAD, RGB_SAI, _______, _______, _______, _______, _______, | ||
157 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
158 | ) | ||
159 | |||
160 | }; | ||
161 | |||
162 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
163 | state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); | ||
164 | return state; | ||
165 | } | ||
166 | |||
167 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
168 | switch (keycode) { | ||
169 | case QWERTY: | ||
170 | if (record->event.pressed) { | ||
171 | print("mode just switched to qwerty and this is a huge string\n"); | ||
172 | set_single_persistent_default_layer(_QWERTY); | ||
173 | } | ||
174 | return false; | ||
175 | case COLEMAK: | ||
176 | if (record->event.pressed) { | ||
177 | set_single_persistent_default_layer(_COLEMAK); | ||
178 | } | ||
179 | return false; | ||
180 | case DVORAK: | ||
181 | if (record->event.pressed) { | ||
182 | set_single_persistent_default_layer(_DVORAK); | ||
183 | } | ||
184 | return false; | ||
185 | } | ||
186 | return true; | ||
187 | } | ||
diff --git a/keyboards/delikeeb/flatbread60/keymaps/default/readme.md b/keyboards/delikeeb/flatbread60/keymaps/default/readme.md new file mode 100644 index 000000000..571cfbcd6 --- /dev/null +++ b/keyboards/delikeeb/flatbread60/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for flatbread60 | |||
diff --git a/keyboards/delikeeb/flatbread60/keymaps/via/keymap.c b/keyboards/delikeeb/flatbread60/keymaps/via/keymap.c new file mode 100644 index 000000000..cfba3e11c --- /dev/null +++ b/keyboards/delikeeb/flatbread60/keymaps/via/keymap.c | |||
@@ -0,0 +1,114 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | enum layer_names { _QWERTY, _LOWER, _RAISE, _ADJUST }; | ||
19 | |||
20 | enum layer_keycodes { | ||
21 | QWERTY = SAFE_RANGE, | ||
22 | COLEMAK, | ||
23 | DVORAK, | ||
24 | }; | ||
25 | |||
26 | #define LOWER MO(_LOWER) | ||
27 | #define RAISE MO(_RAISE) | ||
28 | |||
29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
30 | /* BASE | ||
31 | * ,-----------------------------------------------------------------------------------. | ||
32 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
33 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
34 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
35 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
36 | * | Esc | A | S | D | F | G | H | J | K | L | ; | " | | ||
37 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
38 | * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | ||
39 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
40 | * | | Ctrl | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | | ||
41 | * `-----------------------------------------------------------------------------------' | ||
42 | * */ | ||
43 | [_QWERTY] = LAYOUT_ortho_5x12( | ||
44 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
45 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
46 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
47 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
48 | KC_NO, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
49 | ), | ||
50 | |||
51 | /* Lower | ||
52 | * ,-----------------------------------------------------------------------------------. | ||
53 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | | ||
54 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
55 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
56 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
57 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
58 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
59 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | | ||
60 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
61 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
62 | * `-----------------------------------------------------------------------------------' | ||
63 | */ | ||
64 | [_LOWER] = LAYOUT_ortho_5x12( | ||
65 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
66 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
67 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
68 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
70 | ), | ||
71 | |||
72 | /* Raise | ||
73 | * ,-----------------------------------------------------------------------------------. | ||
74 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
75 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
76 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
77 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
78 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
79 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
80 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PGUP| PGDN| | | ||
81 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
82 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
83 | * `-----------------------------------------------------------------------------------' | ||
84 | */ | ||
85 | [_RAISE] = LAYOUT_ortho_5x12( | ||
86 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
87 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
88 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
89 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
90 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
91 | ), | ||
92 | |||
93 | /* FN (Lower + Raise) | ||
94 | * ,-----------------------------------------------------------------------------------. | ||
95 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
96 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
97 | * | | Reset| Debug| | | | | | | | | Del | | ||
98 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
99 | * | | | | | |AGnorm|AGswap| | | | | | | ||
100 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
101 | * | | rgb |rgb M | Hue |brt + |brt - |sat + | | | | | | | ||
102 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
103 | * | | | | | | | | | | | | | ||
104 | * `-----------------------------------------------------------------------------------' | ||
105 | */ | ||
106 | [_ADJUST] = LAYOUT_ortho_5x12( | ||
107 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
108 | _______, RESET, DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, | ||
109 | _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, | ||
110 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_VAI, RGB_VAD, RGB_SAI, _______, _______, _______, _______, _______, | ||
111 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
112 | ) | ||
113 | |||
114 | }; | ||
diff --git a/keyboards/delikeeb/flatbread60/keymaps/via/rules.mk b/keyboards/delikeeb/flatbread60/keymaps/via/rules.mk new file mode 100644 index 000000000..bde15290b --- /dev/null +++ b/keyboards/delikeeb/flatbread60/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | RGBLIGHT_ENABLE = no | ||
diff --git a/keyboards/delikeeb/flatbread60/readme.md b/keyboards/delikeeb/flatbread60/readme.md new file mode 100644 index 000000000..6f187833a --- /dev/null +++ b/keyboards/delikeeb/flatbread60/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # flatbread60 | ||
2 | |||
3 |  | ||
4 | |||
5 | This is a custom PCB made by a hobbiest, and it has an ortholinear 60 key layout. Flatbread60 supports Pro Micro and its wireless variants, such as Blue Micro. A battery switch slot and extra pinout is on the board. | ||
6 | |||
7 | * Keyboard Maintainer: [noclew](https://github.com/noclew) | ||
8 | * Hardware Supported: flatbread60 PCB | ||
9 | * Hardware Availability: Not commercially available, but the board fabricaion file will be uploaded in the near future. | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make delikeeb/flatbread60:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make delikeeb/flatbread60:default:flash | ||
18 | |||
19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/delikeeb/flatbread60/rules.mk b/keyboards/delikeeb/flatbread60/rules.mk new file mode 100644 index 000000000..6f52ecfc7 --- /dev/null +++ b/keyboards/delikeeb/flatbread60/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = caterina | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
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 | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/delikeeb/vaguettelite/config.h b/keyboards/delikeeb/vaguettelite/config.h new file mode 100644 index 000000000..ef1aec49e --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/config.h | |||
@@ -0,0 +1,119 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x9906 | ||
24 | #define PRODUCT_ID 0x0011 | ||
25 | #define DEVICE_VER 0x0003 | ||
26 | #define MANUFACTURER dELIKEEb | ||
27 | #define PRODUCT Vaguette Lite | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 6 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { F4, B3, D1, D2, D3, F5 } | ||
44 | #define MATRIX_COL_PINS { F6, F7, B1, B2, B6, B5, B4, E6, D7, C6, D0, D4 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /*rotary encoder setting*/ | ||
51 | #define ENCODERS_PAD_A { D5, F1 } | ||
52 | #define ENCODERS_PAD_B { B7, F0 } | ||
53 | |||
54 | #define RGB_DI_PIN C7 | ||
55 | #ifdef RGB_DI_PIN | ||
56 | # define RGBLED_NUM 9 | ||
57 | # define RGBLIGHT_HUE_STEP 8 | ||
58 | # define RGBLIGHT_SAT_STEP 8 | ||
59 | # define RGBLIGHT_VAL_STEP 8 | ||
60 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
61 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
62 | /*== all animations enable ==*/ | ||
63 | // # define RGBLIGHT_ANIMATIONS | ||
64 | /*== or choose animations ==*/ | ||
65 | // # define RGBLIGHT_EFFECT_BREATHING | ||
66 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
67 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
68 | // # define RGBLIGHT_EFFECT_SNAKE | ||
69 | // # define RGBLIGHT_EFFECT_KNIGHT | ||
70 | // # define RGBLIGHT_EFFECT_CHRISTMAS | ||
71 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
72 | // # define RGBLIGHT_EFFECT_RGB_TEST | ||
73 | // # define RGBLIGHT_EFFECT_ALTERNATING | ||
74 | /*== customize breathing effect ==*/ | ||
75 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
76 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
77 | /*==== use exp() and sin() ====*/ | ||
78 | # define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
79 | # define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
80 | #endif | ||
81 | |||
82 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
83 | #define DEBOUNCE 5 | ||
84 | |||
85 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
86 | #define LOCKING_SUPPORT_ENABLE | ||
87 | /* Locking resynchronize hack */ | ||
88 | #define LOCKING_RESYNC_ENABLE | ||
89 | |||
90 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
91 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
92 | */ | ||
93 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
94 | |||
95 | //#define FORCE_NKRO | ||
96 | |||
97 | /* | ||
98 | * Feature disable options | ||
99 | * These options are also useful to firmware size reduction. | ||
100 | */ | ||
101 | |||
102 | /* disable debug print */ | ||
103 | //#define NO_DEBUG | ||
104 | |||
105 | /* disable print */ | ||
106 | //#define NO_PRINT | ||
107 | |||
108 | /* disable action features */ | ||
109 | //#define NO_ACTION_LAYER | ||
110 | //#define NO_ACTION_TAPPING | ||
111 | //#define NO_ACTION_ONESHOT | ||
112 | |||
113 | /* disable these deprecated features by default */ | ||
114 | #define NO_ACTION_MACRO | ||
115 | #define NO_ACTION_FUNCTION | ||
116 | |||
117 | /* Bootmagic Lite key configuration */ | ||
118 | #define BOOTMAGIC_LITE_ROW 0 | ||
119 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/delikeeb/vaguettelite/info.json b/keyboards/delikeeb/vaguettelite/info.json new file mode 100644 index 000000000..f3e99b374 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/info.json | |||
@@ -0,0 +1,13 @@ | |||
1 | { | ||
2 | "keyboard_name": "vaguettelite", | ||
3 | "url": "", | ||
4 | "maintainer": "noclew", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1, "w":1.5}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2, "w":1.25}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3, "w":1.25}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":1.75}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4}, {"x":2.25, "y":4, "w":1.25}, {"x":3.5, "y":4}, {"x":4.5, "y":4, "w":1.25}, {"x":5.75, "y":4, "w":2}, {"x":7.75, "y":4, "w":1.25}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}] | ||
8 | }, | ||
9 | "LAYOUT_625u_universal": { | ||
10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1, "w":1.5}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2, "w":2.25}, {"x":14, "y":2}, {"x":0, "y":3, "w":2.25}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":2.75}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}] | ||
11 | } | ||
12 | } | ||
13 | } | ||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c b/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c new file mode 100644 index 000000000..98af7556a --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/default/keymap.c | |||
@@ -0,0 +1,135 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _ADJUST | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | enum custom_keycodes { | ||
28 | BASE = SAFE_RANGE, | ||
29 | LOWER, | ||
30 | RAISE, | ||
31 | }; | ||
32 | |||
33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
34 | |||
35 | /* BASE | ||
36 | * --------------------------------------------------------------------------------------------------------- | ||
37 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bspc | Mute | | ||
38 | * --------------------------------------------------------------------------------------------------------- | ||
39 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | \ | [ | ] | | ||
40 | *---------------------------------------------------------------------------------------------------------- | ||
41 | * | Esc | A | S | D | F | G | H | J | K | L | ; | Enter | N/A | ' | | ||
42 | *---------------------------------------------------------------------------------------------------------- | ||
43 | * | N/A | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | Del | | ||
44 | *---------------------------------------------------------------------------------------------------------- | ||
45 | * | Ctrl | GUI | Alt | Lower | Space | Space | Space | Raise | Alt | Left | Down | Up | Right | | ||
46 | *---------------------------------------------------------------------------------------------------------- | ||
47 | */ | ||
48 | |||
49 | [_BASE] = LAYOUT_all( | ||
50 | KC_GRV , 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_AUDIO_MUTE, | ||
51 | KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSLS, KC_LBRC, KC_RBRC, | ||
52 | KC_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_ENT , KC_NO, KC_QUOT, | ||
53 | KC_NO , KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, RSFT_T(KC_QUOT), KC_DEL, | ||
54 | KC_LCTL, KC_LGUI, KC_LALT, LOWER , KC_SPC , KC_SPC , KC_SPC , RAISE, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
55 | ), | ||
56 | |||
57 | [_LOWER] = LAYOUT_all( | ||
58 | _______, 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_F12 , _______, | ||
59 | KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, KC_BSLS, _______, _______, | ||
60 | KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, _______, _______, | ||
61 | KC_ENT , _______, KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, _______, | ||
62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
63 | ), | ||
64 | |||
65 | [_RAISE] = LAYOUT_all( | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
67 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL, KC_END , _______, _______, _______, | ||
68 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______, _______, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, _______, KC_PGDN, _______, _______, | ||
70 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
71 | ), | ||
72 | |||
73 | [_ADJUST] = LAYOUT_all( | ||
74 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG, | ||
75 | _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, | ||
76 | KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, | ||
77 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
78 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
79 | ) | ||
80 | }; | ||
81 | |||
82 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
83 | switch (keycode) { | ||
84 | |||
85 | case LOWER: | ||
86 | if (record->event.pressed) { | ||
87 | layer_on(_LOWER); | ||
88 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
89 | } else { | ||
90 | layer_off(_LOWER); | ||
91 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
92 | } | ||
93 | return false; | ||
94 | |||
95 | case RAISE: | ||
96 | if (record->event.pressed) { | ||
97 | layer_on(_RAISE); | ||
98 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
99 | } else { | ||
100 | layer_off(_RAISE); | ||
101 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
102 | } | ||
103 | return false; | ||
104 | |||
105 | } | ||
106 | return true; | ||
107 | } | ||
108 | |||
109 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
110 | /* With an if statement we can check which encoder was turned. */ | ||
111 | if (index == 0) { /* First encoder */ | ||
112 | /* And with another if statement we can check the direction. */ | ||
113 | if (clockwise) { | ||
114 | if (IS_LAYER_ON(_LOWER)){ | ||
115 | tap_code(KC_RIGHT); | ||
116 | } else { | ||
117 | tap_code(KC_VOLU); | ||
118 | } | ||
119 | } else { | ||
120 | if (IS_LAYER_ON(_LOWER)){ | ||
121 | tap_code(KC_LEFT); | ||
122 | } else { | ||
123 | tap_code(KC_VOLD); | ||
124 | } | ||
125 | } | ||
126 | |||
127 | } else if (index == 1) { /* Second encoder. Only supported by Elite-C */ | ||
128 | if (clockwise) { | ||
129 | tap_code(KC_RIGHT); | ||
130 | } else { | ||
131 | tap_code(KC_LEFT); | ||
132 | } | ||
133 | } | ||
134 | return true; | ||
135 | } | ||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/default/readme.md b/keyboards/delikeeb/vaguettelite/keymaps/default/readme.md new file mode 100644 index 000000000..1dc396734 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for Vaguette LITE | |||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/default_625u_universal/keymap.c b/keyboards/delikeeb/vaguettelite/keymaps/default_625u_universal/keymap.c new file mode 100644 index 000000000..ed028e84b --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/default_625u_universal/keymap.c | |||
@@ -0,0 +1,135 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _ADJUST | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | enum custom_keycodes { | ||
28 | BASE = SAFE_RANGE, | ||
29 | LOWER, | ||
30 | RAISE, | ||
31 | }; | ||
32 | |||
33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
34 | |||
35 | /* BASE | ||
36 | * --------------------------------------------------------------------------------------------------------- | ||
37 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | BSP | Mute | | ||
38 | * --------------------------------------------------------------------------------------------------------- | ||
39 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | \ | [ | ] | | ||
40 | *---------------------------------------------------------------------------------------------------------- | ||
41 | * | Esc | A | S | D | F | G | H | J | K | L | ; | Enter | ' | | ||
42 | *---------------------------------------------------------------------------------------------------------- | ||
43 | * | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | | ||
44 | *---------------------------------------------------------------------------------------------------------- | ||
45 | * | Ctrl | GUI | Alt | Space | Raise | Left | Down | Up | Right | | ||
46 | *---------------------------------------------------------------------------------------------------------- | ||
47 | */ | ||
48 | |||
49 | [_BASE] = LAYOUT_625u_universal( | ||
50 | KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS, KC_MINS, KC_BSPC, KC_AUDIO_MUTE, | ||
51 | KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSLS, KC_LBRC, KC_RBRC, | ||
52 | KC_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_ENT , KC_QUOT, | ||
53 | KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, RSFT_T(KC_QUOT), | ||
54 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC , RAISE , KC_LEFT, KC_DOWN, KC_UP , KC_RGHT | ||
55 | ), | ||
56 | |||
57 | [_LOWER] = LAYOUT_625u_universal( | ||
58 | _______, 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_F12 , _______, | ||
59 | KC_BSPC, KC_EQL , KC_7 , KC_8 , KC_9 , KC_SLSH, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, KC_BSLS, _______, _______, | ||
60 | KC_ENT , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_UNDS, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, _______, | ||
61 | KC_DLR , KC_PAST, KC_1 , KC_2 , KC_3 , KC_PPLS, KC_PIPE, KC_LCBR, KC_RCBR, KC_PERC, KC_AMPR, _______, | ||
62 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
63 | ), | ||
64 | |||
65 | [_RAISE] = LAYOUT_625u_universal( | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
67 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL, KC_END , _______, _______, _______, | ||
68 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, _______, KC_PGDN, _______, | ||
70 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
71 | ), | ||
72 | |||
73 | [_ADJUST] = LAYOUT_625u_universal( | ||
74 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG, | ||
75 | _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, | ||
76 | KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, | ||
77 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
78 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
79 | ) | ||
80 | }; | ||
81 | |||
82 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
83 | switch (keycode) { | ||
84 | |||
85 | case LOWER: | ||
86 | if (record->event.pressed) { | ||
87 | layer_on(_LOWER); | ||
88 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
89 | } else { | ||
90 | layer_off(_LOWER); | ||
91 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
92 | } | ||
93 | return false; | ||
94 | |||
95 | case RAISE: | ||
96 | if (record->event.pressed) { | ||
97 | layer_on(_RAISE); | ||
98 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
99 | } else { | ||
100 | layer_off(_RAISE); | ||
101 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
102 | } | ||
103 | return false; | ||
104 | |||
105 | } | ||
106 | return true; | ||
107 | } | ||
108 | |||
109 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
110 | /* With an if statement we can check which encoder was turned. */ | ||
111 | if (index == 0) { /* First encoder */ | ||
112 | /* And with another if statement we can check the direction. */ | ||
113 | if (clockwise) { | ||
114 | if (IS_LAYER_ON(_LOWER)){ | ||
115 | tap_code(KC_RIGHT); | ||
116 | } else { | ||
117 | tap_code(KC_VOLU); | ||
118 | } | ||
119 | } else { | ||
120 | if (IS_LAYER_ON(_LOWER)){ | ||
121 | tap_code(KC_LEFT); | ||
122 | } else { | ||
123 | tap_code(KC_VOLD); | ||
124 | } | ||
125 | } | ||
126 | |||
127 | } else if (index == 1) { /* Second encoder. Only supported by Elite-C */ | ||
128 | if (clockwise) { | ||
129 | tap_code(KC_RIGHT); | ||
130 | } else { | ||
131 | tap_code(KC_LEFT); | ||
132 | } | ||
133 | } | ||
134 | return true; | ||
135 | } | ||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/default_625u_universal/readme.md b/keyboards/delikeeb/vaguettelite/keymaps/default_625u_universal/readme.md new file mode 100644 index 000000000..fc537215e --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/default_625u_universal/readme.md | |||
@@ -0,0 +1 @@ | |||
# The keymap using standard 6.25u spacebar for Vaguette LITE | |||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/noclew/keymap.c b/keyboards/delikeeb/vaguettelite/keymaps/noclew/keymap.c new file mode 100644 index 000000000..58bc0c778 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/noclew/keymap.c | |||
@@ -0,0 +1,155 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _ADJUST, | ||
24 | _MAC, | ||
25 | _GAME | ||
26 | }; | ||
27 | |||
28 | // Defines the keycodes used by our macros in process_record_user | ||
29 | enum custom_keycodes { | ||
30 | BASE = SAFE_RANGE, | ||
31 | LOWER, | ||
32 | RAISE, | ||
33 | MAC, | ||
34 | GAME | ||
35 | }; | ||
36 | |||
37 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
38 | |||
39 | /* BASE | ||
40 | * --------------------------------------------------------------------------------------------------------- | ||
41 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bspc | Mute | | ||
42 | * --------------------------------------------------------------------------------------------------------- | ||
43 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | \ | [ | ] | | ||
44 | *---------------------------------------------------------------------------------------------------------- | ||
45 | * | Esc | A | S | D | F | G | H | J | K | L | ; | Enter | N/A | ' | | ||
46 | *---------------------------------------------------------------------------------------------------------- | ||
47 | * | N/A | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | DEL | | ||
48 | *---------------------------------------------------------------------------------------------------------- | ||
49 | * | Ctrl | GUI | Alt | Lower | Space | Space | Space | Raise | Alt | Left | Down | Up | Right | | ||
50 | *---------------------------------------------------------------------------------------------------------- | ||
51 | */ | ||
52 | |||
53 | [_BASE] = LAYOUT_all( | ||
54 | KC_GRV , 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_AUDIO_MUTE, | ||
55 | KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSLS, KC_LBRC, KC_RBRC, | ||
56 | KC_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_ENT , KC_NO, KC_QUOT, | ||
57 | KC_NO , KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, RSFT_T(KC_QUOT), KC_DEL, | ||
58 | KC_LCTL, KC_LGUI, KC_LALT, LOWER , KC_SPC , KC_SPC , KC_SPC , RAISE, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
59 | ), | ||
60 | |||
61 | [_MAC] = LAYOUT_all( | ||
62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
66 | _______, KC_LALT, KC_LGUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
67 | ), | ||
68 | |||
69 | [_GAME] = LAYOUT_all( | ||
70 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
72 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
73 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
74 | _______, _______, MO(_LOWER), KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
75 | ), | ||
76 | |||
77 | [_LOWER] = LAYOUT_all( | ||
78 | _______, 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_F12 , _______, | ||
79 | KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, KC_BSLS, _______, _______, | ||
80 | KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, _______, _______, | ||
81 | KC_ENT , _______, KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, _______, | ||
82 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
83 | ), | ||
84 | |||
85 | [_RAISE] = LAYOUT_all( | ||
86 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
87 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL, KC_END , _______, _______, _______, | ||
88 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______, _______, _______, | ||
89 | _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, _______, KC_PGDN, _______, _______, | ||
90 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
91 | ), | ||
92 | |||
93 | [_ADJUST] = LAYOUT_all( | ||
94 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG, | ||
95 | _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, | ||
96 | KC_CAPS, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, TG(_GAME), _______, _______, _______, _______, _______, _______, | ||
97 | _______, _______, _______, _______, _______, _______, _______, _______, TG(_MAC), _______, _______, _______, _______, _______, | ||
98 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
99 | ) | ||
100 | }; | ||
101 | |||
102 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
103 | switch (keycode) { | ||
104 | |||
105 | case LOWER: | ||
106 | if (record->event.pressed) { | ||
107 | layer_on(_LOWER); | ||
108 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
109 | } else { | ||
110 | layer_off(_LOWER); | ||
111 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
112 | } | ||
113 | return false; | ||
114 | |||
115 | case RAISE: | ||
116 | if (record->event.pressed) { | ||
117 | layer_on(_RAISE); | ||
118 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
119 | } else { | ||
120 | layer_off(_RAISE); | ||
121 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
122 | } | ||
123 | return false; | ||
124 | |||
125 | } | ||
126 | return true; | ||
127 | } | ||
128 | |||
129 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
130 | /* With an if statement we can check which encoder was turned. */ | ||
131 | if (index == 0) { /* First encoder */ | ||
132 | /* And with another if statement we can check the direction. */ | ||
133 | if (clockwise) { | ||
134 | if (IS_LAYER_ON(_LOWER)){ | ||
135 | tap_code(KC_RIGHT); | ||
136 | } else { | ||
137 | tap_code(KC_VOLU); | ||
138 | } | ||
139 | } else { | ||
140 | if (IS_LAYER_ON(_LOWER)){ | ||
141 | tap_code(KC_LEFT); | ||
142 | } else { | ||
143 | tap_code(KC_VOLD); | ||
144 | } | ||
145 | } | ||
146 | |||
147 | } else if (index == 1) { /* Second encoder. Only supported by Elite-C */ | ||
148 | if (clockwise) { | ||
149 | tap_code(KC_RIGHT); | ||
150 | } else { | ||
151 | tap_code(KC_LEFT); | ||
152 | } | ||
153 | } | ||
154 | return true; | ||
155 | } | ||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/noclew/readme.md b/keyboards/delikeeb/vaguettelite/keymaps/noclew/readme.md new file mode 100644 index 000000000..bc2bbecb7 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/noclew/readme.md | |||
@@ -0,0 +1 @@ | |||
# The noclew's keymap for Vaguette LITE | |||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/via/keymap.c b/keyboards/delikeeb/vaguettelite/keymaps/via/keymap.c new file mode 100644 index 000000000..a84b41b29 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/via/keymap.c | |||
@@ -0,0 +1,136 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | // Defines names for use in layer keycodes and the keymap | ||
20 | enum layer_names { | ||
21 | _BASE, | ||
22 | _LOWER, | ||
23 | _RAISE, | ||
24 | _ADJUST | ||
25 | }; | ||
26 | |||
27 | // Defines the keycodes used by our macros in process_record_user | ||
28 | enum custom_keycodes { | ||
29 | BASE = SAFE_RANGE, | ||
30 | LOWER, | ||
31 | RAISE, | ||
32 | }; | ||
33 | |||
34 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
35 | |||
36 | /* BASE | ||
37 | * --------------------------------------------------------------------------------------------------------- | ||
38 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BSpc | Mute | | ||
39 | * --------------------------------------------------------------------------------------------------------- | ||
40 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | \ | [ | ] | | ||
41 | *---------------------------------------------------------------------------------------------------------- | ||
42 | * | Esc | A | S | D | F | G | H | J | K | L | ; | Enter | N/A | ' | | ||
43 | *---------------------------------------------------------------------------------------------------------- | ||
44 | * | N/A | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | Del | | ||
45 | *---------------------------------------------------------------------------------------------------------- | ||
46 | * | Ctrl | GUI | Alt | Lower | Space | Space | Space | Raise | Alt | Left | Down | Up | Right | | ||
47 | *---------------------------------------------------------------------------------------------------------- | ||
48 | */ | ||
49 | |||
50 | [_BASE] = LAYOUT_all( | ||
51 | KC_GRV , 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_AUDIO_MUTE, | ||
52 | KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSLS, KC_LBRC, KC_RBRC, | ||
53 | KC_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_ENT , KC_NO, KC_QUOT, | ||
54 | KC_NO , KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, RSFT_T(KC_QUOT), KC_DEL, | ||
55 | KC_LCTL, KC_LGUI, KC_LALT, LOWER , KC_SPC , KC_SPC , KC_SPC , RAISE, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
56 | ), | ||
57 | |||
58 | [_LOWER] = LAYOUT_all( | ||
59 | _______, 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_F12 , _______, | ||
60 | KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, KC_BSLS, _______, _______, | ||
61 | KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, _______, _______, | ||
62 | KC_ENT , _______, KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, _______, | ||
63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
64 | ), | ||
65 | |||
66 | [_RAISE] = LAYOUT_all( | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
68 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL, KC_END , _______, _______, _______, | ||
69 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______, _______, _______, | ||
70 | _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, _______, KC_PGDN, _______, _______, | ||
71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
72 | ), | ||
73 | |||
74 | [_ADJUST] = LAYOUT_all( | ||
75 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG, | ||
76 | _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, | ||
77 | KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, | ||
78 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
79 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
80 | ) | ||
81 | }; | ||
82 | |||
83 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
84 | switch (keycode) { | ||
85 | |||
86 | case LOWER: | ||
87 | if (record->event.pressed) { | ||
88 | layer_on(_LOWER); | ||
89 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
90 | } else { | ||
91 | layer_off(_LOWER); | ||
92 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
93 | } | ||
94 | return false; | ||
95 | |||
96 | case RAISE: | ||
97 | if (record->event.pressed) { | ||
98 | layer_on(_RAISE); | ||
99 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
100 | } else { | ||
101 | layer_off(_RAISE); | ||
102 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
103 | } | ||
104 | return false; | ||
105 | |||
106 | } | ||
107 | return true; | ||
108 | } | ||
109 | |||
110 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
111 | /* With an if statement we can check which encoder was turned. */ | ||
112 | if (index == 0) { /* First encoder */ | ||
113 | /* And with another if statement we can check the direction. */ | ||
114 | if (clockwise) { | ||
115 | if (IS_LAYER_ON(_LOWER)){ | ||
116 | tap_code(KC_RIGHT); | ||
117 | } else { | ||
118 | tap_code(KC_VOLU); | ||
119 | } | ||
120 | } else { | ||
121 | if (IS_LAYER_ON(_LOWER)){ | ||
122 | tap_code(KC_LEFT); | ||
123 | } else { | ||
124 | tap_code(KC_VOLD); | ||
125 | } | ||
126 | } | ||
127 | |||
128 | } else if (index == 1) { /* Second encoder. Only supported by Elite-C */ | ||
129 | if (clockwise) { | ||
130 | tap_code(KC_RIGHT); | ||
131 | } else { | ||
132 | tap_code(KC_LEFT); | ||
133 | } | ||
134 | } | ||
135 | return true; | ||
136 | } | ||
diff --git a/keyboards/delikeeb/vaguettelite/keymaps/via/rules.mk b/keyboards/delikeeb/vaguettelite/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/delikeeb/vaguettelite/readme.md b/keyboards/delikeeb/vaguettelite/readme.md new file mode 100644 index 000000000..f076df2e1 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # Vaguette Lite | ||
2 | |||
3 |  | ||
4 | |||
5 | Vaguette Lite is a 60% keyboard that has a reduced alphas area, and it is a variation of Vaguette, which is a 40% keyboard with a detachable Numpad. | ||
6 | |||
7 | * Keyboard Maintainer: [noclew](https://github.com/noclew) | ||
8 | * Hardware Supported: Vaguette Lite PCB | ||
9 | * Hardware Availability: Not commercially available. GB on Reddit and Geekhack time to times. | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make delikeeb/vaguettelite:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make delikee/vaguettelite:default:flash | ||
18 | |||
19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/delikeeb/vaguettelite/rules.mk b/keyboards/delikeeb/vaguettelite/rules.mk new file mode 100644 index 000000000..6dfedb28b --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/rules.mk | |||
@@ -0,0 +1,19 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
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 | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | ENCODER_ENABLE = yes | ||
diff --git a/keyboards/delikeeb/vaguettelite/vaguettelite.c b/keyboards/delikeeb/vaguettelite/vaguettelite.c new file mode 100644 index 000000000..a91dae9a3 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/vaguettelite.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "vaguettelite.h" | ||
diff --git a/keyboards/delikeeb/vaguettelite/vaguettelite.h b/keyboards/delikeeb/vaguettelite/vaguettelite.h new file mode 100644 index 000000000..20a0e5972 --- /dev/null +++ b/keyboards/delikeeb/vaguettelite/vaguettelite.h | |||
@@ -0,0 +1,57 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT_all( \ | ||
30 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k65, k66, k69,\ | ||
31 | k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, k67, k68,\ | ||
32 | k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, k61, k70,\ | ||
33 | k60, k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48, k62,\ | ||
34 | k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k63, k64 \ | ||
35 | ) { \ | ||
36 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12 }, \ | ||
37 | { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24 }, \ | ||
38 | { k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36 }, \ | ||
39 | { k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ | ||
40 | { k49, k50, k51, k52, k53, k54, KC_NO, k55, k56, k57, k58, k59}, \ | ||
41 | { k60, KC_NO, k61, k62, k63, k64, k65, k66, k67, k68, k69, k70 } \ | ||
42 | } | ||
43 | |||
44 | #define LAYOUT_625u_universal( \ | ||
45 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k65, k66, k69,\ | ||
46 | k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, k67, k68,\ | ||
47 | k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, k70,\ | ||
48 | k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48,\ | ||
49 | k49, k50, k51, k54, k57, k58, k59, k63, k64 \ | ||
50 | ) { \ | ||
51 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12 }, \ | ||
52 | { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24 }, \ | ||
53 | { k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36 }, \ | ||
54 | { k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ | ||
55 | { k49, k50, k51, KC_NO, KC_NO, k54, KC_NO, KC_NO, KC_NO, k57, k58, k59}, \ | ||
56 | { KC_NO, KC_NO, KC_NO, KC_NO, k63, k64, k65, k66, k67, k68, k69, k70 } \ | ||
57 | } | ||
diff --git a/keyboards/delikeeb/vanana/config.h b/keyboards/delikeeb/vanana/config.h new file mode 100644 index 000000000..3a5a88894 --- /dev/null +++ b/keyboards/delikeeb/vanana/config.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | #define VENDOR_ID 0x9906 | ||
23 | #define PRODUCT_ID 0x0013 | ||
24 | #define MANUFACTURER dELIKEEb | ||
diff --git a/keyboards/delikeeb/vanana/info.json b/keyboards/delikeeb/vanana/info.json new file mode 100644 index 000000000..78c11fbee --- /dev/null +++ b/keyboards/delikeeb/vanana/info.json | |||
@@ -0,0 +1,10 @@ | |||
1 | { | ||
2 | "keyboard_name": "vanana", | ||
3 | "url": "", | ||
4 | "maintainer": "noclew", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":7, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":7, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4, "w":1.25}, {"x":5.25, "y":4, "w":1.5}, {"x":8.25, "y":4, "w":1.5}, {"x":9.75, "y":4, "w":1.25}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}] | ||
8 | } | ||
9 | } | ||
10 | } | ||
diff --git a/keyboards/delikeeb/vanana/keymaps/default/keymap.c b/keyboards/delikeeb/vanana/keymaps/default/keymap.c new file mode 100644 index 000000000..281bb36ac --- /dev/null +++ b/keyboards/delikeeb/vanana/keymaps/default/keymap.c | |||
@@ -0,0 +1,162 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | #ifdef AUDIO_ENABLE | ||
19 | float song_coin[][2] = SONG(COIN_SOUND); | ||
20 | #endif | ||
21 | |||
22 | // Defines names for use in layer keycodes and the keymap | ||
23 | enum layer_names { | ||
24 | _BASE, | ||
25 | _LOWER, | ||
26 | _RAISE, | ||
27 | _ADJUST | ||
28 | }; | ||
29 | |||
30 | // Defines the keycodes used by our macros in process_record_user | ||
31 | enum custom_keycodes { | ||
32 | BASE = SAFE_RANGE, | ||
33 | LOWER, | ||
34 | RAISE, | ||
35 | }; | ||
36 | |||
37 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
38 | /* BASE | ||
39 | * ------------------------------------------- ------------------------------------------- | ||
40 | * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
41 | * ------------------------------------------- ------------------------------------------- | ||
42 | * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | | ||
43 | * ------------------------------------------- --------- -------------------------------------------- | ||
44 | * | Esc | A | S | D | F | G | | Bksp | | H | J | K | L | ; |Enter | | ||
45 | * ------------------------------------------- --------- ------------------------------------------- | ||
46 | * | Shift| Z | X | C | V | B | | Del | | N | M | , | . | / |Sft(')| | ||
47 | * ------------------------------------------- --------- ------------------------------------------- | ||
48 | * | GUI | Alt | Ctrl |Lower |Space | |Space |Raise |Alt | Left | Right| | ||
49 | * ------------------------------------ ------------------------------------ | ||
50 | */ | ||
51 | |||
52 | [_BASE] = LAYOUT( | ||
53 | KC_GRV, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_BSPC, | ||
54 | KC_TAB, KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSLS, | ||
55 | KC_ESC, KC_A , KC_S , KC_D , KC_F , KC_G , KC_BSPC, KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_ENT , | ||
56 | KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_DEL , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, RSFT_T(KC_QUOT), | ||
57 | KC_LGUI, KC_LALT, KC_LCTL, LOWER , KC_SPC, KC_SPC , RAISE , KC_RALT, KC_LEFT, KC_RGHT | ||
58 | ), | ||
59 | |||
60 | [_LOWER] = LAYOUT( | ||
61 | KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , | ||
62 | KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, _______, | ||
63 | KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_LEFT, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, | ||
64 | KC_ENT , KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_RGHT, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
66 | ), | ||
67 | |||
68 | [_RAISE] = LAYOUT( | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
70 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL , KC_END , _______, | ||
71 | _______, _______, _______, _______, _______, _______, KC_UP , KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, KC_QUOT, _______, | ||
72 | _______, _______, _______, _______, _______, _______, KC_DOWN, _______, KC_PGUP, _______, KC_PGDN, _______, _______, | ||
73 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
74 | ), | ||
75 | |||
76 | [_ADJUST] = LAYOUT( | ||
77 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG , | ||
78 | _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, | ||
79 | KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, KC_VOLU, _______, _______, _______, _______, _______, _______, | ||
80 | _______, AU_ON , AU_OFF , _______, _______, _______, KC_VOLD, _______, _______, _______, _______, _______, _______, | ||
81 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
82 | ) | ||
83 | }; | ||
84 | |||
85 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
86 | switch (keycode) { | ||
87 | |||
88 | case LOWER: | ||
89 | if (record->event.pressed) { | ||
90 | layer_on(_LOWER); | ||
91 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
92 | } else { | ||
93 | layer_off(_LOWER); | ||
94 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
95 | } | ||
96 | return false; | ||
97 | |||
98 | case RAISE: | ||
99 | if (record->event.pressed) { | ||
100 | layer_on(_RAISE); | ||
101 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
102 | } else { | ||
103 | layer_off(_RAISE); | ||
104 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
105 | } | ||
106 | return false; | ||
107 | |||
108 | case RESET: | ||
109 | if (record->event.pressed) { | ||
110 | #ifdef AUDIO_ENABLE | ||
111 | stop_all_notes(); | ||
112 | PLAY_SONG(song_coin); | ||
113 | #endif | ||
114 | } | ||
115 | return false; | ||
116 | } | ||
117 | return true; | ||
118 | } | ||
119 | |||
120 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
121 | /* With an if statement we can check which encoder was turned. */ | ||
122 | if (index == 0) { /* First encoder */ | ||
123 | /* And with another if statement we can check the direction. */ | ||
124 | if (clockwise) { | ||
125 | if (IS_LAYER_ON(_LOWER)){ | ||
126 | tap_code(KC_RIGHT); | ||
127 | } else if (IS_LAYER_ON(_RAISE)){ | ||
128 | tap_code(KC_DOWN); | ||
129 | } else { | ||
130 | tap_code(KC_VOLU); | ||
131 | } | ||
132 | } else { | ||
133 | if (IS_LAYER_ON(_LOWER)){ | ||
134 | tap_code(KC_LEFT); | ||
135 | } else if (IS_LAYER_ON(_RAISE)){ | ||
136 | tap_code(KC_UP); | ||
137 | } else { | ||
138 | tap_code(KC_VOLD); | ||
139 | } | ||
140 | } | ||
141 | |||
142 | } else if (index == 1) { /* Second encoder. Only supported by Elite-C */ | ||
143 | if (clockwise) { | ||
144 | if (IS_LAYER_ON(_LOWER)){ | ||
145 | tap_code(KC_RIGHT); | ||
146 | } else if (IS_LAYER_ON(_RAISE)){ | ||
147 | tap_code(KC_DOWN); | ||
148 | } else { | ||
149 | tap_code(KC_VOLU); | ||
150 | } | ||
151 | } else { | ||
152 | if (IS_LAYER_ON(_LOWER)){ | ||
153 | tap_code(KC_LEFT); | ||
154 | } else if (IS_LAYER_ON(_RAISE)){ | ||
155 | tap_code(KC_UP); | ||
156 | } else { | ||
157 | tap_code(KC_VOLD); | ||
158 | } | ||
159 | } | ||
160 | } | ||
161 | return true; | ||
162 | } | ||
diff --git a/keyboards/delikeeb/vanana/keymaps/default/readme.md b/keyboards/delikeeb/vanana/keymaps/default/readme.md new file mode 100644 index 000000000..4fb4d2183 --- /dev/null +++ b/keyboards/delikeeb/vanana/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for vanana | |||
diff --git a/keyboards/delikeeb/vanana/keymaps/via/keymap.c b/keyboards/delikeeb/vanana/keymaps/via/keymap.c new file mode 100644 index 000000000..6d04898f3 --- /dev/null +++ b/keyboards/delikeeb/vanana/keymaps/via/keymap.c | |||
@@ -0,0 +1,81 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _ADJUST | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | enum custom_keycodes { | ||
28 | BASE = SAFE_RANGE, | ||
29 | LOWER, | ||
30 | RAISE, | ||
31 | }; | ||
32 | |||
33 | |||
34 | |||
35 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
36 | /* BASE | ||
37 | * ------------------------------------------- ------------------------------------------- | ||
38 | * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
39 | * ------------------------------------------- ------------------------------------------- | ||
40 | * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | | ||
41 | * ------------------------------------------- --------- -------------------------------------------- | ||
42 | * | Esc | A | S | D | F | G | | Bksp | | H | J | K | L | ; |Enter | | ||
43 | * ------------------------------------------- --------- ------------------------------------------- | ||
44 | * | Shift| Z | X | C | V | B | | Del | | N | M | , | . | / | " | | ||
45 | * ------------------------------------------- --------- ------------------------------------------- | ||
46 | * | Ctrl | GUI | Alt |Lower |Space | |Space |Raise |Alt | DOWN | UP | | ||
47 | * ------------------------------------ ------------------------------------ | ||
48 | */ | ||
49 | |||
50 | [_BASE] = LAYOUT( | ||
51 | KC_GRV, KC_1 , KC_2 , KC_3 , KC_4 , KC_5, KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_BSPC, | ||
52 | KC_TAB, KC_Q , KC_W , KC_E , KC_R , KC_T, KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSLS, | ||
53 | KC_ESC, KC_A , KC_S , KC_D , KC_F , KC_G, KC_BSPC, KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_ENT , | ||
54 | KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B, KC_DEL , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, RSFT_T(KC_QUOT), | ||
55 | KC_LCTL, KC_LALT, KC_LGUI, LOWER , KC_SPC, KC_SPC , RAISE , KC_RALT, KC_DOWN, KC_UP | ||
56 | ), | ||
57 | |||
58 | [_LOWER] = LAYOUT( | ||
59 | KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , | ||
60 | KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, _______, | ||
61 | KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_LEFT, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, | ||
62 | KC_ENT , KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_RGHT, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, | ||
63 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
64 | ), | ||
65 | |||
66 | [_RAISE] = LAYOUT( | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
68 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL , KC_END , _______, | ||
69 | _______, _______, _______, _______, _______, _______, KC_UP , KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, KC_QUOT, _______, | ||
70 | _______, _______, _______, _______, _______, _______, KC_DOWN, _______, KC_PGUP, _______, KC_PGDN, _______, _______, | ||
71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
72 | ), | ||
73 | |||
74 | [_ADJUST] = LAYOUT( | ||
75 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG , | ||
76 | _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, | ||
77 | KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, KC_VOLU, _______, _______, _______, _______, _______, _______, | ||
78 | _______, AU_ON , AU_OFF , _______, _______, _______, KC_VOLD, _______, _______, _______, _______, _______, _______, | ||
79 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
80 | ) | ||
81 | }; | ||
diff --git a/keyboards/delikeeb/vanana/keymaps/via/rules.mk b/keyboards/delikeeb/vanana/keymaps/via/rules.mk new file mode 100644 index 000000000..9b19aff09 --- /dev/null +++ b/keyboards/delikeeb/vanana/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/delikeeb/vanana/readme.md b/keyboards/delikeeb/vanana/readme.md new file mode 100644 index 000000000..9872b6ed1 --- /dev/null +++ b/keyboards/delikeeb/vanana/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # Vanana | ||
2 | |||
3 |  | ||
4 | |||
5 | Vanana is a non-split ergonomic keyboard with RGB underglow and on-board pinouts for a Bluetooth setup. Designed by dELIKEEb. | ||
6 | |||
7 | * Keyboard Maintainer: [noclew](https://github.com/noclew) | ||
8 | * Hardware Supported: Vanana PCB | ||
9 | * Hardware Availability: Not commercially available. GB on Reddit and Geekhack time to times. | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make delikeeb/vanana/rev2:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make delikeeb/vanana/rev2:default:flash | ||
18 | |||
19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/delikeeb/vanana/rev1/config.h b/keyboards/delikeeb/vanana/rev1/config.h new file mode 100644 index 000000000..d584e32a3 --- /dev/null +++ b/keyboards/delikeeb/vanana/rev1/config.h | |||
@@ -0,0 +1,100 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define DEVICE_VER 0x0001 | ||
22 | #define PRODUCT Vanana rev1 | ||
23 | |||
24 | /* key matrix size */ | ||
25 | #define MATRIX_ROWS 5 | ||
26 | #define MATRIX_COLS 12 | ||
27 | |||
28 | /* | ||
29 | * Keyboard Matrix Assignments | ||
30 | * | ||
31 | * Change this to how you wired your keyboard | ||
32 | * COLS: AVR pins used for columns, left to right | ||
33 | * ROWS: AVR pins used for rows, top to bottom | ||
34 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
35 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
36 | * | ||
37 | */ | ||
38 | #define MATRIX_ROW_PINS { D2, D7, B4, B5, B6 } | ||
39 | #define MATRIX_COL_PINS { B2, B3, B1, F7, F5, F6, D3, D1, D0, D4, C6, E6 } | ||
40 | #define UNUSED_PINS | ||
41 | |||
42 | /* COL2ROW, ROW2COL */ | ||
43 | #define DIODE_DIRECTION COL2ROW | ||
44 | |||
45 | /* Rotary Encoder and Buzzer */ | ||
46 | #define ENCODERS_PAD_A { C7, F1 } | ||
47 | #define ENCODERS_PAD_B { D5, F0 } | ||
48 | #define B7_AUDIO | ||
49 | |||
50 | #define RGB_DI_PIN F0 | ||
51 | #ifdef RGB_DI_PIN | ||
52 | # define RGBLED_NUM 16 | ||
53 | # define RGBLIGHT_HUE_STEP 8 | ||
54 | # define RGBLIGHT_SAT_STEP 8 | ||
55 | # define RGBLIGHT_VAL_STEP 8 | ||
56 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
57 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
58 | /*== all animations enable ==*/ | ||
59 | // # define RGBLIGHT_ANIMATIONS | ||
60 | /*== or choose animations ==*/ | ||
61 | //# define RGBLIGHT_EFFECT_BREATHING | ||
62 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
63 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
64 | //# define RGBLIGHT_EFFECT_SNAKE | ||
65 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
66 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
67 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
68 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
69 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
70 | /*== customize breathing effect ==*/ | ||
71 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
72 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
73 | /*==== use exp() and sin() ====*/ | ||
74 | # define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
75 | # define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
76 | #endif | ||
77 | |||
78 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
79 | #define DEBOUNCE 5 | ||
80 | |||
81 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
82 | //#define MATRIX_HAS_GHOST | ||
83 | |||
84 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
85 | #define LOCKING_SUPPORT_ENABLE | ||
86 | /* Locking resynchronize hack */ | ||
87 | #define LOCKING_RESYNC_ENABLE | ||
88 | |||
89 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
90 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
91 | */ | ||
92 | #define GRAVE_ESC_CTRL_OVERRIDE | ||
93 | |||
94 | /* disable these deprecated features by default */ | ||
95 | #define NO_ACTION_MACRO | ||
96 | #define NO_ACTION_FUNCTION | ||
97 | |||
98 | /* Bootmagic Lite key configuration */ | ||
99 | #define BOOTMAGIC_LITE_ROW 0 | ||
100 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/delikeeb/vanana/rev1/rev1.c b/keyboards/delikeeb/vanana/rev1/rev1.c new file mode 100644 index 000000000..73b5039eb --- /dev/null +++ b/keyboards/delikeeb/vanana/rev1/rev1.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "rev1.h" | ||
diff --git a/keyboards/delikeeb/vanana/rev1/rev1.h b/keyboards/delikeeb/vanana/rev1/rev1.h new file mode 100644 index 000000000..3b125b3ca --- /dev/null +++ b/keyboards/delikeeb/vanana/rev1/rev1.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | /* This is a shortcut to help you visually see your layout. | ||
21 | * | ||
22 | * The first section contains all of the arguments representing the physical | ||
23 | * layout of the board and position of the keys. | ||
24 | * | ||
25 | * The second converts the arguments into a two-dimensional array which | ||
26 | * represents the switch matrix. | ||
27 | */ | ||
28 | #define LAYOUT( \ | ||
29 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, \ | ||
30 | k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, \ | ||
31 | k25, k26, k27, k28, k29, k30, k49, k31, k32, k33, k34, k35, k36, \ | ||
32 | k37, k38, k39, k40, k41, k42, k60, k43, k44, k45, k46, k47, k48, \ | ||
33 | k50, k51, k52, k53, k54, k55, k56, k57, k58, k59 \ | ||
34 | ) { \ | ||
35 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12 }, \ | ||
36 | { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24 }, \ | ||
37 | { k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36 }, \ | ||
38 | { k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ | ||
39 | { k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 } \ | ||
40 | } | ||
diff --git a/keyboards/delikeeb/vanana/rev1/rules.mk b/keyboards/delikeeb/vanana/rev1/rules.mk new file mode 100644 index 000000000..eee766eca --- /dev/null +++ b/keyboards/delikeeb/vanana/rev1/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
2 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/delikeeb/vanana/rev2/config.h b/keyboards/delikeeb/vanana/rev2/config.h new file mode 100644 index 000000000..8893bb09f --- /dev/null +++ b/keyboards/delikeeb/vanana/rev2/config.h | |||
@@ -0,0 +1,100 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define DEVICE_VER 0x0002 | ||
22 | #define PRODUCT Vanana rev2 | ||
23 | |||
24 | /* key matrix size */ | ||
25 | #define MATRIX_ROWS 6 | ||
26 | #define MATRIX_COLS 10 | ||
27 | |||
28 | /* | ||
29 | * Keyboard Matrix Assignments | ||
30 | * | ||
31 | * Change this to how you wired your keyboard | ||
32 | * COLS: AVR pins used for columns, left to right | ||
33 | * ROWS: AVR pins used for rows, top to bottom | ||
34 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
35 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
36 | * | ||
37 | */ | ||
38 | #define MATRIX_ROW_PINS { D1, C6, E6, B4, B5, F5} | ||
39 | #define MATRIX_COL_PINS { B3, B1, F7, F6, F4, D2, D3, D0, D4, D7 } | ||
40 | #define UNUSED_PINS | ||
41 | |||
42 | /* COL2ROW, ROW2COL */ | ||
43 | #define DIODE_DIRECTION COL2ROW | ||
44 | |||
45 | /* Rotary Encoder and Buzzer */ | ||
46 | #define ENCODERS_PAD_A { B6, F0 } | ||
47 | #define ENCODERS_PAD_B { B2, F1 } | ||
48 | #define B7_AUDIO | ||
49 | |||
50 | #define RGB_DI_PIN C7 | ||
51 | #ifdef RGB_DI_PIN | ||
52 | # define RGBLED_NUM 16 | ||
53 | # define RGBLIGHT_HUE_STEP 8 | ||
54 | # define RGBLIGHT_SAT_STEP 8 | ||
55 | # define RGBLIGHT_VAL_STEP 8 | ||
56 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
57 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
58 | /*== all animations enable ==*/ | ||
59 | // # define RGBLIGHT_ANIMATIONS | ||
60 | /*== or choose animations ==*/ | ||
61 | //# define RGBLIGHT_EFFECT_BREATHING | ||
62 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
63 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
64 | //# define RGBLIGHT_EFFECT_SNAKE | ||
65 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
66 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
67 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
68 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
69 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
70 | /*== customize breathing effect ==*/ | ||
71 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
72 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
73 | /*==== use exp() and sin() ====*/ | ||
74 | # define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
75 | # define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
76 | #endif | ||
77 | |||
78 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
79 | #define DEBOUNCE 5 | ||
80 | |||
81 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
82 | //#define MATRIX_HAS_GHOST | ||
83 | |||
84 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
85 | #define LOCKING_SUPPORT_ENABLE | ||
86 | /* Locking resynchronize hack */ | ||
87 | #define LOCKING_RESYNC_ENABLE | ||
88 | |||
89 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
90 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
91 | */ | ||
92 | #define GRAVE_ESC_CTRL_OVERRIDE | ||
93 | |||
94 | /* disable these deprecated features by default */ | ||
95 | #define NO_ACTION_MACRO | ||
96 | #define NO_ACTION_FUNCTION | ||
97 | |||
98 | /* Bootmagic Lite key configuration */ | ||
99 | #define BOOTMAGIC_LITE_ROW 0 | ||
100 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/delikeeb/vanana/rev2/rev2.c b/keyboards/delikeeb/vanana/rev2/rev2.c new file mode 100644 index 000000000..8f2a25992 --- /dev/null +++ b/keyboards/delikeeb/vanana/rev2/rev2.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "rev2.h" | ||
diff --git a/keyboards/delikeeb/vanana/rev2/rev2.h b/keyboards/delikeeb/vanana/rev2/rev2.h new file mode 100644 index 000000000..7f8d16b57 --- /dev/null +++ b/keyboards/delikeeb/vanana/rev2/rev2.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | /* This is a shortcut to help you visually see your layout. | ||
21 | * | ||
22 | * The first section contains all of the arguments representing the physical | ||
23 | * layout of the board and position of the keys. | ||
24 | * | ||
25 | * The second converts the arguments into a two-dimensional array which | ||
26 | * represents the switch matrix. | ||
27 | */ | ||
28 | #define LAYOUT( \ | ||
29 | k01, k02, k03, k04, k05, k55, k60, k06, k07, k08, k09, k10, \ | ||
30 | k11, k12, k13, k14, k15, k54, k59, k16, k17, k18, k19, k20, \ | ||
31 | k21, k22, k23, k24, k25, k53, k56, k58, k26, k27, k28, k29, k30, \ | ||
32 | k31, k32, k33, k34, k35, k52, k51, k57, k36, k37, k38, k39, k40, \ | ||
33 | k41, k42, k43, k44, k45, k46, k47, k48, k49, k50 \ | ||
34 | ) { \ | ||
35 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10 }, \ | ||
36 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k20 }, \ | ||
37 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k30 }, \ | ||
38 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k40 }, \ | ||
39 | { k41, k42, k43, k44, k45, k46, k47, k48, k49, k50 }, \ | ||
40 | { k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 } \ | ||
41 | } | ||
diff --git a/keyboards/delikeeb/vanana/rev2/rules.mk b/keyboards/delikeeb/vanana/rev2/rules.mk new file mode 100644 index 000000000..8bb6ab5d9 --- /dev/null +++ b/keyboards/delikeeb/vanana/rev2/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
2 | AUDIO_ENABLE = yes # Audio output | ||
diff --git a/keyboards/delikeeb/vanana/rules.mk b/keyboards/delikeeb/vanana/rules.mk new file mode 100644 index 000000000..ae0d105d9 --- /dev/null +++ b/keyboards/delikeeb/vanana/rules.mk | |||
@@ -0,0 +1,23 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
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 | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | ENCODER_ENABLE = yes # Enable Rotary Encoder | ||
18 | |||
19 | # additional features for ELITE-C | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | AUDIO_ENABLE = no # Audio output | ||
22 | |||
23 | DEFAULT_FOLDER = delikeeb/vanana/rev2 | ||
diff --git a/keyboards/delikeeb/vaneela/config.h b/keyboards/delikeeb/vaneela/config.h new file mode 100644 index 000000000..4feaf44a7 --- /dev/null +++ b/keyboards/delikeeb/vaneela/config.h | |||
@@ -0,0 +1,110 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x9906 | ||
24 | #define PRODUCT_ID 0x0001 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER noclew | ||
27 | #define PRODUCT Vaneela | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { F6, F7, B3, B2, B6 } | ||
44 | #define MATRIX_COL_PINS { F4, F5, B5, B4, E6, D7, C6, D4, D0, D1, D2, D3 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL*/ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | |||
51 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
52 | #define DEBOUNCE 5 | ||
53 | |||
54 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
55 | //#define MATRIX_HAS_GHOST | ||
56 | |||
57 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
58 | #define LOCKING_SUPPORT_ENABLE | ||
59 | /* Locking resynchronize hack */ | ||
60 | #define LOCKING_RESYNC_ENABLE | ||
61 | |||
62 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
63 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
64 | */ | ||
65 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
66 | |||
67 | /* | ||
68 | * Force NKRO | ||
69 | * | ||
70 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
71 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
72 | * makefile for this to work.) | ||
73 | * | ||
74 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
75 | * until the next keyboard reset. | ||
76 | * | ||
77 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
78 | * fully operational during normal computer usage. | ||
79 | * | ||
80 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
81 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
82 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
83 | * power-up. | ||
84 | * | ||
85 | */ | ||
86 | //#define FORCE_NKRO | ||
87 | |||
88 | /* | ||
89 | * Feature disable options | ||
90 | * These options are also useful to firmware size reduction. | ||
91 | */ | ||
92 | |||
93 | /* disable debug print */ | ||
94 | //#define NO_DEBUG | ||
95 | |||
96 | /* disable print */ | ||
97 | //#define NO_PRINT | ||
98 | |||
99 | /* disable action features */ | ||
100 | //#define NO_ACTION_LAYER | ||
101 | //#define NO_ACTION_TAPPING | ||
102 | //#define NO_ACTION_ONESHOT | ||
103 | |||
104 | /* disable these deprecated features by default */ | ||
105 | #define NO_ACTION_MACRO | ||
106 | #define NO_ACTION_FUNCTION | ||
107 | |||
108 | /* Bootmagic Lite key configuration */ | ||
109 | // #define BOOTMAGIC_LITE_ROW 0 | ||
110 | // #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/delikeeb/vaneela/info.json b/keyboards/delikeeb/vaneela/info.json new file mode 100644 index 000000000..20f0fa9f4 --- /dev/null +++ b/keyboards/delikeeb/vaneela/info.json | |||
@@ -0,0 +1,311 @@ | |||
1 | { | ||
2 | "keyboard_name": "Vaneela", | ||
3 | "url": "http://www.keyboard-layout-editor.com/#/gists/be89ff3a761a44280296994d459bd0a9", | ||
4 | "maintainer": "qmk", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [ | ||
8 | { | ||
9 | "label": "`", | ||
10 | "x": 0, | ||
11 | "y": 0 | ||
12 | }, | ||
13 | { | ||
14 | "label": "1", | ||
15 | "x": 1, | ||
16 | "y": 0 | ||
17 | }, | ||
18 | { | ||
19 | "label": "2", | ||
20 | "x": 2, | ||
21 | "y": 0 | ||
22 | }, | ||
23 | { | ||
24 | "label": "3", | ||
25 | "x": 3, | ||
26 | "y": 0 | ||
27 | }, | ||
28 | { | ||
29 | "label": "4", | ||
30 | "x": 4, | ||
31 | "y": 0 | ||
32 | }, | ||
33 | { | ||
34 | "label": "5", | ||
35 | "x": 5, | ||
36 | "y": 0 | ||
37 | }, | ||
38 | { | ||
39 | "label": "6", | ||
40 | "x": 6, | ||
41 | "y": 0 | ||
42 | }, | ||
43 | { | ||
44 | "label": "7", | ||
45 | "x": 7, | ||
46 | "y": 0 | ||
47 | }, | ||
48 | { | ||
49 | "label": "8", | ||
50 | "x": 8, | ||
51 | "y": 0 | ||
52 | }, | ||
53 | { | ||
54 | "label": "9", | ||
55 | "x": 9, | ||
56 | "y": 0 | ||
57 | }, | ||
58 | { | ||
59 | "label": "0", | ||
60 | "x": 10, | ||
61 | "y": 0 | ||
62 | }, | ||
63 | { | ||
64 | "label": ":)", | ||
65 | "x": 11, | ||
66 | "y": 0, | ||
67 | "w": 1.5 | ||
68 | }, | ||
69 | { | ||
70 | "label": "TAB", | ||
71 | "x": 0, | ||
72 | "y": 1 | ||
73 | }, | ||
74 | { | ||
75 | "label": "Q", | ||
76 | "x": 1, | ||
77 | "y": 1 | ||
78 | }, | ||
79 | { | ||
80 | "label": "W", | ||
81 | "x": 2, | ||
82 | "y": 1 | ||
83 | }, | ||
84 | { | ||
85 | "label": "E", | ||
86 | "x": 3, | ||
87 | "y": 1 | ||
88 | }, | ||
89 | { | ||
90 | "label": "R", | ||
91 | "x": 4, | ||
92 | "y": 1 | ||
93 | }, | ||
94 | { | ||
95 | "label": "T", | ||
96 | "x": 5, | ||
97 | "y": 1 | ||
98 | }, | ||
99 | { | ||
100 | "label": "Y", | ||
101 | "x": 6, | ||
102 | "y": 1 | ||
103 | }, | ||
104 | { | ||
105 | "label": "U", | ||
106 | "x": 7, | ||
107 | "y": 1 | ||
108 | }, | ||
109 | { | ||
110 | "label": "I", | ||
111 | "x": 8, | ||
112 | "y": 1 | ||
113 | }, | ||
114 | { | ||
115 | "label": "O", | ||
116 | "x": 9, | ||
117 | "y": 1 | ||
118 | }, | ||
119 | { | ||
120 | "label": "P", | ||
121 | "x": 10, | ||
122 | "y": 1 | ||
123 | }, | ||
124 | { | ||
125 | "label": "BS", | ||
126 | "x": 11, | ||
127 | "y": 1, | ||
128 | "w": 1.5 | ||
129 | }, | ||
130 | { | ||
131 | "label": "ESC", | ||
132 | "x": 0, | ||
133 | "y": 2, | ||
134 | "w": 1.25 | ||
135 | }, | ||
136 | { | ||
137 | "label": "A", | ||
138 | "x": 1.25, | ||
139 | "y": 2 | ||
140 | }, | ||
141 | { | ||
142 | "label": "S", | ||
143 | "x": 2.25, | ||
144 | "y": 2 | ||
145 | }, | ||
146 | { | ||
147 | "label": "D", | ||
148 | "x": 3.25, | ||
149 | "y": 2 | ||
150 | }, | ||
151 | { | ||
152 | "label": "F", | ||
153 | "x": 4.25, | ||
154 | "y": 2 | ||
155 | }, | ||
156 | { | ||
157 | "label": "G", | ||
158 | "x": 5.25, | ||
159 | "y": 2 | ||
160 | }, | ||
161 | { | ||
162 | "label": "H", | ||
163 | "x": 6.25, | ||
164 | "y": 2 | ||
165 | }, | ||
166 | { | ||
167 | "label": "J", | ||
168 | "x": 7.25, | ||
169 | "y": 2 | ||
170 | }, | ||
171 | { | ||
172 | "label": "K", | ||
173 | "x": 8.25, | ||
174 | "y": 2 | ||
175 | }, | ||
176 | { | ||
177 | "label": "L", | ||
178 | "x": 9.25, | ||
179 | "y": 2 | ||
180 | }, | ||
181 | { | ||
182 | "label": ";", | ||
183 | "x": 10.25, | ||
184 | "y": 2 | ||
185 | }, | ||
186 | { | ||
187 | "label": "ENTER", | ||
188 | "x": 11.25, | ||
189 | "y": 2, | ||
190 | "w": 1.25 | ||
191 | }, | ||
192 | { | ||
193 | "label": "SHIFT", | ||
194 | "x": 0, | ||
195 | "y": 3, | ||
196 | "w": 1.5 | ||
197 | }, | ||
198 | { | ||
199 | "label": "Z", | ||
200 | "x": 1.5, | ||
201 | "y": 3 | ||
202 | }, | ||
203 | { | ||
204 | "label": "X", | ||
205 | "x": 2.5, | ||
206 | "y": 3 | ||
207 | }, | ||
208 | { | ||
209 | "label": "C", | ||
210 | "x": 3.5, | ||
211 | "y": 3 | ||
212 | }, | ||
213 | { | ||
214 | "label": "V", | ||
215 | "x": 4.5, | ||
216 | "y": 3 | ||
217 | }, | ||
218 | { | ||
219 | "label": "B", | ||
220 | "x": 5.5, | ||
221 | "y": 3 | ||
222 | }, | ||
223 | { | ||
224 | "label": "N", | ||
225 | "x": 6.5, | ||
226 | "y": 3 | ||
227 | }, | ||
228 | { | ||
229 | "label": "M", | ||
230 | "x": 7.5, | ||
231 | "y": 3 | ||
232 | }, | ||
233 | { | ||
234 | "label": ",", | ||
235 | "x": 8.5, | ||
236 | "y": 3 | ||
237 | }, | ||
238 | { | ||
239 | "label": ".", | ||
240 | "x": 9.5, | ||
241 | "y": 3 | ||
242 | }, | ||
243 | { | ||
244 | "label": "/", | ||
245 | "x": 10.5, | ||
246 | "y": 3 | ||
247 | }, | ||
248 | { | ||
249 | "label": "SHIFT", | ||
250 | "x": 11.5, | ||
251 | "y": 3 | ||
252 | }, | ||
253 | { | ||
254 | "label": "CTRL", | ||
255 | "x": 0, | ||
256 | "y": 4 | ||
257 | }, | ||
258 | { | ||
259 | "label": "GUI", | ||
260 | "x": 1, | ||
261 | "y": 4 | ||
262 | }, | ||
263 | { | ||
264 | "label": "ALT", | ||
265 | "x": 2, | ||
266 | "y": 4 | ||
267 | }, | ||
268 | { | ||
269 | "x": 3, | ||
270 | "y": 4 | ||
271 | }, | ||
272 | { | ||
273 | "label": "LOWER", | ||
274 | "x": 4, | ||
275 | "y": 4, | ||
276 | "w": 1.25 | ||
277 | }, | ||
278 | { | ||
279 | "x": 5.25, | ||
280 | "y": 4 | ||
281 | }, | ||
282 | { | ||
283 | "x": 6.25, | ||
284 | "y": 4 | ||
285 | }, | ||
286 | { | ||
287 | "label": "RAISE", | ||
288 | "x": 7.25, | ||
289 | "y": 4, | ||
290 | "w": 1.25 | ||
291 | }, | ||
292 | { | ||
293 | "x": 8.5, | ||
294 | "y": 4 | ||
295 | }, | ||
296 | { | ||
297 | "x": 9.5, | ||
298 | "y": 4 | ||
299 | }, | ||
300 | { | ||
301 | "x": 10.5, | ||
302 | "y": 4 | ||
303 | }, | ||
304 | { | ||
305 | "x": 11.5, | ||
306 | "y": 4 | ||
307 | } | ||
308 | ] | ||
309 | } | ||
310 | } | ||
311 | } | ||
diff --git a/keyboards/delikeeb/vaneela/keymaps/default/keymap.c b/keyboards/delikeeb/vaneela/keymaps/default/keymap.c new file mode 100644 index 000000000..ce0cd88e7 --- /dev/null +++ b/keyboards/delikeeb/vaneela/keymaps/default/keymap.c | |||
@@ -0,0 +1,120 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _FN | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | #define LOWER MO(_LOWER) | ||
28 | #define RAISE MO(_RAISE) | ||
29 | |||
30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
31 | /* BASE | ||
32 | * ,-----------------------------------------------------------------------------------. | ||
33 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | del | | ||
34 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
35 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
36 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
37 | * | Esc | A | S | D | F | G | H | J | K | L | ; |Enter | | ||
38 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
39 | * | Shift| Z | X | C | V | B | N | M | , | . | / | " | | ||
40 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
41 | * | Ctrl | Ctrl | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | | ||
42 | * `-----------------------------------------------------------------------------------' | ||
43 | * */ | ||
44 | [_BASE] = LAYOUT_ortho_5x12( | ||
45 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
46 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
47 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
48 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, | ||
49 | KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
50 | ), | ||
51 | |||
52 | /* Lower | ||
53 | * ,-----------------------------------------------------------------------------------. | ||
54 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | | ||
55 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
56 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
57 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
58 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
59 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
60 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | | ||
61 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
62 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
63 | * `-----------------------------------------------------------------------------------' | ||
64 | */ | ||
65 | [_LOWER] = LAYOUT_ortho_5x12( | ||
66 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
67 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
68 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
69 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
70 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
71 | ), | ||
72 | |||
73 | /* Raise | ||
74 | * ,-----------------------------------------------------------------------------------. | ||
75 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
76 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
77 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
78 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
79 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
80 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
81 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PGUP| PGDN| | | ||
82 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
83 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
84 | * `-----------------------------------------------------------------------------------' | ||
85 | */ | ||
86 | [_RAISE] = LAYOUT_ortho_5x12( | ||
87 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
88 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_BSPC, KC_9, KC_0, KC_DEL, | ||
89 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_BSLS, | ||
90 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
91 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
92 | ), | ||
93 | |||
94 | /* FN (Lower + Raise) | ||
95 | * ,-----------------------------------------------------------------------------------. | ||
96 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
97 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
98 | * | | Reset| Debug| | | | | | | | | Del | | ||
99 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
100 | * | | | |Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | | ||
101 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
102 | * | |Voice-|Voice+|Mus on|MusOff|MidiOn|MidOff| | | | | | | ||
103 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
104 | * | | | | | | | | | | | | | ||
105 | * `-----------------------------------------------------------------------------------' | ||
106 | */ | ||
107 | [_FN] = LAYOUT_ortho_5x12( | ||
108 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
109 | _______, RESET, DEBUG, _______, _______, _______, _______, _______, _______,TERM_ON, TERM_OFF, KC_DEL, | ||
110 | _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, | ||
111 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
112 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
113 | ) | ||
114 | |||
115 | }; | ||
116 | |||
117 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
118 | state = update_tri_layer_state(state, _RAISE, _LOWER, _FN); | ||
119 | return state; | ||
120 | } | ||
diff --git a/keyboards/delikeeb/vaneela/keymaps/default/readme.md b/keyboards/delikeeb/vaneela/keymaps/default/readme.md new file mode 100644 index 000000000..597cee4fa --- /dev/null +++ b/keyboards/delikeeb/vaneela/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for vaneela | |||
diff --git a/keyboards/delikeeb/vaneela/keymaps/via/keymap.c b/keyboards/delikeeb/vaneela/keymaps/via/keymap.c new file mode 100644 index 000000000..1dfad3f8e --- /dev/null +++ b/keyboards/delikeeb/vaneela/keymaps/via/keymap.c | |||
@@ -0,0 +1,114 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _FN | ||
24 | }; | ||
25 | // Defines the keycodes used by our macros in process_record_user | ||
26 | #define LOWER MO(_LOWER) | ||
27 | #define RAISE MO(_RAISE) | ||
28 | |||
29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
30 | /* BASE | ||
31 | * ,-----------------------------------------------------------------------------------. | ||
32 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | del | | ||
33 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
34 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
35 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
36 | * | Esc | A | S | D | F | G | H | J | K | L | ; |Enter | | ||
37 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
38 | * | Shift| Z | X | C | V | B | N | M | , | . | / | " | | ||
39 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
40 | * | Ctrl | Ctrl | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | | ||
41 | * `-----------------------------------------------------------------------------------' | ||
42 | * */ | ||
43 | [_BASE] = LAYOUT_ortho_5x12( | ||
44 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
45 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
46 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
47 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, | ||
48 | KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
49 | ), | ||
50 | |||
51 | /* Lower | ||
52 | * ,-----------------------------------------------------------------------------------. | ||
53 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | | ||
54 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
55 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
56 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
57 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
58 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
59 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | | ||
60 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
61 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
62 | * `-----------------------------------------------------------------------------------' | ||
63 | */ | ||
64 | [_LOWER] = LAYOUT_ortho_5x12( | ||
65 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
66 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
67 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
68 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
70 | ), | ||
71 | |||
72 | /* Raise | ||
73 | * ,-----------------------------------------------------------------------------------. | ||
74 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
75 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
76 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
77 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
78 | * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
79 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
80 | * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PGUP| PGDN| | | ||
81 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
82 | * | | | | | | | | Next | Vol- | Vol+ | Play | | ||
83 | * `-----------------------------------------------------------------------------------' | ||
84 | */ | ||
85 | [_RAISE] = LAYOUT_ortho_5x12( | ||
86 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
87 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_BSPC, KC_9, KC_0, KC_DEL, | ||
88 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_BSLS, | ||
89 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
90 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
91 | ), | ||
92 | |||
93 | /* FN (Lower + Raise) | ||
94 | * ,-----------------------------------------------------------------------------------. | ||
95 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
96 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
97 | * | | Reset| Debug| | | | | | | | | Del | | ||
98 | * |------+------+------+------+------+-------------+------+------+------+------+------| | ||
99 | * | | | |Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | | ||
100 | * |------+------+------+------+------+------|------+------+------+------+------+------| | ||
101 | * | |Voice-|Voice+|Mus on|MusOff|MidiOn|MidOff| | | | | | | ||
102 | * |------+------+------+------+------+------+------+------+------+------+------+------| | ||
103 | * | | | | | | | | | | | | | ||
104 | * `-----------------------------------------------------------------------------------' | ||
105 | */ | ||
106 | [_FN] = LAYOUT_ortho_5x12( | ||
107 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
108 | _______, RESET, DEBUG, _______, _______, _______, _______, _______, _______,TERM_ON, TERM_OFF, KC_DEL, | ||
109 | _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, | ||
110 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
111 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
112 | ) | ||
113 | |||
114 | }; | ||
diff --git a/keyboards/delikeeb/vaneela/keymaps/via/rules.mk b/keyboards/delikeeb/vaneela/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/delikeeb/vaneela/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/delikeeb/vaneela/readme.md b/keyboards/delikeeb/vaneela/readme.md new file mode 100644 index 000000000..0e8f89469 --- /dev/null +++ b/keyboards/delikeeb/vaneela/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # Vaneela | ||
2 | |||
3 |  | ||
4 | |||
5 | This is a semi-staggered 5x12 keyboard made by a hobbist. Vaneela runs on Pro Micro and its compatible variants, such as elite-C. In matrix wise, it has the same key layout as other 5 x 12 ortholinear boards. | ||
6 | |||
7 | * Keyboard Maintainer: [noclew](https://github.com/noclew) | ||
8 | * Hardware Supported: Vaneela | ||
9 | * Hardware Availability: Not commercially available, but the board fabricaion file will be uploaded in the near future. | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make delikeeb/vaneela:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make delikeeb/vaneela:default:flash | ||
18 | |||
19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/delikeeb/vaneela/rules.mk b/keyboards/delikeeb/vaneela/rules.mk new file mode 100644 index 000000000..515ca5621 --- /dev/null +++ b/keyboards/delikeeb/vaneela/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = caterina | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
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 | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/delikeeb/vaneela/vaneela.c b/keyboards/delikeeb/vaneela/vaneela.c new file mode 100644 index 000000000..ca5d513a0 --- /dev/null +++ b/keyboards/delikeeb/vaneela/vaneela.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "vaneela.h" | ||
18 | |||
diff --git a/keyboards/delikeeb/vaneela/vaneela.h b/keyboards/delikeeb/vaneela/vaneela.h new file mode 100644 index 000000000..3fb8d7a6f --- /dev/null +++ b/keyboards/delikeeb/vaneela/vaneela.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT_ortho_5x12( \ | ||
30 | k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, \ | ||
31 | k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, \ | ||
32 | k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, \ | ||
33 | k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48, \ | ||
34 | k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 \ | ||
35 | ) \ | ||
36 | { \ | ||
37 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12 }, \ | ||
38 | { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24 }, \ | ||
39 | { k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36 }, \ | ||
40 | { k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ | ||
41 | { k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 } \ | ||
42 | } | ||
diff --git a/keyboards/delikeeb/vaneelaex/config.h b/keyboards/delikeeb/vaneelaex/config.h new file mode 100644 index 000000000..4eb630383 --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/config.h | |||
@@ -0,0 +1,109 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x9906 | ||
24 | #define PRODUCT_ID 0x0002 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER delikeeb | ||
27 | #define PRODUCT VaneelaEx | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 6 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { D3, D2, D1, D0, B2, B6 } | ||
44 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B5, B4, E6, D7, C6, D4 } | ||
45 | //#define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL*/ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
51 | #define DEBOUNCE 5 | ||
52 | |||
53 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
54 | //#define MATRIX_HAS_GHOST | ||
55 | |||
56 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
57 | #define LOCKING_SUPPORT_ENABLE | ||
58 | /* Locking resynchronize hack */ | ||
59 | #define LOCKING_RESYNC_ENABLE | ||
60 | |||
61 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
62 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
63 | */ | ||
64 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
65 | |||
66 | /* | ||
67 | * Force NKRO | ||
68 | * | ||
69 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
70 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
71 | * makefile for this to work.) | ||
72 | * | ||
73 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
74 | * until the next keyboard reset. | ||
75 | * | ||
76 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
77 | * fully operational during normal computer usage. | ||
78 | * | ||
79 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
80 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
81 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
82 | * power-up. | ||
83 | * | ||
84 | */ | ||
85 | //#define FORCE_NKRO | ||
86 | |||
87 | /* | ||
88 | * Feature disable options | ||
89 | * These options are also useful to firmware size reduction. | ||
90 | */ | ||
91 | |||
92 | /* disable debug print */ | ||
93 | //#define NO_DEBUG | ||
94 | |||
95 | /* disable print */ | ||
96 | //#define NO_PRINT | ||
97 | |||
98 | /* disable action features */ | ||
99 | //#define NO_ACTION_LAYER | ||
100 | //#define NO_ACTION_TAPPING | ||
101 | //#define NO_ACTION_ONESHOT | ||
102 | |||
103 | /* disable these deprecated features by default */ | ||
104 | #define NO_ACTION_MACRO | ||
105 | #define NO_ACTION_FUNCTION | ||
106 | |||
107 | /* Bootmagic Lite key configuration */ | ||
108 | // #define BOOTMAGIC_LITE_ROW 0 | ||
109 | // #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/delikeeb/vaneelaex/info.json b/keyboards/delikeeb/vaneelaex/info.json new file mode 100644 index 000000000..8ecd733aa --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/info.json | |||
@@ -0,0 +1,324 @@ | |||
1 | { | ||
2 | "keyboard_name": "VaneelaEx", | ||
3 | "url": "http://www.keyboard-layout-editor.com/#/gists/f605c1a2cb2fea256161964740bd2a52", | ||
4 | "maintainer": "qmk", | ||
5 | "layouts": { | ||
6 | "LAYOUT_ss_6x12": { | ||
7 | "layout": [ | ||
8 | { | ||
9 | "x": 0, | ||
10 | "y": 0 | ||
11 | }, | ||
12 | { | ||
13 | "label": "7", | ||
14 | "x": 1, | ||
15 | "y": 0 | ||
16 | }, | ||
17 | { | ||
18 | "label": "8", | ||
19 | "x": 2, | ||
20 | "y": 0 | ||
21 | }, | ||
22 | { | ||
23 | "label": "9", | ||
24 | "x": 3, | ||
25 | "y": 0 | ||
26 | }, | ||
27 | { | ||
28 | "label": "TAB", | ||
29 | "x": 4, | ||
30 | "y": 0 | ||
31 | }, | ||
32 | { | ||
33 | "label": "Q", | ||
34 | "x": 5, | ||
35 | "y": 0 | ||
36 | }, | ||
37 | { | ||
38 | "label": "W", | ||
39 | "x": 6, | ||
40 | "y": 0 | ||
41 | }, | ||
42 | { | ||
43 | "label": "E", | ||
44 | "x": 7, | ||
45 | "y": 0 | ||
46 | }, | ||
47 | { | ||
48 | "label": "R", | ||
49 | "x": 8, | ||
50 | "y": 0 | ||
51 | }, | ||
52 | { | ||
53 | "label": "T", | ||
54 | "x": 9, | ||
55 | "y": 0 | ||
56 | }, | ||
57 | { | ||
58 | "label": "Y", | ||
59 | "x": 10, | ||
60 | "y": 0 | ||
61 | }, | ||
62 | { | ||
63 | "label": "U", | ||
64 | "x": 11, | ||
65 | "y": 0 | ||
66 | }, | ||
67 | { | ||
68 | "label": "I", | ||
69 | "x": 12, | ||
70 | "y": 0 | ||
71 | }, | ||
72 | { | ||
73 | "label": "O", | ||
74 | "x": 13, | ||
75 | "y": 0 | ||
76 | }, | ||
77 | { | ||
78 | "label": "P", | ||
79 | "x": 14, | ||
80 | "y": 0 | ||
81 | }, | ||
82 | { | ||
83 | "label": "BS", | ||
84 | "x": 15, | ||
85 | "y": 0, | ||
86 | "w": 1.5 | ||
87 | }, | ||
88 | { | ||
89 | "x": 0, | ||
90 | "y": 1 | ||
91 | }, | ||
92 | { | ||
93 | "label": "4", | ||
94 | "x": 1, | ||
95 | "y": 1 | ||
96 | }, | ||
97 | { | ||
98 | "label": "5", | ||
99 | "x": 2, | ||
100 | "y": 1 | ||
101 | }, | ||
102 | { | ||
103 | "label": "6", | ||
104 | "x": 3, | ||
105 | "y": 1 | ||
106 | }, | ||
107 | { | ||
108 | "label": "ESC", | ||
109 | "x": 4, | ||
110 | "y": 1, | ||
111 | "w": 1.25 | ||
112 | }, | ||
113 | { | ||
114 | "label": "A", | ||
115 | "x": 5.25, | ||
116 | "y": 1 | ||
117 | }, | ||
118 | { | ||
119 | "label": "S", | ||
120 | "x": 6.25, | ||
121 | "y": 1 | ||
122 | }, | ||
123 | { | ||
124 | "label": "D", | ||
125 | "x": 7.25, | ||
126 | "y": 1 | ||
127 | }, | ||
128 | { | ||
129 | "label": "F", | ||
130 | "x": 8.25, | ||
131 | "y": 1 | ||
132 | }, | ||
133 | { | ||
134 | "label": "G", | ||
135 | "x": 9.25, | ||
136 | "y": 1 | ||
137 | }, | ||
138 | { | ||
139 | "label": "H", | ||
140 | "x": 10.25, | ||
141 | "y": 1 | ||
142 | }, | ||
143 | { | ||
144 | "label": "J", | ||
145 | "x": 11.25, | ||
146 | "y": 1 | ||
147 | }, | ||
148 | { | ||
149 | "label": "K", | ||
150 | "x": 12.25, | ||
151 | "y": 1 | ||
152 | }, | ||
153 | { | ||
154 | "label": "L", | ||
155 | "x": 13.25, | ||
156 | "y": 1 | ||
157 | }, | ||
158 | { | ||
159 | "label": ";", | ||
160 | "x": 14.25, | ||
161 | "y": 1 | ||
162 | }, | ||
163 | { | ||
164 | "label": "ENTER", | ||
165 | "x": 15.25, | ||
166 | "y": 1, | ||
167 | "w": 1.25 | ||
168 | }, | ||
169 | { | ||
170 | "x": 0, | ||
171 | "y": 2 | ||
172 | }, | ||
173 | { | ||
174 | "label": "1", | ||
175 | "x": 1, | ||
176 | "y": 2 | ||
177 | }, | ||
178 | { | ||
179 | "label": "2", | ||
180 | "x": 2, | ||
181 | "y": 2 | ||
182 | }, | ||
183 | { | ||
184 | "label": "3", | ||
185 | "x": 3, | ||
186 | "y": 2 | ||
187 | }, | ||
188 | { | ||
189 | "label": "SHIFT", | ||
190 | "x": 4, | ||
191 | "y": 2, | ||
192 | "w": 1.5 | ||
193 | }, | ||
194 | { | ||
195 | "label": "Z", | ||
196 | "x": 5.5, | ||
197 | "y": 2 | ||
198 | }, | ||
199 | { | ||
200 | "label": "X", | ||
201 | "x": 6.5, | ||
202 | "y": 2 | ||
203 | }, | ||
204 | { | ||
205 | "label": "C", | ||
206 | "x": 7.5, | ||
207 | "y": 2 | ||
208 | }, | ||
209 | { | ||
210 | "label": "V", | ||
211 | "x": 8.5, | ||
212 | "y": 2 | ||
213 | }, | ||
214 | { | ||
215 | "label": "B", | ||
216 | "x": 9.5, | ||
217 | "y": 2 | ||
218 | }, | ||
219 | { | ||
220 | "label": "N", | ||
221 | "x": 10.5, | ||
222 | "y": 2 | ||
223 | }, | ||
224 | { | ||
225 | "label": "M", | ||
226 | "x": 11.5, | ||
227 | "y": 2 | ||
228 | }, | ||
229 | { | ||
230 | "label": ",", | ||
231 | "x": 12.5, | ||
232 | "y": 2 | ||
233 | }, | ||
234 | { | ||
235 | "label": ".", | ||
236 | "x": 13.5, | ||
237 | "y": 2 | ||
238 | }, | ||
239 | { | ||
240 | "label": "/", | ||
241 | "x": 14.5, | ||
242 | "y": 2 | ||
243 | }, | ||
244 | { | ||
245 | "label": "SHIFT", | ||
246 | "x": 15.5, | ||
247 | "y": 2 | ||
248 | }, | ||
249 | { | ||
250 | "x": 0, | ||
251 | "y": 3 | ||
252 | }, | ||
253 | { | ||
254 | "x": 1, | ||
255 | "y": 3 | ||
256 | }, | ||
257 | { | ||
258 | "x": 2, | ||
259 | "y": 3 | ||
260 | }, | ||
261 | { | ||
262 | "label": "0", | ||
263 | "x": 3, | ||
264 | "y": 3 | ||
265 | }, | ||
266 | { | ||
267 | "label": "CTRL", | ||
268 | "x": 4, | ||
269 | "y": 3 | ||
270 | }, | ||
271 | { | ||
272 | "label": "GUI", | ||
273 | "x": 5, | ||
274 | "y": 3 | ||
275 | }, | ||
276 | { | ||
277 | "label": "ALT", | ||
278 | "x": 6, | ||
279 | "y": 3 | ||
280 | }, | ||
281 | { | ||
282 | "x": 7, | ||
283 | "y": 3 | ||
284 | }, | ||
285 | { | ||
286 | "label": "LOWER", | ||
287 | "x": 8, | ||
288 | "y": 3, | ||
289 | "w": 1.25 | ||
290 | }, | ||
291 | { | ||
292 | "x": 9.25, | ||
293 | "y": 3 | ||
294 | }, | ||
295 | { | ||
296 | "x": 10.25, | ||
297 | "y": 3 | ||
298 | }, | ||
299 | { | ||
300 | "label": "RAISE", | ||
301 | "x": 11.25, | ||
302 | "y": 3, | ||
303 | "w": 1.25 | ||
304 | }, | ||
305 | { | ||
306 | "x": 12.5, | ||
307 | "y": 3 | ||
308 | }, | ||
309 | { | ||
310 | "x": 13.5, | ||
311 | "y": 3 | ||
312 | }, | ||
313 | { | ||
314 | "x": 14.5, | ||
315 | "y": 3 | ||
316 | }, | ||
317 | { | ||
318 | "x": 15.5, | ||
319 | "y": 3 | ||
320 | } | ||
321 | ] | ||
322 | } | ||
323 | } | ||
324 | } | ||
diff --git a/keyboards/delikeeb/vaneelaex/keymaps/default/keymap.c b/keyboards/delikeeb/vaneelaex/keymaps/default/keymap.c new file mode 100644 index 000000000..6e98c9b8a --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/keymaps/default/keymap.c | |||
@@ -0,0 +1,108 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _FN | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | #define LOWER MO(_LOWER) | ||
28 | #define RAISE MO(_RAISE) | ||
29 | |||
30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
31 | /* BASE | ||
32 | * ,---------------------------------------------------------------------------------------------------------------. | ||
33 | * | = | 7 | 8 | 9 | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
34 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
35 | * | - | 4 | 5 | 6 | Esc | A | S | D | F | G | H | J | K | L | ; |Enter | | ||
36 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
37 | * | + | 1 | 2 | 3 | Shift| Z | X | C | V | B | N | M | , | . | / | " | | ||
38 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
39 | * | / | * | . | 0 | Brite| Ctrl | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | | ||
40 | * '---------------------------------------------------------------------------------------------------------------' | ||
41 | * */ | ||
42 | [_BASE] = LAYOUT_ss_6x12( | ||
43 | KC_KP_EQUAL, KC_7, KC_8, KC_9, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
44 | KC_KP_MINUS, KC_4, KC_5, KC_6, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
45 | KC_KP_PLUS, KC_1, KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, | ||
46 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
47 | ), | ||
48 | |||
49 | /* Lower | ||
50 | * ,---------------------------------------------------------------------------------------------------------------. | ||
51 | * | = | 7 | 8 | 9 | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
52 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
53 | * | - | 4 | 5 | 6 | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
54 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
55 | * | + | 1 | 2 | 3 | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | | ||
56 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
57 | * | / | * | . | 0 | | | | | | | | Next | Vol- | Vol+ | Play | | ||
58 | * `---------------------------------------------------------------------------------------------------------------' | ||
59 | */ | ||
60 | [_LOWER] = LAYOUT_ss_6x12( | ||
61 | KC_KP_EQUAL, KC_7, KC_8, KC_TILDE, KC_9, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
62 | KC_KP_MINUS, KC_4, KC_5, KC_DEL, KC_6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
63 | KC_KP_PLUS, KC_1, KC_2, _______, KC_3, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
64 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, _______, KC_0, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
65 | ), | ||
66 | |||
67 | /* Raise | ||
68 | * ,---------------------------------------------------------------------------------------------------------------. | ||
69 | * | = | 7 | 8 | 9 | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
70 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
71 | * | - | 4 | 5 | 6 | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
72 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
73 | * | + | 1 | 2 | 3 | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PGUP| PGDN| | | ||
74 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
75 | * | / | * | . | 0 | | | | | | | | Next | Vol- | Vol+ | Play | | ||
76 | * `---------------------------------------------------------------------------------------------------------------' | ||
77 | */ | ||
78 | [_RAISE] = LAYOUT_ss_6x12( | ||
79 | KC_KP_EQUAL, KC_7, KC_8, KC_9, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
80 | KC_KP_MINUS, KC_4, KC_5, KC_6, KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
81 | KC_KP_PLUS, KC_1, KC_2, KC_3, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
82 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
83 | ), | ||
84 | |||
85 | /* FN (Lower + Raise) | ||
86 | * ,---------------------------------------------------------------------------------------------------------------. | ||
87 | * | = | 7 | 8 | 9 | Reset| | Debug| | | | | | | | | Del | | ||
88 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
89 | * | - | 4 | 5 | 6 | | | |Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | | ||
90 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
91 | * | + | 1 | 2 | 3 | |Voice-|Voice+|Mus on|MusOff|MidiOn|MidOff| | | | | | | ||
92 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
93 | * | / | * | . | 0 | | | | | | | | | | | | | ||
94 | * `---------------------------------------------------------------------------------------------------------------' | ||
95 | */ | ||
96 | [_FN] = LAYOUT_ss_6x12( | ||
97 | KC_KP_EQUAL, KC_7, KC_8, KC_9, RESET , RGB_TOG, RGB_MOD, RGB_HUI, RGB_VAI, RGB_VAD, RGB_SAI, RGB_SAD, _______, _______, _______, KC_DEL, | ||
98 | KC_KP_MINUS, KC_4, KC_5, KC_6, _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, | ||
99 | KC_KP_PLUS, KC_1, KC_2, KC_3, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
100 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
101 | ) | ||
102 | |||
103 | }; | ||
104 | |||
105 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
106 | state = update_tri_layer_state(state, _RAISE, _LOWER, _FN); | ||
107 | return state; | ||
108 | } | ||
diff --git a/keyboards/delikeeb/vaneelaex/keymaps/default/readme.md b/keyboards/delikeeb/vaneelaex/keymaps/default/readme.md new file mode 100644 index 000000000..89c3c8c2a --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/keymaps/default/readme.md | |||
@@ -0,0 +1,2 @@ | |||
1 | # The default keymap for vaneela Ex | ||
2 | |||
diff --git a/keyboards/delikeeb/vaneelaex/keymaps/via/keymap.c b/keyboards/delikeeb/vaneelaex/keymaps/via/keymap.c new file mode 100644 index 000000000..e23cf96a2 --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/keymaps/via/keymap.c | |||
@@ -0,0 +1,103 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _FN | ||
24 | }; | ||
25 | // Defines the keycodes used by our macros in process_record_user | ||
26 | |||
27 | // Defines the keycodes used by our macros in process_record_user | ||
28 | #define LOWER MO(_LOWER) | ||
29 | #define RAISE MO(_RAISE) | ||
30 | |||
31 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
32 | /* BASE | ||
33 | * ,---------------------------------------------------------------------------------------------------------------. | ||
34 | * | = | 7 | 8 | 9 | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | | ||
35 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
36 | * | - | 4 | 5 | 6 | Esc | A | S | D | F | G | H | J | K | L | ; |Enter | | ||
37 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
38 | * | + | 1 | 2 | 3 | Shift| Z | X | C | V | B | N | M | , | . | / | " | | ||
39 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
40 | * | / | * | . | 0 | Brite| Ctrl | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | | ||
41 | * '---------------------------------------------------------------------------------------------------------------' | ||
42 | * */ | ||
43 | [_BASE] = LAYOUT_ss_6x12( | ||
44 | KC_KP_EQUAL, KC_7, KC_8, KC_9, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
45 | KC_KP_MINUS, KC_4, KC_5, KC_6, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
46 | KC_KP_PLUS, KC_1, KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, | ||
47 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
48 | ), | ||
49 | |||
50 | /* Lower | ||
51 | * ,---------------------------------------------------------------------------------------------------------------. | ||
52 | * | = | 7 | 8 | 9 | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | | ||
53 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
54 | * | - | 4 | 5 | 6 | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | ||
55 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
56 | * | + | 1 | 2 | 3 | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | | | | ||
57 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
58 | * | / | * | . | 0 | | | | | | | | Next | Vol- | Vol+ | Play | | ||
59 | * `---------------------------------------------------------------------------------------------------------------' | ||
60 | */ | ||
61 | [_LOWER] = LAYOUT_ss_6x12( | ||
62 | KC_KP_EQUAL, KC_7, KC_8, KC_TILDE, KC_9, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
63 | KC_KP_MINUS, KC_4, KC_5, KC_DEL, KC_6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
64 | KC_KP_PLUS, KC_1, KC_2, _______, KC_3, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, | ||
65 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, _______, KC_0, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
66 | ), | ||
67 | |||
68 | /* Raise | ||
69 | * ,---------------------------------------------------------------------------------------------------------------. | ||
70 | * | = | 7 | 8 | 9 | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del | | ||
71 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
72 | * | - | 4 | 5 | 6 | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | | ||
73 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
74 | * | + | 1 | 2 | 3 | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PGUP| PGDN| | | ||
75 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
76 | * | / | * | . | 0 | | | | | | | | Next | Vol- | Vol+ | Play | | ||
77 | * `---------------------------------------------------------------------------------------------------------------' | ||
78 | */ | ||
79 | [_RAISE] = LAYOUT_ss_6x12( | ||
80 | KC_KP_EQUAL, KC_7, KC_8, KC_9, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
81 | KC_KP_MINUS, KC_4, KC_5, KC_6, KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
82 | KC_KP_PLUS, KC_1, KC_2, KC_3, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, | ||
83 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
84 | ), | ||
85 | |||
86 | /* FN (Lower + Raise) | ||
87 | * ,---------------------------------------------------------------------------------------------------------------. | ||
88 | * | = | 7 | 8 | 9 | Reset| | Debug| | | | | | | | | Del | | ||
89 | * |------+------+------+------+------+------+------+------+------+-------------+------+------+------+------+------| | ||
90 | * | - | 4 | 5 | 6 | | | |Aud on|AudOff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | | ||
91 | * |------+------+------+------+------+------+------+------+------+------|------+------+------+------+------+------| | ||
92 | * | + | 1 | 2 | 3 | |Voice-|Voice+|Mus on|MusOff|MidiOn|MidOff| | | | | | | ||
93 | * |------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------| | ||
94 | * | / | * | . | 0 | | | | | | | | | | | | | ||
95 | * `---------------------------------------------------------------------------------------------------------------' | ||
96 | */ | ||
97 | [_FN] = LAYOUT_ss_6x12( | ||
98 | KC_KP_EQUAL, KC_7, KC_8, KC_9, RESET , RGB_TOG, RGB_MOD, RGB_HUI, RGB_VAI, RGB_VAD, RGB_SAI, RGB_SAD, _______, _______, _______, KC_DEL, | ||
99 | KC_KP_MINUS, KC_4, KC_5, KC_6, _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, | ||
100 | KC_KP_PLUS, KC_1, KC_2, KC_3, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
101 | KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_DOT, KC_0, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
102 | ) | ||
103 | }; | ||
diff --git a/keyboards/delikeeb/vaneelaex/keymaps/via/rules.mk b/keyboards/delikeeb/vaneelaex/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/delikeeb/vaneelaex/readme.md b/keyboards/delikeeb/vaneelaex/readme.md new file mode 100644 index 000000000..9bd39b510 --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/readme.md | |||
@@ -0,0 +1,20 @@ | |||
1 | # Vaneela Ex | ||
2 | |||
3 |  | ||
4 | |||
5 | Vaneela Ex is a custom keyboard made by a hobbist. It has a semi-staggered layout with an optional 4x4 keys on the left or right. | ||
6 | Vaneela Ex supports Pro Micro and its compatible variants, such as elite-C. | ||
7 | |||
8 | * Keyboard Maintainer: [noclew](https://github.com/noclew) | ||
9 | * Hardware Supported: Vaneela Ex PCB | ||
10 | * Hardware Availability: Not commercially available, but the board fabricaion file will be uploaded in the near future. | ||
11 | |||
12 | Make example for this keyboard (after setting up your build environment): | ||
13 | |||
14 | make delikeeb/vaneelaex:default | ||
15 | |||
16 | Flashing example for this keyboard: | ||
17 | |||
18 | make delikeeb/vaneelaex:default:flash | ||
19 | |||
20 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/delikeeb/vaneelaex/rules.mk b/keyboards/delikeeb/vaneelaex/rules.mk new file mode 100644 index 000000000..515ca5621 --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = caterina | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
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 | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/delikeeb/vaneelaex/vaneelaex.c b/keyboards/delikeeb/vaneelaex/vaneelaex.c new file mode 100644 index 000000000..e82cd5487 --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/vaneelaex.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "vaneelaex.h" | ||
18 | |||
diff --git a/keyboards/delikeeb/vaneelaex/vaneelaex.h b/keyboards/delikeeb/vaneelaex/vaneelaex.h new file mode 100644 index 000000000..9b2d74ece --- /dev/null +++ b/keyboards/delikeeb/vaneelaex/vaneelaex.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT_ss_6x12( \ | ||
30 | k62, k63, k64, k65, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, \ | ||
31 | k58, k59, k60, k61, k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, \ | ||
32 | k54, k55, k56, k57, k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, \ | ||
33 | k50, k51, k52, k53, k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 \ | ||
34 | ) \ | ||
35 | { \ | ||
36 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12 }, \ | ||
37 | { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24 }, \ | ||
38 | { k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, k36 }, \ | ||
39 | { k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ | ||
40 | { k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k60, k61 }, \ | ||
41 | { k62, k63, k64, k65, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ | ||
42 | } | ||
diff --git a/keyboards/delikeeb/waaffle/config.h b/keyboards/delikeeb/waaffle/config.h new file mode 100644 index 000000000..1b02e32c6 --- /dev/null +++ b/keyboards/delikeeb/waaffle/config.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | #define VENDOR_ID 0x9906 | ||
23 | #define PRODUCT_ID 0x0012 | ||
24 | #define MANUFACTURER dELIKEEb | ||
diff --git a/keyboards/delikeeb/waaffle/keymaps/default/keymap.c b/keyboards/delikeeb/waaffle/keymaps/default/keymap.c new file mode 100644 index 000000000..5fcd609b8 --- /dev/null +++ b/keyboards/delikeeb/waaffle/keymaps/default/keymap.c | |||
@@ -0,0 +1,149 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _ADJUST | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | enum custom_keycodes { | ||
28 | BASE = SAFE_RANGE, | ||
29 | LOWER, | ||
30 | RAISE, | ||
31 | }; | ||
32 | |||
33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
34 | /* BASE | ||
35 | * ------------------------------------------------------------------------------------------------------------------ | ||
36 | * | * | / | = | Del || ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BSpc | | ||
37 | * ------------------------------------------------------------------------------------------------------------------ | ||
38 | * | + | 7 | 8 | 9 || Tab | Q | W | E | R | T | Y | U | I | O | P | \ | | ||
39 | *------------------------------------------------------------------------------------------------------------------- | ||
40 | * | + | 4 | 5 | 6 || Esc | A | S | D | F | G | H | J | K | L | ; | Enter| | ||
41 | *------------------------------------------------------------------------------------------------------------------ | ||
42 | * | Enter| 1 | 2 | 3 || Shift| Z | X | C | V | B | N | M | , | . | / | Shift| | ||
43 | *------------------------------------------------------------------------------------------------------------------- | ||
44 | * | Enter| . | 0 | 0 || Ctrl | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up | Right| | ||
45 | *------------------------------------------------------------------------------------------------------------------- | ||
46 | */ | ||
47 | [_BASE] = LAYOUT_ortho_5x16( | ||
48 | KC_PAST, KC_PSLS, KC_EQL, KC_DEL, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
49 | KC_PPLS, KC_7, KC_8, KC_9, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | ||
50 | KC_PPLS, KC_4, KC_5, KC_6, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
51 | KC_ENT, KC_1, KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_QUOT), | ||
52 | KC_ENT, KC_PDOT, KC_0, KC_0, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
53 | ), | ||
54 | |||
55 | [_LOWER] = LAYOUT_ortho_5x16( | ||
56 | _______, _______, _______, _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , | ||
57 | _______, _______, _______, _______, KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, KC_BSLS, | ||
58 | _______, _______, _______, _______, KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, | ||
59 | _______, _______, _______, _______, KC_ENT , KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, | ||
60 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
61 | ), | ||
62 | |||
63 | [_RAISE] = LAYOUT_ortho_5x16( | ||
64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL , KC_END , _______, | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______, | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, _______, KC_PGDN, _______, | ||
68 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
69 | ), | ||
70 | |||
71 | [_ADJUST] = LAYOUT_ortho_5x16( | ||
72 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG , | ||
73 | _______, _______, _______, _______, _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, | ||
74 | _______, _______, _______, _______, KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, | ||
75 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
76 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
77 | ) | ||
78 | }; | ||
79 | |||
80 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
81 | switch (keycode) { | ||
82 | |||
83 | case LOWER: | ||
84 | if (record->event.pressed) { | ||
85 | layer_on(_LOWER); | ||
86 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
87 | } else { | ||
88 | layer_off(_LOWER); | ||
89 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
90 | } | ||
91 | return false; | ||
92 | |||
93 | case RAISE: | ||
94 | if (record->event.pressed) { | ||
95 | layer_on(_RAISE); | ||
96 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
97 | } else { | ||
98 | layer_off(_RAISE); | ||
99 | update_tri_layer(_LOWER, _RAISE, _ADJUST); | ||
100 | } | ||
101 | return false; | ||
102 | |||
103 | } | ||
104 | return true; | ||
105 | } | ||
106 | |||
107 | bool encoder_update_user(uint8_t index, bool clockwise) { | ||
108 | /* With an if statement we can check which encoder was turned. */ | ||
109 | if (index == 0) { /* First encoder */ | ||
110 | /* And with another if statement we can check the direction. */ | ||
111 | if (clockwise) { | ||
112 | if (IS_LAYER_ON(_LOWER)){ | ||
113 | tap_code(KC_RIGHT); | ||
114 | } else if (IS_LAYER_ON(_RAISE)){ | ||
115 | tap_code(KC_DOWN); | ||
116 | } else { | ||
117 | tap_code(KC_VOLU); | ||
118 | } | ||
119 | } else { | ||
120 | if (IS_LAYER_ON(_LOWER)){ | ||
121 | tap_code(KC_LEFT); | ||
122 | } else if (IS_LAYER_ON(_RAISE)){ | ||
123 | tap_code(KC_UP); | ||
124 | } else { | ||
125 | tap_code(KC_VOLD); | ||
126 | } | ||
127 | } | ||
128 | |||
129 | } else if (index == 1) { /* Second encoder. Only supported by Elite-C */ | ||
130 | if (clockwise) { | ||
131 | if (IS_LAYER_ON(_LOWER)){ | ||
132 | tap_code(KC_RIGHT); | ||
133 | } else if (IS_LAYER_ON(_RAISE)){ | ||
134 | tap_code(KC_DOWN); | ||
135 | } else { | ||
136 | tap_code(KC_VOLU); | ||
137 | } | ||
138 | } else { | ||
139 | if (IS_LAYER_ON(_LOWER)){ | ||
140 | tap_code(KC_LEFT); | ||
141 | } else if (IS_LAYER_ON(_RAISE)){ | ||
142 | tap_code(KC_UP); | ||
143 | } else { | ||
144 | tap_code(KC_VOLD); | ||
145 | } | ||
146 | } | ||
147 | } | ||
148 | return true; | ||
149 | } | ||
diff --git a/keyboards/delikeeb/waaffle/keymaps/default/readme.md b/keyboards/delikeeb/waaffle/keymaps/default/readme.md new file mode 100644 index 000000000..4cf5c435b --- /dev/null +++ b/keyboards/delikeeb/waaffle/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for waaffle | |||
diff --git a/keyboards/delikeeb/waaffle/keymaps/via/keymap.c b/keyboards/delikeeb/waaffle/keymaps/via/keymap.c new file mode 100644 index 000000000..73d29ec14 --- /dev/null +++ b/keyboards/delikeeb/waaffle/keymaps/via/keymap.c | |||
@@ -0,0 +1,78 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | |||
18 | // Defines names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _LOWER, | ||
22 | _RAISE, | ||
23 | _ADJUST | ||
24 | }; | ||
25 | |||
26 | // Defines the keycodes used by our macros in process_record_user | ||
27 | enum custom_keycodes { | ||
28 | BASE = SAFE_RANGE, | ||
29 | LOWER, | ||
30 | RAISE, | ||
31 | }; | ||
32 | |||
33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
34 | /* BASE | ||
35 | * ------------------------------------------------------------------------------------------------------------------ | ||
36 | * | * | / | = | Del || ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BSpc | | ||
37 | * ------------------------------------------------------------------------------------------------------------------ | ||
38 | * | + | 7 | 8 | 9 || Tab | Q | W | E | R | T | Y | U | I | O | P | \ | | ||
39 | *------------------------------------------------------------------------------------------------------------------- | ||
40 | * | + | 4 | 5 | 6 || Esc | A | S | D | F | G | H | J | K | L | ; | Enter| | ||
41 | *------------------------------------------------------------------------------------------------------------------ | ||
42 | * | Enter| 1 | 2 | 3 || Shift| Z | X | C | V | B | N | M | , | . | / | Shift| | ||
43 | *------------------------------------------------------------------------------------------------------------------- | ||
44 | * | Enter| . | 0 | 0 || Ctrl | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up | Right| | ||
45 | *------------------------------------------------------------------------------------------------------------------- | ||
46 | */ | ||
47 | [_BASE] = LAYOUT_ortho_5x16( | ||
48 | KC_PAST, KC_PSLS, KC_EQL, KC_DEL, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
49 | KC_PPLS, KC_7, KC_8, KC_9, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | ||
50 | KC_PPLS, KC_4, KC_5, KC_6, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
51 | KC_ENT, KC_1, KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_QUOT), | ||
52 | KC_ENT, KC_PDOT, KC_0, KC_0, KC_LCTL, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
53 | ), | ||
54 | |||
55 | [_LOWER] = LAYOUT_ortho_5x16( | ||
56 | _______, _______, _______, _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , | ||
57 | _______, _______, _______, _______, KC_BSPC, KC_SLSH, KC_7 , KC_8 , KC_9 , KC_PPLS, KC_CIRC, KC_LBRC, KC_RBRC, KC_AT , KC_EXLM, KC_BSLS, | ||
58 | _______, _______, _______, _______, KC_EQL , KC_0 , KC_4 , KC_5 , KC_6 , KC_MINS, KC_PIPE, KC_LPRN, KC_RPRN, KC_HASH, KC_DQUO, _______, | ||
59 | _______, _______, _______, _______, KC_ENT , KC_PAST, KC_1 , KC_2 , KC_3 , KC_UNDS, KC_DLR , KC_LCBR, KC_RCBR, KC_AMPR, KC_PERC, _______, | ||
60 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
61 | ), | ||
62 | |||
63 | [_RAISE] = LAYOUT_ortho_5x16( | ||
64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_BSPC, KC_DEL , KC_END , _______, | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______, | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, _______, KC_PGDN, _______, | ||
68 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
69 | ), | ||
70 | |||
71 | [_ADJUST] = LAYOUT_ortho_5x16( | ||
72 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, DEBUG , | ||
73 | _______, _______, _______, _______, _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, | ||
74 | _______, _______, _______, _______, KC_CAPS, _______, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______, _______, _______, _______, _______, _______, | ||
75 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
76 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
77 | ) | ||
78 | }; | ||
diff --git a/keyboards/delikeeb/waaffle/keymaps/via/rules.mk b/keyboards/delikeeb/waaffle/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/delikeeb/waaffle/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/delikeeb/waaffle/readme.md b/keyboards/delikeeb/waaffle/readme.md new file mode 100644 index 000000000..0e8d9c437 --- /dev/null +++ b/keyboards/delikeeb/waaffle/readme.md | |||
@@ -0,0 +1,22 @@ | |||
1 | # Waaffle | ||
2 | |||
3 |  | ||
4 |  | ||
5 | |||
6 | Waaffle is an ortholinear keyboard that supports 60 key and 80 key layouts. The base PCB has a 60 key ortholinear layout, and it can be expanded to an 80 key ortholinear keyboard simply by adding an extension PCB. Waaffle features RGB underglow and on-board pinouts including a power switch and battery connection for a Bluetooth setup. Designed by dELIKEEb | ||
7 | |||
8 | * Keyboard Maintainer: [noclew](https://github.com/noclew) | ||
9 | * Hardware Supported: Waaffle PCB | ||
10 | * Hardware Availability: Not commercially available. GB on Reddit and Geekhack time to times. | ||
11 | |||
12 | Make example for this keyboard (after setting up your build environment): | ||
13 | |||
14 | make delikeeb/waaffle/rev3/pro_micro:default # for Pro Micro builds | ||
15 | make delikeeb/waaffle/rev3/elite_c:default # for Elite-C builds | ||
16 | |||
17 | Flashing example for this keyboard: | ||
18 | |||
19 | make delikeeb/waaffle/rev3/pro_micro:default:flash # for Pro Micro builds | ||
20 | make delikeeb/waaffle/rev3/elite_c:default:flash # for Elite-C builds | ||
21 | |||
22 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/config.h b/keyboards/delikeeb/waaffle/rev3/config.h new file mode 100644 index 000000000..0c4327623 --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/config.h | |||
@@ -0,0 +1,137 @@ | |||
1 | /* | ||
2 | Copyright 2020 noclew | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define DEVICE_VER 0x0003 | ||
22 | #define PRODUCT Waaffle_rev3 | ||
23 | |||
24 | /* key matrix size */ | ||
25 | #define MATRIX_ROWS 8 | ||
26 | #define MATRIX_COLS 10 | ||
27 | |||
28 | /* | ||
29 | * Keyboard Matrix Assignments | ||
30 | * | ||
31 | * Change this to how you wired your keyboard | ||
32 | * COLS: AVR pins used for columns, left to right | ||
33 | * ROWS: AVR pins used for rows, top to bottom | ||
34 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
35 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
36 | * | ||
37 | */ | ||
38 | #define MATRIX_ROW_PINS { F4, B6, B2, B3, B1, F5, F6, F7 } | ||
39 | #define MATRIX_COL_PINS { D3, D2, B5, B4, E6, D7, C6, D4, D0, D1 } | ||
40 | #define UNUSED_PINS | ||
41 | |||
42 | /* COL2ROW, ROW2COL */ | ||
43 | #define DIODE_DIRECTION COL2ROW | ||
44 | |||
45 | //#define BACKLIGHT_PIN B7 | ||
46 | //#define BACKLIGHT_LEVELS 3 | ||
47 | //#define BACKLIGHT_BREATHING | ||
48 | |||
49 | /*rotary encoder setting*/ | ||
50 | #define ENCODERS_PAD_A { B7, F1 } | ||
51 | #define ENCODERS_PAD_B { D5, F0 } | ||
52 | |||
53 | #define RGB_DI_PIN C7 | ||
54 | #ifdef RGB_DI_PIN | ||
55 | # define RGBLED_NUM 10 | ||
56 | # define RGBLIGHT_HUE_STEP 8 | ||
57 | # define RGBLIGHT_SAT_STEP 8 | ||
58 | # define RGBLIGHT_VAL_STEP 8 | ||
59 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
60 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
61 | /*== all animations enable ==*/ | ||
62 | // # define RGBLIGHT_ANIMATIONS | ||
63 | /*== or choose animations ==*/ | ||
64 | // # define RGBLIGHT_EFFECT_BREATHING | ||
65 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
66 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
67 | // # define RGBLIGHT_EFFECT_SNAKE | ||
68 | // # define RGBLIGHT_EFFECT_KNIGHT | ||
69 | // # define RGBLIGHT_EFFECT_CHRISTMAS | ||
70 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
71 | // # define RGBLIGHT_EFFECT_RGB_TEST | ||
72 | // # define RGBLIGHT_EFFECT_ALTERNATING | ||
73 | /*== customize breathing effect ==*/ | ||
74 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
75 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
76 | /*==== use exp() and sin() ====*/ | ||
77 | # define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
78 | # define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
79 | #endif | ||
80 | |||
81 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
82 | #define DEBOUNCE 5 | ||
83 | |||
84 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
85 | #define LOCKING_SUPPORT_ENABLE | ||
86 | /* Locking resynchronize hack */ | ||
87 | #define LOCKING_RESYNC_ENABLE | ||
88 | |||
89 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
90 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
91 | */ | ||
92 | #define GRAVE_ESC_CTRL_OVERRIDE | ||
93 | |||
94 | /* | ||
95 | * Force NKRO | ||
96 | * | ||
97 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
98 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
99 | * makefile for this to work.) | ||
100 | * | ||
101 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
102 | * until the next keyboard reset. | ||
103 | * | ||
104 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
105 | * fully operational during normal computer usage. | ||
106 | * | ||
107 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
108 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
109 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
110 | * power-up. | ||
111 | * | ||
112 | */ | ||
113 | //#define FORCE_NKRO | ||
114 | |||
115 | /* | ||
116 | * Feature disable options | ||
117 | * These options are also useful to firmware size reduction. | ||
118 | */ | ||
119 | |||
120 | /* disable debug print */ | ||
121 | //#define NO_DEBUG | ||
122 | |||
123 | /* disable print */ | ||
124 | //#define NO_PRINT | ||
125 | |||
126 | /* disable action features */ | ||
127 | //#define NO_ACTION_LAYER | ||
128 | //#define NO_ACTION_TAPPING | ||
129 | //#define NO_ACTION_ONESHOT | ||
130 | |||
131 | /* disable these deprecated features by default */ | ||
132 | #define NO_ACTION_MACRO | ||
133 | #define NO_ACTION_FUNCTION | ||
134 | |||
135 | /* Bootmagic Lite key configuration */ | ||
136 | #define BOOTMAGIC_LITE_ROW 6 | ||
137 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/elite_c/rules.mk b/keyboards/delikeeb/waaffle/rev3/elite_c/rules.mk new file mode 100644 index 000000000..8b5026cb0 --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/elite_c/rules.mk | |||
@@ -0,0 +1,6 @@ | |||
1 | # Bootloader selection | ||
2 | BOOTLOADER = atmel-dfu | ||
3 | |||
4 | # supported on Elite-C controllers | ||
5 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
6 | ENCODER_ENABLE = yes # Enable Rotary Encoder | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/info.json b/keyboards/delikeeb/waaffle/rev3/info.json new file mode 100644 index 000000000..f855f8973 --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/info.json | |||
@@ -0,0 +1,17 @@ | |||
1 | { | ||
2 | "keyboard_name": "waaffle", | ||
3 | "url": "", | ||
4 | "maintainer": "noclew", | ||
5 | "layouts": { | ||
6 | "LAYOUT_ortho_5x16": { | ||
7 | "layout": | ||
8 | [ | ||
9 | {"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4.25, "y":0}, {"x":5.25, "y":0}, {"x":6.25, "y":0}, {"x":7.25, "y":0}, {"x":8.25, "y":0}, {"x":9.25, "y":0}, {"x":10.25, "y":0}, {"x":11.25, "y":0}, {"x":12.25, "y":0}, {"x":13.25, "y":0}, {"x":14.25, "y":0}, {"x":15.25, "y":0}, | ||
10 | {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1}, {"x":12.25, "y":1}, {"x":13.25, "y":1}, {"x":14.25, "y":1}, {"x":15.25, "y":1}, | ||
11 | {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4.25, "y":2}, {"x":5.25, "y":2}, {"x":6.25, "y":2}, {"x":7.25, "y":2}, {"x":8.25, "y":2}, {"x":9.25, "y":2}, {"x":10.25, "y":2}, {"x":11.25, "y":2}, {"x":12.25, "y":2}, {"x":13.25, "y":2}, {"x":14.25, "y":2}, {"x":15.25, "y":2}, | ||
12 | {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3}, {"x":13.25, "y":3}, {"x":14.25, "y":3}, {"x":15.25, "y":3}, | ||
13 | {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4.25, "y":4}, {"x":5.25, "y":4}, {"x":6.25, "y":4}, {"x":7.25, "y":4}, {"x":8.25, "y":4}, {"x":9.25, "y":4}, {"x":10.25, "y":4}, {"x":11.25, "y":4}, {"x":12.25, "y":4}, {"x":13.25, "y":4}, {"x":14.25, "y":4}, {"x":15.25, "y":4} | ||
14 | ] | ||
15 | } | ||
16 | } | ||
17 | } | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/pro_micro/rules.mk b/keyboards/delikeeb/waaffle/rev3/pro_micro/rules.mk new file mode 100644 index 000000000..bdc4842c5 --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/pro_micro/rules.mk | |||
@@ -0,0 +1,6 @@ | |||
1 | # Bootloader selection | ||
2 | BOOTLOADER = caterina | ||
3 | |||
4 | # not supported on Pro Micro controllers | ||
5 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
6 | ENCODER_ENABLE = no # Enable Rotary Encoder | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/rev3.c b/keyboards/delikeeb/waaffle/rev3/rev3.c new file mode 100644 index 000000000..bf7f5a109 --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/rev3.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 "rev3.h" | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/rev3.h b/keyboards/delikeeb/waaffle/rev3/rev3.h new file mode 100644 index 000000000..8ca245d84 --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/rev3.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* Copyright 2020 noclew | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT_ortho_5x16( \ | ||
30 | k76, k66, k56, k71, k61, k51, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, \ | ||
31 | k77, k67, k57, k72, k62, k52, k11, k12, k13, k14, k15, k16, k17, k18, k19, k20, \ | ||
32 | k78, k68, k58, k73, k63, k53, k21, k22, k23, k24, k25, k26, k27, k28, k29, k30, \ | ||
33 | k79, k69, k59, k74, k64, k54, k31, k32, k33, k34, k35, k36, k37, k38, k39, k40, \ | ||
34 | k80, k70, k60, k75, k65, k55, k41, k42, k43, k44, k45, k46, k47, k48, k49, k50 \ | ||
35 | ) { \ | ||
36 | { k01, k02, k03, k04, k05, k06, k07, k08, k09, k10 }, \ | ||
37 | { k11, k12, k13, k14, k15, k16, k17, k18, k19, k20 }, \ | ||
38 | { k21, k22, k23, k24, k25, k26, k27, k28, k29, k30 }, \ | ||
39 | { k31, k32, k33, k34, k35, k36, k37, k38, k39, k40 }, \ | ||
40 | { k41, k42, k43, k44, k45, k46, k47, k48, k49, k50 }, \ | ||
41 | { k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 }, \ | ||
42 | { k61, k62, k63, k64, k65, k66, k67, k68, k69, k70 }, \ | ||
43 | { k71, k72, k73, k74, k75, k76, k77, k78, k79, k80 } \ | ||
44 | } | ||
diff --git a/keyboards/delikeeb/waaffle/rev3/rules.mk b/keyboards/delikeeb/waaffle/rev3/rules.mk new file mode 100644 index 000000000..7467b612c --- /dev/null +++ b/keyboards/delikeeb/waaffle/rev3/rules.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = caterina | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
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 | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | |||
20 | DEFAULT_FOLDER = delikeeb/waaffle/rev3/pro_micro | ||