diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-02-15 12:45:48 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-02-15 12:45:48 +0100 |
commit | 058177d24c3c3b77e9e59975c82a0cdf5568c04f (patch) | |
tree | 8a0abf7032eba9c48ecef41fe85e415d892e77ac /remote.c | |
parent | 1ae32cdd6f304fdd5758c51614c8da87ff0abb6e (diff) | |
download | vdr-058177d24c3c3b77e9e59975c82a0cdf5568c04f.tar.gz vdr-058177d24c3c3b77e9e59975c82a0cdf5568c04f.tar.bz2 |
Fixed learning keyboard remote control codes
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |