mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed learning keyboard remote control codes
This commit is contained in:
parent
8b2f500d2a
commit
0238234c52
@ -2888,6 +2888,7 @@ Lars Hanisch <dvb@flensrocker.de>
|
|||||||
for making the Recordings menu able to be called with a cRecordingFilter, which allows
|
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
|
the caller to have it display only a certain subset of the recordings
|
||||||
for adding handling UTF-8 'umlaut' characters to cKbdRemote
|
for adding handling UTF-8 'umlaut' characters to cKbdRemote
|
||||||
|
for fixing learning keyboard remote control codes
|
||||||
|
|
||||||
Alex Lasnier <alex@fepg.org>
|
Alex Lasnier <alex@fepg.org>
|
||||||
for adding tuning support for ATSC devices
|
for adding tuning support for ATSC devices
|
||||||
|
3
HISTORY
3
HISTORY
@ -8170,7 +8170,7 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed a superfluous call to the skin's SetRecording() function after renaming a
|
- Fixed a superfluous call to the skin's SetRecording() function after renaming a
|
||||||
recording (reported by Christoph Haubrich).
|
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
|
- 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
|
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).
|
Clang 3.4.1 (suggested by Tony Houghten).
|
||||||
- Replaced the NULL pointer assignment in ~cReceiver() to force a segfault with
|
- Replaced the NULL pointer assignment in ~cReceiver() to force a segfault with
|
||||||
a call to abort() (suggested by Tony Houghten).
|
a call to abort() (suggested by Tony Houghten).
|
||||||
|
- Fixed learning keyboard remote control codes (thanks to Lars Hanisch).
|
||||||
|
4
remote.c
4
remote.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "remote.h"
|
||||||
@ -298,7 +298,7 @@ int cKbdRemote::MapCodeToFunc(uint64_t Code)
|
|||||||
|
|
||||||
void cKbdRemote::PutKey(uint64_t Code, bool Repeat, bool Release)
|
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))
|
if (int func = MapCodeToFunc(Code))
|
||||||
Put(KBDKEY(func), Repeat, Release);
|
Put(KBDKEY(func), Repeat, Release);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user