Fixed handling repeat function when using LIRC

This commit is contained in:
Klaus Schmidinger 2001-09-30 11:41:24 +02:00
parent cc761811ce
commit 4558fa70b1
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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).

View File

@ -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();