Forums > MaxMSP

If button state

December 14, 2010 | 4:37 pm

Hey, really simple problem, but i cant get my head around it.

i want to have an input ‘a’ control ‘b’ and ‘c’

so, if ‘a’ is pressed then ‘b’ turns off and ‘c’ turns on, else ‘b’ stays on and ‘c’ is off

does that make sense?

baisicly, when i press a button on my Wii controller, i want it to turn off 1 button and turn on another, but if its not pressed then the button 1 stays on and other is off.

cheers


December 14, 2010 | 4:42 pm

Something like that ?

– Pasted Max Patch, click to expand. –

December 14, 2010 | 5:03 pm

Yeah, in theory. Although, basically my problem is metro and Qmetro, i have videos files playing, but if the effect is on it causes a weird overlay that flashes, Here is my patch, its quite messy. but basically my wii remote controls the video inputs, i want to add the different effects without the disruption thats being caused

– Pasted Max Patch, click to expand. –

Viewing 3 posts - 1 through 3 (of 3 total)