mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed repeat function with LIRC
This commit is contained in:
parent
7107140cbe
commit
8c28b9f74a
@ -94,3 +94,6 @@ Andre Valentin <av2000@topmail.de>
|
|||||||
|
|
||||||
Jørgen Tvedt <pjtvedt@online.no>
|
Jørgen Tvedt <pjtvedt@online.no>
|
||||||
for translating the OSD texts to the Norwegian language
|
for translating the OSD texts to the Norwegian language
|
||||||
|
|
||||||
|
Stefan Huelswitt <huels@iname.com>
|
||||||
|
for fixing the repeat function with LIRC
|
||||||
|
1
HISTORY
1
HISTORY
@ -577,3 +577,4 @@ Video Disk Recorder Revision History
|
|||||||
systems with the KURT/utime-patch (thanks to Guido Fiala).
|
systems with the KURT/utime-patch (thanks to Guido Fiala).
|
||||||
- Changed the check whether the driver is loaded in runvdr to check for the
|
- Changed the check whether the driver is loaded in runvdr to check for the
|
||||||
'dvb' module (the last one loaded).
|
'dvb' module (the last one loaded).
|
||||||
|
- Fixed repeat function with LIRC (thanks to Stefan Huelswitt).
|
||||||
|
10
remote.c
10
remote.c
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
||||||
*
|
*
|
||||||
* $Id: remote.c 1.22 2001/07/22 14:43:45 kls Exp $
|
* $Id: remote.c 1.23 2001/07/27 10:17:19 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "remote.h"
|
#include "remote.h"
|
||||||
@ -466,9 +466,11 @@ void cRcIoLIRC::Action(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (receivedRepeat) { // all data has already been fetched, but the last one was a repeat, so let's generate a release
|
else if (receivedRepeat) { // all data has already been fetched, but the last one was a repeat, so let's generate a release
|
||||||
receivedData = receivedRelease = true;
|
if (time_ms() - LastTime > REPEATDELAY) {
|
||||||
receivedRepeat = false;
|
receivedData = receivedRelease = true;
|
||||||
WakeUp();
|
receivedRepeat = false;
|
||||||
|
WakeUp();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user