Having problems with default macros on device keys & LKP

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

Moderator: Moderators

Post Reply
dannydeutsch
Posts: 17
Joined: Thu Aug 19, 2004 10:04 am

Having problems with default macros on device keys & LKP

Post by dannydeutsch »

I am using a URC-6131B00
IR 5.11
6131_extender1_.txt

I am having problems with default macros on device keys using the LKP protocol.

The way the code is currently set up and requires a quick tap of the device key before the short press and/or the long key press commands will execute. How can I elimate having to select the device first?

I have uploaded my saved IR file, 6131 extended test.zip, to the Diagnosis Area, for review. I have included a ir and txt version of my programming.
Mark Pierson
Expert
Posts: 3018
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

You seem to have macros AND key moves defined for the device buttons. I haven't got time to look at this further right now, but I think you want to change your LKP keymoves to use the shifted device buttons and then add that button to your device selection macros.
Mark
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

You've defined your LKPs on the device keys only in their device mode. That is why you have to press the device key first if you are in a different device mode.

Define a macro on the device keys that switches to the desired device mode and then use a key in that device mode that has the LKP defined on it. You could use a phantom or shiifted key for that.

Here's the explanation from LongDoubleKeyPress.txt:
"Global" L/DKP

You can include a Long (or Double) Press macro in a regular macro.
This would be useful if you want put two different actions on a
device button. In order to do that, just create an L/DKP macro on a
key move in any device mode and use the X_ temporary device
selection command for that device.

For example, put a LKP macro on the Phantom1 in the TV mode, then
create a macro on the TV button = "X_TV; Phantom1;", and then the
LKP macro will run in any device mode except for the ones that you
have key moves on the TV button (IR.exe lays out all key moves
before any macros, and the extender executes whichever it finds
first. You may need to drag a key move or a macro in IR.exe to
trigger this sorting.) The device selection won't change unless
you explicitly include the permanent device selection commands
(O_TV, V_TV, etc.)
Post Reply