fix tapping force hold to use quick tap term internally (#839)

This commit is contained in:
Jaeseok Lee
2025-01-26 07:23:56 +09:00
committed by GitHub
parent efa99ef662
commit d290a9755b
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -268,8 +268,12 @@ bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
return !(QS.tapping & 2);
}
bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record) {
return QS.tapping & 4;
uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
if (QS.tapping & 4) {
return 0;
} else {
return QS.tapping_term;
}
}
bool get_retro_tapping(uint16_t keycode, keyrecord_t *record) {