Fleshing out tap behaviors

This commit is contained in:
Daniel Flanagan 2022-01-14 10:03:25 -06:00
parent 03b5d86022
commit 3d2ec4bd9e
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 7 additions and 3 deletions

View file

@ -19,8 +19,12 @@
#define L_C COMBO_LAYER_ID #define L_C COMBO_LAYER_ID
&mt { &mt {
retro-tap;
label = "Mod Tap";
#binding-cells = <2>;
tapping-term-ms = <200>; tapping-term-ms = <200>;
flavor = "hold-preferred"; flavor = "hold-preferred";
bindings = <&kp>, <&kp>;
}; };
/ { / {
@ -30,7 +34,7 @@
label = "Hold Tap"; label = "Hold Tap";
#binding-cells = <2>; #binding-cells = <2>;
tapping-term-ms = <200>; tapping-term-ms = <200>;
flavor = "tap-preferred"; flavor = "balanced";
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;
}; };
}; };
@ -42,7 +46,7 @@
bindings = < bindings = <
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC &kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&mt LCTRL ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &mt LCTRL ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &ht LCTRL SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp K_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp K_PP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
&kp LALT &kp LGUI &kp SPACE &mo L_L &kp LSHFT &kp RET &mo L_R &kp SPACE &kp RALT &kp RSHFT &kp LALT &kp LGUI &kp SPACE &mo L_L &kp LSHFT &kp RET &mo L_R &kp SPACE &kp RALT &kp RSHFT
>; >;

View file

@ -10,7 +10,7 @@ set firmware_file $argv[1]
mkdir -p /tmp/flashmnt mkdir -p /tmp/flashmnt
while not test -L $flash_target while not test -L $flash_target
echo Waiting for mountable device $flash_target to become available... echo Waiting for mountable device $flash_target to become available to flash $firmware_file...
echo " This usually means you need to plugin the board and reset it." echo " This usually means you need to plugin the board and reset it."
sleep 1 sleep 1
end end