Properties:
Name | Type | Description |
---|---|---|
list |
Array.<SystemKeyBoard> | List of all the keys of the game by ID |
listOrdered |
Array.<SystemKeyBoard> | List of all the keys of the game by index |
menuControls |
Object | All the menu controls assigns |
Methods
-
Test if a key id can be equal to a keyboard system object
Name Type Description key
number The key id that needs to be compared abr
SystemKeyBoard The keyBoard to compare to the key Returns:
Type Description boolean -
Read the JSON file associated to keyboard
-
getCommandsGraphics ()Array.<GraphicKeyboard>
-
Get the graphics commands
Returns:
Type Description Array.<GraphicKeyboard> -
Get the actions commands
Returns:
Type Description Array.<function()>