aboutsummaryrefslogtreecommitdiff
path: root/keyboards/capsunlocked
diff options
context:
space:
mode:
authorDaegara <36287458+Daegara@users.noreply.github.com>2021-07-20 01:52:19 +0100
committerGitHub <noreply@github.com>2021-07-19 17:52:19 -0700
commit10905a6500ceb380795ad47e7391205f5e06676e (patch)
tree6d821ee699fe3f6f5475c7a0983c2952a28e7429 /keyboards/capsunlocked
parent44a8ad265c69f4f2f04a69410fcdf56fd2f356dc (diff)
downloadqmk_firmware-10905a6500ceb380795ad47e7391205f5e06676e.tar.gz
qmk_firmware-10905a6500ceb380795ad47e7391205f5e06676e.zip
[Keyboard] CU65 layout update (#13589)
Diffstat (limited to 'keyboards/capsunlocked')
-rw-r--r--keyboards/capsunlocked/cu65/cu65.h14
-rw-r--r--keyboards/capsunlocked/cu65/info.json77
-rw-r--r--keyboards/capsunlocked/cu65/keymaps/iso_split_bs/keymap.c61
-rw-r--r--keyboards/capsunlocked/cu65/keymaps/iso_split_bs/readme.md1
-rw-r--r--keyboards/capsunlocked/cu65/rules.mk2
5 files changed, 154 insertions, 1 deletions
diff --git a/keyboards/capsunlocked/cu65/cu65.h b/keyboards/capsunlocked/cu65/cu65.h
index dafaba332..78bed765c 100644
--- a/keyboards/capsunlocked/cu65/cu65.h
+++ b/keyboards/capsunlocked/cu65/cu65.h
@@ -65,3 +65,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
65 { K300, K301, KC_NO,K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \ 65 { K300, K301, KC_NO,K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
66 { K400, K401, K402, KC_NO,KC_NO,KC_NO,KC_NO,K407, KC_NO,KC_NO,K410, KC_NO,K412, K413, K414, K415 } \ 66 { K400, K401, K402, KC_NO,KC_NO,KC_NO,KC_NO,K407, KC_NO,KC_NO,K410, KC_NO,K412, K413, K414, K415 } \
67} 67}
68
69#define LAYOUT_65_iso_blocker_split_bs( \
70 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \
71 K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K115, \
72 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, \
73 K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, \
74 K400, K401, K402, K407, K410, K412, K413, K414, K415 \
75) { \
76 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015 }, \
77 { K100, KC_NO,K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, KC_NO,K115 }, \
78 { K200, KC_NO,K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215 }, \
79 { K300, K301, KC_NO,K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315 }, \
80 { K400, K401, K402, KC_NO,KC_NO,KC_NO,KC_NO,K407, KC_NO,KC_NO,K410, KC_NO,K412, K413, K414, K415 } \
81}
diff --git a/keyboards/capsunlocked/cu65/info.json b/keyboards/capsunlocked/cu65/info.json
index 4f8f08a2f..065367836 100644
--- a/keyboards/capsunlocked/cu65/info.json
+++ b/keyboards/capsunlocked/cu65/info.json
@@ -233,6 +233,83 @@
233 {"label":"\u2193", "x":14, "y":4}, 233 {"label":"\u2193", "x":14, "y":4},
234 {"label":"\u2192", "x":15, "y":4} 234 {"label":"\u2192", "x":15, "y":4}
235 ] 235 ]
236 },
237 "LAYOUT_65_iso_blocker_split_bs": {
238 "layout": [
239 {"label":"Esc", "x":0, "y":0},
240 {"label":"!", "x":1, "y":0},
241 {"label":"@", "x":2, "y":0},
242 {"label":"#", "x":3, "y":0},
243 {"label":"$", "x":4, "y":0},
244 {"label":"%", "x":5, "y":0},
245 {"label":"^", "x":6, "y":0},
246 {"label":"&", "x":7, "y":0},
247 {"label":"*", "x":8, "y":0},
248 {"label":"(", "x":9, "y":0},
249 {"label":")", "x":10, "y":0},
250 {"label":"_", "x":11, "y":0},
251 {"label":"+", "x":12, "y":0},
252 {"label":"Backspace", "x":13, "y":0},
253 {"label":"Delete", "x":14, "y":0},
254 {"label":"Insert", "x":15, "y":0},
255
256 {"label":"Tab", "x":0, "y":1, "w":1.5},
257 {"label":"Q", "x":1.5, "y":1},
258 {"label":"W", "x":2.5, "y":1},
259 {"label":"E", "x":3.5, "y":1},
260 {"label":"R", "x":4.5, "y":1},
261 {"label":"T", "x":5.5, "y":1},
262 {"label":"Y", "x":6.5, "y":1},
263 {"label":"U", "x":7.5, "y":1},
264 {"label":"I", "x":8.5, "y":1},
265 {"label":"O", "x":9.5, "y":1},
266 {"label":"P", "x":10.5, "y":1},
267 {"label":"{", "x":11.5, "y":1},
268 {"label":"}", "x":12.5, "y":1},
269 {"label":"Home", "x":15, "y":1},
270
271 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
272 {"label":"A", "x":1.75, "y":2},
273 {"label":"S", "x":2.75, "y":2},
274 {"label":"D", "x":3.75, "y":2},
275 {"label":"F", "x":4.75, "y":2},
276 {"label":"G", "x":5.75, "y":2},
277 {"label":"H", "x":6.75, "y":2},
278 {"label":"J", "x":7.75, "y":2},
279 {"label":"K", "x":8.75, "y":2},
280 {"label":"L", "x":9.75, "y":2},
281 {"label":":", "x":10.75, "y":2},
282 {"label":"\"", "x":11.75, "y":2},
283 {"label":"~", "x":12.75, "y":2},
284 {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2},
285 {"label":"PgUp", "x":15, "y":2},
286
287 {"label":"Shift", "x":0, "y":3, "w":1.25},
288 {"label":"|", "x":1.25, "y":3},
289 {"label":"Z", "x":2.25, "y":3},
290 {"label":"X", "x":3.25, "y":3},
291 {"label":"C", "x":4.25, "y":3},
292 {"label":"V", "x":5.25, "y":3},
293 {"label":"B", "x":6.25, "y":3},
294 {"label":"N", "x":7.25, "y":3},
295 {"label":"M", "x":8.25, "y":3},
296 {"label":"<", "x":9.25, "y":3},
297 {"label":">", "x":10.25, "y":3},
298 {"label":"?", "x":11.25, "y":3},
299 {"label":"Shift", "x":12.25, "y":3, "w":1.75},
300 {"label":"\u2191", "x":14, "y":3},
301 {"label":"PgDn", "x":15, "y":3},
302
303 {"label":"Ctrl", "x":0, "y":4, "w":1.25},
304 {"label":"Win", "x":1.25, "y":4, "w":1.25},
305 {"label":"Alt", "x":2.5, "y":4, "w":1.25},
306 {"label":"Space", "x":3.75, "y":4, "w":6.25},
307 {"label":"Alt", "x":10, "y":4, "w":1.25},
308 {"label":"Fn", "x":11.25, "y":4, "w":1.25},
309 {"label":"\u2190", "x":13, "y":4},
310 {"label":"\u2193", "x":14, "y":4},
311 {"label":"\u2192", "x":15, "y":4}
312 ]
236 } 313 }
237 } 314 }
238} 315}
diff --git a/keyboards/capsunlocked/cu65/keymaps/iso_split_bs/keymap.c b/keyboards/capsunlocked/cu65/keymaps/iso_split_bs/keymap.c
new file mode 100644
index 000000000..2de0de76b
--- /dev/null
+++ b/keyboards/capsunlocked/cu65/keymaps/iso_split_bs/keymap.c
@@ -0,0 +1,61 @@
1/*
2Copyright 2020 CapsUnlocked
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 [0] = LAYOUT_65_iso_blocker_split_bs(
22 /*
23 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
24 * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bsp│Del│Ins│
25 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
26 * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │Hom│
27 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤
28 * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │Pg+│
29 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
30 * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │Pg-│
31 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
32 * │Ctrl│LGUI│LAlt│ Space │RAlt│ L1 │ │ ← │ ↓ │ → │
33 * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
34 */
35 KC_GESC, 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_DEL, KC_INS,
36 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_HOME,
37 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_ENT, KC_PGUP,
38 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
39 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
40 ),
41 [1] = LAYOUT_65_iso_blocker_split_bs(
42 /*
43 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
44 * │RST│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│ │ │ │
45 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
46 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
47 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ├───┤
48 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
49 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
50 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
51 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
52 * │ │ │ │ │ │ │ │ │ │ │
53 * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
54 */
55 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
56 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
57 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
58 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
59 _______, _______, _______, _______, _______, _______, _______, _______, _______
60 ),
61};
diff --git a/keyboards/capsunlocked/cu65/keymaps/iso_split_bs/readme.md b/keyboards/capsunlocked/cu65/keymaps/iso_split_bs/readme.md
new file mode 100644
index 000000000..5ec6b24d1
--- /dev/null
+++ b/keyboards/capsunlocked/cu65/keymaps/iso_split_bs/readme.md
@@ -0,0 +1 @@
# A 69-key variant of the ISO keymap for CU65 (w/ split Backspace)
diff --git a/keyboards/capsunlocked/cu65/rules.mk b/keyboards/capsunlocked/cu65/rules.mk
index 520df45ab..afcef415e 100644
--- a/keyboards/capsunlocked/cu65/rules.mk
+++ b/keyboards/capsunlocked/cu65/rules.mk
@@ -21,4 +21,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth 21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output 22AUDIO_ENABLE = no # Audio output
23 23
24LAYOUTS = 65_ansi_blocker 65_iso_blocker 24LAYOUTS = 65_ansi_blocker 65_iso_blocker 65_iso_blocker_split_bs