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
|
|
@ -17,7 +17,7 @@
|
|||
compatible = "zmk,keymap";
|
||||
|
||||
base_layer {
|
||||
label = "BASE";
|
||||
display-name = "BASE";
|
||||
bindings = <
|
||||
// ╭─────────────┬──────────────┬──────────────────┬─────────────┬─────────────╮
|
||||
&mo BLE &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_NEXT &kp C_MUTE
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
};
|
||||
|
||||
ble_layer {
|
||||
label = "BLE";
|
||||
display-name = "BLE";
|
||||
bindings = <
|
||||
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
|
||||
&trans &out OUT_TOG &bt BT_PRV &bt BT_NXT &bt BT_CLR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue