Tap-and-hold a hold-tap to hold the tap behavior so it can repeat. After a tap, if the same key is pressed within `quick_tap_ms`, the tap behavior is always picked. This is useful for things like `&ht LSHFT BACKSPACE` where holding the backspace is required. Implements #288.
26 lines
467 B
YAML
26 lines
467 B
YAML
# Copyright (c) 2020 The ZMK Contributors
|
|
# 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
|
|
quick_tap_ms:
|
|
type: int
|
|
default: -1
|
|
flavor:
|
|
type: string
|
|
required: false
|
|
default: "hold-preferred"
|
|
enum:
|
|
- "hold-preferred"
|
|
- "balanced"
|
|
- "tap-preferred"
|