Explorar el Código

Fix tapping count over flow(issue #52)

tags/v1.9
tmk hace 11 años
padre
commit
c274cc8cdc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      common/action_tapping.c

+ 1
- 1
common/action_tapping.c Ver fichero

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

Cargando…
Cancelar
Guardar