Hold taps are now working perfectly!

This commit is contained in:
Andrew Rae 2022-03-25 17:09:56 -04:00
parent ce42da4e89
commit 82ab217402
2 changed files with 15 additions and 18 deletions

View file

@ -55,7 +55,7 @@
COMBO(caps_word_left, &caps_word, 22 23, 60) COMBO(caps_word_left, &caps_word, 22 23, 60)
COMBO(colon, &kp COLON, 7 8, 60) COMBO(colon, &kp COLON, 7 8, 60)
COMBO(semicolon, &kp SEMI, 2 3, 60) COMBO(semicolon, &kp SEMI, 27 28, 60)
COMBO(slash, &kp FSLH, 1 2, 60) COMBO(slash, &kp FSLH, 1 2, 60)
COMBO(underscore, &kp UNDER, 31 32, 100) COMBO(underscore, &kp UNDER, 31 32, 100)
@ -75,9 +75,11 @@
#binding-cells = <2>; #binding-cells = <2>;
flavor = "tap-preferred"; flavor = "tap-preferred";
tapping-term-ms = <200>; tapping-term-ms = <200>;
quick-tap-ms = <200>; quick-tap-ms = <100>;
global-quick-tap;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;
// hold-trigger-key-positions = <18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35>; // hold-trigger-key-positions = <5 6 7 8 9 15 16 17 18 19 25 26 27 28 29 30 31 32 33 34 35>;
hold-trigger-key-positions = <5 6 7 8 9 10 11 12 13 15 16 17 18 19 25 26 27 28 29 30 31 32 33 34 35>;
}; };
rhm: right_hand_positional_hold_tap { rhm: right_hand_positional_hold_tap {
@ -86,9 +88,11 @@
#binding-cells = <2>; #binding-cells = <2>;
flavor = "tap-preferred"; flavor = "tap-preferred";
tapping-term-ms = <200>; tapping-term-ms = <200>;
quick-tap-ms = <300>; quick-tap-ms = <100>;
global-quick-tap;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;
// hold-trigger-key-positions = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17>; // hold-trigger-key-positions = <0 1 2 3 4 10 11 12 13 14 20 21 22 23 24 30 31 32 33 34 35>;
hold-trigger-key-positions = <0 1 2 3 4 10 11 12 13 14 16 17 18 19 20 21 22 23 24 30 31 32 33 34 35>;
}; };
base_lt: base_layer_hold_tap { base_lt: base_layer_hold_tap {
@ -97,20 +101,11 @@
#binding-cells = <2>; #binding-cells = <2>;
flavor = "tap-preferred"; flavor = "tap-preferred";
tapping-term-ms = <200>; tapping-term-ms = <200>;
quick-tap-ms = <300>; quick-tap-ms = <50>;
global-quick-tap;
bindings = <&mo>, <&kp>; bindings = <&mo>, <&kp>;
}; };
// rpt_lt: repeat_hold_tap {
// compatible = "zmk,behavior-hold-tap";
// label = "REPEAT_HOLD_TAP";
// #binding-cells = <2>;
// flavor = "tap-preferred";
// tapping-term-ms = <200>;
// quick-tap-ms = <300>;
// bindings = <&mo>, <&key_repeat>;
// };
}; };
keymap { keymap {

View file

@ -2,10 +2,12 @@ manifest:
remotes: remotes:
- name: zmkfirmware - name: zmkfirmware
url-base: https://github.com/zmkfirmware url-base: https://github.com/zmkfirmware
- name: ajrae
url-base: https://github.com/ajrae
projects: projects:
- name: zmk - name: zmk
remote: zmkfirmware remote: ajrae
revision: main revision: global-quick-tap
import: app/west.yml import: app/west.yml
self: self:
path: config path: config