Skip to content

Commit fb5882f

Browse files
committed
Updated docs
1 parent c8ad027 commit fb5882f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/input/keyboard/KeyboardPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var SnapFloor = require('../../math/snap/SnapFloor');
3333
* Or, to listen for a specific key:
3434
*
3535
* ```javascript
36-
* this.input.keyboard.on('keydown_A', callback, context);
36+
* this.input.keyboard.on('keydown-A', callback, context);
3737
* ```
3838
*
3939
* You can also create Key objects, which you can then poll in your game loop:

0 commit comments

Comments
 (0)