Input triggered twicen(fixed)

Hi all,

I have a simple app, where when you press a key, the scene is printed. Now I noticed, while pressing the button once, the action gets executed twice. Is there some kind of delay which I can set for the Inputmanager to have as delay between retriggering the same key ? Let’s say No repeat or repoll withing x nanos?

Are you taking into account the “keyPressed” parameter for the inputListener? You get called for keyDown and keyUp events as this tutorial suggests:

1 Like

you were soo right! thank you!