Closed KaappoRaivio closed 1 year ago
Yeah sorry about the package.json
changes, accidentally pushed them to the PR when I only meant to publish my own version of the package to npm so that I can use the changes in my other project before you release the new version
This package is otherwise awesome, but it lacks support for pointing devices other than mice. As the PointerEvent API is supported practically everywhere, it's possible to use it as a direct, drop-in replacement for
MouseEvent
.This commit includes all the necessary changes to implement the change. I have tested the implementation with my phone (touch) and computer (mouse).