🔨 Support Gamepad API
in shower.js (presentation architecture).
npm install shower-gamepad
On main index.html
file, please add on the bottom:
<script src="../node_modules/shower-core/shower.min.js"></script>
<script src="../node_modules/super-event-emitter/dist/super-event-emitter.js"></script>
<script src="../node_modules/gamepad-api/dist/gamepad-api.js"></script>
<script src="../dist/shower.gamepad.js"></script>
The MIT License @ 2014