docs: Document the new predefined behaviors

Reorganising the pages of the docs can be done in a followup PR.

Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
This commit is contained in:
Nicolas Munnich
2025-05-15 21:20:11 +00:00
parent a05f5699dd
commit bc577ffbbd
6 changed files with 88 additions and 55 deletions

View File

@@ -7,7 +7,7 @@
#include <dt-bindings/zmk/behaviors.h>
/ {
behaviors {
macros {
#if ZMK_BEHAVIOR_OMIT(KTAP)
/omit-if-no-ref/
#endif
@@ -16,6 +16,7 @@
#binding-cells = <1>;
display-name = "Key Tap";
bindings = <&macro_param_1to1>, <&kp MACRO_PLACEHOLDER>;
tap-ms = <30>;
};
};
};