Fix tapping count over flow(issue #52)

pull/12/head
tmk 11 years ago
parent 893ff0a799
commit c274cc8cdc

@ -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;

Loading…
Cancel
Save