Skip to content

Commit

Permalink
Putting F and V back to plain keypresses.
Browse files Browse the repository at this point in the history
Added a combo to toggle F for prolonged item pickup.
For whatever reason, the slight delay from tap-dances bothers me,
even when I know to expect it. I can rebind the H (horizontal flip)
command to F in Factorio and it will work fine, so I do not need H
on the left hand side of the split.
  • Loading branch information
amacleod committed Nov 22, 2024
1 parent 16837e7 commit b352e29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
20 changes: 3 additions & 17 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ keymap {
// ,-----------------------------. ,-----------------------------.
// | T | Q | W | E | R | | Y | U | I | O | P |
// |Shift| A | S | D | F | | H | J | K | L | ; |
// | Ctrl| Z | X | C | V H | | N | M | , | . | / |
// | Ctrl| Z | X | C | V | | N | M | , | . | / |
// `-----------------| OVL |Space| | Spc |QWRTY|-----------------'
bindings = <
&kp T &kp Q &kp W &kp E &kp R &qkp Y &qkp U &qkp I &qkp O &qkp P
&kp LSHIFT &kp A &kp S &kp D &tdf &qkp H &qkp J &qkp K &qkp L &qkp SEMI
&kp LCTRL &kp Z &kp X &kp C &tdvh &qkp N &qkp M &qkp COMMA &qkp DOT &qkp FSLH
&kp LSHIFT &kp A &kp S &kp D &kp F &qkp H &qkp J &qkp K &qkp L &qkp SEMI
&kp LCTRL &kp Z &kp X &kp C &kp V &qkp N &qkp M &qkp COMMA &qkp DOT &qkp FSLH
&mo OVERLAY &kp SPACE &qkp SPACE &to QWERTY
>;
display-name = "F A C";
Expand Down Expand Up @@ -133,20 +133,6 @@ behaviors {
quick-tap-ms = <200>;
retro-tap;
};
// Tap once for V, twice for H: flipping of entities and ghosts.
tdvh: tap_dance_v_h {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <300>;
bindings = <&kp V>, <&kp H>;
};
// Tap once for tapping F, twice to lock it in: pick up items.
tdf: tap_dance_f_lock {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <300>;
bindings = <&kp F>, <&kt F>;
};
}; // end behaviors

macros {
Expand Down
7 changes: 7 additions & 0 deletions config/glam-factorio-combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
bindings = <&kp O>;
layers = <FACTORY>;
};
// Vertical combo index finger middle and bottom rows for toggle-F: pick up stuff.
combo_index_toggle_pickup {
timeout-ms = <50>;
key-positions = <LM1 LB1>;
bindings = <&kt F>;
layers = <FACTORY>;
};
// Vertical combo mid-inner + bot-inner for P: production statistics.
combo_inner_production {
timeout-ms = <50>;
Expand Down

0 comments on commit b352e29

Please sign in to comment.