zmk_mf68/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml

40 lines
740 B
YAML
Raw Normal View History

# Copyright (c) 2020 The ZMK Contributors
2020-09-01 22:37:37 +10:00
# 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
tapping_term_ms: # deprecated
type: int
quick-tap-ms:
type: int
default: -1
quick_tap_ms: # deprecated
type: int
global-quick-tap:
type: boolean
2020-09-01 22:37:37 +10:00
flavor:
type: string
required: false
default: "hold-preferred"
enum:
- "hold-preferred"
- "balanced"
- "tap-preferred"
- "tap-unless-interrupted"
2021-02-07 06:58:04 +11:00
retro-tap:
type: boolean
hold-trigger-key-positions:
type: array
required: false
default: []