We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8ad027 commit fb5882fCopy full SHA for fb5882f
1 file changed
src/input/keyboard/KeyboardPlugin.js
@@ -33,7 +33,7 @@ var SnapFloor = require('../../math/snap/SnapFloor');
33
* Or, to listen for a specific key:
34
*
35
* ```javascript
36
- * this.input.keyboard.on('keydown_A', callback, context);
+ * this.input.keyboard.on('keydown-A', callback, context);
37
* ```
38
39
* You can also create Key objects, which you can then poll in your game loop:
0 commit comments