Hi, first thanks for this awesome demo!
Would you accept a pull request with the following commits ? :
- Replace
<progress> with <meter>
- Rename variables that uses single letter with more descriptive names
- performance optimizations
Also another question: Is window.addEventListener("gamepadconnected", connecthandler); window.addEventListener("gamepaddisconnected", disconnecthandler); useless considering scangamepads(); is called all the time in the requestAnimationFrame ? Or am I missing something ?
Hi, first thanks for this awesome demo!
Would you accept a pull request with the following commits ? :
<progress>with<meter>Also another question: Is
window.addEventListener("gamepadconnected", connecthandler); window.addEventListener("gamepaddisconnected", disconnecthandler);useless consideringscangamepads();is called all the time in therequestAnimationFrame? Or am I missing something ?