-
Notifications
You must be signed in to change notification settings - Fork 975
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
Multi monitor support for mouseMove and dragMouse #307
Conversation
This is awesome! Thank you! I'll take a look this weekend. |
@hristoterezov Nice! Have you made any updates since this PR? I'm interested in getting getPixelColor() working across multiple monitors, too. It looks like the bitmap_find.c/h, color_find.c/h, MMPointArray.c/h, and screen.c/h files all use |
Sorry everyone, releasing and building is currently difficult since I have to spin up a bunch of VMs. I'm going to work on getting TravisCI publishing so it's easier to test and deploy. Thanks for the PR! |
But I think negative mouse position is actually normal. It depends where your primary monitor is. If your primary monitor is in middle between two monitors from left and right, then the mouse position on this primary monitor starts at 0x 0y from top left which this make more sense. So it's already fine. However, it would be good if this can be changed per settings. Such like:
or something like this. The main reason is that many applications works already pretty fine with negative mouse positions and changing the mouse position logic will just cause more problems. The only thing which needs to change is that getPixelColor() support negative mouse position, too. |
@jareddgotte Sorry for the delayed response! I haven't made any other changes after the PR and also nothing related to the getPixelColor. |
@chinafreak I'm a little confused from your comment and here is why:
Could you please explain what you mean with your comment? Am I missing something? |
Hey sorry, I just read your issue again and I think I misunderstood it. I think I thought you wanted to remove negative mouse position. I'm not even sure if I wrote this on wrong issue, because it was so long time ago. Indeed, but |
@hristoterezov @octalmage Any updates on this? I see this is in PR for over a year. It would be awesome if we can get this in a new release soon. |
@octalmage any word on this pr - looks like myself and a few others have been waiting for it for coming up on 2 years now - support for multiple monitors would be great, and @hristoterezov mentioned that the fix doesn't really effect other parts of the code. Any status? |
@octalmage Hey there! Is there anything we can do to help this one land? Not needing to rely on a fork would be ideal for us (Jitsi). |
Thank you for your PR! |
Thanks a lot @oktapodia! Any rough estimation on when this could make it into a release? |
If the user has more than 1 monitor the coordinates of a monitor can be negative. Before the PR all the parameters for mouseMove and dragMouse were using size_t which is unsigned. That's why it was not possible to pass negative coordinates and move the mouse to a monitor with negative coordinates.
Fix #88