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

IOhannes m zmoelnig zmoelnig at iem.at
Thu Mar 14 09:36:22 CET 2019

On 14.03.19 03:46, Chris McCormick wrote:
> 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.

weirdo keyboard that is used with an arrow that is controlled by a
mouse. for hardware keyboards, i prefer [key] and [keyup].

having said that, you can use data-structures to create an area that
reacts responds to clicks.

keep in mind that it is not touch sensitive.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190314/ed7ea9fd/attachment.sig>

More information about the Pd-list mailing list