En/na Luca Olivetti ha escrit:
Ok, I see in lirc.c that the REPEATDELAY is 350 (used not only to start the repeat but also to detect that there's no key pressed to generate a release), changing it to 150 and using a delay of 200 in interface.c seems to solve it (but still I'm not sure it is completely reliable).
It's not reliable. Maybe, instead of just raising the delay in interface (which kinda defeats the purpose of not waiting) cDisplayChannel should remember that a key repeat is in effect and just ignore kNone until a key release or a timeout.
I just tried to do that with a quick and dirty hack (in order to avoid recompiling everything and plugins, instead of adding a boolean member I "overloaded" number) and it seems to work fine (with the original timeouts in lirc and interface).
Bye