mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Implemented a timeout for remote controls that don't deliver "repeat" keypresses very fast
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: interface.c 1.72 2006/01/28 12:44:34 kls Exp $
|
||||
* $Id: interface.c 1.73 2006/01/29 12:35:50 kls Exp $
|
||||
*/
|
||||
|
||||
#include "interface.h"
|
||||
@@ -37,7 +37,7 @@ eKeys cInterface::GetKey(bool Wait)
|
||||
if (SVDRP->Process())
|
||||
Wait = false;
|
||||
}
|
||||
return cRemote::Get(Wait ? 1000 : 100);
|
||||
return cRemote::Get(Wait ? 1000 : 10);
|
||||
}
|
||||
|
||||
eKeys cInterface::Wait(int Seconds, bool KeepChar)
|
||||
|
Reference in New Issue
Block a user