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

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

@ -1346,6 +1346,8 @@ Udo Richter <udo_richter@gmx.de>
no longer exists no longer exists
for reporting a missing check against MAXOSDAREAS in cOsd::CanHandleAreas() for reporting a missing check against MAXOSDAREAS in cOsd::CanHandleAreas()
for making the Makefile report a summary of failed plugins for making the Makefile report a summary of failed plugins
for reporting a problem with the new handling of k_Repeat keypresses in channel
switching
Sven Kreiensen <svenk@kammer.uni-hannover.de> Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date for his help in keeping 'channels.conf.terr' up to date

View File

@ -4248,3 +4248,6 @@ Video Disk Recorder Revision History
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed channel switching with the Down (Up) key in case the current channel is - Fixed channel switching with the Down (Up) key in case the current channel is
already the first (last) in the list (reported by Frank Krömmelbein). already the first (last) in the list (reported by Frank Krömmelbein).
- Increased the timeout in cInterface::GetKey() to avoid problems with remote
controls that don't deliver "repeat" keypresses very fast (problem with the new
handling of k_Repeat keypresses in channel switching reported by Udo Richter).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "interface.h"
@ -37,7 +37,7 @@ eKeys cInterface::GetKey(bool Wait)
if (SVDRP->Process()) if (SVDRP->Process())
Wait = false; Wait = false;
} }
return cRemote::Get(Wait ? 1000 : 10); return cRemote::Get(Wait ? 1000 : 100);
} }
eKeys cInterface::Wait(int Seconds, bool KeepChar) eKeys cInterface::Wait(int Seconds, bool KeepChar)