summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-12-17 21:54:01 +1100
committerGitHub <noreply@github.com>2023-12-17 21:54:01 +1100
commit7ea022ba88125c27ef2d137f52e7cf846ddb4ee9 (patch)
tree3998727ea1224c872f50bb53ab220841962d814f /keyboards/maple_computing
parentf0e4bc937aeaf84887ab27d7e085e6d02fbebda9 (diff)
[Keymap Removal] Planck and related keymaps. (#22683)
Diffstat (limited to 'keyboards/maple_computing')
-rw-r--r--keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/config.h23
-rw-r--r--keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/keymap.c120
-rw-r--r--keyboards/maple_computing/lets_split_eh/keymaps/msiu/config.h21
-rw-r--r--keyboards/maple_computing/lets_split_eh/keymaps/msiu/keymap.c195
-rw-r--r--keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/config.h26
-rw-r--r--keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/keymap.c166
-rw-r--r--keyboards/maple_computing/minidox/keymaps/that_canadian/config.h46
-rw-r--r--keyboards/maple_computing/minidox/keymaps/that_canadian/keymap.c159
-rw-r--r--keyboards/maple_computing/minidox/keymaps/that_canadian/rules.mk2
9 files changed, 0 insertions, 758 deletions
diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/config.h b/keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/config.h
deleted file mode 100644
index c535299e74..0000000000
--- a/keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
22
23 // place overrides here
diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/keymap.c b/keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/keymap.c
deleted file mode 100644
index 622e539c7b..0000000000
--- a/keyboards/maple_computing/lets_split_eh/keymaps/mikethetiger/keymap.c
+++ /dev/null
@@ -1,120 +0,0 @@
1#include QMK_KEYBOARD_H
2
3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
5// Layer names don't all need to be of the same length, obviously, and you can also skip them
6// entirely and just use numbers.
7enum layers {
8 _QWERTY,
9 _LOWER,
10 _RAISE,
11 _FUNCTION,
12 _ADJUST,
13};
14
15#define LOWER MO(_LOWER)
16#define RAISE MO(_RAISE)
17#define FUNCTION MO(_FUNCTION)
18#define ADJUST MO(_ADJUST)
19
20// Defines for task manager and such
21#define CALTDEL LCTL(LALT(KC_DEL))
22#define TSKMGR LCTL(LSFT(KC_ESC))
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26/* Qwerty
27 * ,-----------------------------------------------------------------------------------.
28 * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
29 * |------+------+------+------+------+-------------+------+------+------+------+------|
30 * | Tab | A | S | D | F | G | H | J | K | L | ; | " |
31 * |------+------+------+------+------+------|------+------+------+------+------+------|
32 * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
33 * |------+------+------+------+------+------+------+------+------+------+------+------|
34 * | | Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
35 * `-----------------------------------------------------------------------------------'
36 */
37[_QWERTY] = LAYOUT(
38 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
39 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
40 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
41 _______, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
42),
43
44/* Lower
45 * ,-----------------------------------------------------------------------------------.
46 * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp |
47 * |------+------+------+------+------+-------------+------+------+------+------+------|
48 * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
49 * |------+------+------+------+------+------|------+------+------+------+------+------|
50 * | | F7 | F8 | F9 | F10 | F11 | F12 | | | Home | End | |
51 * |------+------+------+------+------+------+------+------+------+------+------+------|
52 * | | | | | | | | Next | Vol- | Vol+ | Play |
53 * `-----------------------------------------------------------------------------------'
54 */
55[_LOWER] = LAYOUT(
56 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
57 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
58 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______,
59 _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
60),
61
62/* Raise
63 * ,-----------------------------------------------------------------------------------.
64 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp |
65 * |------+------+------+------+------+-------------+------+------+------+------+------|
66 * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
67 * |------+------+------+------+------+------|------+------+------+------+------+------|
68 * | | F7 | F8 | F9 | F10 | F11 | F12 | | |Pg Up |Pg Dn | |
69 * |------+------+------+------+------+------+------+------+------+------+------+------|
70 * | | | | | | | | Next | Vol- | Vol+ | Play |
71 * `-----------------------------------------------------------------------------------'
72 */
73[_RAISE] = LAYOUT(
74 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
75 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
76 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGUP, KC_PGDN, _______,
77 _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
78),
79
80/* Adjust (Lower + Raise)
81 * ,-----------------------------------------------------------------------------------.
82 * | QK_BOOT| | | | | | |RGBMOD|RGBVAI|RGBSAI|RGBHUI|caltde|
83 * |------+------+------+------+------+-------------+------+------+------+------+------|
84 * | | | | | | | |RGBRMO|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
85 * |------+------+------+------+------+------|------+------+------+------+------+------|
86 * | | | | | | | | | | | |BLSTEP|
87 * |------+------+------+------+------+------+------+------+------+------+------+------|
88 * | | | | | | | | | | | | |
89 * `-----------------------------------------------------------------------------------'
90 */
91[_ADJUST] = LAYOUT(
92 QK_BOOT, _______, _______, _______, _______, _______, _______, RGB_MOD, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL,
93 _______, _______, _______, _______, _______, _______, _______, RGB_RMOD,RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG,
94 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP,
95 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
96),
97
98/* Function
99 * ,-----------------------------------------------------------------------------------.
100 * | | | | | | | | | Up | | | |
101 * |------+------+------+------+------+-------------+------+------+------+------+------|
102 * | | | | | | | | Left | Down |Right | | |
103 * |------+------+------+------+------+------|------+------+------+------+------+------|
104 * | Caps | | | | | | | | | | | |
105 * |------+------+------+------+------+------+------+------+------+------+------+------|
106 * | | | | | | | | | | | |
107 * `-----------------------------------------------------------------------------------'
108 */
109[_FUNCTION] = LAYOUT(
110 _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
111 _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
112 KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
113 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
114)
115
116};
117
118layer_state_t layer_state_set_user(layer_state_t state) {
119 return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
120}
diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/msiu/config.h b/keyboards/maple_computing/lets_split_eh/keymaps/msiu/config.h
deleted file mode 100644
index 526c0837c7..0000000000
--- a/keyboards/maple_computing/lets_split_eh/keymaps/msiu/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#pragma once
diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/msiu/keymap.c b/keyboards/maple_computing/lets_split_eh/keymaps/msiu/keymap.c
deleted file mode 100644
index e1d4828278..0000000000
--- a/keyboards/maple_computing/lets_split_eh/keymaps/msiu/keymap.c
+++ /dev/null
@@ -1,195 +0,0 @@
1#include QMK_KEYBOARD_H
2
3extern keymap_config_t keymap_config;
4
5// Each layer gets a name for readability, which is then used in the keymap matrix below.
6// The underscores don't mean anything - you can have a layer called STUFF or any other name.
7// Layer names don't all need to be of the same length, obviously, and you can also skip them
8// entirely and just use numbers.
9#define _QWERTY 0
10#define _DVORAK 1
11
12#define _LOWER 3
13#define _RAISE 4
14
15#define _NUMB 14
16#define _FUNC 15
17#define _ADJUST 16
18
19
20enum custom_keycodes {
21 QWERTY = SAFE_RANGE,
22 DVORAK,
23 LOWER,
24 RAISE,
25 ADJUST
26};
27
28
29const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
30
31/* Qwerty
32 * ,-----------------------------------------------------------------------------------.
33 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
34 * |------+------+------+------+------+-------------+------+------+------+------+------|
35 * | Esc | A | S | D | F | G | H | J | K | L | ; | ' |
36 * |------+------+------+------+------+------|------+------+------+------+------+------|
37 * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
38 * |------+------+------+------+------+------+------+------+------+------+------+------|
39 * | Ctrl |Hyper | Alt | GUI |Lower | Func |Space |Raise | Left | Down | Up |Right |
40 * `-----------------------------------------------------------------------------------'
41 */
42[_QWERTY] = LAYOUT(
43 LT(_NUMB, KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
44 LCTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
45 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
46 KC_LCTL, KC_HYPR, KC_LALT, KC_LGUI, LOWER, MO(_FUNC), KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
47),
48
49// Dvorak
50[_DVORAK] = LAYOUT(
51 _______, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, _______,
52 _______, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH,
53 _______, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, _______ ,
54 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
55),
56
57
58/* Lower
59 * ,-----------------------------------------------------------------------------------.
60 * | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
61 * |------+------+------+------+------+-------------+------+------+------+------+------|
62 * | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
63 * |------+------+------+------+------+------|------+------+------+------+------+------|
64 * | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
65 * |------+------+------+------+------+------+------+------+------+------+------+------|
66 * | | | | |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
67 * `-----------------------------------------------------------------------------------'
68 */
69[_LOWER] = LAYOUT(
70 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
71 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
72 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PGDN, KC_PGUP, KC_HOME, KC_END , KC_MUTE,
73 _______, _______, _______, _______, _______, _______, KC_MPLY, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT
74),
75
76/* Raise
77 * ,-----------------------------------------------------------------------------------.
78 * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
79 * |------+------+------+------+------+-------------+------+------+------+------+------|
80 * | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
81 * |------+------+------+------+------+------|------+------+------+------+------+------|
82 * |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
83 * |------+------+------+------+------+------+------+------+------+------+------+------|
84 * | | , | 0 | . |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
85 * `-----------------------------------------------------------------------------------'
86 */
87[_RAISE] = LAYOUT(
88 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
89 _______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
90 _______, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_PGDN, KC_PGUP, KC_HOME, KC_END , KC_MUTE,
91 _______, _______, _______, _______, _______, _______, KC_MPLY, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT
92),
93
94/* Adjust (Lower + Raise)
95 * ,-----------------------------------------------------------------------------------.
96 * |Taskmg| | | | | | | |RGBVAI|RGBSAI|RGBHUI|caltde|
97 * |------+------+------+------+------+-------------+------+------+------+------+------|
98 * | | | | | | | |Qwerty|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
99 * |------+------+------+------+------+------|------+------+------+------+------+------|
100 * | | | | | | | | | | | |BLSTEP|
101 * |------+------+------+------+------+------+------+------+------+------+------+------|
102 * | | | | | | | | | | | | QK_BOOT|
103 * `-----------------------------------------------------------------------------------'
104 */
105[_ADJUST] = LAYOUT(
106 RGB_TOG, RGB_VAI, RGB_SAI, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______,
107 RGB_MOD, RGB_VAD, RGB_SAD, RGB_HUD, _______, _______, _______, QWERTY, DVORAK, _______, _______, _______,
108 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
109 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT
110),
111
112/* FUNC
113 * ,-----------------------------------------------------------------------------------.
114 * | | | | | | | | | Up | | | |
115 * |------+------+------+------+------+-------------+------+------+------+------+------|
116 * | | | | | | | | Left | Down |Right | | |
117 * |------+------+------+------+------+------|------+------+------+------+------+------|
118 * | Caps | | | | | | | | | | | |
119 * |------+------+------+------+------+------+------+------+------+------+------+------|
120 * | | | | | | | | | | | |
121 * `-----------------------------------------------------------------------------------'
122 */
123[_FUNC] = LAYOUT(
124 _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, KC_PSCR, _______,
125 _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
126 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
127 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
128),
129
130// Numpad
131[_NUMB] = LAYOUT(
132 _______, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, KC_BSPC,
133 _______, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______,
134 _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______,
135 _______, _______, _______, _______, _______, _______, _______, KC_0, KC_0, _______, _______, _______
136)
137
138};
139
140void persistent_default_layer_set(uint16_t default_layer) {
141 eeconfig_update_default_layer(default_layer);
142 default_layer_set(default_layer);
143}
144
145bool process_record_user(uint16_t keycode, keyrecord_t *record) {
146 switch (keycode) {
147 // case QWERTY:
148 // if (record->event.pressed) {
149 // persistent_default_layer_set(1UL<<_QWERTY);
150 // }
151 // return false;
152 // break;
153 case QWERTY:
154 if (record->event.pressed) {
155 set_single_persistent_default_layer(_QWERTY);
156 }
157 return false;
158 break;
159 case DVORAK:
160 if (record->event.pressed) {
161 set_single_persistent_default_layer(_DVORAK);
162 }
163 return false;
164 break;
165 case LOWER:
166 if (record->event.pressed) {
167 layer_on(_LOWER);
168 update_tri_layer(_LOWER, _RAISE, _ADJUST);
169 } else {
170 layer_off(_LOWER);
171 update_tri_layer(_LOWER, _RAISE, _ADJUST);
172 }
173 return false;
174 break;
175 case RAISE:
176 if (record->event.pressed) {
177 layer_on(_RAISE);
178 update_tri_layer(_LOWER, _RAISE, _ADJUST);
179 } else {
180 layer_off(_RAISE);
181 update_tri_layer(_LOWER, _RAISE, _ADJUST);
182 }
183 return false;
184 break;
185 case ADJUST:
186 if (record->event.pressed) {
187 layer_on(_ADJUST);
188 } else {
189 layer_off(_ADJUST);
190 }
191 return false;
192 break;
193 }
194 return true;
195}
diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/config.h b/keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/config.h
deleted file mode 100644
index a1df337bd9..0000000000
--- a/keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#ifndef CONFIG_USER_H
22#define CONFIG_USER_H
23
24#include "../../config.h"
25
26#endif \ No newline at end of file
diff --git a/keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/keymap.c b/keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/keymap.c
deleted file mode 100644
index 8362715a02..0000000000
--- a/keyboards/maple_computing/lets_split_eh/keymaps/that_canadian/keymap.c
+++ /dev/null
@@ -1,166 +0,0 @@
1#include QMK_KEYBOARD_H
2#include "action_layer.h"
3#include "eeconfig.h"
4
5extern keymap_config_t keymap_config;
6
7// Each layer gets a name for readability, which is then used in the keymap matrix below.
8// The underscores don't mean anything - you can have a layer called STUFF or any other name.
9// Layer names don't all need to be of the same length, obviously, and you can also skip them
10// entirely and just use numbers.
11#define _QWERTY 0
12
13#define _LOWER 3
14#define _RAISE 4
15#define _FUNCTION 15
16#define _ADJUST 16
17
18enum custom_keycodes {
19 QWERTY = SAFE_RANGE,
20 LOWER,
21 RAISE,
22 ADJUST
23};
24
25// Defines for task manager and such
26#define CALTDEL LCTL(LALT(KC_DEL))
27#define TSKMGR LCTL(LSFT(KC_ESC))
28
29const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
30
31/* Qwerty
32 * ,-----------------------------------------------------------------------------------.
33 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
34 * |------+------+------+------+------+-------------+------+------+------+------+------|
35 * | Func | A | S | D | F | G | H | J | K | L | ; | Enter|
36 * |------+------+------+------+------+------|------+------+------+------+------+------|
37 * | Shift| Z | X | C | V | B | N | M | , | . | / | ' |
38 * |------+------+------+------+------+------+------+------+------+------+------+------|
39 * | Ctrl | ` | GUI | Alt |Lower | Space |Raise | Left | Down | Up |Right |
40 * `-----------------------------------------------------------------------------------'
41 */
42[_QWERTY] = LAYOUT(
43 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
44 MO(_FUNCTION), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
45 OSM(MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
46 KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
47),
48
49/* Lower
50 * ,-----------------------------------------------------------------------------------.
51 * | Esc | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
52 * |------+------+------+------+------+-------------+------+------+------+------+------|
53 * | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter |
54 * |------+------+------+------+------+------|------+------+------+------+------+------|
55 * | | F7 | F8 | F9 | F10 | F11 | F12 | | | Mute | | | |
56 * |------+------+------+------+------+------+------+------+------+------+------+------|
57 * | | | | |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
58 * `-----------------------------------------------------------------------------------'
59 */
60[_LOWER] = LAYOUT(
61 KC_ESC, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,
62 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
63 _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_MUTE, _______, KC_PIPE,
64 _______, _______, _______, _______, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
65),
66
67/* Raise
68 * ,-----------------------------------------------------------------------------------.
69 * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Del |
70 * |------+------+------+------+------+-------------+------+------+------+------+------|
71 * | | 4 | 5 | 6 | + | F5 | F6 | - | = | [ | ] |Enter |
72 * |------+------+------+------+------+------|------+------+------+------+------+------|
73 * |Enter | 7 | 8 | 9 | - | F11 | F12 |ISO # |ISO / | Mute | | \ |
74 * |------+------+------+------+------+------+------+------+------+------+------+------|
75 * | | , | 0 | . |Lower | Bksp | Bksp |Raise | Next | Vol- | Vol+ | Play |
76 * `-----------------------------------------------------------------------------------'
77 */
78[_RAISE] = LAYOUT(
79 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
80 _______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
81 KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS,
82 _______, KC_COMM, KC_0, KC_DOT, _______, KC_BSPC, KC_BSPC, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
83),
84
85/* Adjust (Lower + Raise)
86 * ,-----------------------------------------------------------------------------------.
87 * |Taskmg| | | | | | | |RGBVAI|RGBSAI|RGBHUI|caltde|
88 * |------+------+------+------+------+-------------+------+------+------+------+------|
89 * | | | | | | | |Qwerty|RGBVAD|RGBSAD|RGBHUD|RGBTOG|
90 * |------+------+------+------+------+------|------+------+------+------+------+------|
91 * | | | | | | | | | | | |BLSTEP|
92 * |------+------+------+------+------+------+------+------+------+------+------+------|
93 * | | | | | | | | | | | | QK_BOOT|
94 * `-----------------------------------------------------------------------------------'
95 */
96[_ADJUST] = LAYOUT(
97 TSKMGR, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAI, RGB_HUI, CALTDEL,
98 _______, _______, _______, _______, _______, _______, _______, QWERTY, RGB_VAD, RGB_SAD, RGB_HUD, RGB_TOG,
99 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP,
100 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT
101),
102
103/* Function
104 * ,-----------------------------------------------------------------------------------.
105 * | | | | | | | | | Up | | | |
106 * |------+------+------+------+------+-------------+------+------+------+------+------|
107 * | | | | | | | | Left | Down |Right | | |
108 * |------+------+------+------+------+------|------+------+------+------+------+------|
109 * | Caps | | | | | | | | | | | |
110 * |------+------+------+------+------+------+------+------+------+------+------+------|
111 * | | | | | | | | | | | |
112 * `-----------------------------------------------------------------------------------'
113 */
114[_FUNCTION] = LAYOUT(
115 _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
116 _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
117 KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
118 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
119)
120
121};
122
123void persistent_default_layer_set(uint16_t default_layer) {
124 eeconfig_update_default_layer(default_layer);
125 default_layer_set(default_layer);
126}
127
128bool process_record_user(uint16_t keycode, keyrecord_t *record) {
129 switch (keycode) {
130 case QWERTY:
131 if (record->event.pressed) {
132 persistent_default_layer_set(1UL<<_QWERTY);
133 }
134 return false;
135 break;
136 case LOWER:
137 if (record->event.pressed) {
138 layer_on(_LOWER);
139 update_tri_layer(_LOWER, _RAISE, _ADJUST);
140 } else {
141 layer_off(_LOWER);
142 update_tri_layer(_LOWER, _RAISE, _ADJUST);
143 }
144 return false;
145 break;
146 case RAISE:
147 if (record->event.pressed) {
148 layer_on(_RAISE);
149 update_tri_layer(_LOWER, _RAISE, _ADJUST);
150 } else {
151 layer_off(_RAISE);
152 update_tri_layer(_LOWER, _RAISE, _ADJUST);
153 }
154 return false;
155 break;
156 case ADJUST:
157 if (record->event.pressed) {
158 layer_on(_ADJUST);
159 } else {
160 layer_off(_ADJUST);
161 }
162 return false;
163 break;
164 }
165 return true;
166}
diff --git a/keyboards/maple_computing/minidox/keymaps/that_canadian/config.h b/keyboards/maple_computing/minidox/keymaps/that_canadian/config.h
deleted file mode 100644
index d0f15e7d19..0000000000
--- a/keyboards/maple_computing/minidox/keymaps/that_canadian/config.h
+++ /dev/null
@@ -1,46 +0,0 @@
1/*
2This is the c configuration file for the keymap
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#ifndef CONFIG_USER_H
22#define CONFIG_USER_H
23
24#include "../../config.h"
25
26#define EE_HANDS
27
28/* ws2812 RGB LED */
29#define WS2812_DI_PIN D7
30
31#define RGBLED_NUM 8 // Number of LEDs
32#define RGBLIGHT_EFFECT_BREATHING
33#define RGBLIGHT_EFFECT_RAINBOW_MOOD
34#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
35#define RGBLIGHT_EFFECT_SNAKE
36#define RGBLIGHT_EFFECT_KNIGHT
37#define RGBLIGHT_EFFECT_CHRISTMAS
38#define RGBLIGHT_EFFECT_STATIC_GRADIENT
39#define RGBLIGHT_EFFECT_RGB_TEST
40#define RGBLIGHT_EFFECT_ALTERNATING
41#define RGBLIGHT_EFFECT_TWINKLE
42#define RGBLIGHT_HUE_STEP 10
43#define RGBLIGHT_SAT_STEP 17
44#define RGBLIGHT_VAL_STEP 17
45
46#endif
diff --git a/keyboards/maple_computing/minidox/keymaps/that_canadian/keymap.c b/keyboards/maple_computing/minidox/keymaps/that_canadian/keymap.c
deleted file mode 100644
index 1fe21ba036..0000000000
--- a/keyboards/maple_computing/minidox/keymaps/that_canadian/keymap.c
+++ /dev/null
@@ -1,159 +0,0 @@
1#include QMK_KEYBOARD_H
2
3extern keymap_config_t keymap_config;
4
5// Each layer gets a name for readability, which is then used in the keymap matrix below.
6// The underscores don't mean anything - you can have a layer called STUFF or any other name.
7// Layer names don't all need to be of the same length, obviously, and you can also skip them
8// entirely and just use numbers.
9#define _QWERTY 0
10#define _LOWER 1
11#define _RAISE 2
12#define _ADJUST 16
13
14enum custom_keycodes {
15 QWERTY = SAFE_RANGE,
16 LOWER,
17 RAISE,
18 ADJUST,
19};
20
21// Defines for task manager and such
22#define CALTDEL LCTL(LALT(KC_DEL))
23#define TSKMGR LCTL(LSFT(KC_ESC))
24
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26
27/* Qwerty
28 *
29 * ,----------------------------------. ,----------------------------------.
30 * | Q | W | E | R | T | | Y | U | I | O | P |
31 * |------+------+------+------+------| |------+------+------+------+------|
32 * | A | S | D | F | G | | H | J | K | L | ; |
33 * |------+------+------+------+------| |------+------+------+------+------|
34 * | Z | X | C | V | B | | N | M | , | . | / |
35 * `----------------------------------' `----------------------------------'
36 * ,--------------------. ,------,-------------.
37 * | Shift| LOWER| | | | RAISE| Ctrl |
38 * `-------------| Space| |BckSpc|------+------.
39 * | | | |
40 * `------' `------'
41 */
42[_QWERTY] = LAYOUT(
43 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
44 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
45 KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
46 OSM(MOD_LSFT), LOWER, KC_SPC, KC_BSPC, RAISE, KC_LCTL
47),
48
49/* Raise
50 *
51 * ,----------------------------------. ,----------------------------------.
52 * | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |
53 * |------+------+------+------+------| |------+------+------+------+------|
54 * | Tab | Left | Down | Up | Right| | | - | = | [ | ] |
55 * |------+------+------+------+------| |------+------+------+------+------|
56 * | Ctrl| ` | GUI | Alt | | | | | | \ | ' |
57 * `----------------------------------' `----------------------------------'
58 * ,--------------------. ,------,-------------.
59 * | | LOWER| | | | RAISE| |
60 * `-------------| | | |------+------.
61 * | | | |
62 * `------' `------'
63 */
64[_RAISE] = LAYOUT(
65 KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
66 KC_TAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC,
67 KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, _______, _______, _______, _______, KC_BSLS, KC_QUOT,
68 _______, _______, _______, _______, _______, _______
69),
70
71/* Lower
72 *
73 * ,----------------------------------. ,----------------------------------.
74 * | ! | @ | # | $ | % | | ^ | & | * | ( | ) |
75 * |------+------+------+------+------| |------+------+------+------+------|
76 * | Esc | | | | | | | _ | + | { | } |
77 * |------+------+------+------+------| |------+------+------+------+------|
78 * | Caps| ~ | | | | | | | | | | " |
79 * `----------------------------------' `----------------------------------'
80 * ,--------------------. ,------,-------------.
81 * | | LOWER| | | | RAISE| Del |
82 * `-------------| | | Enter|------+------.
83 * | | | |
84 * `------' `------'
85 */
86[_LOWER] = LAYOUT(
87 KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN,
88 KC_ESC, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR,
89 KC_CAPS, KC_TILD, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_DQT,
90 _______, _______, _______, KC_ENT, _______, KC_DEL
91),
92
93/* Adjust (Lower + Raise)
94 *
95 * ,----------------------------------. ,----------------------------------.
96 * | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | Up | F9 | F10 |
97 * |------+------+------+------+------| |------+------+------+------+------|
98 * | F11 | F12 | |RGBSAI|RGBSAD| | | Left | Down |Right |caltde|
99 * |------+------+------+------+------| |------+------+------+------+------|
100 * | Reset|RGBTOG|RGBMOD|RGBHUI|RGBHUD| |RGBVAI|RGBVAD| F8 |Taskmg| |
101 * `----------------------------------' `----------------------------------'
102 * ,--------------------. ,------,-------------.
103 * | | LOWER| | | | RAISE| |
104 * `-------------| | | |------+------.
105 * | | | |
106 * `------' `------'
107 */
108[_ADJUST] = LAYOUT(
109 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_UP, KC_F9, KC_F10,
110 KC_F11, KC_F12, _______, RGB_SAI, RGB_SAD, _______, KC_LEFT, KC_DOWN, KC_RGHT, CALTDEL,
111 QK_BOOT, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_VAI, RGB_VAD, KC_F8, TSKMGR, _______,
112 _______, _______, _______, _______, _______, _______
113)
114};
115
116void persistant_default_layer_set(uint16_t default_layer) {
117 eeconfig_update_default_layer(default_layer);
118 default_layer_set(default_layer);
119}
120
121bool process_record_user(uint16_t keycode, keyrecord_t *record) {
122 switch (keycode) {
123 case QWERTY:
124 if (record->event.pressed) {
125 persistant_default_layer_set(1UL<<_QWERTY);
126 }
127 return false;
128 break;
129 case LOWER:
130 if (record->event.pressed) {
131 layer_on(_LOWER);
132 update_tri_layer(_LOWER, _RAISE, _ADJUST);
133 } else {
134 layer_off(_LOWER);
135 update_tri_layer(_LOWER, _RAISE, _ADJUST);
136 }
137 return false;
138 break;
139 case RAISE:
140 if (record->event.pressed) {
141 layer_on(_RAISE);
142 update_tri_layer(_LOWER, _RAISE, _ADJUST);
143 } else {
144 layer_off(_RAISE);
145 update_tri_layer(_LOWER, _RAISE, _ADJUST);
146 }
147 return false;
148 break;
149 case ADJUST:
150 if (record->event.pressed) {
151 layer_on(_ADJUST);
152 } else {
153 layer_off(_ADJUST);
154 }
155 return false;
156 break;
157 }
158 return true;
159}
diff --git a/keyboards/maple_computing/minidox/keymaps/that_canadian/rules.mk b/keyboards/maple_computing/minidox/keymaps/that_canadian/rules.mk
deleted file mode 100644
index f1ef68387f..0000000000
--- a/keyboards/maple_computing/minidox/keymaps/that_canadian/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
1RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
2