We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: this is not an issue in Google Chrome. There may be other keys that also cause this issue.
game.input.keyboard.on('down', (keyDown?: ex.Input.KeyEvent) => { switch(keyDown.key) { case ex.Input.Keys.Semicolon : ex.Logger.getInstance().info('semicolon pressed'); break; default : ex.Logger.getInstance().warn('unsupported key command'); } });
"semicolon pressed"
"unsupported key command"
The text was updated successfully, but these errors were encountered:
Additional context: http://stackoverflow.com/questions/3883543/javascript-different-keycodes-on-different-browsers
Sorry, something went wrong.
[#789] Normalize semi-colon keycode (#825)
27ef69c
Closes #789 ## Changes: - Normalize semi-colon key on some browsers
kamranayub
No branches or pull requests
Note: this is not an issue in Google Chrome. There may be other keys that also cause this issue.
Steps to Reproduce
Expected Result
"semicolon pressed"
Actual Result
"unsupported key command"
Environment
The text was updated successfully, but these errors were encountered: