diff --git a/app/Kconfig b/app/Kconfig index 6454a848..aa6143ce 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -301,10 +301,6 @@ config ZMK_COMBO_MAX_KEYS_PER_COMBO int "Maximum number of keys per combo" default 4 -config ZMK_COMBO_MAX_LAYER_FILTERS_PER_COMBO - int "Maximum number of layers that can be specified per combo" - default 4 - #Display/LED Options endmenu diff --git a/app/src/combo.c b/app/src/combo.c index 176cad14..b50a0f61 100644 --- a/app/src/combo.c +++ b/app/src/combo.c @@ -34,8 +34,8 @@ struct combo_cfg { // the virtual key position is a key position outside the range used by the keyboard. // it is necessary so hold-taps can uniquely identify a behavior. int32_t virtual_key_position; - int8_t layers[CONFIG_ZMK_COMBO_MAX_LAYER_FILTERS_PER_COMBO]; int32_t layers_len; + int8_t layers[]; }; struct active_combo {