diff options
author | QMK Bot <hello@qmk.fm> | 2021-11-06 15:41:56 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-11-06 15:41:56 +0000 |
commit | fde8505661f29d60aea194c82466f71702213fea (patch) | |
tree | b44d8b435dbc055edc4d785166aa32117f7f99da | |
parent | e0a64c80726f100c1e8708995a1d96dca37dff31 (diff) | |
parent | 74b5a4357c46520c11ad2a705fc31818c64b7c25 (diff) | |
download | qmk_firmware-fde8505661f29d60aea194c82466f71702213fea.tar.gz qmk_firmware-fde8505661f29d60aea194c82466f71702213fea.zip |
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r-- | keyboards/takashicompany/heavy_left/config.h | 145 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/heavy_left.c | 17 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/heavy_left.h | 46 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/info.json | 496 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/keymaps/default/keymap.c | 53 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/keymaps/via/keymap.c | 69 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/readme.md | 33 | ||||
-rw-r--r-- | keyboards/takashicompany/heavy_left/rules.mk | 23 |
9 files changed, 883 insertions, 0 deletions
diff --git a/keyboards/takashicompany/heavy_left/config.h b/keyboards/takashicompany/heavy_left/config.h new file mode 100644 index 000000000..e7f37f251 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/config.h | |||
@@ -0,0 +1,145 @@ | |||
1 | /* | ||
2 | Copyright 2021 takashicompany | ||
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 0x7463 // tc = takashicompany | ||
24 | #define PRODUCT_ID 0x0015 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER takashicompany | ||
27 | #define PRODUCT Heavy Left | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 * 2 | ||
31 | #define MATRIX_COLS 10 | ||
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 { D4, C6, D7, E6, B4 } | ||
44 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D1, D0 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /* | ||
51 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
52 | */ | ||
53 | #define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6 | ||
54 | |||
55 | //#define LED_NUM_LOCK_PIN B0 | ||
56 | //#define LED_CAPS_LOCK_PIN B1 | ||
57 | //#define LED_SCROLL_LOCK_PIN B2 | ||
58 | //#define LED_COMPOSE_PIN B3 | ||
59 | //#define LED_KANA_PIN B4 | ||
60 | |||
61 | //#define BACKLIGHT_PIN B7 | ||
62 | //#define BACKLIGHT_LEVELS 3 | ||
63 | //#define BACKLIGHT_BREATHING | ||
64 | |||
65 | #define RGB_DI_PIN D3 | ||
66 | #ifdef RGB_DI_PIN | ||
67 | # define RGBLED_NUM 6 * 2 | ||
68 | # define RGBLED_SPLIT {6, 6} | ||
69 | # define RGBLIGHT_HUE_STEP 8 | ||
70 | # define RGBLIGHT_SAT_STEP 8 | ||
71 | # define RGBLIGHT_VAL_STEP 8 | ||
72 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
73 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
74 | #define RGBLIGHT_EFFECT_BREATHING | ||
75 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
76 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
77 | #define RGBLIGHT_EFFECT_SNAKE | ||
78 | #define RGBLIGHT_EFFECT_KNIGHT | ||
79 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
80 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
81 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
82 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
83 | #define RGBLIGHT_EFFECT_TWINKLE | ||
84 | #endif | ||
85 | |||
86 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
87 | #define DEBOUNCE 5 | ||
88 | |||
89 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
90 | //#define MATRIX_HAS_GHOST | ||
91 | |||
92 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
93 | #define LOCKING_SUPPORT_ENABLE | ||
94 | /* Locking resynchronize hack */ | ||
95 | #define LOCKING_RESYNC_ENABLE | ||
96 | |||
97 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
98 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
99 | */ | ||
100 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
101 | |||
102 | /* | ||
103 | * Force NKRO | ||
104 | * | ||
105 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
106 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
107 | * makefile for this to work.) | ||
108 | * | ||
109 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
110 | * until the next keyboard reset. | ||
111 | * | ||
112 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
113 | * fully operational during normal computer usage. | ||
114 | * | ||
115 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
116 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
117 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
118 | * power-up. | ||
119 | * | ||
120 | */ | ||
121 | //#define FORCE_NKRO | ||
122 | |||
123 | /* | ||
124 | * Feature disable options | ||
125 | * These options are also useful to firmware size reduction. | ||
126 | */ | ||
127 | |||
128 | /* disable debug print */ | ||
129 | //#define NO_DEBUG | ||
130 | |||
131 | /* disable print */ | ||
132 | //#define NO_PRINT | ||
133 | |||
134 | /* disable action features */ | ||
135 | //#define NO_ACTION_LAYER | ||
136 | //#define NO_ACTION_TAPPING | ||
137 | //#define NO_ACTION_ONESHOT | ||
138 | |||
139 | /* disable these deprecated features by default */ | ||
140 | #define NO_ACTION_MACRO | ||
141 | #define NO_ACTION_FUNCTION | ||
142 | |||
143 | /* Bootmagic Lite key configuration */ | ||
144 | //#define BOOTMAGIC_LITE_ROW 0 | ||
145 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/takashicompany/heavy_left/heavy_left.c b/keyboards/takashicompany/heavy_left/heavy_left.c new file mode 100644 index 000000000..2af6d3fe6 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/heavy_left.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 takashicompany | ||
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 "heavy_left.h" | ||
diff --git a/keyboards/takashicompany/heavy_left/heavy_left.h b/keyboards/takashicompany/heavy_left/heavy_left.h new file mode 100644 index 000000000..a54f88b30 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/heavy_left.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /* Copyright 2021 takashicompany | ||
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( \ | ||
30 | l06, l07, l08, l09, l00, l01, l02, l03, l04, l05, r00, r01, r02, r03, r04, r05, r06, r07, r08, r09, \ | ||
31 | l16, l17, l18, l19, l10, l11, l12, l13, l14, l15, r10, r11, r12, r13, r14, r15, r16, r17, r18, \ | ||
32 | l26, l27, l28, l29, l20, l21, l22, l23, l24, l25, r20, r21, r22, r23, r24, r25, r26, r27, \ | ||
33 | l36, l37, l38, l39, l30, l31, l32, l33, l34, l35, r30, r31, r32, r33, r34, r35, r36, r37, r38, \ | ||
34 | l46, l47, l48, l49, l40, l41, l42, l43, l44, l45, r40, r41, r42, r43, r44, r45, r46, r47, r48 \ | ||
35 | ) { \ | ||
36 | { l00, l01, l02, l03, l04, l05, l06, l07, l08, l09 }, \ | ||
37 | { l10, l11, l12, l13, l14, l15, l16, l17, l18, l19 }, \ | ||
38 | { l20, l21, l22, l23, l24, l25, l26, l27, l28, l29 }, \ | ||
39 | { l30, l31, l32, l33, l34, l35, l36, l37, l38, l39 }, \ | ||
40 | { l40, l41, l42, l43, l44, l45, l46, l47, l48, l49 }, \ | ||
41 | { r00, r01, r02, r03, r04, r05, r06, r07, r09, KC_NO }, \ | ||
42 | { r10, r11, r12, r13, r14, r15, r16, r08, r18, KC_NO }, \ | ||
43 | { r20, r21, r22, r23, r24, r25, r26, r17, r27, KC_NO }, \ | ||
44 | { r30, r31, r32, r33, r34, r35, r36, r37, r38, KC_NO }, \ | ||
45 | { r40, r41, r42, r43, r44, r45, r46, r47, r48, KC_NO } \ | ||
46 | } | ||
diff --git a/keyboards/takashicompany/heavy_left/info.json b/keyboards/takashicompany/heavy_left/info.json new file mode 100644 index 000000000..878618e63 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/info.json | |||
@@ -0,0 +1,496 @@ | |||
1 | { | ||
2 | "keyboard_name": "heavy_left", | ||
3 | "url": "", | ||
4 | "maintainer": "takashicompany", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [ | ||
8 | { | ||
9 | "label": "24", | ||
10 | "x": 0, | ||
11 | "y": 0 | ||
12 | }, | ||
13 | { | ||
14 | "label": "25", | ||
15 | "x": 1, | ||
16 | "y": 0 | ||
17 | }, | ||
18 | { | ||
19 | "label": "26", | ||
20 | "x": 2, | ||
21 | "y": 0 | ||
22 | }, | ||
23 | { | ||
24 | "label": "27", | ||
25 | "x": 3, | ||
26 | "y": 0 | ||
27 | }, | ||
28 | { | ||
29 | "label": "1", | ||
30 | "x": 4.25, | ||
31 | "y": 0 | ||
32 | }, | ||
33 | { | ||
34 | "label": "2", | ||
35 | "x": 5.25, | ||
36 | "y": 0 | ||
37 | }, | ||
38 | { | ||
39 | "label": "3", | ||
40 | "x": 6.25, | ||
41 | "y": 0 | ||
42 | }, | ||
43 | { | ||
44 | "label": "4", | ||
45 | "x": 7.25, | ||
46 | "y": 0 | ||
47 | }, | ||
48 | { | ||
49 | "label": "5", | ||
50 | "x": 8.25, | ||
51 | "y": 0 | ||
52 | }, | ||
53 | { | ||
54 | "label": "6", | ||
55 | "x": 9.25, | ||
56 | "y": 0 | ||
57 | }, | ||
58 | { | ||
59 | "label": "44", | ||
60 | "x": 10.75, | ||
61 | "y": 0 | ||
62 | }, | ||
63 | { | ||
64 | "label": "45", | ||
65 | "x": 11.75, | ||
66 | "y": 0 | ||
67 | }, | ||
68 | { | ||
69 | "label": "46", | ||
70 | "x": 12.75, | ||
71 | "y": 0 | ||
72 | }, | ||
73 | { | ||
74 | "label": "47", | ||
75 | "x": 13.75, | ||
76 | "y": 0 | ||
77 | }, | ||
78 | { | ||
79 | "label": "48", | ||
80 | "x": 14.75, | ||
81 | "y": 0 | ||
82 | }, | ||
83 | { | ||
84 | "label": "49", | ||
85 | "x": 15.75, | ||
86 | "y": 0 | ||
87 | }, | ||
88 | { | ||
89 | "label": "50", | ||
90 | "x": 16.75, | ||
91 | "y": 0 | ||
92 | }, | ||
93 | { | ||
94 | "label": "51", | ||
95 | "x": 17.75, | ||
96 | "y": 0 | ||
97 | }, | ||
98 | { | ||
99 | "label": "52", | ||
100 | "x": 18.75, | ||
101 | "y": 0 | ||
102 | }, | ||
103 | { | ||
104 | "label": "82", | ||
105 | "x": 20, | ||
106 | "y": 0 | ||
107 | }, | ||
108 | { | ||
109 | "label": "28", | ||
110 | "x": 0, | ||
111 | "y": 1 | ||
112 | }, | ||
113 | { | ||
114 | "label": "29", | ||
115 | "x": 1, | ||
116 | "y": 1 | ||
117 | }, | ||
118 | { | ||
119 | "label": "30", | ||
120 | "x": 2, | ||
121 | "y": 1 | ||
122 | }, | ||
123 | { | ||
124 | "label": "31", | ||
125 | "x": 3, | ||
126 | "y": 1 | ||
127 | }, | ||
128 | { | ||
129 | "label": "201", | ||
130 | "x": 4.25, | ||
131 | "y": 1, | ||
132 | "w": 1.5 | ||
133 | }, | ||
134 | { | ||
135 | "label": "7", | ||
136 | "x": 5.75, | ||
137 | "y": 1 | ||
138 | }, | ||
139 | { | ||
140 | "label": "8", | ||
141 | "x": 6.75, | ||
142 | "y": 1 | ||
143 | }, | ||
144 | { | ||
145 | "label": "9", | ||
146 | "x": 7.75, | ||
147 | "y": 1 | ||
148 | }, | ||
149 | { | ||
150 | "label": "10", | ||
151 | "x": 8.75, | ||
152 | "y": 1 | ||
153 | }, | ||
154 | { | ||
155 | "label": "11", | ||
156 | "x": 9.75, | ||
157 | "y": 1 | ||
158 | }, | ||
159 | { | ||
160 | "label": "53", | ||
161 | "x": 11.25, | ||
162 | "y": 1 | ||
163 | }, | ||
164 | { | ||
165 | "label": "54", | ||
166 | "x": 12.25, | ||
167 | "y": 1 | ||
168 | }, | ||
169 | { | ||
170 | "label": "55", | ||
171 | "x": 13.25, | ||
172 | "y": 1 | ||
173 | }, | ||
174 | { | ||
175 | "label": "56", | ||
176 | "x": 14.25, | ||
177 | "y": 1 | ||
178 | }, | ||
179 | { | ||
180 | "label": "57", | ||
181 | "x": 15.25, | ||
182 | "y": 1 | ||
183 | }, | ||
184 | { | ||
185 | "label": "58", | ||
186 | "x": 16.25, | ||
187 | "y": 1 | ||
188 | }, | ||
189 | { | ||
190 | "label": "59", | ||
191 | "x": 17.25, | ||
192 | "y": 1 | ||
193 | }, | ||
194 | { | ||
195 | "label": "901", | ||
196 | "x": 18.5, | ||
197 | "y": 1, | ||
198 | "w": 1.25, | ||
199 | "h": 2 | ||
200 | }, | ||
201 | { | ||
202 | "label": "83", | ||
203 | "x": 20, | ||
204 | "y": 1 | ||
205 | }, | ||
206 | { | ||
207 | "label": "32", | ||
208 | "x": 0, | ||
209 | "y": 2 | ||
210 | }, | ||
211 | { | ||
212 | "label": "33", | ||
213 | "x": 1, | ||
214 | "y": 2 | ||
215 | }, | ||
216 | { | ||
217 | "label": "34", | ||
218 | "x": 2, | ||
219 | "y": 2 | ||
220 | }, | ||
221 | { | ||
222 | "label": "35", | ||
223 | "x": 3, | ||
224 | "y": 2 | ||
225 | }, | ||
226 | { | ||
227 | "label": "301", | ||
228 | "x": 4.25, | ||
229 | "y": 2, | ||
230 | "w": 1.75 | ||
231 | }, | ||
232 | { | ||
233 | "label": "12", | ||
234 | "x": 6, | ||
235 | "y": 2 | ||
236 | }, | ||
237 | { | ||
238 | "label": "13", | ||
239 | "x": 7, | ||
240 | "y": 2 | ||
241 | }, | ||
242 | { | ||
243 | "label": "14", | ||
244 | "x": 8, | ||
245 | "y": 2 | ||
246 | }, | ||
247 | { | ||
248 | "label": "15", | ||
249 | "x": 9, | ||
250 | "y": 2 | ||
251 | }, | ||
252 | { | ||
253 | "label": "16", | ||
254 | "x": 10, | ||
255 | "y": 2 | ||
256 | }, | ||
257 | { | ||
258 | "label": "60", | ||
259 | "x": 11.5, | ||
260 | "y": 2 | ||
261 | }, | ||
262 | { | ||
263 | "label": "61", | ||
264 | "x": 12.5, | ||
265 | "y": 2 | ||
266 | }, | ||
267 | { | ||
268 | "label": "62", | ||
269 | "x": 13.5, | ||
270 | "y": 2 | ||
271 | }, | ||
272 | { | ||
273 | "label": "63", | ||
274 | "x": 14.5, | ||
275 | "y": 2 | ||
276 | }, | ||
277 | { | ||
278 | "label": "64", | ||
279 | "x": 15.5, | ||
280 | "y": 2 | ||
281 | }, | ||
282 | { | ||
283 | "label": "65", | ||
284 | "x": 16.5, | ||
285 | "y": 2 | ||
286 | }, | ||
287 | { | ||
288 | "label": "66", | ||
289 | "x": 17.5, | ||
290 | "y": 2 | ||
291 | }, | ||
292 | { | ||
293 | "label": "84", | ||
294 | "x": 20, | ||
295 | "y": 2 | ||
296 | }, | ||
297 | { | ||
298 | "label": "36", | ||
299 | "x": 0, | ||
300 | "y": 3 | ||
301 | }, | ||
302 | { | ||
303 | "label": "37", | ||
304 | "x": 1, | ||
305 | "y": 3 | ||
306 | }, | ||
307 | { | ||
308 | "label": "38", | ||
309 | "x": 2, | ||
310 | "y": 3 | ||
311 | }, | ||
312 | { | ||
313 | "label": "39", | ||
314 | "x": 3, | ||
315 | "y": 3 | ||
316 | }, | ||
317 | { | ||
318 | "label": "601", | ||
319 | "x": 4.25, | ||
320 | "y": 3, | ||
321 | "w": 2.25 | ||
322 | }, | ||
323 | { | ||
324 | "label": "17", | ||
325 | "x": 6.5, | ||
326 | "y": 3 | ||
327 | }, | ||
328 | { | ||
329 | "label": "18", | ||
330 | "x": 7.5, | ||
331 | "y": 3 | ||
332 | }, | ||
333 | { | ||
334 | "label": "19", | ||
335 | "x": 8.5, | ||
336 | "y": 3 | ||
337 | }, | ||
338 | { | ||
339 | "label": "20", | ||
340 | "x": 9.5, | ||
341 | "y": 3 | ||
342 | }, | ||
343 | { | ||
344 | "label": "21", | ||
345 | "x": 10.5, | ||
346 | "y": 3 | ||
347 | }, | ||
348 | { | ||
349 | "label": "67", | ||
350 | "x": 11.75, | ||
351 | "y": 3 | ||
352 | }, | ||
353 | { | ||
354 | "label": "68", | ||
355 | "x": 12.75, | ||
356 | "y": 3 | ||
357 | }, | ||
358 | { | ||
359 | "label": "69", | ||
360 | "x": 13.75, | ||
361 | "y": 3 | ||
362 | }, | ||
363 | { | ||
364 | "label": "70", | ||
365 | "x": 14.75, | ||
366 | "y": 3 | ||
367 | }, | ||
368 | { | ||
369 | "label": "71", | ||
370 | "x": 15.75, | ||
371 | "y": 3 | ||
372 | }, | ||
373 | { | ||
374 | "label": "72", | ||
375 | "x": 16.75, | ||
376 | "y": 3 | ||
377 | }, | ||
378 | { | ||
379 | "label": "73", | ||
380 | "x": 17.75, | ||
381 | "y": 3 | ||
382 | }, | ||
383 | { | ||
384 | "label": "74", | ||
385 | "x": 18.75, | ||
386 | "y": 3 | ||
387 | }, | ||
388 | { | ||
389 | "label": "85", | ||
390 | "x": 20, | ||
391 | "y": 3 | ||
392 | }, | ||
393 | { | ||
394 | "label": "40", | ||
395 | "x": 0, | ||
396 | "y": 4 | ||
397 | }, | ||
398 | { | ||
399 | "label": "41", | ||
400 | "x": 1, | ||
401 | "y": 4 | ||
402 | }, | ||
403 | { | ||
404 | "label": "42", | ||
405 | "x": 2, | ||
406 | "y": 4 | ||
407 | }, | ||
408 | { | ||
409 | "label": "43", | ||
410 | "x": 3, | ||
411 | "y": 4 | ||
412 | }, | ||
413 | { | ||
414 | "label": "101", | ||
415 | "x": 4.25, | ||
416 | "y": 4, | ||
417 | "w": 1.25 | ||
418 | }, | ||
419 | { | ||
420 | "label": "22", | ||
421 | "x": 5.5, | ||
422 | "y": 4 | ||
423 | }, | ||
424 | { | ||
425 | "label": "102", | ||
426 | "x": 6.5, | ||
427 | "y": 4, | ||
428 | "w": 1.25 | ||
429 | }, | ||
430 | { | ||
431 | "label": "23", | ||
432 | "x": 7.75, | ||
433 | "y": 4 | ||
434 | }, | ||
435 | { | ||
436 | "label": "103", | ||
437 | "x": 8.75, | ||
438 | "y": 4, | ||
439 | "w": 1.25 | ||
440 | }, | ||
441 | { | ||
442 | "label": "104", | ||
443 | "x": 10, | ||
444 | "y": 4, | ||
445 | "w": 1.25 | ||
446 | }, | ||
447 | { | ||
448 | "label": "75", | ||
449 | "x": 11.5, | ||
450 | "y": 4 | ||
451 | }, | ||
452 | { | ||
453 | "label": "105", | ||
454 | "x": 12.5, | ||
455 | "y": 4, | ||
456 | "w": 1.25 | ||
457 | }, | ||
458 | { | ||
459 | "label": "76", | ||
460 | "x": 13.75, | ||
461 | "y": 4 | ||
462 | }, | ||
463 | { | ||
464 | "label": "77", | ||
465 | "x": 14.75, | ||
466 | "y": 4 | ||
467 | }, | ||
468 | { | ||
469 | "label": "78", | ||
470 | "x": 15.75, | ||
471 | "y": 4 | ||
472 | }, | ||
473 | { | ||
474 | "label": "79", | ||
475 | "x": 16.75, | ||
476 | "y": 4 | ||
477 | }, | ||
478 | { | ||
479 | "label": "80", | ||
480 | "x": 17.75, | ||
481 | "y": 4 | ||
482 | }, | ||
483 | { | ||
484 | "label": "81", | ||
485 | "x": 18.75, | ||
486 | "y": 4 | ||
487 | }, | ||
488 | { | ||
489 | "label": "86", | ||
490 | "x": 20, | ||
491 | "y": 4 | ||
492 | } | ||
493 | ] | ||
494 | } | ||
495 | } | ||
496 | } \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/heavy_left/keymaps/default/keymap.c b/keyboards/takashicompany/heavy_left/keymaps/default/keymap.c new file mode 100644 index 000000000..31ac47c04 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/keymaps/default/keymap.c | |||
@@ -0,0 +1,53 @@ | |||
1 | /* Copyright 2021 takashicompany | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | #include "keymap_jp.h" | ||
18 | |||
19 | // Defines the keycodes used by our macros in process_record_user | ||
20 | enum custom_keycodes { | ||
21 | KC_00 = SAFE_RANGE | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | |||
26 | LAYOUT( | ||
27 | KC_ESC, KC_PSLS, KC_PAST, KC_PMNS, 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_JYEN, KC_BSPC, KC_DEL, | ||
28 | KC_P7, KC_P8, KC_P9, KC_PPLS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, KC_HOME, | ||
29 | KC_P4, KC_P5, KC_P6, KC_PCMM, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_END, | ||
30 | KC_P1, KC_P2, KC_P3, KC_PEQL, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, KC_UP, KC_RSFT, KC_PGUP, | ||
31 | KC_P0, KC_00, KC_PDOT, KC_PENT, KC_TILD, KC_LCTL, KC_LGUI, KC_LALT, KC_LANG2, KC_SPC, KC_SPC, KC_LANG1, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, MO(1) | ||
32 | ), | ||
33 | |||
34 | LAYOUT( | ||
35 | KC_NLCK, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_M_K, RGB_M_X, RGB_M_G, RGB_M_T, RGB_M_T, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
40 | ), | ||
41 | |||
42 | }; | ||
43 | |||
44 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
45 | switch (keycode) { | ||
46 | case KC_00: | ||
47 | if (record->event.pressed) { | ||
48 | SEND_STRING("00"); | ||
49 | } | ||
50 | return false; | ||
51 | } | ||
52 | return true; | ||
53 | } \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/heavy_left/keymaps/via/keymap.c b/keyboards/takashicompany/heavy_left/keymaps/via/keymap.c new file mode 100644 index 000000000..796d27914 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/keymaps/via/keymap.c | |||
@@ -0,0 +1,69 @@ | |||
1 | /* Copyright 2021 takashicompany | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | #include "keymap_jp.h" | ||
18 | |||
19 | // Defines the keycodes used by our macros in process_record_user | ||
20 | enum custom_keycodes { | ||
21 | KC_00 = USER00, | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | |||
26 | LAYOUT( | ||
27 | KC_ESC, KC_PSLS, KC_PAST, KC_PMNS, 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_JYEN, KC_BSPC, KC_DEL, | ||
28 | KC_P7, KC_P8, KC_P9, KC_PPLS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, KC_HOME, | ||
29 | KC_P4, KC_P5, KC_P6, KC_PCMM, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_END, | ||
30 | KC_P1, KC_P2, KC_P3, KC_PEQL, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_BSLS, KC_UP, KC_RSFT, KC_PGUP, | ||
31 | KC_P0, KC_00, KC_PDOT, KC_PENT, KC_TILD, KC_LCTL, KC_LGUI, KC_LALT, KC_LANG2, KC_SPC, KC_SPC, KC_LANG1, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, MO(1) | ||
32 | ), | ||
33 | |||
34 | LAYOUT( | ||
35 | KC_NLCK, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_M_K, RGB_M_X, RGB_M_G, RGB_M_T, RGB_M_T, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
40 | ), | ||
41 | |||
42 | LAYOUT( | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
48 | ), | ||
49 | |||
50 | LAYOUT( | ||
51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
55 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
56 | ) | ||
57 | |||
58 | }; | ||
59 | |||
60 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
61 | switch (keycode) { | ||
62 | case KC_00: | ||
63 | if (record->event.pressed) { | ||
64 | SEND_STRING("00"); | ||
65 | } | ||
66 | return false; | ||
67 | } | ||
68 | return true; | ||
69 | } \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/heavy_left/keymaps/via/rules.mk b/keyboards/takashicompany/heavy_left/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/takashicompany/heavy_left/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/takashicompany/heavy_left/readme.md b/keyboards/takashicompany/heavy_left/readme.md new file mode 100644 index 000000000..4cd0e1b0c --- /dev/null +++ b/keyboards/takashicompany/heavy_left/readme.md | |||
@@ -0,0 +1,33 @@ | |||
1 | # heavy_left | ||
2 | |||
3 |  | ||
4 | |||
5 | This is a 95-key split type Japanese keyboard. | ||
6 | It has a numeric keypad on the left hand side, which can be used not only for entering numbers but also as a dedicated macro pad. | ||
7 | It also supports key switch replacement with MX sockets and LED underglow. | ||
8 | |||
9 | 95キーの分割型の日本語配列のキーボードです。 | ||
10 | 左手側にテンキーが備え付けられており、数字の入力だけでなく専用のマクロパッドとしても使用が可能です。 | ||
11 | MXソケットによるキースイッチの付替えや、LEDによるアンダーグロウにも対応しています。 | ||
12 | |||
13 | * Keyboard Maintainer: [takashicompany](https://github.com/yourusername) | ||
14 | * Hardware Supported: PCB, Pro Micro | ||
15 | * Hardware Availability: https://github.com/takashicompany/heavy_left | ||
16 | |||
17 | Make example for this keyboard (after setting up your build environment): | ||
18 | |||
19 | make takashicompany/heavy_left:default | ||
20 | |||
21 | Flashing example for this keyboard: | ||
22 | |||
23 | make takashicompany/heavy_left:default:flash | ||
24 | |||
25 | 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). | ||
26 | |||
27 | ## Bootloader | ||
28 | |||
29 | Enter the bootloader in 3 ways: | ||
30 | |||
31 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
32 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
33 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/takashicompany/heavy_left/rules.mk b/keyboards/takashicompany/heavy_left/rules.mk new file mode 100644 index 000000000..d4e19e654 --- /dev/null +++ b/keyboards/takashicompany/heavy_left/rules.mk | |||
@@ -0,0 +1,23 @@ | |||
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 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | AUDIO_ENABLE = no # Audio output | ||
22 | |||
23 | SPLIT_KEYBOARD=yes \ No newline at end of file | ||