Skip to content

Commit

Permalink
tweak combo timing
Browse files Browse the repository at this point in the history
  • Loading branch information
patcoll committed Sep 11, 2024
1 parent 7524cb2 commit bc049d8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions users/patcoll/combos.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,29 @@
uint16_t get_combo_term(uint16_t index, combo_t *combo) {
// or with combo index, i.e. its name from enum.
switch (index) {
// Make these combos slightly easier to trigger.
//
// Do this for any combo letter combinations that may NOT be more prevalent
// in everyday typing.
case jk_combo:
return COMBO_TERM + 8;

case mk_combo:
return COMBO_TERM + 3;

// Make these combos slightly harder to trigger. In other words, you must
// trigger all keys together more quickly.
//
// Do this for any combo letter combinations that may be more prevalent in
// everyday typing.
case as_combo:
case ui_combo:
case io_combo:
case uo_combo:

case dv_combo:
case db_combo:

#ifdef PATCOLL_BIG_BAR_COMBOS
case dsspc_combo:
case ksspc_combo:
Expand All @@ -23,6 +41,12 @@ uint16_t get_combo_term(uint16_t index, combo_t *combo) {
case zsspc_combo:
#endif
return COMBO_TERM - 12;

// Make this much harder to trigger, since it's a common letter combo.
case af_combo:
case av_combo:
return COMBO_TERM - 17;

}

return COMBO_TERM;
Expand Down

0 comments on commit bc049d8

Please sign in to comment.