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); }