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

Peter P. peterparker at fastmail.com
Thu Mar 14 10:21:48 CET 2019

* Chris McCormick <chris at mccormick.cx> [2019-03-14 03:47]:
> Hello,
> Is there a way in a Pd [vanilla] patch to detect a mouse-down and mouse-up
> event in non-edit mode? So for example to build a GUI which works like a
> hardware keyboard key. Pressing it down mean on, letting go means off.

Whenever I use Supercollider I am very amazed by its MouseX and MouseY
unit generators. I would like to learn about a vanilla solution that can
output mouse coordinates in non-edit mode as well. Excuse me if this has
been asked before and thank you for any ideas!

More information about the Pd-list mailing list