Hello!
Is there a good way to play cartridges in the browser with a gamepad/joystick? Is it even possible to use gamepad input with javascript?
I plan to do a local PICO-8 game jam and I would like show the outcome on a website for a larger audience to play. If this way would offer gamepad support it would be so much better.
I can use a third party software to map gamepad input to individual keyboard keys. But that is a lot of installation and config work and I would rather have the visitors "just play".
Any ideas? Thanks!


Mozilla has support for it: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
Looks like Chrome has support for it if you explicitly enable it (in other words, it doesn't really support it). I doubt any other browsers support it. Kinda seems like a waste of time to implement it right now.
[Please log in to post a comment]