public EyeXWinForm(EyeTrackingEngine eyeTrackingEngine) { InitializeComponent(); labelVersion.Text = "Version: " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); closeApp = true; this.eyeTrackingEngine = eyeTrackingEngine; eyeTrackingEngine.GazePoint += this.GazePoint; eyeTrackingEngine.OnGetCalibrationCompletedEvent += this.OnGetCalibrationCompleted; eyeTrackingEngine.Initialize(); Program.datosCompartidos.LogEyeTrackerData = new LogEyeTracker.LogEyeTracker(); Program.datosCompartidos.logTestData = new LogTest(); distanciaDev2USer = new EyeTracking.distanceDev2User(); }
public EyeXWinForm(EyeTrackingEngine eyeTrackingEngine, HT.Wimu wimuDevice) { PseudoTimeStampMiliSecImu = 0; InitializeComponent(); this.eyeTrackingEngine = eyeTrackingEngine; eyeTrackingEngine.GazePoint += this.GazePoint; eyeTrackingEngine.OnGetCalibrationCompletedEvent += this.OnGetCalibrationCompleted; eyeTrackingEngine.Initialize(); _llkhk = new LowLevelKeyboardHook("Low-level Keyboard Hook"); _llkhk.OnKeyPress += new EventHandler <KeyPressEventArgs>(OnKeyboardHookPress); clickDwell = new Dwell(); this.wimuDevice = wimuDevice; this.head2deltaCursor = new Head2deltaCursor(wimuDevice); }
public EyeXWinForm(EyeTrackingEngine eyeTrackingEngine, HT.Wimu wimuDevice) { PseudoTimeStampMiliSecImu = 0; InitializeComponent(); this.eyeTrackingEngine = eyeTrackingEngine; eyeTrackingEngine.GazePoint += this.GazePoint; eyeTrackingEngine.OnGetCalibrationCompletedEvent += this.OnGetCalibrationCompleted; eyeTrackingEngine.Initialize(); _llkhk = new LowLevelKeyboardHook("Low-level Keyboard Hook"); _llkhk.OnKeyPress += new EventHandler<KeyPressEventArgs>(OnKeyboardHookPress); clickDwell = new Dwell(); this.wimuDevice = wimuDevice; this.head2deltaCursor = new Head2deltaCursor(wimuDevice); }