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

Enable pen/stylus erasing events #7

Open
mccoykillian opened this issue May 18, 2020 · 0 comments
Open

Enable pen/stylus erasing events #7

mccoykillian opened this issue May 18, 2020 · 0 comments

Comments

@mccoykillian
Copy link

Currently pointer-tracker only accepts basic contact events for mouse, touch, and pen (button state 0:
image
(from https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events)

The button and buttons state needed to detect pen erasing is 5 and 32 respectively, but pointers with these states are blocked in the _pointerStart function:
image

Could this function be updated to support other button states or at least the pen erasing combo?

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

No branches or pull requests

1 participant