summaryrefslogtreecommitdiff
path: root/app/dts/bindings
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/bindings
parent068626d1a74d3883a8ccb2cd514a217098e99420 (diff)
parentd53a8e36ca17f988b7b1df754478baf2e87597e6 (diff)
Merge branch 'main' into docs/encoders
Sync with upstream
Diffstat (limited to 'app/dts/bindings')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml23
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-mod-tap.yaml8
2 files changed, 23 insertions, 8 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml b/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
new file mode 100644
index 0000000..a20578f
--- /dev/null
+++ b/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
@@ -0,0 +1,23 @@
+# Copyright (c) 2020, Cody McGinnis; Okke Formsma
+# SPDX-License-Identifier: MIT
+
+description: Hold or Tap behavior
+
+compatible: "zmk,behavior-hold-tap"
+
+include: two_param.yaml
+
+properties:
+ bindings:
+ type: phandles
+ required: true
+ tapping_term_ms:
+ type: int
+ flavor:
+ type: string
+ required: false
+ default: "hold-preferred"
+ enum:
+ - "hold-preferred"
+ - "balanced"
+ - "tap-preferred" \ No newline at end of file
diff --git a/app/dts/bindings/behaviors/zmk,behavior-mod-tap.yaml b/app/dts/bindings/behaviors/zmk,behavior-mod-tap.yaml
deleted file mode 100644
index 7911082..0000000
--- a/app/dts/bindings/behaviors/zmk,behavior-mod-tap.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2020, Pete Johanson
-# SPDX-License-Identifier: MIT
-
-description: Mod-Tap Beavhior
-
-compatible: "zmk,behavior-mod-tap"
-
-include: two_param.yaml