Skip to content

Commit

Permalink
HRM false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
yahia-saleh committed Jan 5, 2025
1 parent 74e7756 commit e4f5da6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions config/adv360.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#define MEH LC(LS(LALT))

// reference Folke's config here https://github.com/folke/zmk-config/blob/41a45d999742f2e523b5e9bfb9791846d4d24bea/config/base.keymap#L20
// https://github.com/infused-kim/zmk-config/blob/chocofi/main/config/includes/behaviours_homerow_mods.dtsi

/ {
behaviors {
Expand Down
16 changes: 10 additions & 6 deletions config/includes/mods.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
53 \
68 69 70 \

#define HM_TAPPING_TERM 300
#define HM_TAPPING_TERM_FAST 200
#define HM_PRIOR_IDLE 200

// Changed urob's require-prior-idle-ms from 150 to 120

behaviors {
Expand All @@ -38,9 +42,9 @@ behaviors {
label = "HOMEROW_MODS_LEFT";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <150>;
tapping-term-ms = <HM_TAPPING_TERM>;
quick-tap-ms = <HM_TAPPING_TERM_FAST>; // repeat on tap-into-hold
require-prior-idle-ms = <HM_PRIOR_IDLE>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS_LEFT THUMBS_RIGHT>;
hold-trigger-on-release;
Expand All @@ -64,9 +68,9 @@ behaviors {
label = "HOMEROW_MODS_RIGHT";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
tapping-term-ms = <HM_TAPPING_TERM>;
quick-tap-ms = <HM_TAPPING_TERM_FAST>; // repeat on tap-into-hold
require-prior-idle-ms = <HM_PRIOR_IDLE>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS_LEFT THUMBS_RIGHT>;
hold-trigger-on-release;
Expand Down

0 comments on commit e4f5da6

Please sign in to comment.