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

Image Swtitching Hardware Button #24

Open
dangiu opened this issue Sep 2, 2022 · 10 comments
Open

Image Swtitching Hardware Button #24

dangiu opened this issue Sep 2, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@dangiu
Copy link
Owner

dangiu commented Sep 2, 2022

As mentioned by @Androxilogin since on PS2 memory card and controller bus are separate PicoMemcard cannot detect controller input therefore memory card switching is not functional.
Additional hardware buttons are required for memory card switching, which likely requires the availability of two GPIO inputs (for two buttons) and software support.

@dangiu dangiu added the enhancement New feature or request label Sep 2, 2022
@qxc86
Copy link

qxc86 commented Sep 6, 2022

If I ever get builds working properly this was next on my list after extra board support. Might be able to take it on.... but the code would probably be very sloppy lol

@g0ldenflash
Copy link

And maybe these buttons can do other things like creating a new mcr by long press or double click?

@dangiu
Copy link
Owner Author

dangiu commented Sep 13, 2022

That's the idea

@LobAnovich
Copy link

In this case, an OLED screen would also be useful, which would display the number of the active memory card

@dangiu
Copy link
Owner Author

dangiu commented Jan 23, 2023

Yes, the plan is to get some sort of incremental build with components that can be optionally toggled on and off. This way people that want the chepest possible solution don't have to spend a lot of money, while others that want a full fledged version can have it

@realJoshByrnes
Copy link
Collaborator

It's possible for us to poll the existing button on the Pico/Pico W. Not sure about the buttons on the Zero. I don't believe it's possible to set an interrupt, but I haven't investigated it.

@dangiu
Copy link
Owner Author

dangiu commented Mar 19, 2023

I remember looking into that but it was not practical (or straight impossible if I remember correclty) mainly for two reasons:

  • We are using both cores simultaneously
  • It requires code running from ram which we barely have enough of
  • (maybe it even requires suspending interrupts ???)

Don't take my answer for granted tho, I'm writing this from what I remember off the top of my head.
If it's possible it would be the ideal solution tho.

@realJoshByrnes
Copy link
Collaborator

Using both cores simultaneously was an issue I had considered, It should be possible to poll when the MemCard is not active since we have interrupts on that.

That is the next issue; It does require suspending interrupts. (I didn't know that)

https://github.com/raspberrypi/pico-examples/blob/master/picoboard/button/button.c

@einso
Copy link

einso commented Aug 28, 2023

Hi! Just wanted to check in on this: I recently built some PMC+ as my first experience with ordering parts/PCBs, soldering components etc.
I noticed the buttons on both my units are not working, whether inserted in a PS1 or a PS2 (switching via controller works on the PS1 obviously).
Wanted to know: are the buttons supposed to be working at this point? I see the issue is still open (and, understandably, hasn't been touched in a while), but the ReadMe makes it sound like it should be working.

@dangiu
Copy link
Owner Author

dangiu commented Oct 9, 2023

Nope the buttons are not implemented yet, are there on the pcb just for future proofness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants