[PD] how to emulate mouse left-click to canvas?
Dan Wilcox
danomatika at gmail.com
Sat Jul 29 02:00:07 CEST 2017
I don't think that does it as g_editor.c looks like the underlying logic for editing a patch (add, remove, move, etc) and doesn't forward the mouse events to the objects themselves.
> On Jul 29, 2017, at 1:04 AM, Roman Haefeli <reduzent at gmail.com> wrote:
>
> Yeah, I couldn't figure out what this function is useful for and
> stopped digging further. But reading it made me confident that 'click'
> might doesn't do what I want. In the meantime, Ingo mentioned 'mouse'.
> I guess the corresponding code is found in g_editor.c:
>
> void canvas_mouse(t_canvas *x, t_floatarg xpos, t_floatarg ypos,
> t_floatarg which, t_floatarg mod)
> {
> canvas_doclick(x, xpos, ypos, which, mod, 1);
> }
>
>
> Roman
--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170729/5706328c/attachment.html>
More information about the Pd-list
mailing list