by user 224464722878005248
I find your lines but here
by user 224464722878005248
Project\engine\engine\engine_input.ts
My path of this file ^^’
by user 224464722878005248
I tried to remove it, it doesn’t work neither
by user 224464722878005248
Con I do something to help to find the trouble ?
by user 224464722878005248
Yes - could you try reproducing it in a minimal example?
Okay
by user 224464722878005248
Minimal template + buttons and maybe a log message when you click the button
Thank you
I created a minimal one but after initialisation of needle the inputs works… I’ll try to find where it brokes on my project
by user 224464722878005248
AAAAAAAAH
FOUND
It was because of my player control
by user 224464722878005248
So I’m in trouble because I need to choose between touchend and touchstart listeners to control my player or using buttons :c
by user 224464722878005248
What do you mean?
Why is this causing problems?
To move my player by swipe, I add touchend and touchstart event listeners
That’s what broke my buttons and inputs
by user 224464722878005248
It’s why I needed to add event listener touchstart on my button after Needle initialisation
It’s because this event listener stop the default behavior of touchstart
by user 224464722878005248
…
by user 224464722878005248
So I found the solution
by user 224464722878005248
who stops the default behaviour? The mouse handler?