Hello @akruschwitz, i also tryed to use this keyboard addKey stuff and then i swicth to normal keydown event, what you can is, just try to use Phaser.Input.Keyboard.JustUp() event if it’s not that important for you when its pressed other wise i’m always using this:
this.input.keyboard.on(Phaser.Input.Keyboard.Events.ANY_KEY_DOWN, (event) => {
switch(event.code) {
case 'Digit1':
case 'Numpad1':
console.log('1 pressed');
break;
}
});
Worked for me everytime.
Update:
Is it that // one thing part is ever working? it should work as far i know