1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Bugfix in PC keyboard learning process

This commit is contained in:
Klaus Schmidinger 2000-07-29 16:23:47 +02:00
parent 0f2099b4f2
commit 8bb3fffa5e

View File

@ -6,7 +6,7 @@
*
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
*
* $Id: remote.c 1.10 2000/07/15 16:34:35 kls Exp $
* $Id: remote.c 1.11 2000/07/29 16:23:47 kls Exp $
*/
#include "remote.h"
@ -71,7 +71,11 @@ void cRcIoKBD::Flush(int WaitSeconds)
bool cRcIoKBD::InputAvailable(bool Wait)
{
timeout(Wait ? 1000 : 10);
return true;//XXX
int ch = getch();
if (ch == ERR)
return false;
ungetch(ch);
return true;
}
bool cRcIoKBD::GetCommand(unsigned int *Command, unsigned short *)