added adjust tri-layer with bootloader and bluetooth keys
This commit is contained in:
parent
8c285eb6e5
commit
040e55edd0
|
@ -1,8 +1,17 @@
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
|
#include <dt-bindings/zmk/bt.h>
|
||||||
#include <dt-bindings/zmk/mouse.h>
|
#include <dt-bindings/zmk/mouse.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
conditional_layers {
|
||||||
|
compatible = "zmk,conditional-layers";
|
||||||
|
tri_layer {
|
||||||
|
if-layers = <1 2>;
|
||||||
|
then-layer = <3>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
keymap {
|
keymap {
|
||||||
compatible = "zmk,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
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue