[PD] mouseposition, buttons

Ben Bogart - FMPM/F1999 bbogart at ryerson.ca
Fri Aug 16 21:53:14 CEST 2002

you could write a little tcl script to track the mouse position and send 
it to pd via socket... 

but because of that window focus issue you would have to make your tcl 
window the size of the area you would like to track. 

should be simple.


On Thu, 8 Aug 2002, Andre Schmidt wrote:

> i wanted this too, but relative to the whole screen...
> and when we're at it, it seems (atleast on win32) that program thats
> "highlighted" has the mouse...
> so when wanted to convert mouse to midi with pd and then to use it on
> another prog (on same machine) is not possible... was also thinking on using
> 2mices, 1 for normal use and 1 for PD exclusiv, but i doubt this is possible
> :(
> ----- Original Message -----
> From: "marius schebella" <marius.schebella at chello.at>
> To: <pd-list at iem.kug.ac.at>
> Sent: Thursday, August 08, 2002 6:51 PM
> Subject: [PD] mouseposition, buttons
> > hi
> > is there a way to get the mouse position and button down/ups in pd? like
> > key/keyname. it should be the relative position inside the activated
> > patch-window, but i dont want to use grid or gem.
> > sme.
> >
> >
> >

B. Bogart

More information about the Pd-list mailing list