mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
* Reference combos by index, not 32-bit pointers, and store bitfields instead of arrays in several places, to bring down our flash/RAM usage. * Use bit field to track candidate combos, to avoid needing an explicit `ZMK_COMBO_MAX_COMBOS_PER_KEY` setting. * Determine the max keys per combo automatically from the devicetree, so we remove the ZMK_COMBO_MAX_KEYS_PER_COMBO Kconfig symbol.
28 lines
485 B
YAML
28 lines
485 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
|
|
require-prior-idle-ms:
|
|
type: int
|
|
default: -1
|
|
slow-release:
|
|
type: boolean
|
|
layers:
|
|
type: array
|