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

Psx controller emulation. #60

Open
DiktatorShadaloo opened this issue Jun 14, 2023 · 4 comments
Open

Psx controller emulation. #60

DiktatorShadaloo opened this issue Jun 14, 2023 · 4 comments

Comments

@DiktatorShadaloo
Copy link

Hi, I was looking if there was any project to emulate a ps1 or ps2 controller using a raspberry pi pico to make an arcade stick and I found this repository whose description says that it serves to emulate a psx controller but the readme is focused on emulating the memory card and there is no info on how to emulate the control or diagrams of the buttons. Is it possible to do it or it isn't implemented yet?

Thanks in advance.

@wired-filipino-owl
Copy link

This project is focused on reading the controller inputs to switch emulated memory cards. That may be the reason it came up in your search. I don't believe there are any plans to do controller emulation, as that is significantly outside the focus of the project.

If you wanted to make a PS1 controller emulator yourself, the PS1/PS2 controller protocol is very well documented online.

https://gamesx.com/controldata/psxcont/psxcont.htm
https://psx-spx.consoledev.net/controllersandmemorycards/

I also found a half-finished Arduino (ATmega328p) project from a decade ago
https://web.archive.org/web/20130523144355/http://novemberbravo.50webs.com/projects/avr_dsc/avr_dsc.html/

@dangiu
Copy link
Owner

dangiu commented Jun 14, 2023

Hi, it is very well doable, initially I began the project by emulating a PSX controller. If you know how to write some basic code it will be quite easy. In the poc_example folder there is an example of PSX controller emulation, try to take a look at that.
Right now I'm on vacation but once I get back we can setup a discord call if you are not able to do it by then :)

@DiktatorShadaloo
Copy link
Author

Hi, it is very well doable, initially I began the project by emulating a PSX controller. If you know how to write some basic code it will be quite easy. In the poc_example folder there is an example of PSX controller emulation, try to take a look at that. Right now I'm on vacation but once I get back we can setup a discord call if you are not able to do it by then :)

Thank you both for the quick response! I'll take a look to that folder and try to understand how it works.

@dangiu
Copy link
Owner

dangiu commented Jun 19, 2023

The code is a bit outdated so it probably will not compile straight away and might need some fixes but the basics are there :)

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

No branches or pull requests

3 participants