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 pd-list-bounces@lists.iem.at on behalf of Jos? de Abreu abreubacelar@gmail.com Sent: 14 March 2019 12:38 To: Fede Camara Halac Cc: pd-list@lists.iem.at 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 <camarafede@gmail.commailto:camarafede@gmail.com> 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.iohttp://fdch.github.io
On Mar 14, 2019, at 11:02 AM, IOhannes m zmoelnig <zmoelnig@iem.atmailto:zmoelnig@iem.at> 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
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list