push 2, how to grab controls?
hi, sadly the push developer tools are no more working with the Push 2 controller, does anyone know if there´s another conveniant way to grab components like the grid and scene buttons from within maxforlive?
thanks a lot!
Setting up a system to find control names and grabbing and releasing is pretty straightforward:
I know this isn't a group of premade things like what the dev tools were, but this should get you started.
Hi Evan, thanks a lot, it did get me started :)
However, i have a strange problem that is that Push still controls my device even if i release the Button_Matrix.
Here´s what i do:
Since i didn´t find a way to set colours via the matrix (set or anything else didn´t work) i address the buttons direct with, for example, " s ---to_0_Clip_1_Button".
Would you know why these controls still get through even if i am not grabbing the matrix anymore?
I attached a screenshot, would be great if you would have an idea why this happens
thanks a lot!
hm, i found a solution using a gate and enabling/disabling input to the grid based on wether Push is grabbed or not. Not sure if this is the proper way to handle this but hey, it works :)
Oh man, all those if statements...
A few things - If you are using an observer to report button presses from the Push, simply put a gate behind that and close it, or send it an id 0 when you release the Matrix (and open the gate/send the proper id when grabbed).
Oh - now reading again, I think that you want the LED messages to not get through. You can similarly gate/reset the id to stop that. Grabbing and releasing only removes native functionality, you can still talk to the matrix regardless if its grabbed or released.
You can control the LEDs by sending a "call send_value X Y Z" message, where X is the column, Y is the row, and Z is the color value from 0-127.
Thanks again, Evan.
i know my patching leaves a lot to be desired but it´s for home use only and it works. However, if you would like to tell me how i could get rid of the If-statements in this patch i´d be happy to know! I also use much too much messageboxes but i´m always keen to learn how to avoid it.
cheers!
Hi, I know this is somewhat late after the original post, but are you able to help me with a similar problem. I am wanting to be able to pick up when the user pushes either Clip or Device on the Push2, and then pass a message through to Bomes MT, (where if force an Cntrl/Alt L to hide the detail). This is to allow me to prevent the detail screen popping up mid live set.
DO you know if there is any utility I can use to pick up those button presses. I'm afraid I'm a complte M4L hack and have only ever managed to tweak other's work to achieve my outcomes, so was completely lost in the above conversation.
Thanks in advance. STeve