From 20019e7ce51b9e14ce28f96b263b76e6becd4184 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 15 Jul 2000 12:39:20 +0200 Subject: Added support for LIRC remote control --- vdr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index bcda4711..4c1dce0a 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.19 2000/05/27 15:38:35 kls Exp $ + * $Id: vdr.c 1.20 2000/07/15 11:45:05 kls Exp $ */ #include @@ -33,7 +33,7 @@ #include "recording.h" #include "tools.h" -#ifdef DEBUG_REMOTE +#ifdef REMOTE_KBD #define KEYS_CONF "keys-pc.conf" #else #define KEYS_CONF "keys.conf" @@ -58,8 +58,10 @@ int main(int argc, char *argv[]) Channels.Load("channels.conf"); Timers.Load("timers.conf"); +#ifndef REMOTE_LIRC if (!Keys.Load(KEYS_CONF)) Interface.LearnKeys(); +#endif Interface.Init(); cChannel::SwitchTo(CurrentChannel); -- cgit v1.2.3