fix tapping force hold to use quick tap term internally (#839)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user