Fix tapping count over flow(issue #52)
This commit is contained in:
parent
bc9f298a54
commit
6994b6d364
@ -206,7 +206,7 @@ bool process_tapping(keyrecord_t *keyp)
|
||||
if (!tapping_key.tap.interrupted && tapping_key.tap.count > 0) {
|
||||
// sequential tap.
|
||||
keyp->tap = tapping_key.tap;
|
||||
keyp->tap.count += 1;
|
||||
if (keyp->tap.count < 15) keyp->tap.count += 1;
|
||||
debug("Tapping: Tap press("); debug_dec(keyp->tap.count); debug(")\n");
|
||||
process_action(keyp);
|
||||
tapping_key = *keyp;
|
||||
|
Reference in New Issue
Block a user