mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling repeat function when using LIRC
This commit is contained in:
parent
cc761811ce
commit
4558fa70b1
@ -142,3 +142,4 @@ Andreas Vitting <Andreas@huji.de>
|
|||||||
|
|
||||||
Matthias Weingart <matthias@pentax.boerde.de>
|
Matthias Weingart <matthias@pentax.boerde.de>
|
||||||
for fixing handling of the volume, mute and power keys when menus are active
|
for fixing handling of the volume, mute and power keys when menus are active
|
||||||
|
for fixing the repeat function when using the LIRC remote control
|
||||||
|
1
HISTORY
1
HISTORY
@ -793,3 +793,4 @@ Video Disk Recorder Revision History
|
|||||||
files from the video directory at the same time.
|
files from the video directory at the same time.
|
||||||
- The new setup parameter SplitEditedFiles can be used to control whether or
|
- The new setup parameter SplitEditedFiles can be used to control whether or
|
||||||
not the result of an editing process shall be written into separate files.
|
not the result of an editing process shall be written into separate files.
|
||||||
|
- Fixed handling repeat function when using LIRC (thanks to Matthias Weingart).
|
||||||
|
3
remote.c
3
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.24 2001/08/12 15:07:26 kls Exp $
|
* $Id: remote.c 1.25 2001/09/30 11:39:49 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "remote.h"
|
#include "remote.h"
|
||||||
@ -451,6 +451,7 @@ void cRcIoLIRC::Action(void)
|
|||||||
if (Now - FirstTime < REPEATDELAY)
|
if (Now - FirstTime < REPEATDELAY)
|
||||||
continue; // repeat function kicks in after a short delay
|
continue; // repeat function kicks in after a short delay
|
||||||
receivedData = receivedRepeat = true;
|
receivedData = receivedRepeat = true;
|
||||||
|
receivedRelease = false;
|
||||||
}
|
}
|
||||||
LastTime = Now;
|
LastTime = Now;
|
||||||
WakeUp();
|
WakeUp();
|
||||||
|
Loading…
Reference in New Issue
Block a user