Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tang nano20k nes gamepad #49

Closed
wants to merge 22 commits into from

Conversation

fjpolo
Copy link
Contributor

@fjpolo fjpolo commented Jan 13, 2024

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

⚠Only gamepad1 was added for now

ToDo:

  • Update o_button_state to works as a shift register
    - Add gamepad2
  • Update verilator tests

@nand2mario
Copy link
Owner

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

@fjpolo
Copy link
Contributor Author

fjpolo commented Jan 17, 2024

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
Copy link
Contributor Author

fjpolo commented Jan 22, 2024

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

  • Added joystick#2
  • Changed pinout
  • Updated wiring
  • Updated documentation

@fjpolo
Copy link
Contributor Author

fjpolo commented Jan 25, 2024

  • Add support for 8BitDo Home button: return back to main menu

@fjpolo fjpolo force-pushed the fjpolo/TangNano20k_NESGamepad branch from 0617a75 to ad72d2e Compare January 25, 2024 14:28
@fjpolo
Copy link
Contributor Author

fjpolo commented Jan 25, 2024

Everything re-tested and working :)

@nand2mario
Copy link
Owner

Great! I'll merge this.

@nand2mario
Copy link
Owner

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

@nand2mario nand2mario closed this Feb 11, 2024
@fjpolo fjpolo deleted the fjpolo/TangNano20k_NESGamepad branch March 22, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants