Skip to content

Commit

Permalink
Add missed movement handling
Browse files Browse the repository at this point in the history
The Eve Windows 10 driver sometimes misses movements.  This uses raw touch data to detect when the mouse isn't moving, then manually updates the mouse position to approximately where it should be.

Also update the readme a bit.
  • Loading branch information
nickcoury committed Nov 5, 2022
1 parent b77dd14 commit aabf2b1
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 28 deletions.
4 changes: 4 additions & 0 deletions Eve.TapToClick/AppConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public class AppConfiguration
public int MaxTapMilliseconds { get; set; }
public int MaxTapDeltaPosition { get; set; }
public int MaxDoubleTapAndDragMilliseconds { get; set; }
public int MissedMovementMilliseconds { get; set; }
public double MissedMovementScale { get; set; }

private static AppConfiguration instance;

Expand All @@ -23,6 +25,8 @@ public AppConfiguration()
MaxTapMilliseconds = 175;
MaxTapDeltaPosition = 500;
MaxDoubleTapAndDragMilliseconds = 250;
MissedMovementMilliseconds = 250;
MissedMovementScale = 0.2;
}

public void Save()
Expand Down
152 changes: 126 additions & 26 deletions Eve.TapToClick/Forms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aabf2b1

Please sign in to comment.