jsnes-web
jsnes-web copied to clipboard
Could you add mobile controls support?
While I can sideload an emulator to my phone, that requires a bit more work than just loading JSNES.
On my device (iPhone 7 Plus, iOS 14.5.1, Mobile Safari) JSNES seems to run fine, but I can’t actually play the games because of the lack of a keyboard to control it with.
It’d be nice to have on screen controls available for mobile devices, as well as a file picker that doesn’t use drag and drop, so that I can load my own ROMs
I've got a working POC of this: https://github.com/ds17f/jsnes-web/tree/add-touch-controller
The code is POC code, so I'm not ready to PR it against this project. What I'd really like to do is package up the react component for the controller and npm install
it in this project and then wire it up. I also need to make the touch controls "better". They're too fine, and they need to have bigger touch points to activate the functionality.
I've got some work to do, but it is usable for a basic game, and multitouch works so you can press A and B at the same time (for example).
You can see it in action here: https://ds17f.github.io/FamicomPartyHelloWorld/