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

Liam Goodacre liamg_uw at hotmail.com
Fri Mar 15 10:44:41 CET 2019


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 at lists.iem.at> on behalf of Jos? de Abreu <abreubacelar at gmail.com>
Sent: 14 March 2019 12:38
To: Fede Camara Halac
Cc: pd-list at 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 at gmail.com<mailto:camarafede at 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.io<http://fdch.github.io>

> On Mar 14, 2019, at 11:02 AM, IOhannes m zmoelnig <zmoelnig at iem.at<mailto:zmoelnig at 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 at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



_______________________________________________
Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190315/3d0f00a9/attachment.html>


More information about the Pd-list mailing list