8910ext,IR6.15 when to Set transport keys-is there a trick?

Support forum for extenders. If you're having trouble getting one up and running, this is the place to come.

Moderator: Moderators

Post Reply
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

8910ext,IR6.15 when to Set transport keys-is there a trick?

Post by ElizabethD »

I lost transport keys in a macro while doing code-compacting improvements :cry: :evil: This is the macro for DVD. VCR and 2 others suffer as well.
DVD =DEV_DVD;Phantom1;XSHIFT-Phantom1
Phantom1 is your standard keysets except volume and transports.
Xshift-phantom1 is a macro calling another (SHIFT-Phantom1), but effectively it does
DEV_AUD;SET_VOL_KEYS;Dev_Cancel + SET_TRANS_KEYS.
Transport keys don't work. Everything else is fine. Any clues?

After lots of head banging and going in circles, I reverted to an older setup
DEV_DVD;Phantom1;SET_TRANS_KEYS;SHIFT-Phantom1
where shift-phantom1 just does the volume section and I got my transports back. But I have good reasons why I want it the other way.

What would explain the difference? It's not obvious to me.
mtakahar
Expert
Posts: 281
Joined: Sun Aug 03, 2003 2:46 pm

Post by mtakahar »

I don't have any of those remotes that use this DEV_xxx;SET_xxx_keys type device selections, though, IIUC, DEV_xxx commands work exactly the same as X_xxx in many other extenders, and using SET_yyy_keys sets the current xxx to the specified key set yyy. DEV_Cancel works the exact same way as X_Cancel. So, DEV_Cancel followed by SET_TRANS_KEYS makes the transport key device invalid.


Hal
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

I'm cancelling Dev_Audio for setting the volume keys, not my DVD :eek:
Didn't think it would take the house down.
Darn, you're right. A simple reordering just worked and I get exactly what I wanted:

Code: Select all

DVD =DEV_DVD;Phantom1;XSHIFT-Phantom1
SHIFT-Phantom1	=DEV_AUD;SET_VOL_KEYS;Dev_Cancel
XSHIFT-Phantom1	=SET_TRANS_KEYS;SHIFT-Phantom1
But now I'm really confused.
I just remembered something. John Fine once explained how a nested macro doesn't know about the calling device - perhaps that's related?
mtakahar
Expert
Posts: 281
Joined: Sun Aug 03, 2003 2:46 pm

Post by mtakahar »

ElizabethD wrote:I'm cancelling Dev_Audio for setting the volume keys, not my DVD.
That's impossible. The extender can remember only one DEV_xxx. It forgets what it was as soon as you use another DEV_xxx, including DEV_Cancel. DEV_DVD is no longer in effect as soon as you call DEV_AUDIO, then DEV_Cancel overwrites DEV_AUDIO.
What is not getting overwritten by another DEV_xxx command is the device associated to each key set that will stay as they are until you call another SET_xxx_KEYS command.

Hal
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Yipes :idea:
Thanks Hal for the super-refresher. These basic concepts dropped out of my brain like a rock since I built 8910. BTW 7800 just has keysets, none of this dev_xxx stuff.
Post Reply