Exemplo n.º 1
0
        public void Start()
        {
            GazeManager.Instance.Activate(1, GazeManager.ClientMode.Push);
            GazeManager.Instance.AddGazeListener(this);
            Correction = new Correction();

            IsConnected           = GazeManager.Instance.IsConnected;
            IsCalibrated          = IsConnected && GazeManager.Instance.IsCalibrated;
            CalibrationAreaSize.X = Screen.PrimaryScreen.Bounds.Width;
            CalibrationAreaSize.Y = Screen.PrimaryScreen.Bounds.Height;
        }
Exemplo n.º 2
0
 public void Dispose()
 {
     GazeManager.Instance.RemoveGazeListener(this);
     Instance = null;
 }
Exemplo n.º 3
0
 public Correction()
 {
     Instance = this;
     GazeManager.Instance.AddGazeListener(this);
 }