Hi-jacking mouse with eye tracking

aislingskye22's icon

Hey, I am totally new to Max MSP and am trying to hi-jack the cursor using eye movement.

I have been using an existing patch created by Jean-Marc Pelletier: http://jmpelletier.com/a-simple-eye-tracker-for-jitter/ and have seen that using the message [; max pupdate] followed by x and y co-ordinates can be used to control the cursor. Only problem is I don't know which patcher to attach this message to as I can't seem to find where the tracked x and y co-ordinates are generated?

Does anybody know if it's possible to combine these two to create what I need? Or if there is an easier way to do it?

Thanks!