-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: new implementation for sending key combinations
The `IsNeedKeep()` (with tick fault tolerance) introduced in the previous version will expose the issue in #69. Because when the user sends a right click, the program captures the middle click operation sent by itself, causing the two operations to be within the tick fault tolerance range, thus triggering the sending of the two commands in `HandleMiddleClick`. To this end, this commit introduces `dwExtraInfo` information to prevent the capture of operations sent by the program itself.
- Loading branch information
1 parent
80561dc
commit 2d42777
Showing
2 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters