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

Warfarin Module - Mouse Cursor Movement Reset #35

Open
antom opened this issue Dec 2, 2024 · 1 comment
Open

Warfarin Module - Mouse Cursor Movement Reset #35

antom opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@antom
Copy link

antom commented Dec 2, 2024

The 'Warfarin' module that allows the mouse cursor to be moved by pressing keys does not work as expected - when pressing the assigned keys for directions, the cursor moves the initial step but no further. When a key is released, it resets to its original location. Assuming that this is likely down to how mouse capturing works?

@pdjstone
Copy link
Owner

pdjstone commented Dec 2, 2024

Correct, this is due to the new mode handling which allows the mouse to be used without it being captured. For now you can work around the issue by forcing mouse capture, either by:

There's not yet a way to change how the mouse is handled in the UI (it's on my todo list). I've been considering a tweak to the heuristics that that should detect when something is trying to move the mouse cursor (such as Warfarin) and automatically switch to captured mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants