这是indexloc提供的服务,不要输入任何密码
Skip to content

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 }

qzd1989 added 5 commits July 2, 2024 16:10
…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
@Narsil
Copy link
Owner

Narsil commented May 20, 2025

Merged with #150

This version was much simpler. This PR add a lot more than feels necessary.

Also the API needs to be OS cross compatible, which I'm afraid here it's not.
Closing for now feel free to re-open.

@Narsil Narsil closed this May 20, 2025
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.

2 participants