-
Notifications
You must be signed in to change notification settings - Fork 8
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
Windows scaling also scales mouse-rs locations #12
Comments
https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/nf-shellscalingapi-getscalefactorformonitor is possibly a solution, adding a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was going mad at how the pointer location was inaccurate before I figured this out: windows scaling options also scales the mouse location when using move_to().
Despite my monitor being 1920x1080, move_to() is also scaled by 125%, meaning I reach the bottom right corner of the screen at move_to(1536, 864)
I realize this project hasn't been updated in a year but this is probably unintentional and I hope someone can get around to fixing it.
Worth noting it's not a huge deal if you know the current scale, but the problem is if I'm giving the program to someone else.
The text was updated successfully, but these errors were encountered: