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

Move mouse to regain manual control in web library not just desktop app #11

Open
1j01 opened this issue Aug 11, 2022 · 0 comments
Open
Labels
affects:web-library Affects usage of the tracky-mouse.js library enhancement New feature or request

Comments

@1j01
Copy link
Owner

1j01 commented Aug 11, 2022

It will have to work a little differently because on the web I have to use events (not query the current mouse position), whereas on the desktop I have to query the current mouse position (and don't have any mouse movement event available.)
I should at least share the timing constants, which may become configurable later.

This isn't as important as in the desktop app, but without this, in a drawing program like JS Paint, it jitters back and forth between the system mouse position and the head tracking mouse position, if you try to draw something with the mouse.

@1j01 1j01 added enhancement New feature or request affects:web-library Affects usage of the tracky-mouse.js library labels Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:web-library Affects usage of the tracky-mouse.js library enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant