diff options
-rw-r--r-- | keyboards/rart/rartland/info.json | 153 | ||||
-rw-r--r-- | keyboards/rart/rartland/rartland.h | 56 | ||||
-rw-r--r-- | keyboards/rart/rartland/rules.mk | 11 |
3 files changed, 215 insertions, 5 deletions
diff --git a/keyboards/rart/rartland/info.json b/keyboards/rart/rartland/info.json index 697c36dc1..2c4524964 100644 --- a/keyboards/rart/rartland/info.json +++ b/keyboards/rart/rartland/info.json | |||
@@ -81,6 +81,159 @@ | |||
81 | {"x":13, "y":4}, | 81 | {"x":13, "y":4}, |
82 | {"x":14, "y":4}, | 82 | {"x":14, "y":4}, |
83 | {"x":15, "y":4}] | 83 | {"x":15, "y":4}] |
84 | }, | ||
85 | "LAYOUT_65_ansi": { | ||
86 | "layout": [ | ||
87 | {"x":0, "y":0}, | ||
88 | {"x":1, "y":0}, | ||
89 | {"x":2, "y":0}, | ||
90 | {"x":3, "y":0}, | ||
91 | {"x":4, "y":0}, | ||
92 | {"x":5, "y":0}, | ||
93 | {"x":6, "y":0}, | ||
94 | {"x":7, "y":0}, | ||
95 | {"x":8, "y":0}, | ||
96 | {"x":9, "y":0}, | ||
97 | {"x":10, "y":0}, | ||
98 | {"x":11, "y":0}, | ||
99 | {"x":12, "y":0}, | ||
100 | {"x":13, "y":0, "w":2}, | ||
101 | {"x":15, "y":0}, | ||
102 | |||
103 | {"x":0, "y":1, "w":1.5}, | ||
104 | {"x":1.5, "y":1}, | ||
105 | {"x":2.5, "y":1}, | ||
106 | {"x":3.5, "y":1}, | ||
107 | {"x":4.5, "y":1}, | ||
108 | {"x":5.5, "y":1}, | ||
109 | {"x":6.5, "y":1}, | ||
110 | {"x":7.5, "y":1}, | ||
111 | {"x":8.5, "y":1}, | ||
112 | {"x":9.5, "y":1}, | ||
113 | {"x":10.5, "y":1}, | ||
114 | {"x":11.5, "y":1}, | ||
115 | {"x":12.5, "y":1}, | ||
116 | {"x":13.5, "y":1, "w":1.5}, | ||
117 | {"x":15, "y":1}, | ||
118 | |||
119 | {"x":0, "y":2, "w":1.75}, | ||
120 | {"x":1.75, "y":2}, | ||
121 | {"x":2.75, "y":2}, | ||
122 | {"x":3.75, "y":2}, | ||
123 | {"x":4.75, "y":2}, | ||
124 | {"x":5.75, "y":2}, | ||
125 | {"x":6.75, "y":2}, | ||
126 | {"x":7.75, "y":2}, | ||
127 | {"x":8.75, "y":2}, | ||
128 | {"x":9.75, "y":2}, | ||
129 | {"x":10.75, "y":2}, | ||
130 | {"x":11.75, "y":2}, | ||
131 | {"x":12.75, "y":2, "w":2.25}, | ||
132 | {"x":15, "y":2}, | ||
133 | |||
134 | {"x":0, "y":3, "w":2.25}, | ||
135 | {"x":2.25, "y":3}, | ||
136 | {"x":3.25, "y":3}, | ||
137 | {"x":4.25, "y":3}, | ||
138 | {"x":5.25, "y":3}, | ||
139 | {"x":6.25, "y":3}, | ||
140 | {"x":7.25, "y":3}, | ||
141 | {"x":8.25, "y":3}, | ||
142 | {"x":9.25, "y":3}, | ||
143 | {"x":10.25, "y":3}, | ||
144 | {"x":11.25, "y":3}, | ||
145 | {"x":12.25, "y":3, "w":1.75}, | ||
146 | {"x":14, "y":3}, | ||
147 | {"x":15, "y":3}, | ||
148 | |||
149 | {"x":0, "y":4, "w":1.25}, | ||
150 | {"x":1.25, "y":4, "w":1.25}, | ||
151 | {"x":2.5, "y":4, "w":1.25}, | ||
152 | {"x":3.75, "y":4, "w":6.25}, | ||
153 | {"x":10, "y":4}, | ||
154 | {"x":11, "y":4}, | ||
155 | {"x":12, "y":4}, | ||
156 | {"x":13, "y":4}, | ||
157 | {"x":14, "y":4}, | ||
158 | {"x":15, "y":4} | ||
159 | ] | ||
160 | }, | ||
161 | "LAYOUT_65_iso": { | ||
162 | "layout": [ | ||
163 | {"x":0, "y":0}, | ||
164 | {"x":1, "y":0}, | ||
165 | {"x":2, "y":0}, | ||
166 | {"x":3, "y":0}, | ||
167 | {"x":4, "y":0}, | ||
168 | {"x":5, "y":0}, | ||
169 | {"x":6, "y":0}, | ||
170 | {"x":7, "y":0}, | ||
171 | {"x":8, "y":0}, | ||
172 | {"x":9, "y":0}, | ||
173 | {"x":10, "y":0}, | ||
174 | {"x":11, "y":0}, | ||
175 | {"x":12, "y":0}, | ||
176 | {"x":13, "y":0, "w":2}, | ||
177 | {"x":15, "y":0}, | ||
178 | |||
179 | {"x":0, "y":1, "w":1.5}, | ||
180 | {"x":1.5, "y":1}, | ||
181 | {"x":2.5, "y":1}, | ||
182 | {"x":3.5, "y":1}, | ||
183 | {"x":4.5, "y":1}, | ||
184 | {"x":5.5, "y":1}, | ||
185 | {"x":6.5, "y":1}, | ||
186 | {"x":7.5, "y":1}, | ||
187 | {"x":8.5, "y":1}, | ||
188 | {"x":9.5, "y":1}, | ||
189 | {"x":10.5, "y":1}, | ||
190 | {"x":11.5, "y":1}, | ||
191 | {"x":12.5, "y":1}, | ||
192 | {"x":15, "y":1}, | ||
193 | |||
194 | {"x":0, "y":2, "w":1.75}, | ||
195 | {"x":1.75, "y":2}, | ||
196 | {"x":2.75, "y":2}, | ||
197 | {"x":3.75, "y":2}, | ||
198 | {"x":4.75, "y":2}, | ||
199 | {"x":5.75, "y":2}, | ||
200 | {"x":6.75, "y":2}, | ||
201 | {"x":7.75, "y":2}, | ||
202 | {"x":8.75, "y":2}, | ||
203 | {"x":9.75, "y":2}, | ||
204 | {"x":10.75, "y":2}, | ||
205 | {"x":11.75, "y":2}, | ||
206 | {"x":12.75, "y":2}, | ||
207 | {"x":13.75, "y":1, "w":1.25, "h":2}, | ||
208 | {"x":15, "y":2}, | ||
209 | |||
210 | {"x":0, "y":3, "w":1.25}, | ||
211 | {"x":1.25, "y":3}, | ||
212 | {"x":2.25, "y":3}, | ||
213 | {"x":3.25, "y":3}, | ||
214 | {"x":4.25, "y":3}, | ||
215 | {"x":5.25, "y":3}, | ||
216 | {"x":6.25, "y":3}, | ||
217 | {"x":7.25, "y":3}, | ||
218 | {"x":8.25, "y":3}, | ||
219 | {"x":9.25, "y":3}, | ||
220 | {"x":10.25, "y":3}, | ||
221 | {"x":11.25, "y":3}, | ||
222 | {"x":12.25, "y":3, "w":1.75}, | ||
223 | {"x":14, "y":3}, | ||
224 | {"x":15, "y":3}, | ||
225 | |||
226 | {"x":0, "y":4, "w":1.25}, | ||
227 | {"x":1.25, "y":4, "w":1.25}, | ||
228 | {"x":2.5, "y":4, "w":1.25}, | ||
229 | {"x":3.75, "y":4, "w":6.25}, | ||
230 | {"x":10, "y":4}, | ||
231 | {"x":11, "y":4}, | ||
232 | {"x":12, "y":4}, | ||
233 | {"x":13, "y":4}, | ||
234 | {"x":14, "y":4}, | ||
235 | {"x":15, "y":4} | ||
236 | ] | ||
84 | } | 237 | } |
85 | } | 238 | } |
86 | } | 239 | } |
diff --git a/keyboards/rart/rartland/rartland.h b/keyboards/rart/rartland/rartland.h index a871c66b4..5abfab87a 100644 --- a/keyboards/rart/rartland/rartland.h +++ b/keyboards/rart/rartland/rartland.h | |||
@@ -17,6 +17,34 @@ | |||
17 | 17 | ||
18 | #include "quantum.h" | 18 | #include "quantum.h" |
19 | 19 | ||
20 | #define XXX KC_NO | ||
21 | |||
22 | /* | ||
23 | * ┌────────┐ | ||
24 | * 2u Backspace │0D │ | ||
25 | * └────────┘ | ||
26 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
27 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │1D │4D │ | ||
28 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ ┌─────┐ | ||
29 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │2D │4C │ │ │ ISO | ||
30 | * 2.25u ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┐2D │ Enter | ||
31 | * LShift │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │4B │ │2C │ │ | ||
32 | * ┌────────┐ ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴────┘ | ||
33 | * │30 │ │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │4A │ | ||
34 | * └────────┘ ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ | ||
35 | * │40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │ | ||
36 | * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ | ||
37 | * └────────────────(a)──────────────────┘└────(b)────┘ | ||
38 | * | ||
39 | * (a) 1.5 / 1.5 / 7 (b) | ||
40 | * ┌─────┬─────┬───────────────────────────┐ ┌─────┬─────┐ | ||
41 | * │40 │41 │43 │ │44 │46 │ 1.5 / 1.5 | ||
42 | * └─────┴─────┴───────────────────────────┘ └─────┴─────┘ | ||
43 | * ┌────┬────┐ | ||
44 | * │44 │45 │ 1.25 / 1.25 (0.5u gap) | ||
45 | * └────┴────┘ | ||
46 | */ | ||
47 | |||
20 | #define LAYOUT_all( \ | 48 | #define LAYOUT_all( \ |
21 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K1D, K4D, \ | 49 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K1D, K4D, \ |
22 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2D, K4C, \ | 50 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2D, K4C, \ |
@@ -30,3 +58,31 @@ | |||
30 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | 58 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ |
31 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D } \ | 59 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D } \ |
32 | } | 60 | } |
61 | |||
62 | #define LAYOUT_65_ansi( \ | ||
63 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K4D, \ | ||
64 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2D, K4C, \ | ||
65 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K4B, \ | ||
66 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K4A, \ | ||
67 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49 \ | ||
68 | ) { \ | ||
69 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
70 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, XXX }, \ | ||
71 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ | ||
72 | { K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | ||
73 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D } \ | ||
74 | } | ||
75 | |||
76 | #define LAYOUT_65_iso( \ | ||
77 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K4D, \ | ||
78 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K4C, \ | ||
79 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K4B, \ | ||
80 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K4A, \ | ||
81 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49 \ | ||
82 | ) { \ | ||
83 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
84 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, XXX }, \ | ||
85 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \ | ||
86 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | ||
87 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D } \ | ||
88 | } | ||
diff --git a/keyboards/rart/rartland/rules.mk b/keyboards/rart/rartland/rules.mk index 57d8e6a99..fa3dd5338 100644 --- a/keyboards/rart/rartland/rules.mk +++ b/keyboards/rart/rartland/rules.mk | |||
@@ -10,11 +10,11 @@ BOOTLOADER = USBasp | |||
10 | # Build Options | 10 | # Build Options |
11 | # change yes to no to disable | 11 | # change yes to no to disable |
12 | # | 12 | # |
13 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 13 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
14 | MOUSEKEY_ENABLE = no # Mouse keys | 14 | MOUSEKEY_ENABLE = no # Mouse keys |
15 | EXTRAKEY_ENABLE = yes # Audio control and System control | 15 | EXTRAKEY_ENABLE = yes # Audio control and System control |
16 | CONSOLE_ENABLE = no # Console for debug | 16 | CONSOLE_ENABLE = no # Console for debug |
17 | COMMAND_ENABLE = no # Commands for debug and configuration | 17 | COMMAND_ENABLE = no # Commands for debug and configuration |
18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
20 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 20 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
@@ -25,5 +25,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
25 | AUDIO_ENABLE = no # Audio output | 25 | AUDIO_ENABLE = no # Audio output |
26 | UNICODE_ENABLE = yes | 26 | UNICODE_ENABLE = yes |
27 | OLED_DRIVER_ENABLE = yes | 27 | OLED_DRIVER_ENABLE = yes |
28 | ENCODER_ENABLE = yes | 28 | ENCODER_ENABLE = yes |
29 | 29 | ||
30 | LAYOUTS = 65_ansi 65_iso | ||