You can receive mouse and mouseup information in Vanilla by using [receive .x55dca8289140], where ".x55dca8289140" is a hexadecimal ID unique to the given canvas. However, the only way I know of retrieving that ID is using [hcs/canvasname], which is back to using externals.
If you accept externals then [iemguts/receivecanvas] is definitely the best way to go. ________________________________ From: Pd-list <[email protected]> on behalf of Jos? de Abreu <[email protected]> Sent: 14 March 2019 12:38 To: Fede Camara Halac Cc: [email protected] Subject: Re: [PD] In 2019 is there a way to detect mouse down/up? hid can receive mouse information? isn't a vanilla solution, but i'm curious Em Qui, 14 de mar de 2019 09:33, Fede Camara Halac <[email protected]<mailto:[email protected]>> escreveu: Not the best solution, but you may be able to monitor a slider for value changes to emulate a click-down, click-up situation... so you'd be tricking a click-drag :) fdch.github.io<http://fdch.github.io> > On Mar 14, 2019, at 11:02 AM, IOhannes m zmoelnig > <[email protected]<mailto:[email protected]>> wrote: > >> On 14.03.19 10:42, Chris McCormick wrote: >> >>> keep in mind that it is not touch sensitive. >> >> What do you mean by this? It only responds to mouse events and not touch >> events? > > no. that's not what i meant. > > it was a(n admittedly stupid) joke on the discrepancy between a > mouse-based interface (where you only get a boolean value of whether a > button is clicked or not) and the expectation of a (musical) "hardware > keyboard" that typically gives you "touch sensitive" data in the form of > 'velocity'. > > fgamsdr > IOhannes > > > _______________________________________________ > [email protected]<mailto:[email protected]> mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected]<mailto:[email protected]> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
