forked from kofal.net/zmk
Initial implementation of hold-tap
This commit is contained in:
@@ -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
|
||||
23
app/dts/bindings/behaviors/zmk,behavior-tap-hold.yaml
Normal file
23
app/dts/bindings/behaviors/zmk,behavior-tap-hold.yaml
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user