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

Conversation

@HuakunShen
Copy link
Contributor

On MacOS, when mouse is pressed, no move event is emitted.
This prevents me from detecting drag event.

On both windows and linux, move event is emitted when mouse is pressed.

I think it's a better idea to add MouseDrag event to EventType, because Mac's native API already have this CGEventType::LeftMouseDragged.

But this requires also updating windows and linux API to stay consistent.
I may work on that later. This PR makes rdev behave the same way on all platforms.

Copy link
Owner

@Narsil Narsil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this.

@Narsil Narsil merged commit 8f8832a into Narsil:main May 20, 2025
@Narsil Narsil mentioned this pull request 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