Hi ,
I am trying to move my mouse pointer after making a calibration with SetCursorPos method ?
Is that a right way to do it ?
I am asking this because sometimes my mouse cursor is jumping one location to another one. I mean , I can't move my cursor as good as an EyeTribeClient.exe.
Is there any better wey to do it ?
public void OnGazeUpdate(GazeData gazeData)
{
double gX = gazeData.SmoothedCoordinates.X;
double gY = gazeData.SmoothedCoordinates.Y;
// Move point, do hit-testing, log coordinates etc.
if (GazeManager.Instance.IsCalibrated)
{
SetCursorPos(Convert.ToInt16(gX), Convert.ToInt16(gY));
}
}