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; <<<<<<< }
Bye