aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/docs/config/keymap.md2
-rw-r--r--docs/docs/keymap-example.md3
-rw-r--r--docs/docs/keymaps/index.mdx3
3 files changed, 6 insertions, 2 deletions
diff --git a/docs/docs/config/keymap.md b/docs/docs/config/keymap.md
index bcb9e044b9..b20bdfe4b0 100644
--- a/docs/docs/config/keymap.md
+++ b/docs/docs/config/keymap.md
@@ -19,7 +19,7 @@ Each child node can have the following properties:
| Property | Type | Description |
| ----------------- | ------------- | -------------------------------------------------------------------- |
-| `display-name` | string | Name for the layer on displays |
+| `display-name` | string | Name for the layer in ZMK Studio and on displays |
| `bindings` | phandle-array | List of [key behaviors](../keymaps/index.mdx#behaviors), one per key |
| `sensor-bindings` | phandle-array | List of sensor behaviors, one per sensor |
diff --git a/docs/docs/keymap-example.md b/docs/docs/keymap-example.md
index 57f40762ea..1b5bdae5f0 100644
--- a/docs/docs/keymap-example.md
+++ b/docs/docs/keymap-example.md
@@ -3,6 +3,7 @@
compatible = "zmk,keymap";
default_layer { // Layer 0
+ display-name = "Base";
// ----------------------------------------------
// | Z | M | K |
// | &mo 1 | LEFT SHIFT | &mo 2 |
@@ -12,6 +13,7 @@
>;
};
abc { // Layer 1
+ display-name = "ABC";
// ----------------------------------------------
// | A | B | C |
// | &trans | &trans | &trans |
@@ -21,6 +23,7 @@
>;
};
xyz { // Layer 2
+ display-name = "XYZ";
// ----------------------------------------------
// | X | Y | Z |
// | LEFT CTRL | LEFT ALT | &trans |
diff --git a/docs/docs/keymaps/index.mdx b/docs/docs/keymaps/index.mdx
index 6a5c96988f..bbef41acb8 100644
--- a/docs/docs/keymaps/index.mdx
+++ b/docs/docs/keymaps/index.mdx
@@ -130,6 +130,7 @@ Each layer of your keymap will be nested under the keymap node. Here is an examp
compatible = "zmk,keymap";
default_layer { // Layer 0
+ display-name = "Base";
// ----------------------------------------------
// | Z | M | K |
// | A | B | C |
@@ -145,7 +146,7 @@ Each layer should have:
1. A `bindings` property that will be a list of [behavior bindings](behaviors/index.mdx), one for each key position for the keyboard.
1. (Optional) A `sensor-bindings` property that will be a list of behavior bindings for each sensor on the keyboard. (Currently, only encoders are supported as sensor hardware, but in the future devices like trackpoints would be supported the same way)
-1. (Optional) A `display-name` property that is a string used by certain features, such as the layer status display widget.
+1. (Optional) A `display-name` property that is a string used by certain features, such as ZMK Studio and the layer status display widget.
### Multiple Layers