I have a problem with capturing some keys. For excample, key “Space” is captured sucsessfull , but key “Shift” is not . When I press “shift” many times in game , window gives a prompt asking you if you want to enable sticky keys.
I use this code :
this.input.keyboard.addCapture(Phaser.Input.Keyboard.KeyCodes.SHIFT);
keySHIFT = this.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.SHIFT);