diff options
author | jack <[email protected]> | 2022-07-28 13:52:20 -0600 |
---|---|---|
committer | jack <[email protected]> | 2022-07-28 13:52:20 -0600 |
commit | a534e8490f11209b286561c80fd9019e6380aa74 (patch) | |
tree | d92c5a53a4cfcb43c744787ce61f2e38e237ce46 /config | |
parent | 9714fc5047026416d5afabda9f122b02101521b9 (diff) | |
download | zmk_build-a534e8490f11209b286561c80fd9019e6380aa74.tar.gz zmk_build-a534e8490f11209b286561c80fd9019e6380aa74.zip |
add layer
Diffstat (limited to 'config')
-rw-r--r-- | config/corne.keymap | 23 | ||||
-rw-r--r-- | config/util.h | 3 |
2 files changed, 18 insertions, 8 deletions
diff --git a/config/corne.keymap b/config/corne.keymap index ed26030..6f4f652 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -1,11 +1,15 @@ // Copyright 2022 jack (@waffle87) -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-License-Identifier: MIT #include <behaviors.dtsi> #include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/bt.h> #include "util.h" +&caps_word { + continue-list = <UNDER MINUS BSPC> +}; + / { keymap { compatible = "zmk,keymap"; @@ -14,17 +18,24 @@ &trans &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &trans &trans HRML(A, S, D, F) &kp G &kp H HRMR(J, K, L, SEMI) &trans &trans &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &trans - &trans &mo 1 &kp SPACE &kp BSPC &trans &kp RC(RS(V)) + &trans &mo 1 &kp SPACE &kp BSPC &mo 2 &kp RC(RS(V)) >; }; num { bindings = < - &trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans - &trans HRML(EXCL, AT, HASH, DLLR) &kp PRCNT &kp CARET HRMR(AMPS, ASTRK, LPAR, RPAR) &trans - &trans &kp ESC &kp TAB &kp CAPS &kp TILDE &kp GRAVE &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans - &trans &trans &trans &kp C_VOL_UP &trans &trans + &trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans + &trans HRML(EXCL, AT, HASH, DLLR) &kp PRCNT &kp CARET HRMR(AMPS, ASTRK, LPAR, RPAR) &trans + &trans &kp ESC &kp TAB &kp CAPS &kp TILDE &kp GRAVE &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans + &trans &trans &trans &kp C_VOL_UP &trans &trans >; }; + sym { + bindings = < + &trans &caps_word &trans &trans &trans &trans &trans &trans &trans &bt BT_CLR &bootloader &trans + &trans &trans &trans &trans &trans &trans &trans &trans &trans &bt BT_PRV &bt BT_NXT &trans + &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans + &trans &trans &kp C_VOL_DN &trans &trans &trans + } }; behaviors { diff --git a/config/util.h b/config/util.h index ceff637..f502c64 100644 --- a/config/util.h +++ b/config/util.h @@ -1,7 +1,6 @@ -// Copyright 2022 @waffle87 +// Copyright 2022 jack (@waffle87) // SPDX-License-Identifier: MIT -compatible = "zmk,combos"; #define COMBO(name, keypress, keypos) \ combo_##name { \ timeout-ms = <50>; \ |