Added ZMK_MACRO_DEFAULT_WAIT_MS and ZMK_MACRO_DEFAULT_TAP_MS to set global defaults for the wait-ms and tap-ms properties of macros. Also reduced the default timings for macros, since it's been reported many times that 100 ms is too slow.
19 lines
No EOL
534 B
YAML
19 lines
No EOL
534 B
YAML
# Copyright (c) 2022 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: Macro Behavior
|
|
|
|
compatible: "zmk,behavior-macro"
|
|
|
|
include: zero_param.yaml
|
|
|
|
properties:
|
|
bindings:
|
|
type: phandle-array
|
|
required: true
|
|
wait-ms:
|
|
type: int
|
|
description: The default time to wait (in milliseconds) before triggering the next behavior in the macro bindings list.
|
|
tap-ms:
|
|
type: int
|
|
description: The default time to wait (in milliseconds) between the press and release events on a tapped macro behavior binding |