Mailing List archive

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

[vdr] Re: VDR developer version 1.1.11



Klaus Schmidinger wrote:
> Oliver Endriss wrote:
> > Klaus Schmidinger wrote:
> > > VDR developer version 1.1.11 is now available at
> > > [...]
> > > - Rearranged the remote control key handling to allow plugins to
> > > implement additional types of remote controls (see PLUGINS.html,
> > > section "Remote Control"). The previously used files 'keys.conf'
> > > and 'keys-pc.conf' have been replaced by the file 'remote.conf',
> > > which holds the key definitions of all remote controls. - The
> > > LIRC remote control keys are now handled just like the keyboard
> > > and RCU keys. This means that you can use the lircd.conf file as
> > > is for your remote control, without the need of editing it to
> > > make the key names the same as used in VDR. When first starting
> > > VDR it will go into the "Learning keys" mode and ask you to press
> > > the various keys. The resulting key assignment will be stored in
> > > the file 'remote.conf'. Since I have no way of testing the LIRC
> > > support, I hope I didn't break it in the process...
> > > - While learning the remote control keys it is now possible to
> > > press the 'Menu' key to skip the definition of keys that are not
> > > available on your particular RC unit.
> >
> > LIRC key learning works fine except that it is not possible to
> > abort key learning. Pressing the down key ("press down to end key
> > definition") seems to be ignored.
>
> That's odd. The learning function is the same for all remote
> controls, and IIRC it worked fine for PC keyboard and my home-built
> RCU, so I would have expected it to work just the same with LIRC.

This will fix the bug:

----------------------------------- snip  ------------------------------------
--- vdr-1.1.11-NEWSTRUCT/interface.c	Sun Sep 29 14:50:22 2002
+++ vdr-1.1.11-old-oldfirm/interface.c	Mon Sep 30 13:57:13 2002
@@ -366,6 +366,7 @@
                              ClearEol(0, 7);
                              ClearEol(0, 8);
                              ClearEol(0, 9);
+                             Flush();
                              for (;;) {
                                  Key = cRemote::Get(100);
                                  if (Key == kUp) {
----------------------------------- snip  ------------------------------------

The learning mode was fine, but the confirmation message wasn't displayed.
So you did not know that you have to press up to confirm exit...

Oliver


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index