aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/toggle-layer/behavior_keymap.dtsi
blob: 7c712a874f5195a182a81e41a2e79ff345ae7fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>

/ {
    keymap {
        compatible = "zmk,keymap";

        default_layer {
            bindings = <
                &kp B &tog 1
                &kp D &to 1>;
        };

        lower_layer {
            bindings = <
                &kp C_NEXT &trans
                &kp L  &kp J>;
        };

        raise_layer {
            bindings = <
                &kp W &kp U
                &kp X  &kp M>;
        };
    };
};