[1.3.40] Fast channel switching resets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux