push 2, how to grab controls?

    Dec 20 2016 | 12:33 pm
    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!

    • Dec 20 2016 | 7:34 pm
      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.
    • Dec 28 2016 | 9:41 am
      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!
    • Dec 28 2016 | 11:19 am
      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 :)
    • Dec 28 2016 | 2:45 pm
      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.
    • Dec 28 2016 | 6:16 pm
      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.
    • Apr 09 2019 | 1:36 am
      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