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
@@ -39,8 +39,7 @@ static int tog_keymap_binding_released(struct zmk_behavior_binding *binding,
|
||||
static const struct behavior_parameter_value_metadata param_values[] = {
|
||||
{
|
||||
.display_name = "Layer",
|
||||
.type = BEHAVIOR_PARAMETER_VALUE_TYPE_STANDARD,
|
||||
.standard = BEHAVIOR_PARAMETER_STANDARD_DOMAIN_LAYER_INDEX,
|
||||
.type = BEHAVIOR_PARAMETER_VALUE_TYPE_LAYER_ID,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user