-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add click count when simulating mouse press/release
macOS requires that the current click count be specified when simulating mouse press/release. E.g. when simulating a double click, the first press/release pair will have the click count of 1, and the second pair will have the click count of 2. The global hook in libuiohook counts the clicks based on time, but counting clicks the same way when simulating events is problematic so the click count was added explicitly. Click count is used only on macOS and is ignored on Windows and Linux
- Loading branch information
1 parent
26a0ebc
commit f234dc6
Showing
7 changed files
with
663 additions
and
11 deletions.
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
Oops, something went wrong.