summaryrefslogtreecommitdiff
path: root/app/dts/behaviors/layer_tap.dtsi
diff options
context:
space:
mode:
authorKevin <chenkevinh11@gmail.com>2020-09-02 17:37:39 -0700
committerKevin <chenkevinh11@gmail.com>2020-09-02 17:37:39 -0700
commit5b493ef334c32a7074e29b68f779f81cbdf6596c (patch)
tree193a6ebf7e0820a3fbb54f2f42487991b8321144 /app/dts/behaviors/layer_tap.dtsi
parent068626d1a74d3883a8ccb2cd514a217098e99420 (diff)
parentd53a8e36ca17f988b7b1df754478baf2e87597e6 (diff)
Merge branch 'main' into docs/encoders
Sync with upstream
Diffstat (limited to 'app/dts/behaviors/layer_tap.dtsi')
-rw-r--r--app/dts/behaviors/layer_tap.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/dts/behaviors/layer_tap.dtsi b/app/dts/behaviors/layer_tap.dtsi
new file mode 100644
index 0000000..af7319b
--- /dev/null
+++ b/app/dts/behaviors/layer_tap.dtsi
@@ -0,0 +1,12 @@
+/ {
+ behaviors {
+ lt: behavior_layer_tap {
+ compatible = "zmk,behavior-hold-tap";
+ label = "LAYER_TAP";
+ #binding-cells = <2>;
+ flavor = "tap-preferred";
+ tapping_term_ms = <200>;
+ bindings = <&mo>, <&kp>;
+ };
+ };
+};