2020-11-12 02:40:13 +11:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <behaviors.dtsi>
|
2020-12-23 02:56:00 +11:00
|
|
|
#include <dt-bindings/zmk/kscan_mock.h>
|
2020-11-12 02:40:13 +11:00
|
|
|
#include "../behavior_keymap.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
label ="Default keymap";
|
|
|
|
|
|
|
|
default_layer {
|
|
|
|
bindings = <
|
|
|
|
&kp B &mo 1
|
|
|
|
&none &none>;
|
|
|
|
};
|
|
|
|
|
|
|
|
layer_1 {
|
|
|
|
bindings = <
|
|
|
|
&kp C &none
|
|
|
|
&none &none>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&kscan {
|
|
|
|
events = <
|
|
|
|
ZMK_MOCK_PRESS(0,0,10)
|
|
|
|
ZMK_MOCK_PRESS(0,1,10)
|
|
|
|
ZMK_MOCK_RELEASE(0,0,10)
|
|
|
|
ZMK_MOCK_RELEASE(0,1,10)
|
|
|
|
>;
|
|
|
|
};
|