diff options
| -rw-r--r-- | keyboards/9key/keymaps/bcat/keymap.c | 5 | ||||
| -rw-r--r-- | keyboards/9key/keymaps/bcat/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/keymap.c | 6 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/readme.md | 4 | ||||
| -rw-r--r-- | keyboards/keebio/bdn9/keymaps/bcat/keymap.c | 7 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/keymaps/bcat/keymap.c | 6 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/keymaps/bcat/readme.md | 4 | ||||
| -rw-r--r-- | keyboards/lily58/keymaps/bcat/keymap.c | 2 | ||||
| -rw-r--r-- | keyboards/lily58/keymaps/bcat/readme.md | 2 | ||||
| -rw-r--r-- | layouts/community/60_ansi_split_bs_rshift/bcat/keymap.c | 12 | ||||
| -rw-r--r-- | layouts/community/60_ansi_split_bs_rshift/bcat/readme.md | 12 | ||||
| -rw-r--r-- | layouts/community/60_tsangan_hhkb/bcat/keymap.c | 12 | ||||
| -rw-r--r-- | layouts/community/60_tsangan_hhkb/bcat/readme.md | 11 | ||||
| -rw-r--r-- | users/bcat/bcat.c | 6 | ||||
| -rw-r--r-- | users/bcat/config.h | 18 | ||||
| -rw-r--r-- | users/bcat/rules.mk | 5 |
16 files changed, 50 insertions, 63 deletions
diff --git a/keyboards/9key/keymaps/bcat/keymap.c b/keyboards/9key/keymaps/bcat/keymap.c index c42bc76c2..5c30d6308 100644 --- a/keyboards/9key/keymaps/bcat/keymap.c +++ b/keyboards/9key/keymaps/bcat/keymap.c | |||
| @@ -5,11 +5,8 @@ enum layer { | |||
| 5 | LAYER_FUNCTION, | 5 | LAYER_FUNCTION, |
| 6 | }; | 6 | }; |
| 7 | 7 | ||
| 8 | /* Switch to function layer when held. */ | ||
| 9 | #define LY_FUNC MO(LAYER_FUNCTION) | 8 | #define LY_FUNC MO(LAYER_FUNCTION) |
| 10 | 9 | #define KY_LOCK LCA(KC_L) /* Cinnamon lock screen */ | |
| 11 | /* Send Ctrl+Alt+L (Cinnamon screen lock shortcut) when pressed. */ | ||
| 12 | #define KY_LOCK LCA(KC_L) | ||
| 13 | 10 | ||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 11 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 15 | [LAYER_DEFAULT] = LAYOUT( | 12 | [LAYER_DEFAULT] = LAYOUT( |
diff --git a/keyboards/9key/keymaps/bcat/rules.mk b/keyboards/9key/keymaps/bcat/rules.mk deleted file mode 100644 index 0ecc2bd66..000000000 --- a/keyboards/9key/keymaps/bcat/rules.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | BOOTLOADER = caterina # Pro Micro | ||
diff --git a/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/keymap.c b/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/keymap.c index 879c97ba7..71aed2b37 100644 --- a/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/keymap.c +++ b/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/keymap.c | |||
| @@ -20,9 +20,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 20 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/f29128427f674c43777f045e363d1b44 */ | 20 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/f29128427f674c43777f045e363d1b44 */ |
| 21 | [LAYER_FUNCTION] = LAYOUT( | 21 | [LAYER_FUNCTION] = LAYOUT( |
| 22 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, _______, | 22 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, _______, |
| 23 | KC_CAPS, KC_MPLY, KC_VOLU, KC_MSTP, _______, _______, EEP_RST, RESET, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, _______, | 23 | KC_CAPS, _______, KC_MPLY, KC_VOLU, KC_MSTP, _______, EEP_RST, RESET, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, _______, |
| 24 | _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 24 | _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 25 | _______, _______, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 25 | _______, _______, _______, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 26 | _______, _______, _______, _______, _______, _______, _______, _______, _______ | 26 | _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 27 | ), | 27 | ), |
| 28 | }; | 28 | }; |
diff --git a/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/readme.md b/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/readme.md index f07cf8c1c..a0c2d97df 100644 --- a/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/readme.md +++ b/keyboards/kbdfans/kbd67/hotswap/keymaps/bcat/readme.md | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # bcat's KBD67 hotswap layout | 1 | # bcat's KBD67 hotswap layout |
| 2 | 2 | ||
| 3 | This is pretty much a stock 65% split keyboard layout, with an HHKB-style | 3 | This is pretty much a stock 65% split keyboard layout, with an HHKB-style |
| 4 | (split) backspace and media keys in the function layer centered around the WASD | 4 | (split) backspace and media keys in the function layer centered around the ESDF |
| 5 | cluster. | 5 | cluster. |
| 6 | 6 | ||
| 7 | ## Default layer | 7 | ## Default layer |
| @@ -12,6 +12,6 @@ cluster. | |||
| 12 | 12 | ||
| 13 | ## Function layer | 13 | ## Function layer |
| 14 | 14 | ||
| 15 |  | 15 |  |
| 16 | 16 | ||
| 17 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/f29128427f674c43777f045e363d1b44)) | 17 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/f29128427f674c43777f045e363d1b44)) |
diff --git a/keyboards/keebio/bdn9/keymaps/bcat/keymap.c b/keyboards/keebio/bdn9/keymaps/bcat/keymap.c index 7eab72173..05d324034 100644 --- a/keyboards/keebio/bdn9/keymaps/bcat/keymap.c +++ b/keyboards/keebio/bdn9/keymaps/bcat/keymap.c | |||
| @@ -5,18 +5,15 @@ enum layer { | |||
| 5 | LAYER_SECOND, | 5 | LAYER_SECOND, |
| 6 | }; | 6 | }; |
| 7 | 7 | ||
| 8 | /* Switch to second layer when held. */ | ||
| 9 | #define LY_SECND MO(LAYER_SECOND) | 8 | #define LY_SECND MO(LAYER_SECOND) |
| 10 | 9 | ||
| 11 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 10 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 12 | /* First layer (F1-F6) */ | ||
| 13 | [LAYER_FIRST] = LAYOUT( | 11 | [LAYER_FIRST] = LAYOUT( |
| 14 | KC_MUTE, LY_SECND, BL_BRTG, | 12 | KC_MUTE, LY_SECND, BL_BRTG, |
| 15 | KC_F4, KC_F5, KC_F6, | 13 | KC_F4, KC_F5, KC_F6, |
| 16 | KC_F1, KC_F2, KC_F3 | 14 | KC_F1, KC_F2, KC_F3 |
| 17 | ), | 15 | ), |
| 18 | 16 | ||
| 19 | /* Second layer (F7-F12) */ | ||
| 20 | [LAYER_SECOND] = LAYOUT( | 17 | [LAYER_SECOND] = LAYOUT( |
| 21 | EEP_RST, _______, RESET, | 18 | EEP_RST, _______, RESET, |
| 22 | KC_F10, KC_F11, KC_F12, | 19 | KC_F10, KC_F11, KC_F12, |
| @@ -26,12 +23,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 26 | 23 | ||
| 27 | void encoder_update_user(uint8_t index, bool clockwise) { | 24 | void encoder_update_user(uint8_t index, bool clockwise) { |
| 28 | switch (index) { | 25 | switch (index) { |
| 29 | /* Top-left encoder (volume): */ | 26 | /* Top-left encoder (volume) */ |
| 30 | case 0: | 27 | case 0: |
| 31 | tap_code(clockwise ? KC_VOLU : KC_VOLD); | 28 | tap_code(clockwise ? KC_VOLU : KC_VOLD); |
| 32 | break; | 29 | break; |
| 33 | 30 | ||
| 34 | /* Top-right encoder (backlight brightness): */ | 31 | /* Top-right encoder (backlight brightness) */ |
| 35 | case 1: | 32 | case 1: |
| 36 | if (clockwise) { | 33 | if (clockwise) { |
| 37 | backlight_increase(); | 34 | backlight_increase(); |
diff --git a/keyboards/keebio/quefrency/keymaps/bcat/keymap.c b/keyboards/keebio/quefrency/keymaps/bcat/keymap.c index 7c9699def..d74a55b4b 100644 --- a/keyboards/keebio/quefrency/keymaps/bcat/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/bcat/keymap.c | |||
| @@ -20,9 +20,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 20 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/59636898946da51f91fb290f8e078b4d */ | 20 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/59636898946da51f91fb290f8e078b4d */ |
| 21 | [LAYER_FUNCTION] = LAYOUT_65( | 21 | [LAYER_FUNCTION] = LAYOUT_65( |
| 22 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, RGB_HUI, | 22 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, RGB_HUI, |
| 23 | KC_CAPS, KC_MPLY, KC_VOLU, KC_MSTP, _______, _______, EEP_RST, RESET, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, RGB_SAI, | 23 | KC_CAPS, _______, KC_MPLY, KC_VOLU, KC_MSTP, _______, EEP_RST, RESET, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, RGB_SAI, |
| 24 | _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SAD, | 24 | _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SAD, |
| 25 | _______, _______, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_HUD, | 25 | _______, _______, _______, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_HUD, |
| 26 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_VAD, RGB_MOD | 26 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_VAD, RGB_MOD |
| 27 | ), | 27 | ), |
| 28 | }; | 28 | }; |
diff --git a/keyboards/keebio/quefrency/keymaps/bcat/readme.md b/keyboards/keebio/quefrency/keymaps/bcat/readme.md index 3976bb858..0436e1d2c 100644 --- a/keyboards/keebio/quefrency/keymaps/bcat/readme.md +++ b/keyboards/keebio/quefrency/keymaps/bcat/readme.md | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # bcat's Quefrency 65% layout | 1 | # bcat's Quefrency 65% layout |
| 2 | 2 | ||
| 3 | This is pretty much a stock 65% split keyboard layout, with an HHKB-style | 3 | This is pretty much a stock 65% split keyboard layout, with an HHKB-style |
| 4 | (split) backspace, media keys in the function layer centered around the WASD | 4 | (split) backspace, media keys in the function layer centered around the ESDF |
| 5 | cluster, and RGB controls in the function layer on the arrow/nav keys. | 5 | cluster, and RGB controls in the function layer on the arrow/nav keys. |
| 6 | 6 | ||
| 7 | ## Default layer | 7 | ## Default layer |
| @@ -12,6 +12,6 @@ cluster, and RGB controls in the function layer on the arrow/nav keys. | |||
| 12 | 12 | ||
| 13 | ## Function layer | 13 | ## Function layer |
| 14 | 14 | ||
| 15 |  | 15 |  |
| 16 | 16 | ||
| 17 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/59636898946da51f91fb290f8e078b4d)) | 17 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/59636898946da51f91fb290f8e078b4d)) |
diff --git a/keyboards/lily58/keymaps/bcat/keymap.c b/keyboards/lily58/keymaps/bcat/keymap.c index 905e4ed76..9a85a55e1 100644 --- a/keyboards/lily58/keymaps/bcat/keymap.c +++ b/keyboards/lily58/keymaps/bcat/keymap.c | |||
| @@ -18,7 +18,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 18 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | 18 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, |
| 19 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | 19 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
| 20 | KY_CESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | 20 | KY_CESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, |
| 21 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | 21 | 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, |
| 22 | KC_LCTL, KC_LALT, LY_LWR, KC_SPC, KC_ENT, LY_RSE, KC_RGUI, KC_APP | 22 | KC_LCTL, KC_LALT, LY_LWR, KC_SPC, KC_ENT, LY_RSE, KC_RGUI, KC_APP |
| 23 | ), | 23 | ), |
| 24 | 24 | ||
diff --git a/keyboards/lily58/keymaps/bcat/readme.md b/keyboards/lily58/keymaps/bcat/readme.md index 5e0d6153a..f90c5110b 100644 --- a/keyboards/lily58/keymaps/bcat/readme.md +++ b/keyboards/lily58/keymaps/bcat/readme.md | |||
| @@ -45,7 +45,7 @@ releasing the layer key. | |||
| 45 | 45 | ||
| 46 | ## Default layer | 46 | ## Default layer |
| 47 | 47 | ||
| 48 |  | 48 |  |
| 49 | 49 | ||
| 50 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/e0eb3af65961e9fd612dcff3ddd88e4f)) | 50 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/e0eb3af65961e9fd612dcff3ddd88e4f)) |
| 51 | 51 | ||
diff --git a/layouts/community/60_ansi_split_bs_rshift/bcat/keymap.c b/layouts/community/60_ansi_split_bs_rshift/bcat/keymap.c index cd13f6262..92cc366ac 100644 --- a/layouts/community/60_ansi_split_bs_rshift/bcat/keymap.c +++ b/layouts/community/60_ansi_split_bs_rshift/bcat/keymap.c | |||
| @@ -22,18 +22,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 22 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/c7a55e75285d474b6301140eaf53f915 */ | 22 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/c7a55e75285d474b6301140eaf53f915 */ |
| 23 | [LAYER_FUNCTION] = LAYOUT_60_ansi_split_bs_rshift( | 23 | [LAYER_FUNCTION] = LAYOUT_60_ansi_split_bs_rshift( |
| 24 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | 24 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, |
| 25 | KC_CAPS, KC_MPLY, KC_VOLU, KC_MSTP, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, _______, | 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, |
| 26 | _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, | 26 | _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, |
| 27 | _______, _______, KC_MUTE, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, | 27 | _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, |
| 28 | _______, _______, _______, _______, _______, _______, _______, _______ | 28 | _______, _______, _______, _______, _______, _______, _______, _______ |
| 29 | ), | 29 | ), |
| 30 | 30 | ||
| 31 | /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/6e1068e4f91bbacccaf5ac0acbeec79c */ | 31 | /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/6e1068e4f91bbacccaf5ac0acbeec79c */ |
| 32 | [LAYER_ADJUST] = LAYOUT_60_ansi_split_bs_rshift( | 32 | [LAYER_ADJUST] = LAYOUT_60_ansi_split_bs_rshift( |
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 34 | _______, _______, _______, _______, _______, _______, EEP_RST, RESET, _______, _______, _______, RGB_VAI, _______, _______, | 34 | KC_CAPS, _______, KC_MPLY, KC_VOLU, KC_MSTP, _______, EEP_RST, RESET, KC_PSCR, KC_SLCK, KC_PAUS, RGB_VAI, _______, _______, |
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_SAI, RGB_RMOD, RGB_MOD, RGB_TOG, | 35 | _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, RGB_HUI, RGB_SAI, RGB_RMOD, RGB_MOD, RGB_TOG, |
| 36 | _______, _______, _______, _______, _______, BL_BRTG, BL_DEC, BL_INC, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, | 36 | _______, _______, _______, KC_MUTE, _______, BL_BRTG, BL_DEC, BL_INC, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, |
| 37 | _______, _______, _______, _______, _______, _______, _______, _______ | 37 | _______, _______, _______, _______, _______, _______, _______, _______ |
| 38 | ), | 38 | ), |
| 39 | }; | 39 | }; |
diff --git a/layouts/community/60_ansi_split_bs_rshift/bcat/readme.md b/layouts/community/60_ansi_split_bs_rshift/bcat/readme.md index f0db6417c..35ce63196 100644 --- a/layouts/community/60_ansi_split_bs_rshift/bcat/readme.md +++ b/layouts/community/60_ansi_split_bs_rshift/bcat/readme.md | |||
| @@ -2,10 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | This is a hybrid of an HHKB layout and a standard ANSI bottom row. It's nice if | 3 | This is a hybrid of an HHKB layout and a standard ANSI bottom row. It's nice if |
| 4 | you want to fill out a 60% case with no blockers, or just really want a 6.25U | 4 | you want to fill out a 60% case with no blockers, or just really want a 6.25U |
| 5 | spacebar. The arrow and navigation keys match a standard HHKB layout (using the | 5 | spacebar. The arrow and navigation keys match a standard HHKB layout using the |
| 6 | Fn key next to the right shift key), but the media keys are centered around the | 6 | Fn key next to the right shift key. Additionally, the redundant Fn key on the |
| 7 | WASD cluster instead of the usual HHKB layout. Additionally, the redundant Fn | 7 | bottom row activates an adjust layer with controls for RGB underglow and |
| 8 | key on the bottom row activates an adjust layer to control RGB underglow. | 8 | backlight, as well as media keys centered around the ESDF cluster. |
| 9 | 9 | ||
| 10 | ## Default layer | 10 | ## Default layer |
| 11 | 11 | ||
| @@ -15,12 +15,12 @@ key on the bottom row activates an adjust layer to control RGB underglow. | |||
| 15 | 15 | ||
| 16 | ## Function layer | 16 | ## Function layer |
| 17 | 17 | ||
| 18 |  | 18 |  |
| 19 | 19 | ||
| 20 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/c7a55e75285d474b6301140eaf53f915)) | 20 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/c7a55e75285d474b6301140eaf53f915)) |
| 21 | 21 | ||
| 22 | ## Adjust layer | 22 | ## Adjust layer |
| 23 | 23 | ||
| 24 |  | 24 |  |
| 25 | 25 | ||
| 26 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/6e1068e4f91bbacccaf5ac0acbeec79c)) | 26 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/6e1068e4f91bbacccaf5ac0acbeec79c)) |
diff --git a/layouts/community/60_tsangan_hhkb/bcat/keymap.c b/layouts/community/60_tsangan_hhkb/bcat/keymap.c index bcc76292e..19516542f 100644 --- a/layouts/community/60_tsangan_hhkb/bcat/keymap.c +++ b/layouts/community/60_tsangan_hhkb/bcat/keymap.c | |||
| @@ -22,18 +22,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 22 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/f6311fd7e315de781143b80eb040a551 */ | 22 | /* Function layer: http://www.keyboard-layout-editor.com/#/gists/f6311fd7e315de781143b80eb040a551 */ |
| 23 | [LAYER_FUNCTION] = LAYOUT_60_tsangan_hhkb( | 23 | [LAYER_FUNCTION] = LAYOUT_60_tsangan_hhkb( |
| 24 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | 24 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, |
| 25 | KC_CAPS, KC_MPLY, KC_VOLU, KC_MSTP, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, _______, _______, | 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, |
| 26 | _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, | 26 | _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, |
| 27 | _______, _______, KC_MUTE, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, | 27 | _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_DOWN, _______, _______, |
| 28 | _______, _______, _______, _______, _______, _______, _______ | 28 | _______, _______, _______, _______, _______, _______, _______ |
| 29 | ), | 29 | ), |
| 30 | 30 | ||
| 31 | /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/65ac939caec878401603bc36290852d4 */ | 31 | /* Adjust layer: http://www.keyboard-layout-editor.com/#/gists/65ac939caec878401603bc36290852d4 */ |
| 32 | [LAYER_ADJUST] = LAYOUT_60_tsangan_hhkb( | 32 | [LAYER_ADJUST] = LAYOUT_60_tsangan_hhkb( |
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 34 | _______, _______, _______, _______, _______, _______, EEP_RST, RESET, _______, _______, _______, RGB_VAI, _______, _______, | 34 | KC_CAPS, _______, KC_MPLY, KC_VOLU, KC_MSTP, _______, EEP_RST, RESET, KC_PSCR, KC_SLCK, KC_PAUS, RGB_VAI, _______, _______, |
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_SAI, RGB_RMOD, RGB_MOD, RGB_TOG, | 35 | _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, RGB_HUI, RGB_SAI, RGB_RMOD, RGB_MOD, RGB_TOG, |
| 36 | _______, _______, _______, _______, _______, BL_BRTG, BL_DEC, BL_INC, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, | 36 | _______, _______, _______, KC_MUTE, _______, BL_BRTG, BL_DEC, BL_INC, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, |
| 37 | _______, _______, _______, _______, _______, _______, _______ | 37 | _______, _______, _______, _______, _______, _______, _______ |
| 38 | ), | 38 | ), |
| 39 | }; | 39 | }; |
diff --git a/layouts/community/60_tsangan_hhkb/bcat/readme.md b/layouts/community/60_tsangan_hhkb/bcat/readme.md index 2c1979365..c0debdef5 100644 --- a/layouts/community/60_tsangan_hhkb/bcat/readme.md +++ b/layouts/community/60_tsangan_hhkb/bcat/readme.md | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | # bcat's 60% Tsangan HHKB layout | 1 | # bcat's 60% Tsangan HHKB layout |
| 2 | 2 | ||
| 3 | This is a normal Tsangan/HHKB (split backspace, split right shift) layout with | 3 | This is a normal Tsangan/HHKB (split backspace, split right shift) layout with |
| 4 | arrow and navigation keys that match a standard HHKB layout, as well as media | 4 | arrow and navigation keys that match a standard HHKB layout. Additionally, the |
| 5 | keys centered around the WASD cluster. Additionally, the redundant right Super | 5 | redundant right Super key on the bottom row actives an adjust layer with |
| 6 | key on the bottom row actives an adjust layer to control RGB underglow. | 6 | controls for RGB underglow and backlight, as well as media keys centered around |
| 7 | the ESDF cluster. | ||
| 7 | 8 | ||
| 8 | ## Default layer | 9 | ## Default layer |
| 9 | 10 | ||
| @@ -13,12 +14,12 @@ key on the bottom row actives an adjust layer to control RGB underglow. | |||
| 13 | 14 | ||
| 14 | ## Function layer | 15 | ## Function layer |
| 15 | 16 | ||
| 16 |  | 17 |  |
| 17 | 18 | ||
| 18 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/f6311fd7e315de781143b80eb040a551)) | 19 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/f6311fd7e315de781143b80eb040a551)) |
| 19 | 20 | ||
| 20 | ## Adjust layer | 21 | ## Adjust layer |
| 21 | 22 | ||
| 22 |  | 23 |  |
| 23 | 24 | ||
| 24 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/65ac939caec878401603bc36290852d4)) | 25 | ([KLE](http://www.keyboard-layout-editor.com/#/gists/65ac939caec878401603bc36290852d4)) |
diff --git a/users/bcat/bcat.c b/users/bcat/bcat.c new file mode 100644 index 000000000..bea64dbaa --- /dev/null +++ b/users/bcat/bcat.c | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #include "quantum.h" | ||
| 2 | |||
| 3 | #if defined(RGBLIGHT_ENABLE) | ||
| 4 | /* Adjust RGB static hue ranges for shorter gradients than default. */ | ||
| 5 | const uint8_t RGBLED_GRADIENT_RANGES[] PROGMEM = {255, 127, 63, 31, 15}; | ||
| 6 | #endif | ||
diff --git a/users/bcat/config.h b/users/bcat/config.h index 5f49a4ed3..f6be07bf6 100644 --- a/users/bcat/config.h +++ b/users/bcat/config.h | |||
| @@ -65,21 +65,3 @@ | |||
| 65 | #define MOUSEKEY_WHEEL_MAX_SPEED 3 | 65 | #define MOUSEKEY_WHEEL_MAX_SPEED 3 |
| 66 | #define MOUSEKEY_WHEEL_TIME_TO_MAX 150 | 66 | #define MOUSEKEY_WHEEL_TIME_TO_MAX 150 |
| 67 | #endif | 67 | #endif |
| 68 | |||
| 69 | #if defined(KEYBOARD_cannonkeys_instant60) | ||
| 70 | /* | ||
| 71 | * Work around EEPROM incompatibility with VIA: | ||
| 72 | * https://github.com/qmk/qmk_firmware/issues/6589#issuecomment-524042457. | ||
| 73 | */ | ||
| 74 | #undef EEPROM_MAGIC_ADDR | ||
| 75 | #undef EEPROM_VERSION_ADDR | ||
| 76 | #undef DYNAMIC_KEYMAP_EEPROM_ADDR | ||
| 77 | #undef EEPROM_CUSTOM_BACKLIGHT | ||
| 78 | #undef DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR | ||
| 79 | |||
| 80 | #define EEPROM_MAGIC_ADDR 34 | ||
| 81 | #define EEPROM_VERSION_ADDR 36 | ||
| 82 | #define DYNAMIC_KEYMAP_EEPROM_ADDR 37 | ||
| 83 | #define EEPROM_CUSTOM_BACKLIGHT 637 | ||
| 84 | #define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 638 | ||
| 85 | #endif | ||
diff --git a/users/bcat/rules.mk b/users/bcat/rules.mk index 107b470ed..6d3444b2c 100644 --- a/users/bcat/rules.mk +++ b/users/bcat/rules.mk | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | SRC += bcat.c | ||
| 2 | |||
| 1 | # Enable Bootmagic Lite to consistently reset to bootloader and clear EEPROM. | 3 | # Enable Bootmagic Lite to consistently reset to bootloader and clear EEPROM. |
| 2 | BOOTMAGIC_ENABLE = lite | 4 | BOOTMAGIC_ENABLE = lite |
| 3 | 5 | ||
| @@ -16,3 +18,6 @@ SLEEP_LED_ENABLE = no | |||
| 16 | UCIS_ENABLE = no | 18 | UCIS_ENABLE = no |
| 17 | UNICODE_ENABLE = no | 19 | UNICODE_ENABLE = no |
| 18 | UNICODEMAP_ENABLE = no | 20 | UNICODEMAP_ENABLE = no |
| 21 | |||
| 22 | # Enable link-time optimization to reduce binary size. | ||
| 23 | LINK_TIME_OPTIMIZATION_ENABLE = yes | ||
