[PD] MouseState X-Y Coordinates

Jonathan Wilkes jancsika at yahoo.com
Sun Sep 20 19:02:36 CEST 2009



--- On Sun, 9/20/09, Hans-Christoph Steiner <hans at at.or.at> wrote:

> From: Hans-Christoph Steiner <hans at at.or.at>
> Subject: Re: [PD] MouseState X-Y Coordinates
> To: "Alex Lucas" <alex3lucas at googlemail.com>
> Cc: pd-list at iem.at
> Date: Sunday, September 20, 2009, 6:01 PM
> 
> You can intercept the 'motion' messages that are send to
> each canvas window.  Check out [tot] from toxy and/or
> the pd-msg docs in Help->Browser -> manuals ->
> pd-msg.

Specifically, look in the subpatch named "capture" in the [tot] 
help patch.

-Jonathan

> 
> .hc
> 
> On Sep 19, 2009, at 6:49 PM, Alex Lucas wrote:
> 
> > Hi everyone,
> > 
> > Is there any way of making MouseState output X-Y
> coordinates which are relative to the patch window rather
> than the screen as a whole?
> > 
> > Thanks,
> > Alex
> > _______________________________________________
> > Pd-list at iem.at
> mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> ----------------------------------------------------------------------------
> 
> I have the audacity to believe that peoples everywhere can
> have three meals a day for their bodies, education and
> culture for their minds, and dignity, equality and freedom
> for their spirits.      - Martin Luther King,
> Jr.
> 
> 
> 
> _______________________________________________
> Pd-list at iem.at
> mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 


      




More information about the Pd-list mailing list