Increased the timeout in cInterface::GetKey() to avoid problems with remote controls that don't deliver "repeat" keypresses very fast

This commit is contained in:
Klaus Schmidinger
2006-01-28 12:48:33 +01:00
parent 759a45d508
commit 1530b5647b
3 changed files with 7 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: interface.c 1.71 2006/01/04 15:44:19 kls Exp $
* $Id: interface.c 1.72 2006/01/28 12:44:34 kls Exp $
*/
#include "interface.h"
@@ -37,7 +37,7 @@ eKeys cInterface::GetKey(bool Wait)
if (SVDRP->Process())
Wait = false;
}
return cRemote::Get(Wait ? 1000 : 10);
return cRemote::Get(Wait ? 1000 : 100);
}
eKeys cInterface::Wait(int Seconds, bool KeepChar)