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
|
2022-04-27 22:33:22 +10:00
|
|
|
global-quick-tap:
|
|
|
|
type: boolean
|
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-11-07 08:31:23 +11:00
|
|
|
- "tap-unless-interrupted"
|
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: []
|