aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rascher <jon@bcat.name>2020-11-06 00:41:06 -0600
committerGitHub <noreply@github.com>2020-11-05 22:41:06 -0800
commitb5ebdf1b3a29119e1a414aaf7e2cf7a583853430 (patch)
tree201253b69b27b16ba30f86dec34298c35e477a97
parentd7c90d805f414198a44d1b714363721df38950d6 (diff)
downloadqmk_firmware-b5ebdf1b3a29119e1a414aaf7e2cf7a583853430.tar.gz
qmk_firmware-b5ebdf1b3a29119e1a414aaf7e2cf7a583853430.zip
[Keymap] bcat keymaps and userspace (#10705)
Add Eco keymap, factor Crkbd keymap to community layout, other minor tweaks * Remove outdated Crkbd Ctrl key positioning info * Add Left Alt key to Lily58 keymap * Lily58 no longer overrides default TAPPING_TERM * Refactor Crkbd keymap to use new community layout * Fix underglow animations for Crkbd w/ Split Common * Add initial Eco keymap * Update outdated reference to Crkbd layout * Add keymap links to userspace readme * Add copyright notices to files changed in this PR
-rw-r--r--keyboards/crkbd/keymaps/bcat/config.h7
-rw-r--r--keyboards/crkbd/keymaps/bcat/rules.mk3
-rw-r--r--keyboards/eco/keymaps/bcat/config.h22
-rw-r--r--keyboards/eco/keymaps/bcat/keymap.c72
-rw-r--r--keyboards/eco/keymaps/bcat/readme.md44
-rw-r--r--keyboards/eco/keymaps/bcat/rules.mk3
-rw-r--r--keyboards/lily58/keymaps/bcat/keymap.c18
-rw-r--r--keyboards/lily58/keymaps/bcat/readme.md15
-rw-r--r--layouts/community/split_3x6_3/bcat/config.h34
-rw-r--r--layouts/community/split_3x6_3/bcat/keymap.c (renamed from keyboards/crkbd/keymaps/bcat/keymap.c)24
-rw-r--r--layouts/community/split_3x6_3/bcat/readme.md (renamed from keyboards/crkbd/keymaps/bcat/readme.md)8
-rw-r--r--layouts/community/split_3x6_3/bcat/rules.mk10
-rw-r--r--users/bcat/config.h35
-rw-r--r--users/bcat/readme.md51
14 files changed, 299 insertions, 47 deletions
diff --git a/keyboards/crkbd/keymaps/bcat/config.h b/keyboards/crkbd/keymaps/bcat/config.h
deleted file mode 100644
index 65e7a8052..000000000
--- a/keyboards/crkbd/keymaps/bcat/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
1#pragma once
2
3#define EE_HANDS
4
5/* Limit max RGB LED current to avoid tripping controller fuse. */
6#undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
7#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
diff --git a/keyboards/crkbd/keymaps/bcat/rules.mk b/keyboards/crkbd/keymaps/bcat/rules.mk
deleted file mode 100644
index cd3418dab..000000000
--- a/keyboards/crkbd/keymaps/bcat/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
1BOOTLOADER = atmel-dfu # Elite-C
2
3RGB_MATRIX_ENABLE = WS2812 # per-key RGB and underglow
diff --git a/keyboards/eco/keymaps/bcat/config.h b/keyboards/eco/keymaps/bcat/config.h
new file mode 100644
index 000000000..dffdc7b40
--- /dev/null
+++ b/keyboards/eco/keymaps/bcat/config.h
@@ -0,0 +1,22 @@
1/* Copyright 2020 Jonathan Rascher
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/* WS2812B RGB LED strip hand wired to Elite-C. */
20#define RGB_DI_PIN B7
21#define RGBLED_NUM 15
22#define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/eco/keymaps/bcat/keymap.c b/keyboards/eco/keymaps/bcat/keymap.c
new file mode 100644
index 000000000..066acbe64
--- /dev/null
+++ b/keyboards/eco/keymaps/bcat/keymap.c
@@ -0,0 +1,72 @@
1/* Copyright 2020 Jonathan Rascher
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 QMK_KEYBOARD_H
18
19#include "bcat.h"
20
21enum layer {
22 LAYER_DEFAULT,
23 LAYER_LOWER,
24 LAYER_RAISE,
25 LAYER_ADJUST,
26};
27
28#define LY_LWR MO(LAYER_LOWER)
29#define LY_RSE MO(LAYER_RAISE)
30
31#define KY_CSPC LCTL(KC_SPC)
32#define KY_ZMIN LCTL(KC_EQL)
33#define KY_ZMOUT LCTL(KC_MINS)
34#define KY_ZMRST LCTL(KC_0)
35
36const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
37 /* Default layer: http://www.keyboard-layout-editor.com/#/gists/2c11371c7a5f7cd08a0132631d3d3281 */
38 [LAYER_DEFAULT] = LAYOUT(
39 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
40 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
41 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
42 XXXXXXX, XXXXXXX, KC_LALT, KC_LCTL, LY_LWR, KC_SPC, XXXXXXX, XXXXXXX, KC_ENT, LY_RSE, KC_RALT, KC_RGUI, XXXXXXX, XXXXXXX
43 ),
44
45 /* Lower layer: http://www.keyboard-layout-editor.com/#/gists/11256970dc0552886a82382ee02fa415 */
46 [LAYER_LOWER] = LAYOUT(
47 MC_ALTT, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, _______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______,
48 KY_CSPC, KY_ZMRST, KY_ZMOUT, KY_ZMIN, KC_WBAK, KC_WFWD, _______, _______, KC_PIPE, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_TILD,
49 _______, KC_APP, KC_PSCR, KC_SLCK, KC_PAUS, KC_LGUI, _______, _______, KC_BSLS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_GRV,
50 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
51 ),
52
53 /* Raise layer: http://www.keyboard-layout-editor.com/#/gists/308a8be75e0b85902dc18db1b2546862 */
54 [LAYER_RAISE] = LAYOUT(
55 KC_CAPS, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
56 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11, KC_DEL,
57 _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12, KC_INS,
58 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
59 ),
60
61 /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/b18aafa0327d7e83eaf485546c067a21 */
62 [LAYER_ADJUST] = LAYOUT(
63 _______, NK_TOGG, KC_MPLY, KC_VOLU, KC_MSTP, _______, _______, _______, EEP_RST, RESET, _______, _______, _______, _______,
64 _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, RGB_RMOD, RGB_VAD, RGB_VAI, RGB_MOD, RGB_SPI, _______,
65 _______, _______, _______, KC_MUTE, _______, _______, _______, _______, RGB_HUI, RGB_SAD, RGB_SAI, RGB_HUD, RGB_SPD, _______,
66 _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, _______, _______, _______, _______, _______
67 ),
68};
69
70layer_state_t layer_state_set_keymap(layer_state_t state) {
71 return update_tri_layer_state(state, LAYER_LOWER, LAYER_RAISE, LAYER_ADJUST);
72}
diff --git a/keyboards/eco/keymaps/bcat/readme.md b/keyboards/eco/keymaps/bcat/readme.md
new file mode 100644
index 000000000..85e261551
--- /dev/null
+++ b/keyboards/eco/keymaps/bcat/readme.md
@@ -0,0 +1,44 @@
1# bcat's Eco layout
2
3This is a cute little 4x14 ortholinear keyboard. I've set it up using an
4unsplit, ortho version of my [split 3x6 + 3 thumb
5keys](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/split_3x6_3/bcat)
6(Crkbd) layout, with the following changes:
7
8* The alpha keys are separated by an extra two columns in the middle to provide
9a little more hand separation, similar to a split keyboard.
10
11* The top three rows of the extra middle columns feature navigation keys and
12brackets/braces. I don't really use dedicated keys for these, but I had the
13keycaps, so I figured I may as well put them there.
14
15* I have a Left Alt and Right Super key on the bottom row just like my
16[Lily58](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lily58/keymaps/bcat).
17
18* The two keys in each bottom corner are unbound, as is the 2U spacebar in the
19center of the bottom row. These keys are too inconvenient to reach, and there's
20nothing really useful to bind them to anyway.
21
22## Default layer
23
24![Default layer layout](https://i.imgur.com/uRUT2cY.png)
25
26([KLE](http://www.keyboard-layout-editor.com/#/gists/2c11371c7a5f7cd08a0132631d3d3281))
27
28## Lower layer
29
30![Lower layer layout](https://i.imgur.com/8SR0M9x.png)
31
32([KLE](http://www.keyboard-layout-editor.com/#/gists/11256970dc0552886a82382ee02fa415))
33
34## Raise layer
35
36![Raise layer layout](https://i.imgur.com/U7KERR3.png)
37
38([KLE](http://www.keyboard-layout-editor.com/#/gists/308a8be75e0b85902dc18db1b2546862))
39
40## Adjust layer
41
42![Adjust layer layout](https://i.imgur.com/J2rOshm.png)
43
44([KLE](http://www.keyboard-layout-editor.com/#/gists/b18aafa0327d7e83eaf485546c067a21))
diff --git a/keyboards/eco/keymaps/bcat/rules.mk b/keyboards/eco/keymaps/bcat/rules.mk
new file mode 100644
index 000000000..684d8e4e8
--- /dev/null
+++ b/keyboards/eco/keymaps/bcat/rules.mk
@@ -0,0 +1,3 @@
1BOOTLOADER = atmel-dfu # Elite-C
2
3RGBLIGHT_ENABLE = yes
diff --git a/keyboards/lily58/keymaps/bcat/keymap.c b/keyboards/lily58/keymaps/bcat/keymap.c
index 69864cd08..549363d03 100644
--- a/keyboards/lily58/keymaps/bcat/keymap.c
+++ b/keyboards/lily58/keymaps/bcat/keymap.c
@@ -1,3 +1,19 @@
1/* Copyright 2020 Jonathan Rascher
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
1#include QMK_KEYBOARD_H 17#include QMK_KEYBOARD_H
2 18
3#include "bcat.h" 19#include "bcat.h"
@@ -24,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, 40 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
25 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, 41 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
26 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_WBAK, KC_WFWD, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, 42 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_WBAK, KC_WFWD, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
27 KC_LGUI, KC_LCTL, LY_LWR, KC_SPC, KC_ENT, LY_RSE, KC_RALT, KC_APP 43 KC_LALT, KC_LCTL, LY_LWR, KC_SPC, KC_ENT, LY_RSE, KC_RALT, KC_RGUI
28 ), 44 ),
29 45
30 /* Lower layer: http://www.keyboard-layout-editor.com/#/gists/19ad0d3b5d745fbb2818db09740f5a11 */ 46 /* Lower layer: http://www.keyboard-layout-editor.com/#/gists/19ad0d3b5d745fbb2818db09740f5a11 */
diff --git a/keyboards/lily58/keymaps/bcat/readme.md b/keyboards/lily58/keymaps/bcat/readme.md
index 84c2fc335..de03526a8 100644
--- a/keyboards/lily58/keymaps/bcat/readme.md
+++ b/keyboards/lily58/keymaps/bcat/readme.md
@@ -1,8 +1,8 @@
1# bcat's Lily58 layout 1# bcat's Lily58 layout
2 2
3This split ergo layout follows my preferred [Crkbd 3This split ergo layout follows my preferred [split 3x6 + 3 thumb
4layout](https://github.com/qmk/qmk_firmware/tree/master/keyboards/crkbd/keymaps/bcat) 4keys](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/split_3x6_3/bcat)
5with the following changes: 5(Crkbd) layout with a few changes:
6 6
7* There's an optional number row at the top of the keyboard. I am quite used to 7* There's an optional number row at the top of the keyboard. I am quite used to
8using layers for numbers and symbols, so in practice this goes unused. 8using layers for numbers and symbols, so in practice this goes unused.
@@ -11,12 +11,15 @@ using layers for numbers and symbols, so in practice this goes unused.
11placed in the same positions as on the ErgoDox EZ. (There's no real reason for 11placed in the same positions as on the ErgoDox EZ. (There's no real reason for
12this; I just had to do _something_ with those keys.) 12this; I just had to do _something_ with those keys.)
13 13
14* The extra thumb keys are used for dedicated Super/Menu keys, as well as 14* The extra thumb keys on the bottom row are used for a Left Alt key (for easier
15browser back/forward navigation keys. 15Alt+Tab, Alt+F4, etc.) and a dedicated Super key.
16
17* The harder-to-reach thumb keys below the controllers are bound to browser
18back/forward navigation keys.
16 19
17## Default layer 20## Default layer
18 21
19![Default layer layout](https://i.imgur.com/FNITWJ0.png) 22![Default layer layout](https://i.imgur.com/0stG2GT.png)
20 23
21([KLE](http://www.keyboard-layout-editor.com/#/gists/e0eb3af65961e9fd612dcff3ddd88e4f)) 24([KLE](http://www.keyboard-layout-editor.com/#/gists/e0eb3af65961e9fd612dcff3ddd88e4f))
22 25
diff --git a/layouts/community/split_3x6_3/bcat/config.h b/layouts/community/split_3x6_3/bcat/config.h
new file mode 100644
index 000000000..e177f0ffc
--- /dev/null
+++ b/layouts/community/split_3x6_3/bcat/config.h
@@ -0,0 +1,34 @@
1/* Copyright 2020 Jonathan Rascher
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#if defined(KEYBOARD_crkbd_rev1_common) || defined(KEYBOARD_crkbd_rev1_legacy)
20# define EE_HANDS
21
22# if defined(RGBLIGHT_ENABLE)
23/* Configure RGB for underglow only (first six LEDs on each side). */
24# undef RGBLED_SPLIT
25# define RGBLED_SPLIT \
26 { 6, 6 }
27# endif
28
29# if defined(RGB_MATRIX_ENABLE)
30/* Limit max RGB LED current to avoid tripping controller fuse. */
31# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
32# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
33# endif
34#endif
diff --git a/keyboards/crkbd/keymaps/bcat/keymap.c b/layouts/community/split_3x6_3/bcat/keymap.c
index 7b8329fea..934a8e31f 100644
--- a/keyboards/crkbd/keymaps/bcat/keymap.c
+++ b/layouts/community/split_3x6_3/bcat/keymap.c
@@ -1,3 +1,19 @@
1/* Copyright 2020 Jonathan Rascher
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
1#include QMK_KEYBOARD_H 17#include QMK_KEYBOARD_H
2 18
3#include "bcat.h" 19#include "bcat.h"
@@ -19,7 +35,7 @@ enum layer {
19 35
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 36const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 /* Default layer: http://www.keyboard-layout-editor.com/#/gists/08d9827d916662a9414f48805aa895a5 */ 37 /* Default layer: http://www.keyboard-layout-editor.com/#/gists/08d9827d916662a9414f48805aa895a5 */
22 [LAYER_DEFAULT] = LAYOUT( 38 [LAYER_DEFAULT] = LAYOUT_split_3x6_3(
23 KC_TAB, 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_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
24 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, 40 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
25 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, 41 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
@@ -27,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
27 ), 43 ),
28 44
29 /* Lower layer: http://www.keyboard-layout-editor.com/#/gists/c3fba5eaa2cd70fdfbdbc0f9e34d3bc0 */ 45 /* Lower layer: http://www.keyboard-layout-editor.com/#/gists/c3fba5eaa2cd70fdfbdbc0f9e34d3bc0 */
30 [LAYER_LOWER] = LAYOUT( 46 [LAYER_LOWER] = LAYOUT_split_3x6_3(
31 MC_ALTT, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, 47 MC_ALTT, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______,
32 KY_CSPC, KY_ZMRST, KY_ZMOUT, KY_ZMIN, KC_WBAK, KC_WFWD, KC_PIPE, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_TILD, 48 KY_CSPC, KY_ZMRST, KY_ZMOUT, KY_ZMIN, KC_WBAK, KC_WFWD, KC_PIPE, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_TILD,
33 _______, KC_APP, KC_PSCR, KC_SLCK, KC_PAUS, KC_LGUI, KC_BSLS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_GRV, 49 _______, KC_APP, KC_PSCR, KC_SLCK, KC_PAUS, KC_LGUI, KC_BSLS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_GRV,
@@ -35,7 +51,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
35 ), 51 ),
36 52
37 /* Raise layer: http://www.keyboard-layout-editor.com/#/gists/08b44355d4ca85d294bad9e2821f91d7 */ 53 /* Raise layer: http://www.keyboard-layout-editor.com/#/gists/08b44355d4ca85d294bad9e2821f91d7 */
38 [LAYER_RAISE] = LAYOUT( 54 [LAYER_RAISE] = LAYOUT_split_3x6_3(
39 KC_CAPS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, 55 KC_CAPS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
40 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11, KC_DEL, 56 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11, KC_DEL,
41 _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12, KC_INS, 57 _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_F12, KC_INS,
@@ -43,7 +59,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
43 ), 59 ),
44 60
45 /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/77e7572e077b36a23eb2086017e16fee */ 61 /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/77e7572e077b36a23eb2086017e16fee */
46 [LAYER_ADJUST] = LAYOUT( 62 [LAYER_ADJUST] = LAYOUT_split_3x6_3(
47 _______, NK_TOGG, KC_MPLY, KC_VOLU, KC_MSTP, _______, EEP_RST, RESET, _______, _______, _______, _______, 63 _______, NK_TOGG, KC_MPLY, KC_VOLU, KC_MSTP, _______, EEP_RST, RESET, _______, _______, _______, _______,
48 _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, RGB_RMOD, RGB_VAD, RGB_VAI, RGB_MOD, RGB_SPI, _______, 64 _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, RGB_RMOD, RGB_VAD, RGB_VAI, RGB_MOD, RGB_SPI, _______,
49 _______, _______, _______, KC_MUTE, _______, _______, RGB_HUI, RGB_SAD, RGB_SAI, RGB_HUD, RGB_SPD, _______, 65 _______, _______, _______, KC_MUTE, _______, _______, RGB_HUI, RGB_SAD, RGB_SAI, RGB_HUD, RGB_SPD, _______,
diff --git a/keyboards/crkbd/keymaps/bcat/readme.md b/layouts/community/split_3x6_3/bcat/readme.md
index 4ffb1562b..ed17b8418 100644
--- a/keyboards/crkbd/keymaps/bcat/readme.md
+++ b/layouts/community/split_3x6_3/bcat/readme.md
@@ -1,4 +1,4 @@
1# bcat's Corne layout 1# bcat's split 3x6 + 3 thumb keys layout
2 2
3This is my favorite split ergo layout for typing, featuring the traditional 3This is my favorite split ergo layout for typing, featuring the traditional
4four ortho/ergo layers (Default, Lower, Raise, Adjust). It is loosely inspired 4four ortho/ergo layers (Default, Lower, Raise, Adjust). It is loosely inspired
@@ -33,9 +33,6 @@ layer-switch keys to correct mistakes.
33 33
34* The Esc key is next to the home row for convenience in Vim. 34* The Esc key is next to the home row for convenience in Vim.
35 35
36* Likewise, the Ctrl key is in the same place as on my row-staggered boards
37(where I've been remapping Caps Lock as Ctrl since before even using QMK).
38
39* There are two Shift keys, although I generally use Left Shift. (I've 36* There are two Shift keys, although I generally use Left Shift. (I've
40considered replacing Right Shift with another key, but haven't chosen one.) 37considered replacing Right Shift with another key, but haven't chosen one.)
41 38
@@ -46,7 +43,8 @@ right thumbs, respectively.
46 43
47* Ctrl is on the left for ease of chording, especially one-handed use of common 44* Ctrl is on the left for ease of chording, especially one-handed use of common
48shortcuts like Ctrl+T and Ctrl+W. This puts Alt on the right by the process of 45shortcuts like Ctrl+T and Ctrl+W. This puts Alt on the right by the process of
49elimination. 46elimination. (I would really like one more 1U thumb key on each half to allow
47for a redundant Alt key on the left and a dedicated Super key on the right.)
50 48
51## Lower layer 49## Lower layer
52 50
diff --git a/layouts/community/split_3x6_3/bcat/rules.mk b/layouts/community/split_3x6_3/bcat/rules.mk
new file mode 100644
index 000000000..3a9796673
--- /dev/null
+++ b/layouts/community/split_3x6_3/bcat/rules.mk
@@ -0,0 +1,10 @@
1ifeq ($(strip $(KEYBOARD)), crkbd/rev1/common)
2 BOOTLOADER = atmel-dfu # Elite-C
3
4 # Enable underglow only. (Split Common doesn't support RGB matrix on slave.)
5 RGBLIGHT_ENABLE = yes
6else ifeq ($(strip $(KEYBOARD)), crkbd/rev1/legacy)
7 BOOTLOADER = atmel-dfu # Elite-C
8
9 RGB_MATRIX_ENABLE = WS2812 # per-key RGB and underglow
10endif
diff --git a/users/bcat/config.h b/users/bcat/config.h
index b0d556186..16188950e 100644
--- a/users/bcat/config.h
+++ b/users/bcat/config.h
@@ -1,26 +1,32 @@
1/* Copyright 2020 Jonathan Rascher
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
1/* Wait between tap_code register and unregister to fix flaky media keys. */ 17/* Wait between tap_code register and unregister to fix flaky media keys. */
2#undef TAP_CODE_DELAY 18#undef TAP_CODE_DELAY
3 19
4#define TAP_CODE_DELAY 20 20#define TAP_CODE_DELAY 20
5 21
6/* 22/* Treat mod-tap keys as holds even if the mod-tap key and the key being
7 * Force the default tapping term since some keyboards make it way too short 23 * modified are both released within TAPPING_TERM. This assumes the mod-tap key
8 * (*cough*Lily58*cough*).
9 */
10#undef TAPPING_TERM
11
12#define TAPPING_TERM 200
13
14/*
15 * Treat mod-tap keys as holds even if the mod-tap key and the key being
16 * modified are both relased within TAPPING_TERM. This assumes the mod-tap key
17 * isn't usually pressed in quick succession with other tapped keys, which is 24 * isn't usually pressed in quick succession with other tapped keys, which is
18 * good when the tap keycode is something like KC_ESC rather than a letter. 25 * good when the tap keycode is something like KC_ESC rather than a letter.
19 */ 26 */
20#define PERMISSIVE_HOLD 27#define PERMISSIVE_HOLD
21 28
22/* 29/* Turn off key repeat support of the tap keycode for tap-hold keys, enabling
23 * Turn off key repeat support of the tap keycode for tap-hold keys, enabling
24 * holds to work correctly in quick succession after taps. 30 * holds to work correctly in quick succession after taps.
25 */ 31 */
26#define TAPPING_FORCE_HOLD 32#define TAPPING_FORCE_HOLD
@@ -57,6 +63,9 @@
57# define RGBLIGHT_HUE_STEP 8 63# define RGBLIGHT_HUE_STEP 8
58# define RGBLIGHT_SAT_STEP 17 64# define RGBLIGHT_SAT_STEP 17
59# define RGBLIGHT_VAL_STEP 17 65# define RGBLIGHT_VAL_STEP 17
66
67/* Turn on additional RGB animations. */
68# define RGBLIGHT_ANIMATIONS
60#endif 69#endif
61 70
62#if defined(BACKLIGHT_ENABLE) 71#if defined(BACKLIGHT_ENABLE)
diff --git a/users/bcat/readme.md b/users/bcat/readme.md
index 49fbea1ac..6d097d663 100644
--- a/users/bcat/readme.md
+++ b/users/bcat/readme.md
@@ -1,13 +1,48 @@
1# bcat's userspace 1# bcat's userspace
2 2
3This is some code and config shared by all of [my](https://github.com/bcat) 3This is some code and config shared by all of [my](https://github.com/bcat)
4keyboards. I have a few different keymaps spread throughout the repo; however, 4keyboards. I use community layouts wherever possible, only writing
5they are all derived from two "canonical" keymaps for my preferred layouts: 5keyboard-specific keymaps for boards without standard layout support. I derive
6my keymaps from two canonical ones (preferred for typing and gaming,
7respectively).
6 8
7* For typing, my canonical layout is my 9## Canonical keymaps
8[Crkbd](https://github.com/qmk/qmk_firmware/tree/master/keyboards/crkbd/keymaps/bcat)
9(split ergo, columnar-staggered) layout.
10 10
11* For gaming, my canonical layout is my 11* [Split 3x6 + 3 thumb
12[Tsangan](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/60_tsangan_hhkb/bcat) 12keys](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/split_3x6_3/bcat):
13(row-staggered) layout. 13Columnar-staggered split ergo layout, preferred for typing. Used on Crkbd.
14
15* [60% Tsangan
16HHKB](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/60_tsangan_hhkb/bcat):
17Row-staggered layout, preferred for gaming. Used on ai03 Polaris, CannonKeys
18AN-C, CannonKeys Instant60.
19
20## Other keymaps
21
22### Ergo
23
24* [Lily58](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lily58/keymaps/bcat)
25
26### Ortho
27
28* [Eco](https://github.com/qmk/qmk_firmware/tree/master/keyboards/eco/keymaps/bcat)
29
30### Traditional
31
32* [60% ANSI split
33backspace/right-shift](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/60_ansi_split_bs_rshift/bcat).
34Used on DZ60.
35
36* [65% ANSI blocker split
37backspace](https://github.com/qmk/qmk_firmware/tree/master/layouts/community/65_ansi_blocker_split_bs/bcat).
38Used on KBDfans KBD67 hotswap.
39
40* [Keebio
41Quefrency](https://github.com/qmk/qmk_firmware/tree/master/keyboards/keebio/quefrency/keymaps/bcat)
42
43### Macropads
44
45* [9-Key](https://github.com/qmk/qmk_firmware/tree/master/keyboards/9key/keymaps/bcat)
46
47* [Keebio
48BDN9](https://github.com/qmk/qmk_firmware/tree/master/keyboards/keebio/bdn9/keymaps/bcat)