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
[EMAIL PROTECTED] | http://home.pages.de/~nathan
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as
subject.