diff options
Diffstat (limited to 'keyboards/cutie_club/giant_macro_pad/keymaps/default/keymap.c')
-rwxr-xr-x | keyboards/cutie_club/giant_macro_pad/keymaps/default/keymap.c | 453 |
1 files changed, 453 insertions, 0 deletions
diff --git a/keyboards/cutie_club/giant_macro_pad/keymaps/default/keymap.c b/keyboards/cutie_club/giant_macro_pad/keymaps/default/keymap.c new file mode 100755 index 000000000..2db71e990 --- /dev/null +++ b/keyboards/cutie_club/giant_macro_pad/keymaps/default/keymap.c | |||
@@ -0,0 +1,453 @@ | |||
1 | /* Copyright 2021 Cutie Club | ||
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 | enum custom_keycodes { | ||
20 | NUM_0 = 0, | ||
21 | NUM_1, | ||
22 | NUM_2, | ||
23 | NUM_3, | ||
24 | NUM_4, | ||
25 | NUM_5, | ||
26 | NUM_6, | ||
27 | NUM_7, | ||
28 | NUM_8, | ||
29 | NUM_9, | ||
30 | NUM_10, | ||
31 | NUM_11, | ||
32 | NUM_12, | ||
33 | NUM_13, | ||
34 | NUM_14, | ||
35 | NUM_15, | ||
36 | NUM_16, | ||
37 | NUM_17, | ||
38 | NUM_18, | ||
39 | NUM_19, | ||
40 | NUM_20, | ||
41 | NUM_21, | ||
42 | NUM_22, | ||
43 | NUM_23, | ||
44 | NUM_24, | ||
45 | NUM_25, | ||
46 | NUM_26, | ||
47 | NUM_27, | ||
48 | NUM_28, | ||
49 | NUM_29, | ||
50 | NUM_30, | ||
51 | NUM_31, | ||
52 | NUM_32, | ||
53 | NUM_33, | ||
54 | NUM_34, | ||
55 | NUM_35, | ||
56 | NUM_36, | ||
57 | NUM_37, | ||
58 | NUM_38, | ||
59 | NUM_39, | ||
60 | NUM_40, | ||
61 | NUM_41, | ||
62 | NUM_42, | ||
63 | NUM_43, | ||
64 | NUM_44, | ||
65 | NUM_45, | ||
66 | NUM_46, | ||
67 | NUM_47, | ||
68 | NUM_48, | ||
69 | NUM_49, | ||
70 | NUM_50, | ||
71 | NUM_51, | ||
72 | NUM_52, | ||
73 | NUM_53, | ||
74 | NUM_54, | ||
75 | NUM_55, | ||
76 | NUM_56, | ||
77 | NUM_57, | ||
78 | NUM_58, | ||
79 | NUM_59, | ||
80 | NUM_60, | ||
81 | NUM_61, | ||
82 | NUM_62, | ||
83 | NUM_63, | ||
84 | NUM_64, | ||
85 | NUM_65, | ||
86 | NUM_66, | ||
87 | NUM_67, | ||
88 | NUM_68, | ||
89 | NUM_69, | ||
90 | NUM_70, | ||
91 | NUM_71, | ||
92 | NUM_72, | ||
93 | NUM_73, | ||
94 | NUM_74, | ||
95 | NUM_75, | ||
96 | NUM_76, | ||
97 | NUM_77, | ||
98 | NUM_78, | ||
99 | NUM_79, | ||
100 | NUM_80, | ||
101 | NUM_81, | ||
102 | NUM_82, | ||
103 | NUM_83, | ||
104 | NUM_84, | ||
105 | NUM_85, | ||
106 | NUM_86, | ||
107 | NUM_87, | ||
108 | NUM_88, | ||
109 | NUM_89, | ||
110 | NUM_90, | ||
111 | NUM_91, | ||
112 | NUM_92, | ||
113 | NUM_93, | ||
114 | NUM_94, | ||
115 | NUM_95, | ||
116 | NUM_96, | ||
117 | NUM_97, | ||
118 | NUM_98, | ||
119 | NUM_99, | ||
120 | NUM_100, | ||
121 | NUM_101, | ||
122 | NUM_102, | ||
123 | NUM_103, | ||
124 | NUM_104, | ||
125 | NUM_105, | ||
126 | NUM_106, | ||
127 | NUM_107, | ||
128 | NUM_108, | ||
129 | NUM_109, | ||
130 | NUM_110, | ||
131 | NUM_111, | ||
132 | NUM_112, | ||
133 | NUM_113, | ||
134 | NUM_114, | ||
135 | NUM_115, | ||
136 | NUM_116, | ||
137 | NUM_117, | ||
138 | NUM_118, | ||
139 | NUM_119, | ||
140 | NUM_120, | ||
141 | NUM_121, | ||
142 | NUM_122, | ||
143 | NUM_123, | ||
144 | NUM_124, | ||
145 | NUM_125, | ||
146 | NUM_126, | ||
147 | NUM_127, | ||
148 | NUM_128, | ||
149 | NUM_129, | ||
150 | NUM_130, | ||
151 | NUM_131, | ||
152 | NUM_132, | ||
153 | NUM_133, | ||
154 | NUM_134, | ||
155 | NUM_135, | ||
156 | NUM_136, | ||
157 | NUM_137, | ||
158 | NUM_138, | ||
159 | NUM_139, | ||
160 | NUM_140, | ||
161 | NUM_141, | ||
162 | NUM_142, | ||
163 | NUM_143, | ||
164 | NUM_144, | ||
165 | NUM_145, | ||
166 | NUM_146, | ||
167 | NUM_147, | ||
168 | NUM_148, | ||
169 | NUM_149, | ||
170 | NUM_150, | ||
171 | NUM_151, | ||
172 | NUM_152, | ||
173 | NUM_153, | ||
174 | NUM_154, | ||
175 | NUM_155, | ||
176 | NUM_156, | ||
177 | NUM_157, | ||
178 | NUM_158, | ||
179 | NUM_159, | ||
180 | NUM_160, | ||
181 | NUM_161, | ||
182 | NUM_162, | ||
183 | NUM_163, | ||
184 | NUM_164, | ||
185 | NUM_165, | ||
186 | NUM_166, | ||
187 | NUM_167, | ||
188 | NUM_168, | ||
189 | NUM_169, | ||
190 | NUM_170, | ||
191 | NUM_171, | ||
192 | NUM_172, | ||
193 | NUM_173, | ||
194 | NUM_174, | ||
195 | NUM_175, | ||
196 | NUM_176, | ||
197 | NUM_177, | ||
198 | NUM_178, | ||
199 | NUM_179, | ||
200 | NUM_180, | ||
201 | NUM_181, | ||
202 | NUM_182, | ||
203 | NUM_183, | ||
204 | NUM_184, | ||
205 | NUM_185, | ||
206 | NUM_186, | ||
207 | NUM_187, | ||
208 | NUM_188, | ||
209 | NUM_189, | ||
210 | NUM_190, | ||
211 | NUM_191, | ||
212 | NUM_192, | ||
213 | NUM_193, | ||
214 | NUM_194, | ||
215 | NUM_195, | ||
216 | NUM_196, | ||
217 | NUM_197, | ||
218 | NUM_198, | ||
219 | NUM_199, | ||
220 | NUM_200, | ||
221 | NUM_201, | ||
222 | NUM_202, | ||
223 | NUM_203, | ||
224 | NUM_204, | ||
225 | NUM_205, | ||
226 | NUM_206, | ||
227 | NUM_207, | ||
228 | NUM_208, | ||
229 | NUM_209, | ||
230 | NUM_210, | ||
231 | NUM_211, | ||
232 | NUM_212, | ||
233 | NUM_213, | ||
234 | NUM_214, | ||
235 | NUM_215, | ||
236 | NUM_216, | ||
237 | NUM_217, | ||
238 | NUM_218, | ||
239 | NUM_219, | ||
240 | NUM_220, | ||
241 | NUM_221, | ||
242 | NUM_222, | ||
243 | NUM_223, | ||
244 | NUM_224, | ||
245 | NUM_225, | ||
246 | NUM_226, | ||
247 | NUM_227, | ||
248 | NUM_228, | ||
249 | NUM_229, | ||
250 | NUM_230, | ||
251 | NUM_231, | ||
252 | NUM_232, | ||
253 | NUM_233, | ||
254 | NUM_234, | ||
255 | NUM_235, | ||
256 | NUM_236, | ||
257 | NUM_237, | ||
258 | NUM_238, | ||
259 | NUM_239, | ||
260 | NUM_240, | ||
261 | NUM_241, | ||
262 | NUM_242, | ||
263 | NUM_243, | ||
264 | NUM_244, | ||
265 | NUM_245, | ||
266 | NUM_246, | ||
267 | NUM_247, | ||
268 | NUM_248, | ||
269 | NUM_249, | ||
270 | NUM_250, | ||
271 | NUM_251, | ||
272 | NUM_252, | ||
273 | NUM_253, | ||
274 | NUM_254, | ||
275 | NUM_255, | ||
276 | NUM_256, | ||
277 | NUM_257, | ||
278 | NUM_258, | ||
279 | NUM_259, | ||
280 | NUM_260, | ||
281 | NUM_261, | ||
282 | NUM_262, | ||
283 | NUM_263, | ||
284 | NUM_264, | ||
285 | NUM_265, | ||
286 | NUM_266, | ||
287 | NUM_267, | ||
288 | NUM_268, | ||
289 | NUM_269, | ||
290 | NUM_270, | ||
291 | NUM_271, | ||
292 | NUM_272, | ||
293 | NUM_273, | ||
294 | NUM_274, | ||
295 | NUM_275, | ||
296 | NUM_276, | ||
297 | NUM_277, | ||
298 | NUM_278, | ||
299 | NUM_279, | ||
300 | NUM_280, | ||
301 | NUM_281, | ||
302 | NUM_282, | ||
303 | NUM_283, | ||
304 | NUM_284, | ||
305 | NUM_285, | ||
306 | NUM_286, | ||
307 | NUM_287, | ||
308 | NUM_288, | ||
309 | NUM_289, | ||
310 | NUM_290, | ||
311 | NUM_291, | ||
312 | NUM_292, | ||
313 | NUM_293, | ||
314 | NUM_294, | ||
315 | NUM_295, | ||
316 | NUM_296, | ||
317 | NUM_297, | ||
318 | NUM_298, | ||
319 | NUM_299, | ||
320 | NUM_300, | ||
321 | NUM_301, | ||
322 | NUM_302, | ||
323 | NUM_303, | ||
324 | NUM_304, | ||
325 | NUM_305, | ||
326 | NUM_306, | ||
327 | NUM_307, | ||
328 | NUM_308, | ||
329 | NUM_309, | ||
330 | NUM_310, | ||
331 | NUM_311, | ||
332 | NUM_312, | ||
333 | NUM_313, | ||
334 | NUM_314, | ||
335 | NUM_315, | ||
336 | NUM_316, | ||
337 | NUM_317, | ||
338 | NUM_318, | ||
339 | NUM_319, | ||
340 | NUM_320, | ||
341 | NUM_321, | ||
342 | NUM_322, | ||
343 | NUM_323, | ||
344 | NUM_324, | ||
345 | NUM_325, | ||
346 | NUM_326, | ||
347 | NUM_327, | ||
348 | NUM_328, | ||
349 | NUM_329, | ||
350 | NUM_330, | ||
351 | NUM_331, | ||
352 | NUM_332, | ||
353 | NUM_333, | ||
354 | NUM_334, | ||
355 | NUM_335, | ||
356 | NUM_336, | ||
357 | NUM_337, | ||
358 | NUM_338, | ||
359 | NUM_339, | ||
360 | NUM_340, | ||
361 | NUM_341, | ||
362 | NUM_342, | ||
363 | NUM_343, | ||
364 | NUM_344, | ||
365 | NUM_345, | ||
366 | NUM_346, | ||
367 | NUM_347, | ||
368 | NUM_348, | ||
369 | NUM_349, | ||
370 | NUM_350, | ||
371 | NUM_351, | ||
372 | NUM_352, | ||
373 | NUM_353, | ||
374 | NUM_354, | ||
375 | NUM_355, | ||
376 | NUM_356, | ||
377 | NUM_357, | ||
378 | NUM_358, | ||
379 | NUM_359, | ||
380 | NUM_360, | ||
381 | NUM_361, | ||
382 | NUM_362, | ||
383 | NUM_363, | ||
384 | NUM_364, | ||
385 | NUM_365, | ||
386 | NUM_366, | ||
387 | NUM_367, | ||
388 | NUM_368, | ||
389 | NUM_369, | ||
390 | NUM_370, | ||
391 | NUM_371, | ||
392 | NUM_372, | ||
393 | NUM_373, | ||
394 | NUM_374, | ||
395 | NUM_375, | ||
396 | NUM_376, | ||
397 | NUM_377, | ||
398 | NUM_378, | ||
399 | NUM_379, | ||
400 | NUM_380, | ||
401 | NUM_381, | ||
402 | NUM_382, | ||
403 | NUM_383, | ||
404 | NUM_384, | ||
405 | NUM_385, | ||
406 | NUM_386, | ||
407 | NUM_387, | ||
408 | NUM_388, | ||
409 | NUM_389, | ||
410 | NUM_390, | ||
411 | NUM_391, | ||
412 | NUM_392, | ||
413 | NUM_393, | ||
414 | NUM_394, | ||
415 | NUM_395, | ||
416 | NUM_396, | ||
417 | NUM_397, | ||
418 | NUM_398, | ||
419 | NUM_399, | ||
420 | }; | ||
421 | |||
422 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
423 | /* Base */ | ||
424 | [0] = LAYOUT_all( | ||
425 | NUM_0, NUM_1, NUM_2, NUM_3, NUM_4, NUM_5, NUM_6, NUM_7, NUM_8, NUM_9, NUM_10, NUM_11, NUM_12, NUM_13, NUM_14, NUM_15, NUM_16, NUM_17, NUM_18, NUM_19, | ||
426 | NUM_20, NUM_21, NUM_22, NUM_23, NUM_24, NUM_25, NUM_26, NUM_27, NUM_28, NUM_29, NUM_30, NUM_31, NUM_32, NUM_33, NUM_34, NUM_35, NUM_36, NUM_37, NUM_38, NUM_39, | ||
427 | NUM_40, NUM_41, NUM_42, NUM_43, NUM_44, NUM_45, NUM_46, NUM_47, NUM_48, NUM_49, NUM_50, NUM_51, NUM_52, NUM_53, NUM_54, NUM_55, NUM_56, NUM_57, NUM_58, NUM_59, | ||
428 | NUM_60, NUM_61, NUM_62, NUM_63, NUM_64, NUM_65, NUM_66, NUM_67, NUM_68, NUM_69, NUM_70, NUM_71, NUM_72, NUM_73, NUM_74, NUM_75, NUM_76, NUM_77, NUM_78, NUM_79, | ||
429 | NUM_80, NUM_81, NUM_82, NUM_83, NUM_84, NUM_85, NUM_86, NUM_87, NUM_88, NUM_89, NUM_90, NUM_91, NUM_92, NUM_93, NUM_94, NUM_95, NUM_96, NUM_97, NUM_98, NUM_99, | ||
430 | NUM_100,NUM_101,NUM_102,NUM_103,NUM_104,NUM_105,NUM_106,NUM_107,NUM_108,NUM_109,NUM_110,NUM_111,NUM_112,NUM_113,NUM_114,NUM_115,NUM_116,NUM_117,NUM_118,NUM_119, | ||
431 | NUM_120,NUM_121,NUM_122,NUM_123,NUM_124,NUM_125,NUM_126,NUM_127,NUM_128,NUM_129,NUM_130,NUM_131,NUM_132,NUM_133,NUM_134,NUM_135,NUM_136,NUM_137,NUM_138,NUM_139, | ||
432 | NUM_140,NUM_141,NUM_142,NUM_143,NUM_144,NUM_145,NUM_146,NUM_147,NUM_148,NUM_149,NUM_150,NUM_151,NUM_152,NUM_153,NUM_154,NUM_155,NUM_156,NUM_157,NUM_158,NUM_159, | ||
433 | NUM_160,NUM_161,NUM_162,NUM_163,NUM_164,NUM_165,NUM_166,NUM_167,NUM_168,NUM_169,NUM_170,NUM_171,NUM_172,NUM_173,NUM_174,NUM_175,NUM_176,NUM_177,NUM_178,NUM_179, | ||
434 | NUM_180,NUM_181,NUM_182,NUM_183,NUM_184,NUM_185,NUM_186,NUM_187,NUM_188,NUM_189,NUM_190,NUM_191,NUM_192,NUM_193,NUM_194,NUM_195,NUM_196,NUM_197,NUM_198,NUM_199, | ||
435 | NUM_200,NUM_201,NUM_202,NUM_203,NUM_204,NUM_205,NUM_206,NUM_207,NUM_208,NUM_209,NUM_210,NUM_211,NUM_212,NUM_213,NUM_214,NUM_215,NUM_216,NUM_217,NUM_218,NUM_219, | ||
436 | NUM_220,NUM_221,NUM_222,NUM_223,NUM_224,NUM_225,NUM_226,NUM_227,NUM_228,NUM_229,NUM_230,NUM_231,NUM_232,NUM_233,NUM_234,NUM_235,NUM_236,NUM_237,NUM_238,NUM_239, | ||
437 | NUM_240,NUM_241,NUM_242,NUM_243,NUM_244,NUM_245,NUM_246,NUM_247,NUM_248,NUM_249,NUM_250,NUM_251,NUM_252,NUM_253,NUM_254,NUM_255,NUM_256,NUM_257,NUM_258,NUM_259, | ||
438 | NUM_260,NUM_261,NUM_262,NUM_263,NUM_264,NUM_265,NUM_266,NUM_267,NUM_268,NUM_269,NUM_270,NUM_271,NUM_272,NUM_273,NUM_274,NUM_275,NUM_276,NUM_277,NUM_278,NUM_279, | ||
439 | NUM_280,NUM_281,NUM_282,NUM_283,NUM_284,NUM_285,NUM_286,NUM_287,NUM_288,NUM_289,NUM_290,NUM_291,NUM_292,NUM_293,NUM_294,NUM_295,NUM_296,NUM_297,NUM_298,NUM_299, | ||
440 | NUM_300,NUM_301,NUM_302,NUM_303,NUM_304,NUM_305,NUM_306,NUM_307,NUM_308,NUM_309,NUM_310,NUM_311,NUM_312,NUM_313,NUM_314,NUM_315,NUM_316,NUM_317,NUM_318,NUM_319, | ||
441 | NUM_320,NUM_321,NUM_322,NUM_323,NUM_324,NUM_325,NUM_326,NUM_327,NUM_328,NUM_329,NUM_330,NUM_331,NUM_332,NUM_333,NUM_334,NUM_335,NUM_336,NUM_337,NUM_338,NUM_339, | ||
442 | NUM_340,NUM_341,NUM_342,NUM_343,NUM_344,NUM_345,NUM_346,NUM_347,NUM_348,NUM_349,NUM_350,NUM_351,NUM_352,NUM_353,NUM_354,NUM_355,NUM_356,NUM_357,NUM_358,NUM_359, | ||
443 | NUM_360,NUM_361,NUM_362,NUM_363,NUM_364,NUM_365,NUM_366,NUM_367,NUM_368,NUM_369,NUM_370,NUM_371,NUM_372,NUM_373,NUM_374,NUM_375,NUM_376,NUM_377,NUM_378,NUM_379, | ||
444 | NUM_380,NUM_381,NUM_382,NUM_383,NUM_384,NUM_385,NUM_386,NUM_387,NUM_388,NUM_389,NUM_390,NUM_391,NUM_392,NUM_393,NUM_394,NUM_395,NUM_396,NUM_397,NUM_398,NUM_399 | ||
445 | ) | ||
446 | }; | ||
447 | |||
448 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
449 | char numString[5]; | ||
450 | itoa(keycode, numString, 10); | ||
451 | SEND_STRING(numString); | ||
452 | return false; | ||
453 | }; | ||