2022-04-27 05:33:22 -07:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <behaviors.dtsi>
|
|
|
|
#include <dt-bindings/zmk/kscan_mock.h>
|
|
|
|
|
|
|
|
/ {
|
2023-04-22 21:25:56 -07:00
|
|
|
behaviors {
|
|
|
|
hp: behavior_hold_preferred {
|
|
|
|
compatible = "zmk,behavior-hold-tap";
|
|
|
|
#binding-cells = <2>;
|
|
|
|
flavor = "hold-preferred";
|
|
|
|
tapping-term-ms = <300>;
|
|
|
|
quick-tap-ms = <300>;
|
2023-09-24 06:38:45 -07:00
|
|
|
require-prior-idle-ms = <100>;
|
2023-04-22 21:25:56 -07:00
|
|
|
bindings = <&kp>, <&kp>;
|
|
|
|
};
|
|
|
|
};
|
2022-04-27 05:33:22 -07:00
|
|
|
|
2023-04-22 21:25:56 -07:00
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
2022-04-27 05:33:22 -07:00
|
|
|
|
2023-04-22 21:25:56 -07:00
|
|
|
default_layer {
|
|
|
|
bindings = <
|
|
|
|
&hp LEFT_SHIFT F &hp LEFT_CONTROL G
|
|
|
|
&kp D &none>;
|
|
|
|
};
|
|
|
|
};
|
2022-04-27 05:33:22 -07:00
|
|
|
};
|