Hi,
I need some help on some programming. Does anyone know how to retrieve the coordinate data of the mouse cursor? Is there a function in PD that I can use?
This is just for a project that we are working on. If anyone can help, plz let me know.
Andy Chen
Hi Andy, I'm not sure whether or not someone has written a pd version of the MAX 'mousestate' object although I can remember seeing something like it not so long ago. Have you looked at 'pd_joystick' it allows you to use a joystick to input data to pd. It's available from ggee for linux and Joseph Sarlo has written a windows version. Anyway it may or may not help! G'Luck!
regards, Rory.
Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
On Mon, 1 Oct 2001 23:43:43 -0500 "andychen5018" andychen5018@hotmail.com wrote:
Hi,
I need some help on some programming. Does anyone know how to retrieve the coordinate data of the mouse cursor? Is there a function in PD that I can use?
This is just for a project that we are working on. If anyone can help, plz let me know.
Andy Chen
gem has an object for getting the mouse coordinates while inside the gem window.
(gemmouse or something).
i would love a 2-dimensional version of the number box, but i haven't ever gotten around to seeing how easy it would be to make.
pix.
andychen5018 wrote:
Hi,
I need some help on some programming. Does anyone know how to retrieve the coordinate data of the mouse cursor? Is there a function in PD that I can use?
This is just for a project that we are working on. If anyone can help, plz let me know.
Andy Chen
hi andi in pd-0.34-2 there is a gui-object named my_canvas (Put|Canvas). if you right-click the help-patch, maybe there is your solution. the 2 squares send only the relative mouse-coordinates (top-left corner of window is 00).
tom