Skip to content

Commit

Permalink
Move to three-finger-combos
Browse files Browse the repository at this point in the history
  • Loading branch information
englmaxi authored Jul 30, 2024
1 parent c0f4e7e commit 0614650
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions config/keymap/combos.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
key-positions = <KEYPOS>; \
layers = <LAYERS>; \
require-prior-idle-ms = <150>; \
__VA_ARGS__ \
__VA_ARGS__ \
};

#define COMBO_TERM_FAST 30
Expand All @@ -34,56 +34,56 @@
compatible = "zmk,combos";

#if defined(KEYS_30)
COMBO(prcnt, &kp DE_PRCNT, LT1 LT0, DEF, COMBO_TERM_MID)
COMBO(tilde, &kp DE_TILDE, LB1 LM0, DEF, COMBO_TERM_MID)
COMBO(prcnt, &kp DE_PRCNT, LT1 LT0 , DEF, COMBO_TERM_MID)
COMBO(tilde, &kp DE_TILDE, LB1 LM0 , DEF, COMBO_TERM_MID)

COMBO(caret, &kp DE_CARET, RT0 RT1, DEF, COMBO_TERM_MID)
COMBO(qt_grv, &qt_grv, RB1 RM0, DEF, COMBO_TERM_MID)
COMBO(caret, &kp DE_CARET, RT0 RT1 , DEF, COMBO_TERM_MID)
COMBO(qt_grv, &qt_grv, RB1 RM0 , DEF, COMBO_TERM_MID)
#elif defined(KEYS_34)
COMBO(prcnt, &kp DE_PRCNT, LT0 LM0, DEF, COMBO_TERM_FAST)
COMBO(tilde, &kp DE_TILDE, LM0 LB0, DEF, COMBO_TERM_FAST)
COMBO(prcnt, &kp DE_PRCNT, LT0 LM0 , DEF, COMBO_TERM_FAST)
COMBO(tilde, &kp DE_TILDE, LM0 LB0 , DEF, COMBO_TERM_FAST)

COMBO(caret, &kp DE_CARET, RT0 RM0, DEF, COMBO_TERM_FAST)
COMBO(qt_grv, &qt_grv, RM0 RB0, DEF, COMBO_TERM_FAST)
COMBO(caret, &kp DE_CARET, RT0 RM0 , DEF, COMBO_TERM_FAST)
COMBO(qt_grv, &qt_grv, RM0 RB0 , DEF, COMBO_TERM_FAST)
#endif

COMBO(dllr, &kp DE_DLLR, LT1 LM1, DEF, COMBO_TERM_FAST)
COMBO(hash, &kp DE_HASH, LT2 LM2, DEF, COMBO_TERM_FAST)
COMBO(at, &kp DE_AT, LT3 LM3, DEF, COMBO_TERM_FAST)
COMBO(equal, &kp DE_EQUAL, LM1 LB1, DEF, COMBO_TERM_FAST)
COMBO(bslh, &kp DE_BSLH, LM2 LB2, DEF, COMBO_TERM_FAST)
COMBO(euro, &kp DE_EURO, LM3 LB3, DEF, COMBO_TERM_FAST)
COMBO(dllr, &kp DE_DLLR, LT1 LM1 , DEF, COMBO_TERM_FAST)
COMBO(hash, &kp DE_HASH, LT2 LM2 , DEF, COMBO_TERM_FAST)
COMBO(at, &kp DE_AT, LT3 LM3 , DEF, COMBO_TERM_FAST)
COMBO(equal, &kp DE_EQUAL, LM1 LB1 , DEF, COMBO_TERM_FAST)
COMBO(bslh, &kp DE_BSLH, LM2 LB2 , DEF, COMBO_TERM_FAST)
COMBO(euro, &kp DE_EURO, LM3 LB3 , DEF, COMBO_TERM_FAST)

COMBO(plus, &kp DE_PLUS, RT1 RM1, DEF, COMBO_TERM_FAST)
COMBO(star, &kp DE_STAR, RT2 RM2, DEF, COMBO_TERM_FAST)
COMBO(amps, &kp DE_AMPS, RT3 RM3, DEF, COMBO_TERM_FAST)
COMBO(minus, &kp DE_MINUS, RM1 RB1, DEF, COMBO_TERM_FAST)
COMBO(fslh, &kp DE_FSLH, RM2 RB2, DEF, COMBO_TERM_FAST)
COMBO(pipe, &kp DE_PIPE, RM3 RB3, DEF, COMBO_TERM_FAST)
COMBO(plus, &kp DE_PLUS, RT1 RM1 , DEF, COMBO_TERM_FAST)
COMBO(star, &kp DE_STAR, RT2 RM2 , DEF, COMBO_TERM_FAST)
COMBO(amps, &kp DE_AMPS, RT3 RM3 , DEF, COMBO_TERM_FAST)
COMBO(minus, &kp DE_MINUS, RM1 RB1 , DEF, COMBO_TERM_FAST)
COMBO(fslh, &kp DE_FSLH, RM2 RB2 , DEF, COMBO_TERM_FAST)
COMBO(pipe, &kp DE_PIPE, RM3 RB3 , DEF, COMBO_TERM_FAST)

