Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

More precisely "autopy.mouse.move()" #73

Closed
Kian-Huang opened this issue Jun 2, 2015 · 1 comment
Closed

More precisely "autopy.mouse.move()" #73

Kian-Huang opened this issue Jun 2, 2015 · 1 comment

Comments

@Kian-Huang
Copy link

at autopy/src/mouse.c, line 34 and 35.

this method

    #elif defined(IS_WINDOWS)
            point.x = point.x * 0xFFFF / GetSystemMetrics(SM_CXSCREEN);
            point.y = point.y * 0xFFFF / GetSystemMetrics(SM_CYSCREEN);

would be more precise then

    #elif defined(IS_WINDOWS)
            point.x *= 0xFFFF / GetSystemMetrics(SM_CXSCREEN);
            point.y *= 0xFFFF / GetSystemMetrics(SM_CYSCREEN);
@msanders
Copy link
Collaborator

msanders commented May 2, 2018

This should be fixed now in the latest version.

@msanders msanders closed this as completed May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants