diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-02-15 12:43:25 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-02-15 12:43:25 +0100 |
commit | 0238234c52eee5e7ef3642801ace30c7d5bd1a19 (patch) | |
tree | 017ec7cfb591314a3fd816b0072e57faa53fe817 | |
parent | 8b2f500d2a3180b0c038edcb81dcfb98fb6d2b7a (diff) | |
download | vdr-0238234c52eee5e7ef3642801ace30c7d5bd1a19.tar.gz vdr-0238234c52eee5e7ef3642801ace30c7d5bd1a19.tar.bz2 |
Fixed learning keyboard remote control codes
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | remote.c | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 5be8f412..7ebbdb69 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2888,6 +2888,7 @@ Lars Hanisch <dvb@flensrocker.de> for making the Recordings menu able to be called with a cRecordingFilter, which allows the caller to have it display only a certain subset of the recordings for adding handling UTF-8 'umlaut' characters to cKbdRemote + for fixing learning keyboard remote control codes Alex Lasnier <alex@fepg.org> for adding tuning support for ATSC devices @@ -8170,7 +8170,7 @@ Video Disk Recorder Revision History - Fixed a superfluous call to the skin's SetRecording() function after renaming a recording (reported by Christoph Haubrich). -2014-02-08: Version 2.1.5 +2014-02-15: Version 2.1.5 - Now checking whether the primary device actually has a decoder before retuning the current channel after a change in its parameters. This fixes broken recordings on @@ -8196,3 +8196,4 @@ Video Disk Recorder Revision History Clang 3.4.1 (suggested by Tony Houghten). - Replaced the NULL pointer assignment in ~cReceiver() to force a segfault with a call to abort() (suggested by Tony Houghten). +- Fixed learning keyboard remote control codes (thanks to Lars Hanisch). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remote.c 3.1 2013/12/25 12:45:43 kls Exp $ + * $Id: remote.c 3.2 2014/02/15 12:40:39 kls Exp $ */ #include "remote.h" @@ -298,7 +298,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); } |