refactor(behaviors)!: Remove labels from behaviors
Removed the label property from built-in behaviors, custom behaviors defined in a few keymaps, and macros generated with ZMK_MACRO(). Now that node names are used to identify behaviors, and names only need to be unique within the set of behaviors, the names of all behaviors have been shortened to be similar to their original labels. This means that any keymaps which reference behavior nodes by name instead of by label will need to be updated. Keymaps typically use the labels though, so most keymaps should be unaffected by this change.
This commit is contained in:
parent
36eda571b7
commit
23ecf08119
32 changed files with 54 additions and 91 deletions
|
|
@ -6,9 +6,8 @@
|
|||
|
||||
/ {
|
||||
behaviors {
|
||||
/omit-if-no-ref/ tog: behavior_toggle_layer {
|
||||
/omit-if-no-ref/ tog: toggle_layer {
|
||||
compatible = "zmk,behavior-toggle-layer";
|
||||
label = "TOGGLE_LAYER";
|
||||
#binding-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue