summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing/minidox
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/minidox
parentf0e4bc937aeaf84887ab27d7e085e6d02fbebda9 (diff)
[Keymap Removal] Planck and related keymaps. (#22683)
Diffstat (limited to 'keyboards/maple_computing/minidox')
-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
3 files changed, 0 insertions, 207 deletions
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