Skip to content

Conversation

@dmtrKovalenko
Copy link
Owner

@dmtrKovalenko dmtrKovalenko commented Sep 5, 2025

closes #752

@what-the-diff
Copy link

what-the-diff bot commented Sep 5, 2025

PR Summary

  • Import of 'mouseButtonNumbers'
    The code now has access to the 'mouseButtonNumbers' from a separate file. It's a kind of list that helps the program understand different mouse button actions.

  • New Property Addition to 'RealMouseMoveOptions'
    A new setting called 'keepMouseDownButton' has been added to the 'RealMouseMoveOptions'. This allows users to make the program behave as if a mouse button is being pressed continuously, even when it isn’t.

  • Update to the 'realMouseMove' Function
    The 'realMouseMove' function, a piece of code that enables real cursor movement, has been enhanced. It can now optionally include the 'button' parameter, which symbolizes a mouse button action, based on the 'keepMouseDownButton' option. This feature is particularly useful in scenarios requiring the mouse button to be held down while moving.

@dmtrKovalenko dmtrKovalenko changed the title fix(realMouseMove): keep mousedown button pressed while moving feat(realMouseMove): Add option to keep mouse button down when moving Sep 5, 2025
@Jesus-Adaptive
Copy link

Hello @dmtrKovalenko,
Are you planning to merge this anytime soon?

Thanks 🙏

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.

realMouseMove doesn't keep the mouse button pressed while moving

3 participants