2020-09-10 13:57:44 +10:00
|
|
|
# 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
|
2021-02-07 07:47:21 +11:00
|
|
|
tapping-term-ms:
|
2020-09-10 13:57:44 +10:00
|
|
|
type: int
|
2021-02-07 07:47:21 +11:00
|
|
|
tapping_term_ms: # deprecated
|
|
|
|
type: int
|
|
|
|
quick-tap-ms:
|
2021-02-01 07:37:57 +11:00
|
|
|
type: int
|
|
|
|
default: -1
|
2021-02-07 07:47:21 +11:00
|
|
|
quick_tap_ms: # deprecated
|
|
|
|
type: int
|
2020-09-01 22:37:37 +10:00
|
|
|
flavor:
|
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
default: "hold-preferred"
|
|
|
|
enum:
|
2020-09-10 13:57:44 +10:00
|
|
|
- "hold-preferred"
|
|
|
|
- "balanced"
|
|
|
|
- "tap-preferred"
|
2021-02-07 06:58:04 +11:00
|
|
|
retro-tap:
|
|
|
|
type: boolean
|
2021-11-02 03:37:20 +11:00
|
|
|
hold-trigger-key-positions:
|
|
|
|
type: array
|
|
|
|
required: false
|
|
|
|
default: []
|