mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling unknown codes when learning LIRC remote control codes
This commit is contained in:
parent
ae7103e984
commit
81bd99a674
@ -563,6 +563,8 @@ Helmut Auer <vdr@helmutauer.de>
|
||||
there are too many levels of symbolic links
|
||||
for reporting that an attempt to call a plugin's main menu function while a
|
||||
message is being displayed didn't work
|
||||
for reporting a problem with the "Press any key on the RC unit" step when learning
|
||||
LIRC remote control codes
|
||||
|
||||
Jeremy Hall <jhall@UU.NET>
|
||||
for fixing an incomplete initialization of the filter parameters in eit.c
|
||||
|
4
HISTORY
4
HISTORY
@ -4688,7 +4688,7 @@ Video Disk Recorder Revision History
|
||||
- Updated the Italian OSD texts (thanks to Nino Gerbino and Antonio Ospite).
|
||||
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
||||
|
||||
2006-05-07: Version 1.4.0-1
|
||||
2006-05-12: Version 1.4.0-1
|
||||
|
||||
- Updated 'S110W' in 'sources.conf'.
|
||||
- Adjusted the 'runvdr' script so that the user can fill in the functions to
|
||||
@ -4708,3 +4708,5 @@ Video Disk Recorder Revision History
|
||||
- If VPS timers are active, their events are now being kept up to date if there
|
||||
are any free devices available.
|
||||
- Fixed the character #207 in fontosd for iso8859-2 (thanks to Vladimír Bárta).
|
||||
- Fixed handling unknown codes when learning LIRC remote control codes (reported
|
||||
by Helmut Auer).
|
||||
|
8
remote.c
8
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 1.50 2006/04/17 08:58:28 kls Exp $
|
||||
* $Id: remote.c 1.51 2006/05/12 12:40:15 kls Exp $
|
||||
*/
|
||||
|
||||
#include "remote.h"
|
||||
@ -182,11 +182,11 @@ eKeys cRemote::Get(int WaitMs, char **UnknownCode)
|
||||
repeatTimeout.Set(REPEATTIMEOUT);
|
||||
return k;
|
||||
}
|
||||
else if (!WaitMs || !keyPressed.TimedWait(mutex, WaitMs) && repeatTimeout.TimedOut()) {
|
||||
if (learning && UnknownCode) {
|
||||
else if (!WaitMs || !keyPressed.TimedWait(mutex, WaitMs) && repeatTimeout.TimedOut())
|
||||
return kNone;
|
||||
else if (learning && UnknownCode && unknownCode) {
|
||||
*UnknownCode = unknownCode;
|
||||
unknownCode = NULL;
|
||||
}
|
||||
return kNone;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user