Maybe relevant, a while ago wrote a post about using an Arduino to interface a NES gamepad as HID device.<p><a href="http:&#x2F;&#x2F;eskerda.com&#x2F;arduino-nes-gamepad&#x2F;" rel="nofollow">http:&#x2F;&#x2F;eskerda.com&#x2F;arduino-nes-gamepad&#x2F;</a><p>Repo with full instructions: <a href="https:&#x2F;&#x2F;github.com&#x2F;eskerda&#x2F;arduines" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eskerda&#x2F;arduines</a>