var controls = {};

controls.createHotkeys = function() {
  key1 = game.input.keyboard.addKey(Phaser.Keyboard.ONE);
  key2 = game.input.keyboard.addKey(Phaser.Keyboard.TWO);
  key3 = game.input.keyboard.addKey(Phaser.Keyboard.THREE);
  key4 = game.input.keyboard.addKey(Phaser.Keyboard.FOUR);
}

@@ -285,11 +285,49 @@
 d.FOUR);
+%0A%0A  keys.push(key1, key2, key3, key4);
 %0A%7D%0A

create keys array and push each key into the array