Skip to content

Commit

Permalink
Add prior idle for zz combos
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmanyar committed Apr 24, 2024
1 parent 7901409 commit 65b972a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions config/zilpzalp.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#define NUM 3
#define FUN 4

#define COMBO_IDLE 150

// Keycode defines
#define VD_NEW LC(LG(D))
#define VD_LEFT LC(LG(LEFT))
Expand Down Expand Up @@ -63,20 +65,17 @@
key-positions = <5 6 7>;
bindings = <&kp LA(BACKSPACE)>;
};
combo_capslock {
timeout-ms = <25>;
key-positions = <11 14>;
bindings = <&kp CAPSLOCK>;
};
combo_tab {
timeout-ms = <25>;
key-positions = <10 11>;
bindings = <&kp TAB>;
require-prior-idle-ms = <COMBO_IDLE>;
};
combo_return {
timeout-ms = <50>;
key-positions = <16 17>;
bindings = <&kp RET>;
require-prior-idle-ms = <COMBO_IDLE>;
};
combo_q {
timeout-ms = <35>;
Expand Down Expand Up @@ -109,18 +108,21 @@
timeout-ms = <50>;
key-positions = <8 17>;
bindings = <&kp SV_MINUS>;
require-prior-idle-ms = <COMBO_IDLE>;
};
combo_bootloader {
timeout-ms = <50>;
key-positions = <18 19 20>;
layers = <NAV>;
bindings = <&bootloader>;
require-prior-idle-ms = <COMBO_IDLE>;
};
combo_reset {
timeout-ms = <50>;
key-positions = <21 22 23>;
layers = <NUM>;
bindings = <&sys_reset>;
require-prior-idle-ms = <COMBO_IDLE>;
};
};

Expand Down

0 comments on commit 65b972a

Please sign in to comment.