Skip to content

Commit 787177a

Browse files
committed
trying new tap hold behavior on end pinky keys
1 parent fcf84af commit 787177a

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

changes_to_make.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Desired changes
22

3-
3+
- The layer hold behavior of my two tap dance keys requires a delay before the layer hold takes effect. I would like it to be more responive to the layer hold behavior if another key is pressed and released while the tap dance key is held down (maybe this is because the tap dance behavior takes precedence over the 'prefer hold' behavior of the layer hold)
44

55
# Changes that have been implemented but need more time testing
66

config/totem.keymap

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,34 @@
5353
compatible = "zmk,behavior-tap-dance";
5454
#binding-cells = <0>;
5555
tapping-term-ms = <200>;
56-
bindings = <&lt 1 HOME>, <&tog 1>, <&tog 2>;
56+
bindings = <&kp HOME>, <&tog 1>, <&tog 2>;
5757
};
5858

5959
tdr: tap_dance_right {
6060
compatible = "zmk,behavior-tap-dance";
6161
#binding-cells = <0>;
6262
tapping-term-ms = <200>;
63-
bindings = <&lt 2 END>, <&caps_word>, <&tog 5>;
63+
bindings = <&kp END>, <&caps_word>, <&tog 3>;
64+
};
65+
66+
htdl: holdlayer_tapdance_left {
67+
compatible = "zmk,behavior-hold-tap";
68+
label = "HTDL";
69+
bindings = <&mo>, <&tdl>;
70+
71+
#binding-cells = <2>;
72+
tapping-term-ms = <200>;
73+
hold-while-undecided;
74+
};
75+
76+
htdr: holdlayer_tapdance_right {
77+
compatible = "zmk,behavior-hold-tap";
78+
label = "HTDR";
79+
bindings = <&mo>, <&tdr>;
80+
81+
#binding-cells = <2>;
82+
hold-while-undecided;
83+
tapping-term-ms = <200>;
6484
};
6585
};
6686

@@ -121,10 +141,10 @@
121141
Base {
122142
display-name = "Base";
123143
bindings = <
124-
&kp B &kp Y &kp O &kp U &kp APOSTROPHE &kp SEMICOLON &kp L &kp D &kp W &kp V
125-
&hm LGUI C &hm LALT I &hm LCTRL E &hm LSHIFT A &kp COMMA &kp PERIOD &hm RSHIFT H &hm RCTRL T &hm LEFT_ALT S &hm LEFT_GUI N
126-
&tdl &kp G &kp X &kp J &kp K &kp Q &kp Z &kp R &kp M &kp F &kp P &tdr
127-
&kp ESC &kp BACKSPACE &kp DELETE &kp ENTER &kp SPACE &kp TAB
144+
&kp B &kp Y &kp O &kp U &kp APOSTROPHE &kp SEMICOLON &kp L &kp D &kp W &kp V
145+
&hm LGUI C &hm LALT I &hm LCTRL E &hm LSHIFT A &kp COMMA &kp PERIOD &hm RSHIFT H &hm RCTRL T &hm LEFT_ALT S &hm LEFT_GUI N
146+
&htdl 1 0 &kp G &kp X &kp J &kp K &kp Q &kp Z &kp R &kp M &kp F &kp P &htdr 2 0
147+
&kp ESC &kp BACKSPACE &kp DELETE &kp ENTER &kp SPACE &kp TAB
128148
>;
129149
};
130150

0 commit comments

Comments
 (0)