2020-09-09 20:57:44 -07:00
|
|
|
# Copyright (c) 2020 The ZMK Contributors
|
2020-09-01 05:37:37 -07: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-06 12:47:21 -08:00
|
|
|
tapping-term-ms:
|
2020-09-09 20:57:44 -07:00
|
|
|
type: int
|
2021-02-06 12:47:21 -08:00
|
|
|
tapping_term_ms: # deprecated
|
|
|
|
type: int
|
|
|
|
quick-tap-ms:
|
2021-01-31 12:37:57 -08:00
|
|
|
type: int
|
|
|
|
default: -1
|
2021-02-06 12:47:21 -08:00
|
|
|
quick_tap_ms: # deprecated
|
|
|
|
type: int
|
2020-09-01 05:37:37 -07:00
|
|
|
flavor:
|
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
default: "hold-preferred"
|
|
|
|
enum:
|
2020-09-09 20:57:44 -07:00
|
|
|
- "hold-preferred"
|
|
|
|
- "balanced"
|
|
|
|
- "tap-preferred"
|
2021-11-06 14:31:23 -07:00
|
|
|
- "tap-unless-interrupted"
|
2021-02-06 11:58:04 -08:00
|
|
|
retro-tap:
|
|
|
|
type: boolean
|
2021-11-01 09:37:20 -07:00
|
|
|
hold-trigger-key-positions:
|
|
|
|
type: array
|
|
|
|
required: false
|
|
|
|
default: []
|