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

Not working with PowerToys Mouse Jump. #346

Open
chinook77 opened this issue May 23, 2024 · 3 comments
Open

Not working with PowerToys Mouse Jump. #346

chinook77 opened this issue May 23, 2024 · 3 comments
Milestone

Comments

@chinook77
Copy link

chinook77 commented May 23, 2024

Hi, is not working with PowerToys Mouse Jump. The cursor stucks in the corner between monitors every time that activate the "jump".

@mgth mgth changed the title Not working with PoawerToys Mouse Jump. Not working with PowerToys Mouse Jump. May 24, 2024
@mgth mgth added this to the V6.0 milestone May 24, 2024
@mgth
Copy link
Owner

mgth commented May 24, 2024

You're right, its "by design" you'll have better luck with "corner crossing" algo but i's not perfect. I may introduce a "far distance" moving exception to prevent that.

@chinook77
Copy link
Author

Thanks.

@mikeclayton
Copy link

mikeclayton commented Aug 25, 2024

I think what maybe happens is Mouse Jump moves the cursor but Little Big Mouse doesn't detect the move, and LBM bases its next move of the cursor on the last-known LBM location, not the actual current mouse location?

The PowerToys Mouse Crosshairs utility had a similar issue when Mouse Jump was first released - when Mouse Jump moved the cursor the Mouse Crosshairs utility didn't move its crosshairs to match - see microsoft/PowerToys#24523 for details.

That was fixed by making PowerToys Mouse Jump call the Win API SendInput function to send a synthetic "mouse move" event which other applications (including Mouse Crosshairs) can detect and - in the case of Mouse Crosshairs it uses the event as a trigger to move the crosshair location.

See these links for the relevant bits of Mouse Jump that move the cursor and send the synthetic mouse move event:

You might be able to listen for that event in LBM and detect Mouse Jump (or any other external mouse automation software) moving the mouse from that and update its internal "last-known mouse location", which might help when any other external utilities move the mouse as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants