Signal Routing Question
Hey I was hoping to get some advice. I am trying to design a system where when one signal is set, no other input can be can be received until that signal is released. For example: I press 'shift + w' to activate a toggle. I can also press 'w' to activate the toggle, but that is a different command. Currently, pressing 'w' deactivates the toggle. However I want it to be where only 'shift + w' can release the toggle after is is activated. Any advice would be much appreciated!
i dont see where there would be any signals in your description. where are they?
have 'w' send a (1) to toggle and 'shift+w' send a bang.
in such cases it can be handy to store your toggle state in a v(alue) object. when a key press is received, retrieve the toggle state and process accordingly. store the new toggle state if it changes.
btw, 'signal' in max terms is an audio connection. in your case we're talking about messages.