diff options
| author | Pete Johanson <peter@peterjohanson.com> | 2020-09-02 13:55:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-02 13:55:26 -0400 |
| commit | 48a3729ffe269527bea948147f0b83ba1a1fa86d (patch) | |
| tree | 73e5e7975138a88bb845e02b41c583d90a377c5f /app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml | |
| parent | c80b0a754b4b31cf303c2c9a26c51c72e56b0208 (diff) | |
| parent | c9a82d71d06146dfe706a2e8d223dab593dffffc (diff) | |
Merge pull request #146 from okke-formsma/hold-tap
Hold-Tap implementation
Diffstat (limited to 'app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml')
| -rw-r--r-- | app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml | 23 |
1 files changed, 23 insertions, 0 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 |
