Homepage › Forums › RetroPie Project › Peoples Projects › My Playstation Mod › Reply To: My Playstation Mod
04/30/2013 at 14:16
#1655
Jonathan Demarks
Participant
[quote=1654]Hi, really nice build/idea, I am currently working on my own little project, will share when done. could you please link me to the process of resetting the games via the GPIO pins please?
Thanks
Karl
[/quote]
I’m using the SNESDev-Rpi (also PetRockBlog) to handle that. The link is here and it describes how to download build and install it as a service so you no longer need a keyboard: https://github.com/petrockblog/SNESDev-RPi.
-
Here are a few extras though to use it with the PS button:
- Move line 331 in src/main.c (initializePads( &pads );) to under line 340 (if (pollPads) {) to squash a bug.
- Add these two lines under line 333 (if (pollButton) {)
- bcm2835_gpio_fsel(buttonPin, BCM2835_GPIO_FSEL_INPT);
- bcm2835_gpio_set_pud(buttonPin, BCM2835_GPIO_PUD_UP);
- Make sure the SNESDev-Rpi is set to start up in mode 2 (poll button only).
I have attached my main.c for reference, but it does a couple other things (changes esc to one button press and shutdown to 3).