aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nimrod/nimrod.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nimrod/nimrod.h')
-rw-r--r--keyboards/nimrod/nimrod.h85
1 files changed, 85 insertions, 0 deletions
diff --git a/keyboards/nimrod/nimrod.h b/keyboards/nimrod/nimrod.h
new file mode 100644
index 000000000..253154905
--- /dev/null
+++ b/keyboards/nimrod/nimrod.h
@@ -0,0 +1,85 @@
1/* Copyright 2020 cjcodell1
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#define XXX KC_NO
21
22#define LAYOUT_ortho_4x10( \
23 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
24 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
25 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
26 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39 \
27) \
28{ \
29 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
30 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
31 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
32 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39 } \
33}
34
35#define LAYOUT_left_space( \
36 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
37 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
38 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
39 K32, K35, K36, K37, K38, K39 \
40) \
41{ \
42 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
43 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
44 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
45 { XXX, XXX, K32, XXX, XXX, K35, K36, K37, K38, K39 } \
46}
47
48#define LAYOUT_center_space( \
49 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
50 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
51 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
52 K30, K31, K34, K37, K38, K39 \
53) \
54{ \
55 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
56 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
57 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
58 { K30, K31, XXX, XXX, K34, XXX, XXX, K37, K38, K39 } \
59}
60
61#define LAYOUT_right_space( \
62 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
63 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
64 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
65 K30, K31, K32, K33, K34, K37 \
66) \
67{ \
68 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
69 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
70 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
71 { K30, K31, K32, K33, K34, XXX, XXX, K37, XXX, XXX } \
72}
73
74#define LAYOUT_split_space( \
75 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
76 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
77 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
78 K32, K37 \
79) \
80{ \
81 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
82 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
83 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
84 { XXX, XXX, K32, XXX, XXX, XXX, XXX, K37, XXX, XXX } \
85}