summaryrefslogtreecommitdiffstats
path: root/keyboards/planck
diff options
context:
space:
mode:
authorGustavs GÅ«tmanis <gustavs-gutmanis@users.noreply.github.com>2021-11-11 06:31:39 +0200
committerGitHub <noreply@github.com>2021-11-10 20:31:39 -0800
commit48eddeeea401a4ebaff8590137da01b594ba6909 (patch)
tree0dc86e901b305c0483afff009c29fd876ac58f8e /keyboards/planck
parenta4eb73eef03ef33bab85703f04c71985d43785e8 (diff)
[Keymap] Adding keymap for BDN9 and Planck (#15067)
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/keymaps/copface/keymap.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/copface/keymap.c b/keyboards/planck/keymaps/copface/keymap.c
index 0754a0c742..b448d9c7dd 100644
--- a/keyboards/planck/keymaps/copface/keymap.c
+++ b/keyboards/planck/keymaps/copface/keymap.c
@@ -85,7 +85,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_META] = LAYOUT_planck_grid(
XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_SRC, XXXXXXX,
- XXXXXXX, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ KC_CAPS, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
XXXXXXX, KC_F10, KC_F11, KC_F12, HK_AF9, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
),
@@ -167,6 +167,10 @@ void matrix_scan_user(void) {
SEQ_ONE_KEY(KC_S) {
tap_code16(G(C(S(KC_4))));
}
+ // Record Screen
+ SEQ_TWO_KEYS(KC_S, KC_S) {
+ tap_code16(S(G(KC_5)));
+ }
// 1Pass browser
SEQ_ONE_KEY(KC_A) {
tap_code16(G(A(KC_BSLS)));
@@ -187,5 +191,13 @@ void matrix_scan_user(void) {
SEQ_ONE_KEY(KC_ENT) {
tap_code16(S(G(A(KC_F))));
}
+ // Focus file tree
+ SEQ_ONE_KEY(KC_TAB) {
+ tap_code16(G(KC_1));
+ }
+ // Caps-lock
+ SEQ_TWO_KEYS(KC_TAB, KC_TAB) {
+ tap_code16(KC_CAPS);
+ }
}
}