Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Reference RC (was DXR3 support patch for vdr-1.1.5)



Patrick GUENEAU wrote:
> 
> Hello.
> 
> Klaus Schmidinger wrote:
> 
> > Thomas Jagoditsch wrote:
> >
> >>...
> >>as somebody else said, you have to configure lircd.conf to match vdr,
> >>which is in some situations suboptimal.
> >>
> >
> > The current implementation of the LIRC interface in VDR assumes that
> > LIRC sends names that are defined within VDR. I guess this could be
> > easily changed so that it uses a 'keys-lirc.conf' file. That would
> > allow a LIRC user to simply set up his remote with the standard LIRC
> > config file(s) and go into VDR's "Learning keys" function, just as
> > with my home-built RCU or the PC keyboard. I guess I'll make that
> > change as soon as possible.
> >
> 
> Bernhard Wager Has made a patch to enable lirc client support. It
> enables translation between VDR keywords and real Remote keys (the one
> found in /etc/lircd.conf) using a config file (something like .lircrc).
> 
> Klaus, I think you could keep using standard key names and let lirc
> client api do the job. It would also enable alternate key definition for
> the same blue,red etc function keys, as it seems to be a hot topic at
> the moment.
> 
> One step further could be to generalize svdrp commands for all VDR
> operations (something like MPlayer new input mode). '.lircrc' file would
> be used to define which command VDR should apply for each keypress.
> 
> Something like :
> 
>    begin
>     remote = REALMAGIC1
>     prog   = vdr
>     button = FFWD
>     repeat = 1
>     config = HITK <keyname> or any SVDRP command
>    end
> 
> What do you think of that ?

I know about that patch to enable VDR to use lircd.conf.
However, I'm not sure if this is the right way to go, because it
would require people to still edit config files.

If we let VDR go through its "Learning remote control keys" procedure,
all the user would have to do is to install LIRC, select his remote
control type in the LIRC setup and start VDR. VDR would see that
there is no keys-lirc.conf yet, so it would automatically enter the
learning process and ask the user to press each key VDR knows about.
I'll make it so that the user can skip keys that he doesn't want
to define.

The keys-lirc.conf file woul translate the LIRC key names to the
VDR names (just as keys.conf does for the RCU codes, or keys-pc.conf
does for the keyboard codes).

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________




Home | Main Index | Thread Index