[PD] In 2019 is there a way to detect mouse down/up?

Jean-Yves Gratius jyg at gumo.fr
Mon Mar 18 11:16:13 CET 2019


Great stuff.

@ Chris :
Thanks for the gui-plugin, good example for learning how they work.
Just out of curiosity : do you have a touch screen ?

Jean Yves

On 17/03/2019 13:24, Chris McCormick wrote:
> Hi,
>
> On 15/3/19 5:37 pm, Jean-Yves Gratius wrote:
>> Then you'll always need to have a receiver (named "MOUSE") in your 
>> patch, else you will receive error messages in pd console.
>> If you click on a bang object in your patch, you can then listen to 
>> the MOUSE receiver and wait for the message "mouseup"
> Thanks, I made a plugin based on this idea:
>
> https://github.com/chr15m/pd-push-and-hold
>
> Install push-and-hold-plugin.tcl into your externals path so that it's 
> loaded at startup. Then you can use the push-and-hold object to 
> connect up a GUI object.
>
> I uploaded it with deken so hopefully it will be available tomorrow.
>
> Cheers,
>
> Chris.
>






More information about the Pd-list mailing list