Plugins support
Pre-release
Pre-release
afonsopacifer
released this
26 May 23:22
·
18 commits
to master
since this release
Remove all logic for keyboard control 馃槺
Add support for control plugins 馃槑
Example:
Install a plugin for manage controls:
$ yarn add burnout-keyboard-controls-plugin
Import the plugin:
import keyboardControlsPlugin from 'burnout-keyboard-controls-plugin';
Use:
burnout.defineControlsPlugin(keyboardControlsPlugin);