zmk/app/dts/bindings/zmk,combos.yaml
Andrew Rae 77eb44ba9b feat(behaviors): Adding global-quick-tap-ms for combos
This brings the 'global-quick-tap' functionality to combos by filtering
out candidate combos that fell within their own quick tap term.

I also replaced `return 0` with `return ZMK_EV_EVENT_BUBBLE` where appropriate.
(I assume this was done in past as it is similar to errno returning, but
being that this is to signify an event type I find this more clear)
2023-10-03 01:12:47 -07:00

29 lines
503 B
YAML

# Copyright (c) 2020, The ZMK Contributors
# SPDX-License-Identifier: MIT
description: Combos container
compatible: "zmk,combos"
child-binding:
description: "A combo"
properties:
bindings:
type: phandle-array
required: true
key-positions:
type: array
required: true
timeout-ms:
type: int
default: 50
global-quick-tap-ms:
type: int
default: -1
slow-release:
type: boolean
layers:
type: array
default: [-1]