PDA

View Full Version : How to start the same action, whichever key is depressed?



fabiospark
October 21st, 2005, 11:32 AM
Hi.

I'm trying to make a backshift action and, for now, I did it like this:

1) The backshift key triggers a multigroup in which:
- first I set a reg from the present value of the shift-key reg (it can be 0 or 1 or 2)
- change the value of the shift-key reg to 3
- then enable a group with many commands

2) each command is a multigroup with its proper action and with another action that restores the temporarily saved value into the original reg. So the second key resets the shift-key to its state before backshifting.

Is there a way to avoid having to put one "restore original value" action into each command?

I mean is there a way to trigger an action whichever other action in a group is launched?

Hope it is clear enough to be undestood.

Thanks.

blubberhoofd
October 27th, 2005, 01:07 PM
Hi,

I made this backshift test some time ago.

group 1 is the main group pressing a button on the remote while in group 2 or 3 will cause a command in group 2 or 3 to be executed and a backshift to group 1.

for this add an eventstring for every button on the remote except the shift button to the "return to group 1" multigroup in the "backshift" group.

I know it looks pretty low-tech but it never failed me. :wink: