nand2mario / nestang

NESTang is an FPGA Nintendo Entertainment System implemented with Sipeed Tang Primer 25K, Nano 20K and Primer 20K boards
https://nand2mario.github.io/nestang
GNU General Public License v3.0
326 stars 36 forks source link

tang nano20k nes gamepad #49

Closed fjpolo closed 4 months ago

fjpolo commented 5 months ago

Add NES Gamepad support for NESTang (tang nano 20k)

⚠Only gamepad1 was added for now

ToDo:

nand2mario commented 5 months ago

Well done! Just curious, have you tested without the level shifter? Sometimes replica controllers work with both voltage levels.

fjpolo commented 5 months ago

Well done! Just curious, have you tested without the level shifter? Sometimes replica controllers work with both voltage levels.

I was going to, didn't have the time. Would be awesome not needing it, so we can wire it directly, will update the schematic if it works

fjpolo commented 5 months ago

Tested directly to LVCMOS3V3 IOs and it's working, at least for 8BitDo N30 2.4g wireless gamepad for original NES .

fjpolo commented 5 months ago
fjpolo commented 5 months ago

Everything re-tested and working :)

nand2mario commented 5 months ago

Great! I'll merge this.

nand2mario commented 4 months ago

Just merged #52. Closing this as I believe #52 supercedes this.