Fw: [vdr] Adding keys to VDR

Reinhard Nissl rnissl at gmx.de
Sun Jul 17 21:35:34 CEST 2005


Hi,

Simon Baxter wrote:

> Hi Richard - can you help me with a mod to your patch??
      ^^^^^^^

Reinhard!

>  I've been trying to add 2 User keys as a modification to Richard's patch
>  below.
> 
>  Instead of using 1 & 3 to skip 10 seconds, want to use User1 and User2
>  +#define kEditJumpBack    kUser1
>  +#define kEditJumpForward kUser2
> 
>  why doesn't this work??

Have a look into vdr.c (~ line 707) for this line:

   case kUser1 ... kUser9: cRemote::PutMacro(key); key = kNone; break;

So the user keys just get translated into the defined macros and are 
afterwards deleted (= set to kNone).

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list