Button restrictions in RM

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Button restrictions in RM

Post by Nils_Ekberg »

Greg

Is RM currently enforcing button restrictions. The reason I ask is that I put some restrictions in an RDF that I am working on right now. The restriction is an ShiftBind on some buttons so the shifted state can not be used.

In IR when the button is selected the shift check box gets greyed out which is what I expected.

When I try the same thing in RM either on the layout or the buttons panel it lets me make the assignement.

The funny part is once it is a keymove in the RM upgrade IR also lets me add the device and the keymove is there.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

RM should be enforcing button restrictions, but it hasn't been tested extensively. Could you provide an RDF I can test with?
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

gfb107 wrote:RM should be enforcing button restrictions, but it hasn't been tested extensively. Could you provide an RDF I can test with?
Sure

I just uploaded one to the jp1 diagnosis area called KAM1KAM1 (URC-8060 Kameleon Extender 1).rdf

Towards the bottom of the button section you will see a few ShiftBind's and some ALLBind's
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

I've got some bugs. On the button panel, the shift entires are correct;y greyed-out, and drag'n'drop isn't allowed, but using the context-menu or the "select and double-click" method both allow it.
The Layout panel doesn't appear to enforce any restrictions.

Looks like I've got some work to do!
Last edited by gfb107 on Fri Feb 13, 2004 6:18 pm, edited 1 time in total.
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

gfb107 wrote:I've got some bugs. On the layout panel, the shift entires are correct;y greyed-out, and drag'n'drop isn't allowed, but using the context-menu or the "select and double-click" method both allow it.
The Layout panel doesn't appear to enforce any restrictions.

Looks like I've got some work to do!
Thanks Greg. Not life threatening I just wanted to make sure I wasn't doing it wrong. Actually, I expected you to give me the "you dummy your doing it wrong" answer.

And while I am thinking about it I thought if you put a restriction on a button it would hold for the following buttons until a different restriction was applied. I had to put the ShiftBind on all the buttons I wanted restricted and the ALLBind on each line. Maybe that just answered my own question. Now that I think about it we decided that the restriction would stack to all buttons "on the same line" but not carry over to the next line.

Thanks
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

The way it is set up, is that the restriction carries over until another keycode is specified. If no restriction is specified with a keycode, then the default restriction is used.

For example, you have:

subtitle=$55:ShiftBind
tv/dvd=$58:ShiftBind
tv/sat=$59:ShiftBind
back=$60:ShiftBind
>10=$61:ShiftBind
audio=$65:ShiftBind
pvr=$66:ShiftBind
surround=$67:ShiftBind
"fav/scan":fav=$68:ShiftBind
rear+=$69:ShiftBind
rear-=$6a:ShiftBind
center+=$6b:ShiftBind
center-=$6c:ShiftBind

Which could be specified as:

subtitle=$55:ShiftBind
tv/dvd=$58:ShiftBind
tv/sat
back=$60:ShiftBind
>10
audio=$65:ShiftBind
pvr
surround
"fav/scan":fav
rear+
rear-
center+
center-

OR even

subtitle=$55:ShiftBind
tv/dvd=$58:ShiftBind, tv/sat
back=$60:ShiftBind, >10
audio=$65:ShiftBind, pvr, surround, "fav/scan":fav, rear+, rear-, center+, center-
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

Greg, I don't think it is working correct in either IR or RM.

I took the redundant entries off all buttons that followed in hex sequence as you outlined and those buttons did not get restricted.

in other words it looked something like this:

$65:ShiftBind
$66
$67
Etc

and $66 and $67 did not get restricted.

I also took the AllBind off the last line of the extender buttons and they did not get restricted in IR or RM
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Can I see the updated RDF, please.
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

gfb107 wrote:Can I see the updated RDF, please.
I don't have it anymore. I un updated it.

All you need to do is remove one of the ALLBind's and one of the ShiftBind's and you will have it.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Actually, you have to remove the =keycode as well. It worked when I tried it in RM, but remember that in the version you have it only works in the Buttons panel, and only for drag'n'drop.
Post Reply