refactor(combos): simplify layer filter approach
This commit is contained in:
parent
1dcb2f905c
commit
f80df3e66e
2 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue