-
Notifications
You must be signed in to change notification settings - Fork 971
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
base: master
Are you sure you want to change the base?
Conversation
…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.
Pull current verison
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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Feat Mac OS Multi-Screen Support of captureScreen()
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.