mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed paging through lists with repeated Left/Right keys
This commit is contained in:
7
remote.c
7
remote.c
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: remote.c 1.36 2002/12/15 15:58:59 kls Exp $
|
||||
* $Id: remote.c 1.37 2003/05/01 14:44:55 kls Exp $
|
||||
*/
|
||||
|
||||
#include "remote.h"
|
||||
@@ -123,6 +123,11 @@ bool cRemote::Put(const char *Code, bool Repeat, bool Release)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool cRemote::HasKeys(void)
|
||||
{
|
||||
return in != out && !(keys[out] & k_Repeat);
|
||||
}
|
||||
|
||||
eKeys cRemote::Get(int WaitMs, char **UnknownCode)
|
||||
{
|
||||
for (;;) {
|
||||
|
Reference in New Issue
Block a user