Hello, I am trying to implement keyboard inputs in pixi. Unfortunately pixi does not support this function. They are a lot of good examples which I found but none of them really worked perfect.
I would like to have some kind of events happening when a key is pressed and the PIXI.Container is focused. (like its working with mouse)
Example how I want it to work:
1. main PIXI.Container (stage) have the possibility to move a character with WASD-keys(easy to do)
2. textinput (chat) which is a child of the stage, writing text without perform the events on the parent when pressing WASD
It would be possible to disable all keys on textinput and enable them again on mouse click on the parent again. But it would be a little bit hacky.
Is there a better way which exist or how are you doing this?