summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-15 12:45:48 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-15 12:45:48 +0100
commit058177d24c3c3b77e9e59975c82a0cdf5568c04f (patch)
tree8a0abf7032eba9c48ecef41fe85e415d892e77ac /remote.c
parent1ae32cdd6f304fdd5758c51614c8da87ff0abb6e (diff)
downloadvdr-058177d24c3c3b77e9e59975c82a0cdf5568c04f.tar.gz
vdr-058177d24c3c3b77e9e59975c82a0cdf5568c04f.tar.bz2
Fixed learning keyboard remote control codes
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote.c b/remote.c
index f3d90c96..a6e9a652 100644
--- a/remote.c
+++ b/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.8 2013/02/03 15:44:55 kls Exp $
+ * $Id: remote.c 2.8.1.1 2014/02/15 12:44:48 kls Exp $
*/
#include "remote.h"
@@ -297,7 +297,7 @@ int cKbdRemote::MapCodeToFunc(uint64_t Code)
void cKbdRemote::PutKey(uint64_t Code, bool Repeat, bool Release)
{
- if (rawMode || !Put(Code, Repeat, Release)) {
+ if (rawMode || (!Put(Code, Repeat, Release) && !IsLearning())) {
if (int func = MapCodeToFunc(Code))
Put(KBDKEY(func), Repeat, Release);
}