We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28c1a26 commit 57642afCopy full SHA for 57642af
1 file changed
src/input/Keyboard.js
@@ -382,7 +382,7 @@ Phaser.Keyboard.prototype = {
382
}
383
else if (event.keyCode !== undefined)
384
{
385
- return event.keyCode;
+ return event.keyCode;
386
387
else
388
@@ -407,7 +407,7 @@ Phaser.Keyboard.prototype = {
407
return;
408
409
410
- var key = this.getKeyCode();
+ var key = this.getKeyCode(event);
411
412
// The event is being captured but another hotkey may need it
413
if (this._capture[key])
@@ -470,7 +470,7 @@ Phaser.Keyboard.prototype = {
470
471
472
473
474
475
476
0 commit comments