diff options
author | Kevin <chenkevinh11@gmail.com> | 2020-09-02 17:37:39 -0700 |
---|---|---|
committer | Kevin <chenkevinh11@gmail.com> | 2020-09-02 17:37:39 -0700 |
commit | 5b493ef334c32a7074e29b68f779f81cbdf6596c (patch) | |
tree | 193a6ebf7e0820a3fbb54f2f42487991b8321144 /app/tests/hold-tap/balanced/behavior_keymap.dtsi | |
parent | 068626d1a74d3883a8ccb2cd514a217098e99420 (diff) | |
parent | d53a8e36ca17f988b7b1df754478baf2e87597e6 (diff) |
Merge branch 'main' into docs/encoders
Sync with upstream
Diffstat (limited to 'app/tests/hold-tap/balanced/behavior_keymap.dtsi')
-rw-r--r-- | app/tests/hold-tap/balanced/behavior_keymap.dtsi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/tests/hold-tap/balanced/behavior_keymap.dtsi b/app/tests/hold-tap/balanced/behavior_keymap.dtsi new file mode 100644 index 0000000..df56fb5 --- /dev/null +++ b/app/tests/hold-tap/balanced/behavior_keymap.dtsi @@ -0,0 +1,27 @@ +#include <dt-bindings/zmk/keys.h> +#include <behaviors.dtsi> +#include <dt-bindings/zmk/kscan-mock.h> + +/ { + behaviors { + ht_bal: behavior_hold_tap_balanced { + compatible = "zmk,behavior-hold-tap"; + label = "HOLD_TAP_BALANCED"; + #binding-cells = <2>; + flavor = "balanced"; + tapping_term_ms = <300>; + bindings = <&kp>, <&kp>; + }; + }; + + keymap { + compatible = "zmk,keymap"; + label ="Default keymap"; + + default_layer { + bindings = < + &ht_bal LSFT F &ht_bal LCTL J + &kp D &kp RCTL>; + }; + }; +}; |