We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d1f64 commit e224faaCopy full SHA for e224faa
1 file changed
v3/src/input/keyboard/KeyboardManager.js
@@ -93,15 +93,17 @@ var KeyboardManager = new Class({
93
},
94
95
/**
96
- * Creates and returns an object containing 4 hotkeys for Up, Down, Left and Right.
+ * Creates and returns an object containing 4 hotkeys for Up, Down, Left and Right and also space and shift.
97
*/
98
createCursorKeys: function ()
99
{
100
return this.addKeys({
101
up: KeyCodes.UP,
102
down: KeyCodes.DOWN,
103
left: KeyCodes.LEFT,
104
- right: KeyCodes.RIGHT
+ right: KeyCodes.RIGHT,
105
+ space: KeyCodes.SPACE,
106
+ shift: KeyCodes.SHIFT
107
});
108
109
0 commit comments