You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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
|
|
|
|
tapping_term_ms: # deprecated
|
|
|
|
type: int
|
|
|
|
quick-tap-ms:
|
|
|
|
type: int
|
|
|
|
default: -1
|
|
|
|
quick_tap_ms: # deprecated
|
|
|
|
type: int
|
|
|
|
flavor:
|
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
default: "hold-preferred"
|
|
|
|
enum:
|
|
|
|
- "hold-preferred"
|
|
|
|
- "balanced"
|
|
|
|
- "tap-preferred"
|
|
|
|
- "tap-unless-interrupted"
|
|
|
|
retro-tap:
|
|
|
|
type: boolean
|
|
|
|
hold-trigger-key-positions:
|
|
|
|
type: array
|
|
|
|
required: false
|
|
|
|
default: []
|