Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Key repeat jerky with LIRC
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();
+ }
}
}
}
--
Stefan Huelswitt
huels@iname.com | http://home.pages.de/~nathan
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index