Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The html Gamepad API does not support an event-based model, only a polling model for input (see [here](https://emscripten.org/docs/api_reference/html5.h.html#how-to-use-this-api)). While mouse and such work without the `SDL_PollEvent` and resulting `SDL_PumpEvents` call because SDL sets emscripten callbacks that handle the other events, joysticks will only be connected and updated once, and then not again.
- Loading branch information