Forums > MaxMSP

Mouse Control/Cursor Hi-jacking.

April 20, 2008 | 9:24 pm

I was wondering if it is possible to take over or ‘hi-jack’ a mouse or trackpad’s actions. I am to use OSC or Midi, sending it into Max and then it moving my cursor.

Why I hear you cry?

I have my iSight camera with a infrared filter on it and using software called isadora I can get X – Y data, I want to be able to move my mouse with the IR receiver…. its just a little project Ive wanted to try for a while.

Any ideas?


April 20, 2008 | 9:38 pm

; max pupdate [x coord] [y coord]
in a message box.

wheee!

On Apr 20, 2008, at 5:24 PM, Graham Thorne wrote:

>
> I was wondering if it is possible to take over or ‘hi-jack’ a mouse
> or trackpad’s actions. I am to use OSC or Midi, sending it into Max
> and then it moving my cursor.
>
> Why I hear you cry?
>
> I have my iSight camera with a infrared filter on it and using
> software called isadora I can get X – Y data, I want to be able to
> move my mouse with the IR receiver…. its just a little project Ive
> wanted to try for a while.
>
> Any ideas?
> –
> http://www.grahamthorne.co.uk


April 20, 2008 | 9:46 pm

joshua you’re a star! How do you find out stuff like that?!


April 20, 2008 | 9:50 pm

but how do you simulate a click?
i did it using osculator but i didn’t find how to do this in max …

cheers

g

2008/4/20, joshua goldberg :
>
> ; max pupdate [x coord] [y coord]
> in a message box.
>
> wheee!
>
> On Apr 20, 2008, at 5:24 PM, Graham Thorne wrote:
>
>
> > I was wondering if it is possible to take over or ‘hi-jack’ a mouse or
> > trackpad’s actions. I am to use OSC or Midi, sending it into Max and then it
> > moving my cursor.
> >
> > Why I hear you cry?
> >
> > I have my iSight camera with a infrared filter on it and using software
> > called isadora I can get X – Y data, I want to be able to move my mouse with
> > the IR receiver…. its just a little project Ive wanted to try for a while.
> >
> > Any ideas?
> > –
> > http://www.grahamthorne.co.uk
> >
>
>


April 20, 2008 | 10:03 pm

Its working… Realized I disabled my mouse and had to force quit! haha stupid me!

How can I send a variable value into a message box though? Currently I am just typing values in… so i’m half way there.

No idea about the mouse click.. i’m a novice!


April 20, 2008 | 10:15 pm

use $1 and $2 to use variable values in a message… (then send a list with
x and y to the message)

2008/4/21, Graham Thorne :
>
>
> Its working… Realized I disabled my mouse and had to force quit! haha
> stupid me!
>
> How can I send a variable value into a message box though? Currently I am
> just typing values in… so i’m half way there.
>
> No idea about the mouse click.. i’m a novice!
>
> –
> http://www.grahamthorne.co.uk
>


May 5, 2008 | 1:49 am

So… any idea on how to simulate a click ?


February 28, 2010 | 5:10 pm

bump?


February 28, 2010 | 5:58 pm

Here you go:

http://cycling74.com/forums/topic.php?id=23608


February 28, 2010 | 6:04 pm

cheers for that pal. however…….. don’t suppose you happen to know of a windows equivalent?


February 28, 2010 | 6:07 pm

apologies – mis-read!
java’s cool


Viewing 11 posts - 1 through 11 (of 11 total)