My fork of JSNES that adds support for:
- USB NES RetroPort controllers via the W3C Gamepad API. Other gamepads presumably work, but I have only tested with the RetroPort.
- Loading local ROMs.
- Loading ROMs from Dropbox.
If you look at the outstanding pull requests to the main project, you can see that these are the most popular types of patches that developers are trying to submit.
I decided to have a go at this myself, as I would like to get things running at full speed on a Chromebook Pixel.
In order for XHRs to work properly in
retrousb.html, you need to serve
the content via a web server. Assuming you have Python installed, run:
python -m SimpleHTTPServer
and then visit
http://localhost:8000/retrousb.html in your browser.
If you would like to use the original test page (with keyboard-based input),
then you can use the original
http://localhost:8000/index.html test page
from the original JSNES repository.