Mailing List archive

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

[linux-dvb] Re: Key repeat jerky with LIRC



Stefan Huelswitt wrote:
> 
> Hi,
> I found that key repeat is a bit jerky with my remote and
> sometimes repeat stops without releasing the key. I don't know if this is
> because my remote is to slow/fast or if it depends an cpu speed,
> but the following small patch improves the behaviour for me.
> 
> --- VDR-0.84.orig/remote.c      Sun Jul 22 16:43:45 2001
> +++ VDR/remote.c        Thu Jul 26 21:09:52 2001
> @@ -466,9 +466,11 @@
>              }
>           }
>        else if (receivedRepeat) { // all data has already been fetched, but the last one was a repeat, so let's generate a release
> -         receivedData = receivedRelease = true;
> -         receivedRepeat = false;
> -         WakeUp();
> +         if (time_ms() - LastTime > REPEATDELAY) {
> +          receivedData = receivedRelease = true;
> +           receivedRepeat = false;
> +           WakeUp();
> +          }
>           }
>        }
>  }

Thanks!
I had observed that problem as well, but never found
it annoying enough to look into it.
As far as I can tell after a quick test, it's OK now.

Carsten.


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index