I made you a thing: https://gist.github.com/luser/99c1ff1a6f87e3759ec4
If you paste that into the developer tools console of your browser it will enable gamepad control of your player character. :) (If you're using the embedded version on itch.io it might be tricky to get a console inside the iframe.)