insert mouse movement in calibration sample

Forum for C#/Windows development

insert mouse movement in calibration sample

Postby u1201087 » 22 Aug 2014, 00:20

Hello, im diego, im a student and im working with some devices, just started with this one so i downloaded the examples and tried to add a button in the calibration sample so i could move the mouse with eyes when i press it the first time.
Based in the Calibration function example i added a button and created the constructor like this..

private void btnMouse_Click(object sender, RoutedEventArgs e)
{
TETControls.Cursor.CursorControl conCursor = new TETControls.Cursor.CursorControl(Screen.PrimaryScreen, false, false);
conCursor.OnGazeUpdate(####);
}

I don´t know if im in the rigth way, i would like to ask if someone has a example with the move of the cursor implemented or tell me the way to do it.. Thanks :oops:
u1201087
 
Posts: 1
Joined: 12 Aug 2014, 04:12

Re: insert mouse movement in calibration sample

Postby Martin » 02 Sep 2014, 19:15

We'll update the Github sample to include this frequently requested feature. Meanwhile, you can download the
updated sample project from here.

The source code for the mouse redirect is on Github already.

Should do the trick, right?
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20


Return to C#