refactor(keymaps): Rename layer label to "display-name"
Changed the property used to define a layer name for displays from "label" (which affects other things in Zephyr and is deprecated) to "display-name". (It cannot be named simply "name", because that has special meaning in newer versions of the devicetree compiler.) "label" is still supported as a fallback, so no changes need to be made to existing keymaps.
This commit is contained in:
parent
ba5637fdef
commit
d4e8dee444
18 changed files with 51 additions and 44 deletions
|
|
@ -19,7 +19,7 @@
|
|||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
label = "Default";
|
||||
display-name = "Default";
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
|
||||
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
>;
|
||||
};
|
||||
function_layer {
|
||||
label = "Function";
|
||||
display-name = "Function";
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue