aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/checkerboards/phoenix45_ortho/info.json30
-rw-r--r--keyboards/keebio/nyquist/keymaps/pjanx/config.h31
-rw-r--r--keyboards/keebio/nyquist/keymaps/pjanx/keymap.c113
-rw-r--r--keyboards/keebio/nyquist/keymaps/pjanx/rules.mk2
-rw-r--r--keyboards/planck/keymaps/pjanx/config.h49
-rw-r--r--keyboards/planck/keymaps/pjanx/keymap.c354
-rw-r--r--keyboards/planck/keymaps/pjanx/readme.md2
-rw-r--r--keyboards/planck/keymaps/pjanx/rules.mk2
-rw-r--r--keyboards/projectcain/vault35/config.h149
-rw-r--r--keyboards/projectcain/vault35/info.json22
-rw-r--r--keyboards/projectcain/vault35/keymaps/default/config.h24
-rw-r--r--keyboards/projectcain/vault35/keymaps/default/keymap.c66
-rw-r--r--keyboards/projectcain/vault35/keymaps/default/readme.md1
-rw-r--r--keyboards/projectcain/vault35/keymaps/default/rules.mk2
-rw-r--r--keyboards/projectcain/vault35/readme.md21
-rw-r--r--keyboards/projectcain/vault35/rules.mk21
-rw-r--r--keyboards/projectcain/vault35/vault35.c29
-rw-r--r--keyboards/projectcain/vault35/vault35.h80
-rw-r--r--keyboards/projectcain/vault45/info.json78
-rw-r--r--keyboards/projectcain/vault45/keymaps/default/keymap.c12
-rw-r--r--keyboards/projectcain/vault45/vault45.h54
21 files changed, 1066 insertions, 76 deletions
diff --git a/keyboards/checkerboards/phoenix45_ortho/info.json b/keyboards/checkerboards/phoenix45_ortho/info.json
index f5c02caef..e64e67abb 100644
--- a/keyboards/checkerboards/phoenix45_ortho/info.json
+++ b/keyboards/checkerboards/phoenix45_ortho/info.json
@@ -1,16 +1,16 @@
1{ 1{
2 "keyboard_name": "Phoenix45_Ortho", 2 "keyboard_name": "Phoenix45_Ortho",
3 "url": "www.checkerboards.xyz", 3 "url": "www.checkerboards.xyz",
4 "maintainer": "nasp", 4 "maintainer": "nasp",
5 "layouts": { 5 "layouts": {
6 "LAYOUT_ortho_2x225u": { 6 "LAYOUT_ortho_2x225u": {
7 "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"x":11, "y":1}, {"label":"'", "x":12, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"x":11, "y":2}, {"label":"Return", "x":12, "y":2}, {"label":"Hyper", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3}, {"label":"Meta", "x":2.25, "y":3, "w":1.5}, {"x":3.75, "y":3, "w":2.25}, {"label":"Fn", "x":6, "y":3}, {"x":7, "y":3, "w":2.25}, {"label":"Meta", "x":9.25, "y":3, "w":1.5}, {"label":"Super", "x":10.75, "y":3}, {"label":"Hyper", "x":11.75, "y":3, "w":1.25}] 7 "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"x":11, "y":1}, {"label":"'", "x":12, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"x":11, "y":2}, {"label":"Return", "x":12, "y":2}, {"label":"Hyper", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3}, {"label":"Meta", "x":2.25, "y":3, "w":1.5}, {"x":3.75, "y":3, "w":2.25}, {"label":"Fn", "x":6, "y":3}, {"x":7, "y":3, "w":2.25}, {"label":"Meta", "x":9.25, "y":3, "w":1.5}, {"label":"Super", "x":10.75, "y":3}, {"label":"Hyper", "x":11.75, "y":3, "w":1.25}]
8 }, 8 },
9 "LAYOUT_ortho_2x3u": { 9 "LAYOUT_ortho_2x3u": {
10 "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"x":11, "y":1}, {"label":"'", "x":12, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"x":11, "y":2}, {"label":"Return", "x":12, "y":2}, {"label":"Hyper", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3}, {"label":"Meta", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3, "w":3}, {"x":6.5, "y":3, "w":3}, {"label":"Meta", "x":9.5, "y":3, "w":1.25}, {"label":"Super", "x":10.75, "y":3}, {"label":"Hyper", "x":11.75, "y":3, "w":1.25}] 10 "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"x":11, "y":1}, {"label":"'", "x":12, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"x":11, "y":2}, {"label":"Return", "x":12, "y":2}, {"label":"Hyper", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3}, {"label":"Meta", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3, "w":3}, {"x":6.5, "y":3, "w":3}, {"label":"Meta", "x":9.5, "y":3, "w":1.25}, {"label":"Super", "x":10.75, "y":3}, {"label":"Hyper", "x":11.75, "y":3, "w":1.25}]
11 }, 11 },
12"LAYOUT_ortho_6u": { 12"LAYOUT_ortho_6u": {
13 "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"x":11, "y":1}, {"label":"'", "x":12, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"x":11, "y":2}, {"label":"Return", "x":12, "y":2}, {"label":"Hyper", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3}, {"label":"Meta", "x":2.25, "y":3, "w":1.25}, {"label":"", "x":3.5, "y":3, "w":6}, {"label":"Meta", "x":9.5, "y":3, "w":1.25}, {"label":"Super", "x":10.75, "y":3}, {"label":"Hyper", "x":11.75, "y":3, "w":1.25}] 13 "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"x":11, "y":0}, {"label":"Back Space", "x":12, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"x":11, "y":1}, {"label":"'", "x":12, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"x":11, "y":2}, {"label":"Return", "x":12, "y":2}, {"label":"Hyper", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3}, {"label":"Meta", "x":2.25, "y":3, "w":1.25}, {"label":"", "x":3.5, "y":3, "w":6}, {"label":"Meta", "x":9.5, "y":3, "w":1.25}, {"label":"Super", "x":10.75, "y":3}, {"label":"Hyper", "x":11.75, "y":3, "w":1.25}]
14 } 14 }
15 } 15 }
16} \ No newline at end of file 16} \ No newline at end of file
diff --git a/keyboards/keebio/nyquist/keymaps/pjanx/config.h b/keyboards/keebio/nyquist/keymaps/pjanx/config.h
new file mode 100644
index 000000000..ef1c4a51a
--- /dev/null
+++ b/keyboards/keebio/nyquist/keymaps/pjanx/config.h
@@ -0,0 +1,31 @@
1/*
2Copyright 2017 Danny Nguyen <danny@hexwire.com>
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#pragma once
19
20// #define USE_I2C
21
22/* Select hand configuration */
23// #define MASTER_RIGHT
24// #define EE_HANDS
25
26#undef RGBLED_NUM
27#define RGBLIGHT_ANIMATIONS
28#define RGBLED_NUM 12
29#define RGBLIGHT_HUE_STEP 8
30#define RGBLIGHT_SAT_STEP 8
31#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/keebio/nyquist/keymaps/pjanx/keymap.c b/keyboards/keebio/nyquist/keymaps/pjanx/keymap.c
new file mode 100644
index 000000000..44a30063b
--- /dev/null
+++ b/keyboards/keebio/nyquist/keymaps/pjanx/keymap.c
@@ -0,0 +1,113 @@
1/* Copyright 2015-2017 Jack Humbert
2 * Copyright 2021 Přemysl Eric Janouch
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#include QMK_KEYBOARD_H
19
20enum planck_layers {
21 _QWERTY,
22 _LOWER,
23 _RAISE,
24 _ADJUST
25};
26
27enum planck_keycodes {
28 UNUSED = SAFE_RANGE
29};
30
31#define LOWER MO(_LOWER)
32#define RAISE MO(_RAISE)
33
34const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
35
36/* Qwerty
37 * ,-----------------------------------------------------------------------------------.
38 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
39 * |------+------+------+------+------+------+------+------+------+------+------+------|
40 * |LCtrl | A | S | D | F | G | H | J | K | L | ; | " |
41 * |------+------+------+------+------+------+------+------+------+------+------+------|
42 * |LShift| Z | X | C | V | B | N | M | , | . | / |RShift|
43 * |------+------+------+------+------+------+------+------+------+------+------+------|
44 * | Esc | Caps | LGUI | LAlt |Lower | Space |Raise | RAlt | Down | Up |Enter |
45 * `-----------------------------------------------------------------------------------'
46 */
47[_QWERTY] = LAYOUT_ortho_4x12(
48 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
49 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
50 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
51 KC_ESC, KC_CAPS, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_RALT, KC_DOWN, KC_UP, KC_ENT
52),
53
54/* Lower
55 * ,-----------------------------------------------------------------------------------.
56 * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Ins |
57 * |------+------+------+------+------+------+------+------+------+------+------+------|
58 * |RCtrl | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
59 * |------+------+------+------+------+------+------+------+------+------+------+------|
60 * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | |
61 * |------+------+------+------+------+------+------+------+------+------+------+------|
62 * | | RGUI | | | | | | Left | Vol- | Vol+ | Right|
63 * `-----------------------------------------------------------------------------------'
64 */
65[_LOWER] = LAYOUT_ortho_4x12(
66 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_INS,
67 KC_RCTL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
68 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______,
69 _______, KC_RGUI, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_VOLD, KC_VOLU, KC_RGHT
70),
71
72/* Raise
73 * ,-----------------------------------------------------------------------------------.
74 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
75 * |------+------+------+------+------+------+------+------+------+------+------+------|
76 * |RCtrl | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
77 * |------+------+------+------+------+------+------+------+------+------+------+------|
78 * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PgDn | PgUp | |
79 * |------+------+------+------+------+------+------+------+------+------+------+------|
80 * | | App | | | | | | Left | Vol- | Vol+ | Right|
81 * `-----------------------------------------------------------------------------------'
82 */
83[_RAISE] = LAYOUT_ortho_4x12(
84 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
85 KC_RCTL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
86 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGDN, KC_PGUP, _______,
87 _______, KC_APP, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_VOLD, KC_VOLU, KC_RGHT
88),
89
90/* Adjust (Lower + Raise)
91 * v------------------------RGB CONTROL--------------------v
92 * ,-----------------------------------------------------------------------------------.
93 * | | Reset|Debug | RGB |RGBMOD| HUE+ | HUE- | SAT+ | SAT- |BRGTH+|BRGTH-| Del |
94 * |------+------+------+------+------+------+------+------+------+------+------+------|
95 * | | |MUSmod|Aud on|Audoff|AGnorm|AGswap| | | | | |
96 * |------+------+------+------+------+------+------+------+------+------+------+------|
97 * | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof|TermOn|TermOf| | | |
98 * |------+------+------+------+------+------+------+------+------+------+------+------|
99 * | M1 | M2 | M3 | | | | | <- | vv | ^^ | -> |
100 * `-----------------------------------------------------------------------------------'
101 */
102[_ADJUST] = LAYOUT_ortho_4x12(
103 _______, RESET, DEBUG, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_DEL ,
104 _______, _______, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______,
105 _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, TERM_ON, TERM_OFF, _______, _______, _______,
106 KC_MS_BTN1, KC_MS_BTN2, KC_MS_BTN3, _______, _______, _______, _______, _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_UP, KC_MS_RIGHT
107)
108
109};
110
111layer_state_t layer_state_set_user(layer_state_t state) {
112 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
113}
diff --git a/keyboards/keebio/nyquist/keymaps/pjanx/rules.mk b/keyboards/keebio/nyquist/keymaps/pjanx/rules.mk
new file mode 100644
index 000000000..31710b101
--- /dev/null
+++ b/keyboards/keebio/nyquist/keymaps/pjanx/rules.mk
@@ -0,0 +1,2 @@
1RGBLIGHT_ENABLE = yes
2MOUSEKEY_ENABLE = yes
diff --git a/keyboards/planck/keymaps/pjanx/config.h b/keyboards/planck/keymaps/pjanx/config.h
new file mode 100644
index 000000000..b38db026e
--- /dev/null
+++ b/keyboards/planck/keymaps/pjanx/config.h
@@ -0,0 +1,49 @@
1/* Copyright 2015-2018 Jack Humbert
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#ifdef AUDIO_ENABLE
20 #define STARTUP_SONG SONG(PLANCK_SOUND)
21 // #define STARTUP_SONG SONG(NO_SOUND)
22
23 #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
24 SONG(COLEMAK_SOUND), \
25 SONG(DVORAK_SOUND) \
26 }
27#endif
28
29/*
30 * MIDI options
31 */
32
33/* enable basic MIDI features:
34 - MIDI notes can be sent when in Music mode is on
35*/
36
37#define MIDI_BASIC
38
39/* enable advanced MIDI features:
40 - MIDI notes can be added to the keymap
41 - Octave shift and transpose
42 - Virtual sustain, portamento, and modulation wheel
43 - etc.
44*/
45//#define MIDI_ADVANCED
46
47// Most tactile encoders have detents every 4 stages
48#define ENCODER_RESOLUTION 4
49
diff --git a/keyboards/planck/keymaps/pjanx/keymap.c b/keyboards/planck/keymaps/pjanx/keymap.c
new file mode 100644
index 000000000..cf2e52623
--- /dev/null
+++ b/keyboards/planck/keymaps/pjanx/keymap.c
@@ -0,0 +1,354 @@
1/* Copyright 2015-2017 Jack Humbert
2 * Copyright 2021 Přemysl Eric Janouch
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#include QMK_KEYBOARD_H
19#include "muse.h"
20
21
22enum planck_layers {
23 _QWERTY,
24 _COLEMAK,
25 _DVORAK,
26 _LOWER,
27 _RAISE,
28 _PLOVER,
29 _ADJUST
30};
31
32enum planck_keycodes {
33 QWERTY = SAFE_RANGE,
34 COLEMAK,
35 DVORAK,
36 PLOVER,
37 BACKLIT,
38 EXT_PLV
39};
40
41#define LOWER MO(_LOWER)
42#define RAISE MO(_RAISE)
43
44const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
45
46/* Qwerty
47 * ,-----------------------------------------------------------------------------------.
48 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
49 * |------+------+------+------+------+------+------+------+------+------+------+------|
50 * |LCtrl | A | S | D | F | G | H | J | K | L | ; | " |
51 * |------+------+------+------+------+------+------+------+------+------+------+------|
52 * |LShift| Z | X | C | V | B | N | M | , | . | / |RShift|
53 * |------+------+------+------+------+------+------+------+------+------+------+------|
54 * | Esc | Caps | LGUI | LAlt |Lower | Space |Raise | RAlt | Down | Up |Enter |
55 * `-----------------------------------------------------------------------------------'
56 */
57[_QWERTY] = LAYOUT_planck_grid(
58 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
59 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
60 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
61 KC_ESC, KC_CAPS, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_RALT, KC_DOWN, KC_UP, KC_ENT
62),
63
64/* Colemak
65 * ,-----------------------------------------------------------------------------------.
66 * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp |
67 * |------+------+------+------+------+------+------+------+------+------+------+------|
68 * | Esc | A | R | S | T | D | H | N | E | I | O | " |
69 * |------+------+------+------+------+------+------+------+------+------+------+------|
70 * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter |
71 * |------+------+------+------+------+------+------+------+------+------+------+------|
72 * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
73 * `-----------------------------------------------------------------------------------'
74 */
75[_COLEMAK] = LAYOUT_planck_grid(
76 KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
77 KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
78 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
79 BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
80),
81
82/* Dvorak
83 * ,-----------------------------------------------------------------------------------.
84 * | Tab | " | , | . | P | Y | F | G | C | R | L | Bksp |
85 * |------+------+------+------+------+------+------+------+------+------+------+------|
86 * | Esc | A | O | E | U | I | D | H | T | N | S | / |
87 * |------+------+------+------+------+------+------+------+------+------+------+------|
88 * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter |
89 * |------+------+------+------+------+------+------+------+------+------+------+------|
90 * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
91 * `-----------------------------------------------------------------------------------'
92 */
93[_DVORAK] = LAYOUT_planck_grid(
94 KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC,
95 KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH,
96 KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT ,
97 BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
98),
99
100/* Lower
101 * ,-----------------------------------------------------------------------------------.
102 * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Ins |
103 * |------+------+------+------+------+------+------+------+------+------+------+------|
104 * |RCtrl | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
105 * |------+------+------+------+------+------+------+------+------+------+------+------|
106 * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | |
107 * |------+------+------+------+------+------+------+------+------+------+------+------|
108 * | | RGUI | | | | | | Left | Vol- | Vol+ | Right|
109 * `-----------------------------------------------------------------------------------'
110 */
111[_LOWER] = LAYOUT_planck_grid(
112 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_INS,
113 KC_RCTL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
114 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______,
115 _______, KC_RGUI, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_VOLD, KC_VOLU, KC_RGHT
116),
117
118/* Raise
119 * ,-----------------------------------------------------------------------------------.
120 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
121 * |------+------+------+------+------+------+------+------+------+------+------+------|
122 * |RCtrl | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
123 * |------+------+------+------+------+------+------+------+------+------+------+------|
124 * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / | PgDn | PgUp | |
125 * |------+------+------+------+------+------+------+------+------+------+------+------|
126 * | | App | | | | | | Left | Vol- | Vol+ | Right|
127 * `-----------------------------------------------------------------------------------'
128 */
129[_RAISE] = LAYOUT_planck_grid(
130 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
131 KC_RCTL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
132 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGDN, KC_PGUP, _______,
133 _______, KC_APP, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_VOLD, KC_VOLU, KC_RGHT
134),
135
136/* Plover layer (http://opensteno.org)
137 * ,-----------------------------------------------------------------------------------.
138 * | # | # | # | # | # | # | # | # | # | # | # | # |
139 * |------+------+------+------+------+------+------+------+------+------+------+------|
140 * | | S | T | P | H | * | * | F | P | L | T | D |
141 * |------+------+------+------+------+------+------+------+------+------+------+------|
142 * | | S | K | W | R | * | * | R | B | G | S | Z |
143 * |------+------+------+------+------+------+------+------+------+------+------+------|
144 * | Exit | | | A | O | | E | U | | | |
145 * `-----------------------------------------------------------------------------------'
146 */
147[_PLOVER] = LAYOUT_planck_grid(
148 KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1 ,
149 XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,
150 XXXXXXX, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
151 EXT_PLV, XXXXXXX, XXXXXXX, KC_C, KC_V, XXXXXXX, XXXXXXX, KC_N, KC_M, XXXXXXX, XXXXXXX, XXXXXXX
152),
153
154/* Adjust (Lower + Raise)
155 * v------------------------RGB CONTROL--------------------v
156 * ,-----------------------------------------------------------------------------------.
157 * | | Reset|Debug | RGB |RGBMOD| HUE+ | HUE- | SAT+ | SAT- |BRGTH+|BRGTH-| Del |
158 * |------+------+------+------+------+------+------+------+------+------+------+------|
159 * | | |MUSmod|Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak|Plover| |
160 * |------+------+------+------+------+------+------+------+------+------+------+------|
161 * | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof|TermOn|TermOf| | | |
162 * |------+------+------+------+------+------+------+------+------+------+------+------|
163 * | M1 | M2 | M3 | | | | | <- | vv | ^^ | -> |
164 * `-----------------------------------------------------------------------------------'
165 */
166[_ADJUST] = LAYOUT_planck_grid(
167 _______, RESET, DEBUG, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_DEL ,
168 _______, _______, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, PLOVER, _______,
169 _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, TERM_ON, TERM_OFF, _______, _______, _______,
170 KC_MS_BTN1, KC_MS_BTN2, KC_MS_BTN3, _______, _______, _______, _______, _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_UP, KC_MS_RIGHT
171)
172
173};
174
175#ifdef AUDIO_ENABLE
176 float plover_song[][2] = SONG(PLOVER_SOUND);
177 float plover_gb_song[][2] = SONG(PLOVER_GOODBYE_SOUND);
178#endif
179
180layer_state_t layer_state_set_user(layer_state_t state) {
181 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
182}
183
184bool process_record_user(uint16_t keycode, keyrecord_t *record) {
185 switch (keycode) {
186 case QWERTY:
187 if (record->event.pressed) {
188 print("mode just switched to qwerty and this is a huge string\n");
189 set_single_persistent_default_layer(_QWERTY);
190 }
191 return false;
192 break;
193 case COLEMAK:
194 if (record->event.pressed) {
195 set_single_persistent_default_layer(_COLEMAK);
196 }
197 return false;
198 break;
199 case DVORAK:
200 if (record->event.pressed) {
201 set_single_persistent_default_layer(_DVORAK);
202 }
203 return false;
204 break;
205 case BACKLIT:
206 if (record->event.pressed) {
207 register_code(KC_RSFT);
208 #ifdef BACKLIGHT_ENABLE
209 backlight_step();
210 #endif
211 #ifdef KEYBOARD_planck_rev5
212 writePinLow(E6);
213 #endif
214 } else {
215 unregister_code(KC_RSFT);
216 #ifdef KEYBOARD_planck_rev5
217 writePinHigh(E6);
218 #endif
219 }
220 return false;
221 break;
222 case PLOVER:
223 if (record->event.pressed) {
224 #ifdef AUDIO_ENABLE
225 stop_all_notes();
226 PLAY_SONG(plover_song);
227 #endif
228 layer_off(_RAISE);
229 layer_off(_LOWER);
230 layer_off(_ADJUST);
231 layer_on(_PLOVER);
232 if (!eeconfig_is_enabled()) {
233 eeconfig_init();
234 }
235 keymap_config.raw = eeconfig_read_keymap();
236 keymap_config.nkro = 1;
237 eeconfig_update_keymap(keymap_config.raw);
238 }
239 return false;
240 break;
241 case EXT_PLV:
242 if (record->event.pressed) {
243 #ifdef AUDIO_ENABLE
244 PLAY_SONG(plover_gb_song);
245 #endif
246 layer_off(_PLOVER);
247 }
248 return false;
249 break;
250 }
251 return true;
252}
253
254bool muse_mode = false;
255uint8_t last_muse_note = 0;
256uint16_t muse_counter = 0;
257uint8_t muse_offset = 70;
258uint16_t muse_tempo = 50;
259
260bool encoder_update(bool clockwise) {
261 if (muse_mode) {
262 if (IS_LAYER_ON(_RAISE)) {
263 if (clockwise) {
264 muse_offset++;
265 } else {
266 muse_offset--;
267 }
268 } else {
269 if (clockwise) {
270 muse_tempo+=1;
271 } else {
272 muse_tempo-=1;
273 }
274 }
275 } else {
276 if (clockwise) {
277 #ifdef MOUSEKEY_ENABLE
278 tap_code(KC_MS_WH_DOWN);
279 #else
280 tap_code(KC_PGDN);
281 #endif
282 } else {
283 #ifdef MOUSEKEY_ENABLE
284 tap_code(KC_MS_WH_UP);
285 #else
286 tap_code(KC_PGUP);
287 #endif
288 }
289 }
290 return true;
291}
292
293bool dip_switch_update_user(uint8_t index, bool active) {
294 switch (index) {
295 case 0: {
296#ifdef AUDIO_ENABLE
297 static bool play_sound = false;
298#endif
299 if (active) {
300#ifdef AUDIO_ENABLE
301 if (play_sound) { PLAY_SONG(plover_song); }
302#endif
303 layer_on(_ADJUST);
304 } else {
305#ifdef AUDIO_ENABLE
306 if (play_sound) { PLAY_SONG(plover_gb_song); }
307#endif
308 layer_off(_ADJUST);
309 }
310#ifdef AUDIO_ENABLE
311 play_sound = true;
312#endif
313 break;
314 }
315 case 1:
316 if (active) {
317 muse_mode = true;
318 } else {
319 muse_mode = false;
320 }
321 }
322 return true;
323}
324
325void matrix_scan_user(void) {
326#ifdef AUDIO_ENABLE
327 if (muse_mode) {
328 if (muse_counter == 0) {
329 uint8_t muse_note = muse_offset + SCALE[muse_clock_pulse()];
330 if (muse_note != last_muse_note) {
331 stop_note(compute_freq_for_midi_note(last_muse_note));
332 play_note(compute_freq_for_midi_note(muse_note), 0xF);
333 last_muse_note = muse_note;
334 }
335 }
336 muse_counter = (muse_counter + 1) % muse_tempo;
337 } else {
338 if (muse_counter) {
339 stop_all_notes();
340 muse_counter = 0;
341 }
342 }
343#endif
344}
345
346bool music_mask_user(uint16_t keycode) {
347 switch (keycode) {
348 case RAISE:
349 case LOWER:
350 return false;
351 default:
352 return true;
353 }
354}
diff --git a/keyboards/planck/keymaps/pjanx/readme.md b/keyboards/planck/keymaps/pjanx/readme.md
new file mode 100644
index 000000000..e53397847
--- /dev/null
+++ b/keyboards/planck/keymaps/pjanx/readme.md
@@ -0,0 +1,2 @@
1# Modified Default Planck Layout
2
diff --git a/keyboards/planck/keymaps/pjanx/rules.mk b/keyboards/planck/keymaps/pjanx/rules.mk
new file mode 100644
index 000000000..3a551bd42
--- /dev/null
+++ b/keyboards/planck/keymaps/pjanx/rules.mk
@@ -0,0 +1,2 @@
1SRC += muse.c
2MOUSEKEY_ENABLE = yes
diff --git a/keyboards/projectcain/vault35/config.h b/keyboards/projectcain/vault35/config.h
new file mode 100644
index 000000000..5eccd5717
--- /dev/null
+++ b/keyboards/projectcain/vault35/config.h
@@ -0,0 +1,149 @@
1/*
2Copyright 2021 projectcain
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0xFEED
21#define PRODUCT_ID 0x6060
22#define DEVICE_VER 0x0001
23#define MANUFACTURER projectcain
24#define PRODUCT vault35
25
26/* key matrix size */
27#define MATRIX_ROWS 4
28#define MATRIX_COLS 11
29
30/*
31 * Keyboard Matrix Assignments
32 *
33 * Change this to how you wired your keyboard
34 * COLS: AVR pins used for columns, left to right
35 * ROWS: AVR pins used for rows, top to bottom
36 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
37 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
38 *
39 */
40#define MATRIX_ROW_PINS { B4, D4, B0, C7 }
41#define MATRIX_COL_PINS { B1, D3, F0, F1, F4, F5, F6, F7, C6, B6, B5 }
42#define UNUSED_PINS
43
44/* COL2ROW, ROW2COL */
45#define DIODE_DIRECTION COL2ROW
46
47/*
48 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
49 */
50#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
51
52//#define LED_NUM_LOCK_PIN B0
53//#define LED_CAPS_LOCK_PIN B1
54//#define LED_SCROLL_LOCK_PIN B2
55//#define LED_COMPOSE_PIN B3
56//#define LED_KANA_PIN B4
57
58//#define BACKLIGHT_PIN B7
59//#define BACKLIGHT_LEVELS 3
60//#define BACKLIGHT_BREATHING
61
62//#define RGB_DI_PIN E2
63//#ifdef RGB_DI_PIN
64//# define RGBLED_NUM 16
65//# define RGBLIGHT_HUE_STEP 8
66//# define RGBLIGHT_SAT_STEP 8
67//# define RGBLIGHT_VAL_STEP 8
68//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
69//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
70/*== all animations enable ==*/
71//# define RGBLIGHT_ANIMATIONS
72/*== or choose animations ==*/
73//# define RGBLIGHT_EFFECT_BREATHING
74//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
75//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
76//# define RGBLIGHT_EFFECT_SNAKE
77//# define RGBLIGHT_EFFECT_KNIGHT
78//# define RGBLIGHT_EFFECT_CHRISTMAS
79//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
80//# define RGBLIGHT_EFFECT_RGB_TEST
81//# define RGBLIGHT_EFFECT_ALTERNATING
82/*== customize breathing effect ==*/
83/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
84//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
85/*==== use exp() and sin() ====*/
86//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
87//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
88//#endif
89
90/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
91#define DEBOUNCE 5
92
93/* define if matrix has ghost (lacks anti-ghosting diodes) */
94//#define MATRIX_HAS_GHOST
95
96/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
97#define LOCKING_SUPPORT_ENABLE
98/* Locking resynchronize hack */
99#define LOCKING_RESYNC_ENABLE
100
101/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
102 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
103 */
104//#define GRAVE_ESC_CTRL_OVERRIDE
105
106/*
107 * Force NKRO
108 *
109 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
110 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
111 * makefile for this to work.)
112 *
113 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
114 * until the next keyboard reset.
115 *
116 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
117 * fully operational during normal computer usage.
118 *
119 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
120 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
121 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
122 * power-up.
123 *
124 */
125//#define FORCE_NKRO
126
127/*
128 * Feature disable options
129 * These options are also useful to firmware size reduction.
130 */
131
132/* disable debug print */
133//#define NO_DEBUG
134
135/* disable print */
136//#define NO_PRINT
137
138/* disable action features */
139//#define NO_ACTION_LAYER
140//#define NO_ACTION_TAPPING
141//#define NO_ACTION_ONESHOT
142
143/* disable these deprecated features by default */
144#define NO_ACTION_MACRO
145#define NO_ACTION_FUNCTION
146
147/* Bootmagic Lite key configuration */
148//#define BOOTMAGIC_LITE_ROW 0
149//#define BOOTMAGIC_LITE_COLUMN 0 \ No newline at end of file
diff --git a/keyboards/projectcain/vault35/info.json b/keyboards/projectcain/vault35/info.json
new file mode 100644
index 000000000..e842e35e4
--- /dev/null
+++ b/keyboards/projectcain/vault35/info.json
@@ -0,0 +1,22 @@
1{
2 "keyboard_name": "Vault 35",
3 "url": "",
4 "maintainer": "projectcain",
5 "layouts": {
6 "LAYOUT_split_4space": {
7 "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Y", "x":5, "y":0}, {"label":"U", "x":6, "y":0}, {"label":"I", "x":7, "y":0}, {"label":"O", "x":8, "y":0}, {"label":"P", "x":9, "y":0}, {"label":"BACK<br>SPACE", "x":10, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"S", "x":1.25, "y":1}, {"label":"D", "x":2.25, "y":1}, {"label":"F", "x":3.25, "y":1}, {"label":"G", "x":4.25, "y":1}, {"label":"H", "x":5.25, "y":1}, {"label":"J", "x":6.25, "y":1}, {"label":"K", "x":7.25, "y":1}, {"label":"L", "x":8.25, "y":1}, {"label":"ENTER", "x":9.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"X", "x":1.75, "y":2}, {"label":"C", "x":2.75, "y":2}, {"label":"V", "x":3.75, "y":2}, {"label":"B", "x":4.75, "y":2}, {"label":"N", "x":5.75, "y":2}, {"label":"M", "x":6.75, "y":2}, {"label":"<", "x":7.75, "y":2}, {"label":">", "x":8.75, "y":2}, {"label":"SHIFT", "x":9.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.5, "y":3}, {"label":"LOWER", "x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":1.75}, {"x":5.5, "y":3, "w":1.75}, {"label":"RAISE", "x":7.25, "y":3, "w":1.25}, {"label":"ALT", "x":8.5, "y":3}]
8 },
9
10 "LAYOUT_split_3space": {
11 "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Y", "x":5, "y":0}, {"label":"U", "x":6, "y":0}, {"label":"I", "x":7, "y":0}, {"label":"O", "x":8, "y":0}, {"label":"P", "x":9, "y":0}, {"label":"BACK<br>SPACE", "x":10, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"S", "x":1.25, "y":1}, {"label":"D", "x":2.25, "y":1}, {"label":"F", "x":3.25, "y":1}, {"label":"G", "x":4.25, "y":1}, {"label":"H", "x":5.25, "y":1}, {"label":"J", "x":6.25, "y":1}, {"label":"K", "x":7.25, "y":1}, {"label":"L", "x":8.25, "y":1}, {"label":"ENTER", "x":9.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"X", "x":1.75, "y":2}, {"label":"C", "x":2.75, "y":2}, {"label":"V", "x":3.75, "y":2}, {"label":"B", "x":4.75, "y":2}, {"label":"N", "x":5.75, "y":2}, {"label":"M", "x":6.75, "y":2}, {"label":"<", "x":7.75, "y":2}, {"label":">", "x":8.75, "y":2}, {"label":"SHIFT", "x":9.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.5, "y":3}, {"x":2.5, "y":3, "w":2.25}, {"label":"FN", "x":4.75, "y":3}, {"x":5.75, "y":3, "w":2.75}, {"label":"ALT", "x":8.5, "y":3}]
12 },
13
14 "LAYOUT_split_2space": {
15 "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Y", "x":5, "y":0}, {"label":"U", "x":6, "y":0}, {"label":"I", "x":7, "y":0}, {"label":"O", "x":8, "y":0}, {"label":"P", "x":9, "y":0}, {"label":"BACK<br>SPACE", "x":10, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"S", "x":1.25, "y":1}, {"label":"D", "x":2.25, "y":1}, {"label":"F", "x":3.25, "y":1}, {"label":"G", "x":4.25, "y":1}, {"label":"H", "x":5.25, "y":1}, {"label":"J", "x":6.25, "y":1}, {"label":"K", "x":7.25, "y":1}, {"label":"L", "x":8.25, "y":1}, {"label":"ENTER", "x":9.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"X", "x":1.75, "y":2}, {"label":"C", "x":2.75, "y":2}, {"label":"V", "x":3.75, "y":2}, {"label":"B", "x":4.75, "y":2}, {"label":"N", "x":5.75, "y":2}, {"label":"M", "x":6.75, "y":2}, {"label":"<", "x":7.75, "y":2}, {"label":">", "x":8.75, "y":2}, {"label":"SHIFT", "x":9.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.5, "y":3}, {"x":2.5, "y":3, "w":3}, {"x":5.5, "y":3, "w":3}, {"label":"ALT", "x":8.5, "y":3}]
16 },
17
18 "LAYOUT_full_space": {
19 "layout": [{"label":"Q", "x":0, "y":0}, {"label":"W", "x":1, "y":0}, {"label":"E", "x":2, "y":0}, {"label":"R", "x":3, "y":0}, {"label":"T", "x":4, "y":0}, {"label":"Y", "x":5, "y":0}, {"label":"U", "x":6, "y":0}, {"label":"I", "x":7, "y":0}, {"label":"O", "x":8, "y":0}, {"label":"P", "x":9, "y":0}, {"label":"BACK<br>SPACE", "x":10, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"S", "x":1.25, "y":1}, {"label":"D", "x":2.25, "y":1}, {"label":"F", "x":3.25, "y":1}, {"label":"G", "x":4.25, "y":1}, {"label":"H", "x":5.25, "y":1}, {"label":"J", "x":6.25, "y":1}, {"label":"K", "x":7.25, "y":1}, {"label":"L", "x":8.25, "y":1}, {"label":"ENTER", "x":9.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"X", "x":1.75, "y":2}, {"label":"C", "x":2.75, "y":2}, {"label":"V", "x":3.75, "y":2}, {"label":"B", "x":4.75, "y":2}, {"label":"N", "x":5.75, "y":2}, {"label":"M", "x":6.75, "y":2}, {"label":"<", "x":7.75, "y":2}, {"label":">", "x":8.75, "y":2}, {"label":"SHIFT", "x":9.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.5, "y":3}, {"x":2.5, "y":3, "w":6}, {"label":"ALT", "x":8.5, "y":3}]
20 }
21 }
22}
diff --git a/keyboards/projectcain/vault35/keymaps/default/config.h b/keyboards/projectcain/vault35/keymaps/default/config.h
new file mode 100644
index 000000000..35f670c86
--- /dev/null
+++ b/keyboards/projectcain/vault35/keymaps/default/config.h
@@ -0,0 +1,24 @@
1/* Copyright 2021 projectcain
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#define ENCODERS_PAD_A { D6 }
20#define ENCODERS_PAD_B { D7 }
21#define ENCODER_RESOLUTION 2
22#define COMBO_COUNT 2
23#define COMBO_TERM 50
24#define TAPPING_FORCE_HOLD
diff --git a/keyboards/projectcain/vault35/keymaps/default/keymap.c b/keyboards/projectcain/vault35/keymaps/default/keymap.c
new file mode 100644
index 000000000..05fb05b76
--- /dev/null
+++ b/keyboards/projectcain/vault35/keymaps/default/keymap.c
@@ -0,0 +1,66 @@
1
2 /* Copyright 2021 projectcain
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#include QMK_KEYBOARD_H
19enum layers{
20 BASE,
21 NUM,
22 SYM,
23 META
24};
25
26
27const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28 [BASE] = LAYOUT_split_4space(
29
30 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
31 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOTE,
32 KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
33 LALT(KC_TAB), MO(1), SFT_T(KC_BSPC), KC_SPACE, MO(2), RESET
34 ),
35
36 [NUM] = LAYOUT_split_4space(
37
38 KC_PGUP, KC_HOME, KC_UP, KC_END, KC_WBAK, KC_PSLS, KC_7, KC_8, KC_9, KC_PMNS, KC_DEL,
39 KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_WFWD, KC_PAST, KC_4, KC_5, KC_6, KC_PPLS,
40 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_1, KC_2, KC_3, KC_PDOT,
41 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RALT(KC_F4), RALT(KC_F4)
42 ),
43
44 [SYM] = LAYOUT_split_4space(
45
46 S(KC_GRV), KC_GRV, KC_BSLS, S(KC_BSLS), KC_TRNS, KC_TRNS, S(KC_MINS), KC_EQL, KC_TRNS, C(KC_W), C(KC_T),
47 S(KC_1), S(KC_2), S(KC_3), S(KC_4), S(KC_5), S(KC_6), S(KC_7), S(KC_8), KC_SCLN, S(KC_SCLN),
48 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10,
49 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NUMLOCK, KC_TRNS
50 ),
51
52};
53
54
55enum combos {
56 KL_SLSH,
57 JK_MINUS
58};
59
60const uint16_t PROGMEM kl_combo[] = {KC_K, KC_L, COMBO_END};
61const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END};
62
63combo_t key_combos[COMBO_COUNT] = {
64 [KL_SLSH] = COMBO(kl_combo, S(KC_SLSH)),
65 [JK_MINUS] = COMBO(jk_combo, KC_MINUS)
66};
diff --git a/keyboards/projectcain/vault35/keymaps/default/readme.md b/keyboards/projectcain/vault35/keymaps/default/readme.md
new file mode 100644
index 000000000..608072276
--- /dev/null
+++ b/keyboards/projectcain/vault35/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for vault35
diff --git a/keyboards/projectcain/vault35/keymaps/default/rules.mk b/keyboards/projectcain/vault35/keymaps/default/rules.mk
new file mode 100644
index 000000000..dca6713d4
--- /dev/null
+++ b/keyboards/projectcain/vault35/keymaps/default/rules.mk
@@ -0,0 +1,2 @@
1ENCODER_ENABLE = yes
2COMBO_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/projectcain/vault35/readme.md b/keyboards/projectcain/vault35/readme.md
new file mode 100644
index 000000000..88d3ebc73
--- /dev/null
+++ b/keyboards/projectcain/vault35/readme.md
@@ -0,0 +1,21 @@
1# vault35
2
3![vault35](https://i.imgur.com/yw3Fvjxh.jpg)
4
5This is a 30% HHKB-style variant of the vault45 with several bottom row options and rotary encoder support.
6
7* Keyboard Maintainer: [projectcain](https://github.com/projectcain)
8* Hardware Supported: Vault 35 PCB
9* Hardware Availability: mechvault.net
10
11To reset the keyboard into bootloader mode, short the two pads labeled "Reset" on the left side of the pcb
12
13Make example for this keyboard (after setting up your build environment):
14
15 make projectcain/vault35:default
16
17Flashing example for this keyboard:
18
19 make projectcain/vault35:default:flash
20
21See 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).
diff --git a/keyboards/projectcain/vault35/rules.mk b/keyboards/projectcain/vault35/rules.mk
new file mode 100644
index 000000000..9906266f4
--- /dev/null
+++ b/keyboards/projectcain/vault35/rules.mk
@@ -0,0 +1,21 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_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
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/projectcain/vault35/vault35.c b/keyboards/projectcain/vault35/vault35.c
new file mode 100644
index 000000000..2bb1675a1
--- /dev/null
+++ b/keyboards/projectcain/vault35/vault35.c
@@ -0,0 +1,29 @@
1/* Copyright 2021 projectcain
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 "vault35.h"
18
19bool encoder_update_kb(uint8_t index, bool clockwise) {
20 if (!encoder_update_user(index, clockwise)) { return false; }
21 if (index == 0) { /* First encoder */
22 if (clockwise) {
23 tap_code(KC_PGDN);
24 } else {
25 tap_code(KC_PGUP);
26 }
27 }
28 return true;
29} \ No newline at end of file
diff --git a/keyboards/projectcain/vault35/vault35.h b/keyboards/projectcain/vault35/vault35.h
new file mode 100644
index 000000000..af5577f31
--- /dev/null
+++ b/keyboards/projectcain/vault35/vault35.h
@@ -0,0 +1,80 @@
1/* Copyright 2021 projectcain
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
30#define LAYOUT_split_4space( \
31 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, \
32 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, \
33 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, \
34 K301, K302, K303, K305, K306, K307 \
35) \
36{ \
37 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
38 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO }, \
39 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, KC_NO }, \
40 { KC_NO, K301, K302, K303, KC_NO, K305, K306, K307, KC_NO, KC_NO, KC_NO } \
41}
42
43#define LAYOUT_split_3space( \
44 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, \
45 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, \
46 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, \
47 K301, K303, K304, K305, K307 \
48) \
49{ \
50 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
51 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO }, \
52 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, KC_NO }, \
53 { KC_NO, K301, KC_NO, K303, K304, K305, KC_NO, K307, KC_NO, KC_NO, KC_NO } \
54}
55
56#define LAYOUT_split_2space( \
57 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, \
58 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, \
59 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, \
60 K301, K303, K305, K307 \
61) \
62{ \
63 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
64 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO }, \
65 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, KC_NO }, \
66 { KC_NO, K301, KC_NO, K303, KC_NO, K305, KC_NO, K307, KC_NO, KC_NO, KC_NO } \
67}
68
69#define LAYOUT_full_space( \
70 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, \
71 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, \
72 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, \
73 K301, K304, K307 \
74) \
75{ \
76 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
77 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO }, \
78 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, KC_NO }, \
79 { KC_NO, K301, KC_NO, KC_NO, K304, KC_NO, KC_NO, K307, KC_NO, KC_NO, KC_NO } \
80}
diff --git a/keyboards/projectcain/vault45/info.json b/keyboards/projectcain/vault45/info.json
index dd352abc0..6f272e3bb 100644
--- a/keyboards/projectcain/vault45/info.json
+++ b/keyboards/projectcain/vault45/info.json
@@ -1,57 +1,29 @@
1{ 1{
2 "keyboard_name": "vault 45", 2 "keyboard_name": "Vault 45",
3 "url": "", 3 "url": "",
4 "maintainer": "projectcain", 4 "maintainer": "projectcain",
5 "layouts": { 5 "layout_aliases": {
6 "LAYOUT": { 6 "LAYOUT": "LAYOUT_all"
7 "layout": [ 7 },
8 { "label": "Tab", "x": 0, "y": 0 }, 8 "layouts": {
9 { "label": "Q", "x": 1, "y": 0 }, 9 "LAYOUT_all": {
10 { "label": "W", "x": 2, "y": 0 }, 10 "layout": [{"label":"ESC", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"DEL", "x":11, "y":0}, {"label":"BACK<br>SPACE", "x":12, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"ENTER", "x":11.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"SHIFT", "x":11.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.25, "y":3}, {"label":"ALT", "x":2.25, "y":3, "w":1.25}, {"label":"SYS", "x":3.5, "y":3, "w":1.25}, {"x":4.75, "y":3, "w":1.25}, {"x":6, "y":3}, {"x":7, "y":3, "w":1.25}, {"label":"FN", "x":8.25, "y":3, "w":1.25}, {"label":"ALT", "x":9.5, "y":3, "w":1.25}, {"label":"CTRL", "x":10.75, "y":3}]
11 { "label": "E", "x": 3, "y": 0 }, 11 },
12 { "label": "R", "x": 4, "y": 0 }, 12
13 { "label": "T", "x": 5, "y": 0 }, 13 "LAYOUT_split_4space": {
14 { "label": "Y", "x": 6, "y": 0 }, 14 "layout": [{"label":"ESC", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"DEL", "x":11, "y":0}, {"label":"BACK<br>SPACE", "x":12, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"ENTER", "x":11.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"SHIFT", "x":11.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.25, "y":3}, {"label":"ALT", "x":2.25, "y":3, "w":1.25}, {"label":"SYS", "x":3.5, "y":3, "w":1.25}, {"x":4.75, "y":3, "w":1.75}, {"x":6.5, "y":3, "w":1.75}, {"label":"FN", "x":8.25, "y":3, "w":1.25}, {"label":"ALT", "x":9.5, "y":3, "w":1.25}, {"label":"CTRL", "x":10.75, "y":3}]
15 { "label": "U", "x": 7, "y": 0 }, 15 },
16 { "label": "I", "x": 8, "y": 0 }, 16
17 { "label": "O", "x": 9, "y": 0 }, 17 "LAYOUT_split_3space": {
18 { "label": "P", "x": 10, "y": 0 }, 18 "layout": [{"label":"ESC", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"DEL", "x":11, "y":0}, {"label":"BACK<br>SPACE", "x":12, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"ENTER", "x":11.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"SHIFT", "x":11.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.25, "y":3}, {"label":"ALT", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3, "w":2.25}, {"x":5.75, "y":3}, {"x":6.75, "y":3, "w":2.75}, {"label":"ALT", "x":9.5, "y":3, "w":1.25}, {"label":"CTRL", "x":10.75, "y":3}]
19 { "label": "Back<br>Space", "x": 11, "y": 0 }, 19 },
20 { "x": 12, "y": 0 }, 20
21 { "label": "Caps", "x": 0, "y": 1, "w": 1.25 }, 21 "LAYOUT_split_2space": {
22 { "label": "A", "x": 1.25, "y": 1 }, 22 "layout": [{"label":"ESC", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"DEL", "x":11, "y":0}, {"label":"BACK<br>SPACE", "x":12, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"ENTER", "x":11.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"SHIFT", "x":11.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.25, "y":3}, {"label":"ALT", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3, "w":3}, {"x":6.5, "y":3, "w":3}, {"label":"ALT", "x":9.5, "y":3, "w":1.25}, {"label":"CTRL", "x":10.75, "y":3}]
23 { "label": "S", "x": 2.25, "y": 1 }, 23 },
24 { "label": "D", "x": 3.25, "y": 1 }, 24
25 { "label": "F", "x": 4.25, "y": 1 }, 25 "LAYOUT_full_space": {
26 { "label": "G", "x": 5.25, "y": 1 }, 26 "layout": [{"label":"ESC", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"DEL", "x":11, "y":0}, {"label":"BACK<br>SPACE", "x":12, "y":0}, {"label":"TAB", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"ENTER", "x":11.25, "y":1, "w":1.75}, {"label":"SHIFT", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"SHIFT", "x":11.75, "y":2, "w":1.25}, {"label":"CTRL", "x":1.25, "y":3}, {"label":"ALT", "x":2.25, "y":3, "w":1.25}, {"x":3.5, "y":3, "w":6}, {"label":"ALT", "x":9.5, "y":3, "w":1.25}, {"label":"CTRL", "x":10.75, "y":3}]
27 { "label": "H", "x": 6.25, "y": 1 },
28 { "label": "J", "x": 7.25, "y": 1 },
29 { "label": "K", "x": 8.25, "y": 1 },
30 { "label": "L", "x": 9.25, "y": 1 },
31 { "label": ":", "x": 10.25, "y": 1 },
32 { "label": "Enter", "x": 11.25, "y": 1, "w": 1.75 },
33 { "label": "Shift", "x": 0, "y": 2, "w": 1.75 },
34 { "label": "Z", "x": 1.75, "y": 2 },
35 { "label": "X", "x": 2.75, "y": 2 },
36 { "label": "C", "x": 3.75, "y": 2 },
37 { "label": "V", "x": 4.75, "y": 2 },
38 { "label": "B", "x": 5.75, "y": 2 },
39 { "label": "N", "x": 6.75, "y": 2 },
40 { "label": "M", "x": 7.75, "y": 2 },
41 { "label": "<", "x": 8.75, "y": 2 },
42 { "label": ">", "x": 9.75, "y": 2 },
43 { "label": "?", "x": 10.75, "y": 2 },
44 { "label": "Shift", "x": 11.75, "y": 2, "w": 1.25 },
45 { "label": "Hyper", "x": 0, "y": 3, "w": 1.25 },
46 { "label": "Super", "x": 1.25, "y": 3 },
47 { "label": "Meta", "x": 2.25, "y": 3, "w": 1.25 },
48 { "label": "Alt", "x": 3.5, "y": 3, "w": 1.25 },
49 { "x": 4.75, "y": 3, "w": 3.5 },
50 { "label": "Meta", "x": 8.25, "y": 3, "w": 1.25 },
51 { "label": "Super", "x": 9.5, "y": 3, "w": 1.25 },
52 { "label": "Fn2", "x": 10.75, "y": 3 },
53 { "label": "Ctrl", "x": 11.75, "y": 3, "w": 1.25 }
54 ]
55 } 27 }
56 } 28 }
57} 29}
diff --git a/keyboards/projectcain/vault45/keymaps/default/keymap.c b/keyboards/projectcain/vault45/keymaps/default/keymap.c
index 930737020..6955320e7 100644
--- a/keyboards/projectcain/vault45/keymaps/default/keymap.c
+++ b/keyboards/projectcain/vault45/keymaps/default/keymap.c
@@ -21,25 +21,25 @@ enum layers{
21 21
22 22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [BASE] = LAYOUT( 24 [BASE] = LAYOUT_split_4space(
25 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_F5, 25 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_F5,
26 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOTE, LT(SYM, KC_ENT), 26 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOTE, LT(SYM, KC_ENT),
27 RCTL_T(S(KC_9)), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, S(KC_0), 27 RCTL_T(S(KC_9)), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, S(KC_0),
28 LALT(KC_TAB), LALT(KC_TAB), MO(1), SFT_T(KC_BSPC), KC_SPACE, KC_SPACE, MO(2), KC_LGUI, G(KC_TAB) 28 LALT(KC_TAB), LALT(KC_TAB), MO(1), SFT_T(KC_BSPC), KC_SPACE, MO(2), KC_LGUI, G(KC_TAB)
29 ), 29 ),
30 30
31 [NUM] = LAYOUT( 31 [NUM] = LAYOUT_split_4space(
32 KC_TRNS, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_WBAK, KC_PSLS, KC_7, KC_8, KC_9, KC_PMNS, KC_DEL, RESET, 32 KC_TRNS, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_WBAK, KC_PSLS, KC_7, KC_8, KC_9, KC_PMNS, KC_DEL, RESET,
33 KC_TRNS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_WFWD, KC_PAST, KC_4, KC_5, KC_6, KC_PPLS, KC_TRNS, 33 KC_TRNS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_WFWD, KC_PAST, KC_4, KC_5, KC_6, KC_PPLS, KC_TRNS,
34 KC_LBRC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_1, KC_2, KC_3, KC_PDOT, KC_RBRC, 34 KC_LBRC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_1, KC_2, KC_3, KC_PDOT, KC_RBRC,
35 KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, S(KC_RCTRL), RALT(KC_F4), RALT(KC_F4) 35 KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, S(KC_RCTRL), RALT(KC_F4), RALT(KC_F4)
36 ), 36 ),
37 37
38 [SYM] = LAYOUT( 38 [SYM] = LAYOUT_split_4space(
39 RGB_TOG, S(KC_GRV), KC_GRV, KC_BSLS, S(KC_BSLS), KC_TRNS, KC_TRNS, S(KC_MINS), KC_EQL, KC_TRNS, C(KC_W), C(KC_T), KC_TRNS, 39 RGB_TOG, S(KC_GRV), KC_GRV, KC_BSLS, S(KC_BSLS), KC_TRNS, KC_TRNS, S(KC_MINS), KC_EQL, KC_TRNS, C(KC_W), C(KC_T), KC_TRNS,
40 KC_TRNS, S(KC_1), S(KC_2), S(KC_3), S(KC_4), S(KC_5), S(KC_6), S(KC_7), S(KC_8), KC_SCLN, S(KC_SCLN), KC_TRNS, 40 KC_TRNS, S(KC_1), S(KC_2), S(KC_3), S(KC_4), S(KC_5), S(KC_6), S(KC_7), S(KC_8), KC_SCLN, S(KC_SCLN), KC_TRNS,
41 S(KC_LBRC), KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, S(KC_RBRC), 41 S(KC_LBRC), KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, S(KC_RBRC),
42 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_CAPSLOCK, KC_NUMLOCK, KC_TRNS 42 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_CAPSLOCK, KC_NUMLOCK, KC_TRNS
43 ), 43 ),
44 44
45}; 45};
diff --git a/keyboards/projectcain/vault45/vault45.h b/keyboards/projectcain/vault45/vault45.h
index 031de0003..b1217d6d0 100644
--- a/keyboards/projectcain/vault45/vault45.h
+++ b/keyboards/projectcain/vault45/vault45.h
@@ -26,7 +26,8 @@
26 * The second converts the arguments into a two-dimensional array which 26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix. 27 * represents the switch matrix.
28 */ 28 */
29#define LAYOUT( \ 29
30#define LAYOUT_all( \
30 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \ 31 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \
31 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \ 32 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \
32 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \ 33 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
@@ -36,5 +37,54 @@
36 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012 }, \ 37 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012 }, \
37 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112 }, \ 38 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112 }, \
38 { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \ 39 { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \
39 { KC_NO, K301, K302, KC_NO, K304, K305, K306, K307, K308, KC_NO, K310, K311, KC_NO }, \ 40 { KC_NO, K301, K302, KC_NO, K304, K305, K306, K307, K308, KC_NO, K310, K311, KC_NO } \
41}
42
43#define LAYOUT_split_4space( \
44 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \
45 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \
46 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
47 K301, K302, K304, K305, K307, K308, K310, K311 \
48) \
49{ \
50 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012 }, \
51 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112 }, \
52 { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \
53 { KC_NO, K301, K302, KC_NO, K304, K305, KC_NO, K307, K308, KC_NO, K310, K311, KC_NO } \
54}
55#define LAYOUT_split_3space( \
56 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \
57 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \
58 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
59 K301, K302, K305, K306, K307, K310, K311 \
60) \
61{ \
62 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012 }, \
63 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112 }, \
64 { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \
65 { KC_NO, K301, K302, KC_NO, KC_NO, K305, K306, K307, KC_NO, KC_NO, K310, K311, KC_NO } \
66}
67#define LAYOUT_split_2space( \
68 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \
69 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \
70 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
71 K301, K302, K305, K307, K310, K311 \
72) \
73{ \
74 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012 }, \
75 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112 }, \
76 { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \
77 { KC_NO, K301, K302, KC_NO, KC_NO, K305, KC_NO, K307, KC_NO, KC_NO, K310, K311, KC_NO } \
78}
79#define LAYOUT_full_space( \
80 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, \
81 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K112, \
82 K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
83 K301, K302, K306, K310, K311 \
84) \
85{ \
86 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012 }, \
87 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO, K112 }, \
88 { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \
89 { KC_NO, K301, K302, KC_NO, KC_NO, KC_NO, K306, KC_NO, KC_NO, KC_NO, K310, K311, KC_NO } \
40} 90}