forked from kofal.net/zmk
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:
@@ -56,7 +56,7 @@
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
label = "default layer";
|
||||
display-name = "default layer";
|
||||
bindings = <
|
||||
&bt BT_CLR &kp TAB &kp F5 &kp LC(LA(C)) &kp LG(D)
|
||||
&rgb_ug RGB_TOG &kp ESC &kp KP_DIVIDE &kp KP_MULTIPLY &kp KP_MINUS
|
||||
@@ -70,7 +70,7 @@
|
||||
};
|
||||
|
||||
fn_layer {
|
||||
label = "fn layer";
|
||||
display-name = "fn layer";
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans
|
||||
&trans &kp KP_NUM &trans &trans &trans
|
||||
|
||||
Reference in New Issue
Block a user