Luca Olivetti wrote: > En/na Luca Olivetti ha escrit: > >>En/na Klaus Schmidinger ha escrit: >> >> >>>REPEATDELAY is the time from the first keypress until the repeat >>>function actually kicks in. I'm afraid I don't see how this would >>>have an effect here. >> >>It's also used as a timeout to detect the release: >> else { >> printf("%d\n",LastTime.Elapsed()); >> if (FirstTime.Elapsed() < REPEATDELAY) >> continue; // repeat function kicks in after a short delay >> repeat = true; >> timeout = REPEATDELAY; <<<<<<< > > > note that I added the printf here to see the time between repeats > (that's around 110ms with my remote and lirc version) So what about setting REPEATTIMEOUT in remote.c to 1000? Does that help? Klaus