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

drag plugin touch and pen options #499

Open
WillH0lt opened this issue Oct 6, 2024 · 0 comments
Open

drag plugin touch and pen options #499

WillH0lt opened this issue Oct 6, 2024 · 0 comments

Comments

@WillH0lt
Copy link

WillH0lt commented Oct 6, 2024

Dragging works great for touch and pen pointerTypes, but there's no way to disable them and still keep mouse dragging. I'm creating a drawing app and I'm looking for a setting where:

dragging is enabled = right-mouse button and two finger drag
dragging is disabled = touch, pen, and left-mouse button

Currently I'm detecting the input type and disabling the whole drag plugin if I see a pen or touch input. This doesn't work so well when somebody uses multiple pointer types. Is there anything I can do here?

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