public void Start(IRelativeGazeTransformer relativeGaze)
 {
     if (_current == null || _factory.VerifyProviderType(GeneralOptions.Instance.ScrollType, _current) == false)
     {
         _current = _factory.Create(GeneralOptions.Instance.ScrollType);
     }
     _current.Start(relativeGaze);
 }
 public void Start(IRelativeGazeTransformer relativeGaze)
 {
     _start        = DateTimeOffset.Now;
     _baseVelocity = relativeGaze.Direction.Y * _settings.Velocity;
     HasVelocity   = true;
 }
 public void Stop()
 {
     _relativeGaze = null;
 }
 public void Start(IRelativeGazeTransformer relativeGaze)
 {
     _relativeGaze = relativeGaze;
     _curve        = _settings.DynamicVelocityCurve;
 }
 public void Start(IRelativeGazeTransformer relativeGaze)
 {
     _keyDown      = true;
     _baseVelocity = relativeGaze.Direction.Y * _settings.Velocity;
 }
Пример #6
0
 public void Start(IRelativeGazeTransformer relativeGaze)
 {
     Velocity    = relativeGaze.Direction.Y * _settings.Velocity;
     HasVelocity = true;
 }