fix(docs): Add missing semicolon to examples
Co-authored-by: Christian Stücklberger <christian.stuecklberger@ergon.ch>
This commit is contained in:
parent
5b86fdd876
commit
8196b1d46b
5 changed files with 18 additions and 19 deletions
|
@ -56,7 +56,7 @@ For example, if you press `&mt LEFT_SHIFT A` and then release it without pressin
|
|||
```
|
||||
&mt {
|
||||
retro-tap;
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
#### Home row mods
|
||||
|
|
|
@ -22,21 +22,20 @@ An example of how to implement the mod-morph "Grave Escape":
|
|||
|
||||
```
|
||||
/ {
|
||||
behaviors {
|
||||
behaviors {
|
||||
gresc: grave_escape {
|
||||
compatible = "zmk,behavior-mod-morph";
|
||||
label = "GRAVE_ESCAPE";
|
||||
#binding-cells = <0>;
|
||||
bindings = <&kp ESC>, <&kp GRAVE>;
|
||||
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
keymap {
|
||||
...
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
Note that this specific mod-morph exists in ZMK by default using code `&gresc`.
|
||||
|
|
|
@ -40,8 +40,8 @@ You can configure a different tapping term in your keymap:
|
|||
/ {
|
||||
keymap {
|
||||
...
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
### Additional information
|
||||
|
|
|
@ -38,8 +38,8 @@ You can configure a different `release-after-ms` in your keymap:
|
|||
/ {
|
||||
keymap {
|
||||
...
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
### Advanced usage
|
||||
|
|
|
@ -32,8 +32,8 @@ You can configure a different `release-after-ms` in your keymap:
|
|||
/ {
|
||||
keymap {
|
||||
...
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
### Advanced usage
|
||||
|
|
Loading…
Reference in a new issue