I have a simple Visual Element that has the OnPointerDown event. When I mouse over it and press down on my mouse, it registers twice. If I move the mouse while holding the mouse button down, it registers a third time. This happens when using Simulated Touch Input with the new input system. Case #: 1287927
Using PointerEnterEvent doesn’t work on my iPad Pro 2018 and iPhone XS. Case #: 1288234
Mouse events are also sent when using touch input, and are considered as Pointer events as well. So to detect touch input, what we typically check on registered pointer events is : evt.pointerType != PointerType.mouse && evt.isPrimary. That way you should only get 1 pointer down. For the third one on mouse move, this is something we need to investigate, thanks for filling the bug.
We’ll have to look into it, thanks again for filling the bug!
Just watch out, if you have some scrolling elements or just anything answering to PointerMove events, you might encounter some little performance issues
I am not sure if the issue comes from my fix or if it is a broken behaviour between UITK and the new Input System.
But other people have had similar issues by default :