Binds keys to events on the actor. KeyboardControlSystem dispatches the bound event when the key goes down or up.
Keyboard control
Creates a new KeyboardControl component.
Configuration for the keyboard control
Optional
The actor that has this component. It is undefined until the component is added to an actor.
undefined
Input event bindings
Returns the component of the same class on the parent actor.
The component, or undefined if the actor has no parent actor or the parent has no such component.
Binds keys to events on the actor. KeyboardControlSystem dispatches the bound event when the key goes down or up.
See
Keyboard control