Component your feature request relates to
Problem your feature solves? Please describe.
#848
#349
There was a recent PR merge which was supposed to solve the problem of tracking the mouse while outside the window / viewport.
but it did not solve it, because to track the mouse outside the browser window you need to use the native pointer events setPointerCapture passing in the pointerId.
Describe the solution you'd like
I did a test implementation where we go over to use pointer events in the MouseControllerHovering
master...leon:PixelStreamingInfrastructure:pointerevents-with-capture
I think this could solve the problem.
pointer events is a drop in replacement for mouse and touch, but since we are handling the touch events separatly, I made this one to only work with mouse and pen.
So give it a go an see what you think :)
Component your feature request relates to
Problem your feature solves? Please describe.
#848
#349
There was a recent PR merge which was supposed to solve the problem of tracking the mouse while outside the window / viewport.
but it did not solve it, because to track the mouse outside the browser window you need to use the native pointer events setPointerCapture passing in the pointerId.
Describe the solution you'd like
I did a test implementation where we go over to use pointer events in the MouseControllerHovering
master...leon:PixelStreamingInfrastructure:pointerevents-with-capture
I think this could solve the problem.
pointer events is a drop in replacement for mouse and touch, but since we are handling the touch events separatly, I made this one to only work with mouse and pen.
So give it a go an see what you think :)