Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ilham-agustiawan committed Dec 24, 2024
1 parent 114f4c8 commit 03506b9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* QMK */

// Tap-hold configuration for home row mods.
#define TAPPING_TERM 150
#define TAPPING_TERM 140
#define PERMISSIVE_HOLD
#define TAPPING_TERM_PER_KEY
#define TAPPING_FORCE_HOLD_PER_KEY
// #define TAPPING_TERM_PER_KEY
// #define TAPPING_FORCE_HOLD_PER_KEY
#define QUICK_TAP_TERM 0
#define QUICK_TAP_TERM_PER_KEY

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,13 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
// Middle fingers
case QHOME_C:
case QHOME_COMM:
return TAPPING_TERM - 20;
case QHOME_SCLN:
return TAPPING_TERM - 30;

// Index fingers
case QHOME_V:
case QHOME_M:
return TAPPING_TERM - 20;
return TAPPING_TERM - 30;

default:
return TAPPING_TERM;
Expand Down Expand Up @@ -211,8 +212,18 @@ uint16_t achordion_streak_chord_timeout(
return 0;
}
break;
case QHOME_SCLN:
if (next_keycode == KC_C || next_keycode == KC_V) {
return 0;
}
break;
case QHOME_Z:
if (next_keycode == KC_SPC) {
return 0;
}
break;
case QHOME_C:
if (next_keycode == QHOME_N) {
if (next_keycode == QHOME_N || next_keycode == KC_P) {
return 0;
}
break;
Expand All @@ -223,7 +234,7 @@ uint16_t achordion_streak_chord_timeout(
if ((mod & MOD_LSFT) != 0) {
return 100; // A short streak timeout for Shift mod-tap keys.
} else {
return 220; // A longer timeout otherwise.
return 180; // A longer timeout otherwise.
}
}

Expand Down

0 comments on commit 03506b9

Please sign in to comment.