Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VDR 0.6: Fix for PC key learning
In VDR version 0.6 the learning process for the PC keyboard
doesn't work correctly. The following patch fixes this:
--- remote.c 2000/07/15 16:34:35 1.10
+++ remote.c 2000/07/29 16:23:47
@@ -71,7 +71,11 @@
bool cRcIoKBD::InputAvailable(bool Wait)
{
timeout(Wait ? 1000 : 10);
- return true;//XXX
+ int ch = getch();
+ if (ch == ERR)
+ return false;
+ ungetch(ch);
+ return true;
}
--
_______________________________________________________________
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
_______________________________________________________________
Home |
Main Index |
Thread Index