forked from kofal.net/zmk
Implement momentary layer + transparent behaviors
* Implement "momentary layer" behavior with `&mo` reference. * Implement basic "transparent" behavior with `&trans` reference.
This commit is contained in:
9
app/dts/behaviors/momentary_layer.dtsi
Normal file
9
app/dts/behaviors/momentary_layer.dtsi
Normal file
@@ -0,0 +1,9 @@
|
||||
/ {
|
||||
behaviors {
|
||||
mo: behavior_momentary_layer {
|
||||
compatible = "zmk,behavior-momentary-layer";
|
||||
label = "MO";
|
||||
#binding-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
9
app/dts/behaviors/transparent.dtsi
Normal file
9
app/dts/behaviors/transparent.dtsi
Normal file
@@ -0,0 +1,9 @@
|
||||
/ {
|
||||
behaviors {
|
||||
trans: behavior_transparent {
|
||||
compatible = "zmk,behavior-transparent";
|
||||
label = "TRANS";
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user