added adjust tri-layer with bootloader and bluetooth keys

This commit is contained in:
Rudis Muiznieks 2022-03-02 16:17:06 -06:00
parent 8c285eb6e5
commit 040e55edd0
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 17 additions and 0 deletions

View File

@ -1,8 +1,17 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/mouse.h>
/ {
conditional_layers {
compatible = "zmk,conditional-layers";
tri_layer {
if-layers = <1 2>;
then-layer = <3>;
};
};
keymap {
compatible = "zmk,keymap";
@ -34,5 +43,13 @@
>;
};
layer_adjust {
bindings = <
&bootloader &none &none &none &none &none &none &none &none &none &none &bootloader
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &trans &trans &none &none
>;
};
};
};