zmk/app/dts/behaviors/one_shot.dtsi
2020-09-15 21:09:16 +02:00

20 lines
390 B
Text

/ {
behaviors {
osk: behavior_one_shot_key {
compatible = "zmk,behavior-one-shot";
label = "ONE_SHOT_KEY";
#binding-cells = <1>;
release-after-ms = <1000>;
bindings = <&kp>;
};
osl: behavior_one_shot_layer {
compatible = "zmk,behavior-one-shot";
label = "ONE_SHOT_LAYER";
#binding-cells = <1>;
release-after-ms = <1000>;
bindings = <&mo>;
};
};
};