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();
> +          }
>           }
>        }
>  }

Can other LIRC users please try this out and let me know if it works for
everybody? I don't want to break anything by adopting this change ;-)

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


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



Home | Main Index | Thread Index