61 lines
1.6 KiB
Text
61 lines
1.6 KiB
Text
|
#include <dt-bindings/zmk/keys.h>
|
||
|
#include <behaviors.dtsi>
|
||
|
#include <dt-bindings/zmk/kscan_mock.h>
|
||
|
|
||
|
/ {
|
||
|
behaviors {
|
||
|
ht: hold_tap {
|
||
|
compatible = "zmk,behavior-hold-tap";
|
||
|
label = "HOLD_TAP";
|
||
|
#binding-cells = <2>;
|
||
|
tapping-term-ms = <200>;
|
||
|
quick_tap_ms = <0>;
|
||
|
flavor = "tap-preferred";
|
||
|
bindings = <&kp>, <&kp>;
|
||
|
};
|
||
|
|
||
|
tdm: tap_dance_mixed {
|
||
|
compatible = "zmk,behavior-tap-dance";
|
||
|
label = "TAP_DANCE_MOD";
|
||
|
#binding-cells = <0>;
|
||
|
tapping-term-ms = <200>;
|
||
|
bindings = <&ht LSHIFT A>, <&ht LALT B>, <&ht LGUI C>;
|
||
|
};
|
||
|
|
||
|
tdb: tap_dance_basic {
|
||
|
compatible = "zmk,behavior-tap-dance";
|
||
|
label = "TAP_DANCE_BASIC";
|
||
|
#binding-cells = <0>;
|
||
|
tapping-term-ms = <200>;
|
||
|
bindings = <&kp N1>, <&kp N2>, <&kp N3>;
|
||
|
};
|
||
|
|
||
|
td2: tap_dance_basic_2 {
|
||
|
compatible = "zmk,behavior-tap-dance";
|
||
|
label = "TAP_DANCE_BASIC_2";
|
||
|
#binding-cells = <0>;
|
||
|
tapping-term-ms = <200>;
|
||
|
bindings = <&kp A>, <&kp B>, <&kp C>;
|
||
|
};
|
||
|
|
||
|
tds: tap_dance_single {
|
||
|
compatible = "zmk,behavior-tap-dance";
|
||
|
label = "TAP_DANCE_SINGlE";
|
||
|
#binding-cells = <0>;
|
||
|
tapping-term-ms = <200>;
|
||
|
bindings = <&kp S>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
keymap {
|
||
|
compatible = "zmk,keymap";
|
||
|
label ="Default keymap";
|
||
|
|
||
|
default_layer {
|
||
|
bindings = <
|
||
|
&tdm &tds
|
||
|
&tdb &td2>;
|
||
|
};
|
||
|
};
|
||
|
};
|