23ecf08119
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.
16 lines
337 B
Plaintext
16 lines
337 B
Plaintext
/*
|
|
* Copyright (c) 2021 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
// Behavior can be invoked on peripherals, so name must be <= 8 characters.
|
|
/omit-if-no-ref/ bl: bcklight {
|
|
compatible = "zmk,behavior-backlight";
|
|
#binding-cells = <2>;
|
|
};
|
|
};
|
|
};
|