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

fix multi-monitor not working in windows with moveMouseSmooth pipeline fixed #611

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

Programmnix
Copy link

Hello,

I've fixed the build problems for Pull Request #536 . The mouth smooth mouse move is working on for Linux and Windows for multiple screen. Unfortunately it works not under iOS.

fjlj and others added 10 commits December 21, 2019 03:22
…elegant solution and there a few small issues with mouse accelleration due to crude maths. however this will properly get the virtual screen size and map the coordinates calculated in moveMouseSmoothly then pass them to moveMouse pre calculated, with a flag to skip this step in mouseMove. TODO: merge these two functions and call an overload from node to streamline things a bit more
…he most elegant solution and there a few small issues with mouse accelleration due to crude maths. however this will properly get the virtual screen size and map the coordinates calculated in moveMouseSmoothly then pass them to moveMouse pre calculated, with a flag to skip this step in mouseMove. TODO: merge these two functions and call an overload from node to streamline things a bit more"

This reverts commit 7b1c5fb.
…support. properly grab virtualdesk size not just primary display size. add a bit of distance based speed modifier for this as well.
@Programmnix
Copy link
Author

Hello @octalmage ,

could you please restart the AppVeyor build? I don't see a difference between "Environment: nodejs_version=Stable; Platform: x86" and "Environment: nodejs_version=12; Platform: x86".

src/mouse.c Outdated

INPUT mouseInput = {0};
mouseInput.type = INPUT_MOUSE;
mouseInput.mi.dx = x;
mouseInput.mi.dx = x - 100;

Choose a reason for hiding this comment

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

What's the -100 for?

Copy link
Author

Choose a reason for hiding this comment

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

I don't know. :-D

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.

4 participants