refactor(combos): Reduce RAM usage, simplify config (#2849)

* 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.
This commit is contained in:
Pete Johanson 2025-04-20 03:01:22 -06:00 committed by GitHub
parent d9576c5534
commit c4ee8ab86b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 196 additions and 211 deletions

View file

@ -25,4 +25,3 @@ child-binding:
type: boolean
layers:
type: array
default: [-1]