2020-11-11 07:40:13 -08:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <behaviors.dtsi>
|
2020-12-22 07:56:00 -08:00
|
|
|
#include <dt-bindings/zmk/kscan_mock.h>
|
2020-11-11 07:40:13 -08:00
|
|
|
#include "../behavior_keymap.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2023-04-22 21:25:56 -07:00
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
2020-11-11 07:40:13 -08:00
|
|
|
|
2023-04-22 21:25:56 -07:00
|
|
|
default_layer {
|
|
|
|
bindings = <
|
|
|
|
&kp B &mo 1
|
|
|
|
&none &none>;
|
|
|
|
};
|
2020-11-11 07:40:13 -08:00
|
|
|
|
2023-04-22 21:25:56 -07:00
|
|
|
layer_1 {
|
|
|
|
bindings = <
|
|
|
|
&kp C &trans
|
|
|
|
&none &none>;
|
|
|
|
};
|
|
|
|
};
|
2020-11-11 07:40:13 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
&kscan {
|
2023-04-22 21:25:56 -07:00
|
|
|
events = <
|
|
|
|
ZMK_MOCK_PRESS(0,1,10)
|
|
|
|
ZMK_MOCK_PRESS(0,0,10)
|
|
|
|
ZMK_MOCK_RELEASE(0,0,10)
|
|
|
|
ZMK_MOCK_RELEASE(0,1,10)
|
|
|
|
>;
|
2020-11-11 07:40:13 -08:00
|
|
|
};
|