COMBO(z, &kp DE_Z, LB3 LB2, DEF, COMBO_TERM_MID)
COMBO(q, &kp Q, LT2 LT1, DEF, COMBO_TERM_MID)
COMBO(v, &kp V, LT3 LT2, DEF, COMBO_TERM_MID)
COMBO(esc, &kp ESC, LM3 LM2, DEF, COMBO_TERM_MID)
COMBO(ret, &kp RET, LM2 LM1, DEF, COMBO_TERM_MID)
COMBO(bspc, &bspc_del, LB2 LB1, DEF, COMBO_TERM_MID)
COMBO(int, &sl INT, LT3 LT1, DEF, COMBO_TERM_SLOW)
COMBO(tab, &kp TAB, LM3 LM1, DEF, COMBO_TERM_SLOW)
COMBO(z, &kp DE_Z, LB3 LB2 , DEF, COMBO_TERM_MID)
COMBO(q, &kp Q, LT2 LT1 , DEF, COMBO_TERM_MID)
COMBO(v, &kp V, LT3 LT2 , DEF, COMBO_TERM_MID)
COMBO(esc, &kp ESC, LM3 LM2 , DEF, COMBO_TERM_MID)
COMBO(ret, &kp RET, LM2 LM1 , DEF, COMBO_TERM_MID)
COMBO(bspc, &bspc_del, LB2 LB1 , DEF, COMBO_TERM_MID)
COMBO(int, &sl INT, LT3 LT2 LT1, DEF, COMBO_TERM_SLOW)
COMBO(tab, &kp TAB, LM3 LM2 LM1, DEF, COMBO_TERM_SLOW)

COMBO(qe, &qexcl, RB2 RB3, DEF, COMBO_TERM_MID)
COMBO(under, &kp DE_UNDER, RB1 RB2, DEF, COMBO_TERM_MID)
COMBO(lbrc, &lbrc_lt, RT1 RT2, DEF, COMBO_TERM_MID)
COMBO(rbrc, &rbrc_gt, RT2 RT3, DEF, COMBO_TERM_MID)
COMBO(lpar, &lpar_lbkt, RM1 RM2, DEF, COMBO_TERM_MID)
COMBO(rpar, &rpar_rbkt, RM2 RM3, DEF, COMBO_TERM_MID)
COMBO(par, &par_bkt, RM1 RM3, DEF, COMBO_TERM_SLOW)
COMBO(brc, &brc_lgt, RT1 RT3, DEF, COMBO_TERM_SLOW)
COMBO(qe, &qexcl, RB2 RB3 , DEF, COMBO_TERM_MID)
COMBO(under, &kp DE_UNDER, RB1 RB2 , DEF, COMBO_TERM_MID)
COMBO(lbrc, &lbrc_lt, RT1 RT2 , DEF, COMBO_TERM_MID)
COMBO(rbrc, &rbrc_gt, RT2 RT3 , DEF, COMBO_TERM_MID)
COMBO(lpar, &lpar_lbkt, RM1 RM2 , DEF, COMBO_TERM_MID)
COMBO(rpar, &rpar_rbkt, RM2 RM3 , DEF, COMBO_TERM_MID)
COMBO(par, &par_bkt, RM1 RM2 RM3, DEF, COMBO_TERM_SLOW)
COMBO(brc, &brc_lgt, RT1 RT2 RT3, DEF, COMBO_TERM_SLOW)

COMBO(cw, &caps_word, LM1 RM1, DEF, COMBO_TERM_SLOW)
COMBO(bl, &bootloader, LM4 RM4, FUN, COMBO_TERM_SLOW)
COMBO(f11, &kp F11, LT0 LM0, FUN, COMBO_TERM_MID)
COMBO(cw, &caps_word, LM1 RM1 , DEF, COMBO_TERM_SLOW)
COMBO(bl, &bootloader, LM4 RM4 , FUN, COMBO_TERM_SLOW)
COMBO(f11, &kp F11, LT0 LM0 , FUN, COMBO_TERM_MID)

COMBO(undo, &kp U_UND, LB3 LB2, NAV, COMBO_TERM_MID)
COMBO(redo, &kp U_RDO, LB2 LB1, NAV, COMBO_TERM_MID)
COMBO(undo, &kp U_UND, LB3 LB2 , NAV, COMBO_TERM_MID)
COMBO(redo, &kp U_RDO, LB2 LB1 , NAV, COMBO_TERM_MID)
};
};

0 comments on commit 0614650

Please sign in to comment.