This library creates an object that can be used to track the current mouse position. This library creates and object called SysMouse which is an instance of SystemMouse described here (meaning you’ll probably never need to make an instance of SystemMouse). To enable tracking, register the neuro_trackMouse method with the event manager or with the document mouse move event. For example when using the eventmanager.js you can do the following:
//register the mouse tracker
that will alert the X and Y position on every mouse move.
2005 Rob Rohan (firstname.lastname@example.org@email@example.com)
Constructor for SystemMouse this holds the current mouse position on the screen in X and Y
gets the current mouse position and puts it into the SysMouse object this is not really an API call; however it needs to get envoked on window mouse move events to be of any help. For example using the neuro event model:
the library version
Wrapper function to fill in the mouse object with the current coordinates.
function neuro_trackMouse( event )
An instance of SystemMouse for use in your everyday code