forked from kofal.net/zmk
fix: Fix up layer metadata, move to layer IDs.
* Studio will use stable layer IDs to refer to layers, so that layer reordering doesn't affect behavior bindings, so update to match. * Fix a few layer metadata entries that missed being refactored.
This commit is contained in:
committed by
Pete Johanson
parent
e01f13f9f0
commit
3694ff85a0
@@ -99,7 +99,7 @@ static int check_param_matches_value(const struct behavior_parameter_value_metad
|
||||
}
|
||||
|
||||
break;
|
||||
case BEHAVIOR_PARAMETER_VALUE_TYPE_LAYER_INDEX:
|
||||
case BEHAVIOR_PARAMETER_VALUE_TYPE_LAYER_ID:
|
||||
if (param >= 0 && param < ZMK_KEYMAP_LEN) {
|
||||
return PARAM_MATCHES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user