[Keymap 6Nov2021 16:20] and add nice_nano_v2 recipe to readme

This commit is contained in:
jding 2021-11-11 18:12:18 +00:00
parent 2d1500aa72
commit a8783b6c22
2 changed files with 18 additions and 11 deletions

View file

@ -12,7 +12,7 @@
#define SYS 6
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// [Keymap 3Nov2021 10:35 am]
// [Keymap 6Nov2021 16:20]
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/ {
@ -55,6 +55,16 @@
bindings = <&kp>, <&kp>;
hold-enabler-keys = <0 12>;
};
c_ht: combo_like_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "COMBO_LIKE_HOLD_TAP";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <200>;
bindings = <&kp>, <&kp>;
hold-enabler-keys = <40>;
};
};
combos {
@ -64,12 +74,6 @@
key-positions = <18 19>;
bindings = <&kp K_CMENU>;
};
combo_layered_return {
timeout-ms = <50>;
key-positions = <23 40>;
bindings = <&kp RET>;
};
};
keymap {
@ -77,9 +81,9 @@
apple_layer {
bindings = <
&hlt FUN TAB &cmt LSFT Q &kp W &kp E &kp R &kp T /**/ &kp Y &kp U &kp I &kp O &kp P &kp BKSP
&hlt NUM ESC &kp A &kp S &kp D &cmt LSFT F &kp G /**/ &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT
&kp LSFT &kp Z &kp X &kp C &kp V &kp B /**/ &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSFT
&hlt FUN TAB &cmt LSFT Q &kp W &kp E &kp R &kp T /**/ &kp Y &kp U &kp I &kp O &kp P &kp BKSP
&hlt NUM ESC &kp A &kp S &kp D &cmt LSFT F &kp G /**/ &kp H &kp J &kp K &kp L &kp SCLN &c_ht RET QUOT
&kp LSFT &kp Z &kp X &kp C &kp V &kp B /**/ &kp N &kp M &kp CMMA &kp DOT &kp FSLH &kp RSFT
&kp LCTL &kp LALT &kp LGUI /**/ &kp SPC &mo NAV &mo MED
>;
};

View file

@ -2,3 +2,6 @@ from Windows CMD:
cd zmk\app
west build -d build/left -p -b nice_nano -- -DSHIELD=mercury_left
west build -d build/right -p -b nice_nano -- -DSHIELD=mercury_right
west build -d build/left -p -b nice_nano_v2 -- -DSHIELD=mercury_left
west build -d build/right -p -b nice_nano_v2 -- -DSHIELD=mercury_right