mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
New options 'Setup/Miscellaneous/Remote control repeat delay' and 'Setup/Miscellaneous/Remote control repeat delta'
This commit is contained in:
parent
1bad5d1e6f
commit
b16437e784
8
HISTORY
8
HISTORY
@ -7562,3 +7562,11 @@ Video Disk Recorder Revision History
|
||||
- Added some notes about plugin Makefiles to PLUGINS.html.
|
||||
- Avoiding an extra key press event if the repeat function kicks in when controlling
|
||||
VDR via the PC keyboard.
|
||||
- The new options "Setup/Miscellaneous/Remote control repeat delay" and
|
||||
"Setup/Miscellaneous/Remote control repeat delta" can be used to adjust the
|
||||
behavior of the remote control in case a key is held pressed down for a while, so
|
||||
that the repeat function kicks in (see MANUAL).
|
||||
The builtin LIRC and KBD remote controls already use these parameters. It is
|
||||
recommended that plugins that implement an interface to any kind of remote controls
|
||||
also use the parameters Setup.RcRepeatDelay and Setup.RcRepeatDelta for the desired
|
||||
purpose, and remove any setup options they might have that serve the same purpose.
|
||||
|
12
MANUAL
12
MANUAL
@ -926,6 +926,18 @@ Version 1.6
|
||||
key. Note that the total maximum is also limited by
|
||||
the "OSD/Channel info time" parameter.
|
||||
|
||||
Remote control repeat delay = 300
|
||||
The earliest time (in milliseconds) after which the repeat
|
||||
function of the remote control kicks in if a key is held
|
||||
pressed down for a while. If the remote control in use
|
||||
has a repeat delay that is longer than that given in this
|
||||
parameter, that longer delay will prevail.
|
||||
Remote control repeat delta = 100
|
||||
The time (in milliseconds) between two subsequent key
|
||||
presses generated by the remote control's repeat function.
|
||||
If the remote control in use has a repeat delta that is
|
||||
longer than that given in this parameter, that longer delay
|
||||
will prevail.
|
||||
Initial channel = The channel ID of the channel that shall be tuned to when
|
||||
VDR starts. Default is empty, which means that it will
|
||||
tune to the channel that was on before VDR was stopped.
|
||||
|
@ -2221,6 +2221,13 @@ Put(uint64 Code, bool Repeat = false, bool Release = false);
|
||||
</pre></td></tr></table><p>
|
||||
|
||||
The other parameters have the same meaning as in the first version of this function.
|
||||
<p>
|
||||
<modified>
|
||||
If your remote control has a repeat function that automatically repeats key events
|
||||
if a key is held pressed down for a while, your derived class should use the global
|
||||
parameters <tt>Setup.RcRepeatDelay</tt> and <tt>Setup.RcRepeatDelta</tt> to allow
|
||||
users to configure the behavior of this function.
|
||||
</modified>
|
||||
|
||||
<hr><h2><a name="Conditional Access">Conditional Access</a></h2>
|
||||
|
||||
|
@ -86,6 +86,10 @@ Plugins:
|
||||
- The plugin Makefiles now have a separate 'install' target.
|
||||
- Plugin Makefiles now use DESTDIR and the 'install' program.
|
||||
- Plugin Makefiles can now include a configuration file for compile time parameters.
|
||||
- Plugins that implement an interface to any kind of remote controls shall use the
|
||||
new parameters Setup.RcRepeatDelay and Setup.RcRepeatDelta to allow the user to
|
||||
adjust the behavior of the remote control's repeat function. They shall also
|
||||
remove any setup options they might have that serve the same purpose.
|
||||
|
||||
Skins:
|
||||
|
||||
@ -132,6 +136,10 @@ Remote control:
|
||||
- The new remote control key "Play/Pause" can be used with remote controls that don't
|
||||
have separate keys for "Play" and "Pause", but rather have a single key for both
|
||||
functions.
|
||||
- The new options "Setup/Miscellaneous/Remote control repeat delay" and
|
||||
"Setup/Miscellaneous/Remote control repeat delta" can be used to adjust the
|
||||
behavior of the remote control in case a key is held pressed down for a while, so
|
||||
that the repeat function kicks in.
|
||||
|
||||
Devices:
|
||||
|
||||
|
8
config.c
8
config.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.c 2.32 2013/01/17 14:50:51 kls Exp $
|
||||
* $Id: config.c 2.33 2013/02/02 13:44:33 kls Exp $
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
@ -408,6 +408,8 @@ cSetup::cSetup(void)
|
||||
SVDRPTimeout = 300;
|
||||
ZapTimeout = 3;
|
||||
ChannelEntryTimeout = 1000;
|
||||
RcRepeatDelay = 300;
|
||||
RcRepeatDelta = 100;
|
||||
DefaultPriority = 50;
|
||||
DefaultLifetime = MAXLIFETIME;
|
||||
PauseKeyHandling = 2;
|
||||
@ -610,6 +612,8 @@ bool cSetup::Parse(const char *Name, const char *Value)
|
||||
else if (!strcasecmp(Name, "SVDRPTimeout")) SVDRPTimeout = atoi(Value);
|
||||
else if (!strcasecmp(Name, "ZapTimeout")) ZapTimeout = atoi(Value);
|
||||
else if (!strcasecmp(Name, "ChannelEntryTimeout")) ChannelEntryTimeout= atoi(Value);
|
||||
else if (!strcasecmp(Name, "RcRepeatDelay")) RcRepeatDelay = atoi(Value);
|
||||
else if (!strcasecmp(Name, "RcRepeatDelta")) RcRepeatDelta = atoi(Value);
|
||||
else if (!strcasecmp(Name, "DefaultPriority")) DefaultPriority = atoi(Value);
|
||||
else if (!strcasecmp(Name, "DefaultLifetime")) DefaultLifetime = atoi(Value);
|
||||
else if (!strcasecmp(Name, "PauseKeyHandling")) PauseKeyHandling = atoi(Value);
|
||||
@ -716,6 +720,8 @@ bool cSetup::Save(void)
|
||||
Store("SVDRPTimeout", SVDRPTimeout);
|
||||
Store("ZapTimeout", ZapTimeout);
|
||||
Store("ChannelEntryTimeout",ChannelEntryTimeout);
|
||||
Store("RcRepeatDelay", RcRepeatDelay);
|
||||
Store("RcRepeatDelta", RcRepeatDelta);
|
||||
Store("DefaultPriority", DefaultPriority);
|
||||
Store("DefaultLifetime", DefaultLifetime);
|
||||
Store("PauseKeyHandling", PauseKeyHandling);
|
||||
|
4
config.h
4
config.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.h 2.62 2013/02/01 12:00:35 kls Exp $
|
||||
* $Id: config.h 2.63 2013/02/02 13:45:19 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
@ -280,6 +280,8 @@ public:
|
||||
int SVDRPTimeout;
|
||||
int ZapTimeout;
|
||||
int ChannelEntryTimeout;
|
||||
int RcRepeatDelay;
|
||||
int RcRepeatDelta;
|
||||
int DefaultPriority, DefaultLifetime;
|
||||
int PausePriority, PauseLifetime;
|
||||
int PauseKeyHandling;
|
||||
|
10
lirc.c
10
lirc.c
@ -6,15 +6,13 @@
|
||||
*
|
||||
* LIRC support added by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
||||
*
|
||||
* $Id: lirc.c 2.3 2013/01/31 12:13:39 kls Exp $
|
||||
* $Id: lirc.c 2.4 2013/02/03 11:23:18 kls Exp $
|
||||
*/
|
||||
|
||||
#include "lirc.h"
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#define REPEATDELAY 300 // ms
|
||||
#define REPEATFREQ 100 // ms
|
||||
#define RECONNECTDELAY 3000 // ms
|
||||
|
||||
cLircRemote::cLircRemote(const char *DeviceName)
|
||||
@ -98,7 +96,7 @@ void cLircRemote::Action(void)
|
||||
int Delta = ThisTime.Elapsed(); // the time between two subsequent LIRC events
|
||||
ThisTime.Set();
|
||||
if (count == 0) {
|
||||
if (strcmp(KeyName, LastKeyName) == 0 && FirstTime.Elapsed() < REPEATDELAY)
|
||||
if (strcmp(KeyName, LastKeyName) == 0 && FirstTime.Elapsed() < (uint)Setup.RcRepeatDelay)
|
||||
continue; // skip keys coming in too fast
|
||||
if (repeat)
|
||||
Put(LastKeyName, false, true);
|
||||
@ -108,9 +106,9 @@ void cLircRemote::Action(void)
|
||||
FirstTime.Set();
|
||||
timeout = -1;
|
||||
}
|
||||
else if (FirstTime.Elapsed() < REPEATDELAY)
|
||||
else if (FirstTime.Elapsed() < (uint)Setup.RcRepeatDelay)
|
||||
continue; // repeat function kicks in after a short delay
|
||||
else if (LastTime.Elapsed() < REPEATFREQ)
|
||||
else if (LastTime.Elapsed() < (uint)Setup.RcRepeatDelta)
|
||||
continue; // skip same keys coming in too fast
|
||||
else {
|
||||
repeat = true;
|
||||
|
4
menu.c
4
menu.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: menu.c 2.75 2013/02/01 12:00:10 kls Exp $
|
||||
* $Id: menu.c 2.76 2013/02/02 14:00:39 kls Exp $
|
||||
*/
|
||||
|
||||
#include "menu.h"
|
||||
@ -3186,6 +3186,8 @@ cMenuSetupMisc::cMenuSetupMisc(void)
|
||||
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$SVDRP timeout (s)"), &data.SVDRPTimeout));
|
||||
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Zap timeout (s)"), &data.ZapTimeout));
|
||||
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Channel entry timeout (ms)"), &data.ChannelEntryTimeout, 0));
|
||||
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Remote control repeat delay (ms)"), &data.RcRepeatDelay, 0));
|
||||
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Remote control repeat delta (ms)"), &data.RcRepeatDelta, 0));
|
||||
Add(new cMenuEditChanItem(tr("Setup.Miscellaneous$Initial channel"), &data.InitialChannel, tr("Setup.Miscellaneous$as before")));
|
||||
Add(new cMenuEditIntItem( tr("Setup.Miscellaneous$Initial volume"), &data.InitialVolume, -1, 255, tr("Setup.Miscellaneous$as before")));
|
||||
Add(new cMenuEditBoolItem(tr("Setup.Miscellaneous$Channels wrap"), &data.ChannelsWrap));
|
||||
|
8
po/ar.po
8
po/ar.po
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-10-16 11:16-0400\n"
|
||||
"Last-Translator: Osama Alrawab <alrawab@hotmail.com>\n"
|
||||
"Language-Team: Arabic <ar@li.org>\n"
|
||||
@ -1154,6 +1154,12 @@ msgstr ""
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "مدة انتهاء مدخلات القناة بالدقيقة"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "القناة الاساسية"
|
||||
|
||||
|
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-03-02 19:02+0100\n"
|
||||
"Last-Translator: Luca Olivetti <luca@ventoso.org>\n"
|
||||
"Language-Team: Catalan <vdr@linuxtv.org>\n"
|
||||
@ -1131,6 +1131,12 @@ msgstr "Temps d'espera Zap (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Temps d'introducció canal (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Canal inicial"
|
||||
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.14\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2010-05-06 11:00+0200\n"
|
||||
"Last-Translator: Radek Šťastný <dedkus@gmail.com>\n"
|
||||
"Language-Team: Czech <vdr@linuxtv.org>\n"
|
||||
@ -1130,6 +1130,12 @@ msgstr "Časový limit Zap (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Prodleva při volbě kanálu (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanál po spuštění"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
|
||||
"Last-Translator: Mogens Elneff <mogens@elneff.dk>\n"
|
||||
"Language-Team: Danish <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "Zap timeout (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Kanal adgang timeout (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanal ved opstart"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2010-01-16 16:46+0100\n"
|
||||
"Last-Translator: Klaus Schmidinger <kls@tvdr.de>\n"
|
||||
"Language-Team: German <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "Mindestzeit f
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Zeitlimit für Kanaleingabe (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr "Fernbedienung Wiederholverzögerung (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr "Fernbedienung Wiederholintervall (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanal beim Einschalten"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
|
||||
"Last-Translator: Dimitrios Dimitrakos <mail@dimitrios.de>\n"
|
||||
"Language-Team: Greek <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-03-02 19:02+0100\n"
|
||||
"Last-Translator: Luca Olivetti <luca@ventoso.org>\n"
|
||||
"Language-Team: Spanish <vdr@linuxtv.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr "Considerar canal como visto (sg)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Tiempo introducción canal (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Canal inicial"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
|
||||
"Last-Translator: Arthur Konovalov <artlov@gmail.com>\n"
|
||||
"Language-Team: Estonian <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "Kanalivahetuse ooteaeg (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Kanali sisestamise ajalimiit (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanal käivitamisel"
|
||||
|
||||
|
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2007-08-15 15:52+0200\n"
|
||||
"Last-Translator: Rolf Ahrenberg <rahrenbe@cc.hut.fi>\n"
|
||||
"Language-Team: Finnish <vdr@linuxtv.org>\n"
|
||||
@ -1131,6 +1131,12 @@ msgstr "Kanavavalinnan odotusaika (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Kanavasyötteen odotusaika (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanava käynnistettäessä"
|
||||
|
||||
|
@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-02-27 18:14+0100\n"
|
||||
"Last-Translator: Jean-Claude Repetto <jc@repetto.org>\n"
|
||||
"Language-Team: French <vdr@linuxtv.org>\n"
|
||||
@ -1134,6 +1134,12 @@ msgstr "Prise en compte cha
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Entrée chaîne timeout (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Chaîne initiale"
|
||||
|
||||
|
@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-03-17 19:00+0100\n"
|
||||
"Last-Translator: Adrian Caval <anrxc@sysphere.org>\n"
|
||||
"Language-Team: Croatian <vdr@linuxtv.org>\n"
|
||||
@ -1130,6 +1130,12 @@ msgstr "Zap istje
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Upis kanala istjeèe (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Poèetni kanal"
|
||||
|
||||
|
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2012-01-02 11:54+0200\n"
|
||||
"Last-Translator: István Füley <ifuley@tigercomp.ro>\n"
|
||||
"Language-Team: Hungarian <vdr@linuxtv.org>\n"
|
||||
@ -1132,6 +1132,12 @@ msgstr "Ad
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Csatornaváltás timeout (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Csatorna induláskor"
|
||||
|
||||
|
@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2012-12-22 19:00+0100\n"
|
||||
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
|
||||
"Language-Team: Italian <vdr@linuxtv.org>\n"
|
||||
@ -1135,6 +1135,12 @@ msgstr "Scadenza Zapping (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Scadenza voce canale (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Canale iniziale"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.16\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2010-10-30 11:55+0200\n"
|
||||
"Last-Translator: Valdemaras Pipiras <varas@ambernet.lt>\n"
|
||||
"Language-Team: Lithuanian <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "Kanalo perjungimo užlaikymas (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Užlaikymas (ms) kanalo įvedimui"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanalas įjungimo metu"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR-1.7.14\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2012-11-19 15:18+0100\n"
|
||||
"Last-Translator: Dimitar Petrovski <dimeptr@gmail.com>\n"
|
||||
"Language-Team: Macedonian <en@li.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr "Зап тајмаут (сек)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Тајмаут за внес на канал (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Почетен канал"
|
||||
|
||||
|
@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-02-26 17:20+0100\n"
|
||||
"Last-Translator: Johan Schuring <johan.schuring@vetteblei.nl>\n"
|
||||
"Language-Team: Dutch <vdr@linuxtv.org>\n"
|
||||
@ -1132,6 +1132,12 @@ msgstr "Zap timeout (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Tijdsduur kanaalinvoer (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Opstartkanaal"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
|
||||
"Last-Translator: Truls Slevigen <truls@slevigen.no>\n"
|
||||
"Language-Team: Norwegian Nynorsk <vdr@linuxtv.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr ""
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-03-09 12:59+0100\n"
|
||||
"Last-Translator: Michael Rakowski <mrak@gmx.de>\n"
|
||||
"Language-Team: Polish <vdr@linuxtv.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr "Czas oczekiwania na zap (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Min±³ czas wej¶cia do kana³u"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Pocz±tkowy kana³"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.15\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2010-03-28 22:49+0100\n"
|
||||
"Last-Translator: Cris Silva <hudokkow@gmail.com>\n"
|
||||
"Language-Team: Portuguese <vdr@linuxtv.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr "Tempo de espera entre mudan
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Tempo de espera ao mudar de canal (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Canal inicial"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2012-11-05 01:28+0100\n"
|
||||
"Last-Translator: Lucian Muresan <lucianm@users.sourceforge.net>\n"
|
||||
"Language-Team: Romanian <vdr@linuxtv.org>\n"
|
||||
@ -1131,6 +1131,12 @@ msgstr "Interval zapping (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Timeout la introducerea canalului (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Canalul de pornire"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-12-15 14:37+0100\n"
|
||||
"Last-Translator: Oleg Roitburd <oleg@roitburd.de>\n"
|
||||
"Language-Team: Russian <vdr@linuxtv.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr "
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "¿àÕÔÕÛ ÒàÕÜÕÝØ ÔÛï ÒÒÞÔÐ ÚÐÝÐÛÐ (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "ºÐÝÐÛ ßàØ ÒÚÛîçÕÝØØ"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.16\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2013-01-29 22:39+0100\n"
|
||||
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
|
||||
"Language-Team: Slovak <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "pam
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "limit pri voµbe kanála (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanál po spustení"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-02-28 19:44+0100\n"
|
||||
"Last-Translator: Matjaz Thaler <matjaz.thaler@guest.arnes.si>\n"
|
||||
"Language-Team: Slovenian <vdr@linuxtv.org>\n"
|
||||
@ -1129,6 +1129,12 @@ msgstr "
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Timeout za vnos kanala (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Privzeti kanal"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.1\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2011-01-09 15:57+0100\n"
|
||||
"Last-Translator: Milan Cvijanoviæ <elcom_cvijo@hotmail.com>\n"
|
||||
"Language-Team: Serbian <vdr@linuxtv.org>\n"
|
||||
@ -1151,6 +1151,12 @@ msgstr "Zap isti
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Upis kanala istièe (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Poèetni kanal"
|
||||
|
||||
|
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-03-12 18:25+0100\n"
|
||||
"Last-Translator: Magnus Andersson <svankan@bahnhof.se>\n"
|
||||
"Language-Team: Swedish <vdr@linuxtv.org>\n"
|
||||
@ -1131,6 +1131,12 @@ msgstr "Zap timeout(s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Timeout kanal (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Kanal vid uppstart"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2008-02-28 00:33+0100\n"
|
||||
"Last-Translator: Oktay Yolgeçen <oktay_73@yahoo.de>\n"
|
||||
"Language-Team: Turkish <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "Zaping zaman a
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Kanal giriþ zaman aþýmý (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Açýlýþdaki kanal"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.7.7\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2010-04-25 16:35+0200\n"
|
||||
"Last-Translator: Yarema aka Knedlyk <yupadmin@gmail.com>\n"
|
||||
"Language-Team: Ukrainian <vdr@linuxtv.org>\n"
|
||||
@ -1128,6 +1128,12 @@ msgstr "Затримка переключання каналу (сек)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "Затримка часу для впровадження каналу (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "Канал при включенні"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: VDR 1.6.0\n"
|
||||
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
|
||||
"POT-Creation-Date: 2012-12-07 14:59+0100\n"
|
||||
"POT-Creation-Date: 2013-02-03 16:46+0100\n"
|
||||
"PO-Revision-Date: 2009-09-23 23:50+0800\n"
|
||||
"Last-Translator: Nan Feng <nfgx@21cn.com>\n"
|
||||
"Language-Team: Chinese (simplified) <vdr@linuxtv.org>\n"
|
||||
@ -1131,6 +1131,12 @@ msgstr "Zap 超时 (s)"
|
||||
msgid "Setup.Miscellaneous$Channel entry timeout (ms)"
|
||||
msgstr "频道进入超时 (ms)"
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delay (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Remote control repeat delta (ms)"
|
||||
msgstr ""
|
||||
|
||||
msgid "Setup.Miscellaneous$Initial channel"
|
||||
msgstr "初始频道"
|
||||
|
||||
|
11
remote.c
11
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 2.7 2013/02/02 12:44:33 kls Exp $
|
||||
* $Id: remote.c 2.8 2013/02/03 15:44:55 kls Exp $
|
||||
*/
|
||||
|
||||
#include "remote.h"
|
||||
@ -364,6 +364,8 @@ uint64_t cKbdRemote::ReadKeySequence(void)
|
||||
|
||||
void cKbdRemote::Action(void)
|
||||
{
|
||||
cTimeMs FirstTime;
|
||||
cTimeMs LastTime;
|
||||
uint64_t FirstCommand = 0;
|
||||
uint64_t LastCommand = 0;
|
||||
bool Delayed = false;
|
||||
@ -377,8 +379,13 @@ void cKbdRemote::Action(void)
|
||||
// timeout, this is a long key press that caused the repeat function to kick in:
|
||||
Delayed = false;
|
||||
FirstCommand = 0;
|
||||
if (FirstTime.Elapsed() < (uint)Setup.RcRepeatDelay)
|
||||
continue; // repeat function kicks in after a short delay
|
||||
if (LastTime.Elapsed() < (uint)Setup.RcRepeatDelta)
|
||||
continue; // skip same keys coming in too fast
|
||||
PutKey(Command, true);
|
||||
Repeat = true;
|
||||
LastTime.Set();
|
||||
}
|
||||
else if (Command == FirstCommand) {
|
||||
// If the same command comes in twice with an intermediate timeout, we
|
||||
@ -391,6 +398,7 @@ void cKbdRemote::Action(void)
|
||||
PutKey(Command);
|
||||
Delayed = false;
|
||||
FirstCommand = Command;
|
||||
FirstTime.Set();
|
||||
}
|
||||
}
|
||||
else if (Repeat) {
|
||||
@ -404,6 +412,7 @@ void cKbdRemote::Action(void)
|
||||
PutKey(FirstCommand);
|
||||
Delayed = false;
|
||||
FirstCommand = 0;
|
||||
FirstTime.Set();
|
||||
}
|
||||
LastCommand = Command;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user