This is the code I made for my Arduino board (ATmega32u4), it has USB HID support to make our gamepad works like a real joystick in our computer.
-
It works like a normal USB gamepad.
-
It can send hotkeys as keyboard when you hold some buttons on controller.
-
You need 3 wires from the controller to get this working: Latch, Clock, Data
-
You can directly solder the wires on the console port or use an extension cable (recommended)
-
On your board, you can use any pin, just make sure to setup it right on the code
-
Upload the code. Done(?)
I made an online Input Viewer as well, it can be used directly on your streaming software (if it has Browser Source, of course). Just use this url: https://furious.github.io/snespad