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

Improve accuracy #51

Open
paulie-g opened this issue Sep 15, 2017 · 0 comments
Open

Improve accuracy #51

paulie-g opened this issue Sep 15, 2017 · 0 comments

Comments

@paulie-g
Copy link
Owner

Issue by mutex73
Thursday Mar 03, 2016 at 08:36 GMT
Originally opened as autopilot-rs#82


point.x *= 0xFFFF / GetSystemMetrics(SM_CXSCREEN);

Division should be performed after multiplication.Like this:

point.x = point.x * 0xffff / GetSystemMetrics(SM_CXSCREEN);


mutex73 included the following code: https://github.com/msanders/autopy/pull/82/commits

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