Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drag event on macos #140

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Add drag event on macos #140

wants to merge 16 commits into from

Conversation

qzd1989
Copy link

@qzd1989 qzd1989 commented Jul 2, 2024

Supported on macos and windows, this branch is based on my stop_listen branch.

drag event type like this:
Drag { button: Left, x: 2447.921875, y: 805.1796875 }

It also can be simulated smoothly.

I also provide the coordinate in press and release event, their types like this:
ButtonPress { button: Left, x: 2570.92578125, y: 797.49609375 }
ButtonRelease { button: Left, x: 2570.92578125, y: 797.49609375 }

…use drag, but there has no way to simulate it. so you need to save drag events as press, mousemove and release,it's fine to save like this, cause there also has no drag event on windows.
@qzd1989 qzd1989 changed the title Button position add drag event on macos Jul 4, 2024
@qzd1989 qzd1989 changed the title add drag event on macos Add drag event on macos Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant