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

Cursor position is incorrect when cursor leaves the viewport #128

Open
TylerGlaiel opened this issue Sep 5, 2023 · 2 comments
Open

Cursor position is incorrect when cursor leaves the viewport #128

TylerGlaiel opened this issue Sep 5, 2023 · 2 comments

Comments

@TylerGlaiel
Copy link

If I move the mouse outside the viewport, it sometimes still shows up in the recorded gif at a random location. Mouse works fine when the mouse is in the viewport

@TylerGlaiel
Copy link
Author

here's a clear example of the issue, mouse moves in a straight line here, and you can see it jumps from the bottom right to the side

mousetest

@TylerGlaiel
Copy link
Author

logical to physical point would do weird things when the mouse leaves the viewport, passing 0 here instead of hwnd fixes the issue

#129

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

No branches or pull requests

1 participant