Reset Button with ControlBlock?
-
@detola For both of those scenarios you can tie the reset to a GPIO pin and then have that pin execute a script when pressed, and you could do that with the Control Block, since I'm pretty sure that's really just acting as a way to tie in to the GPIO.
-
I am currently implementing that feature and it seems as if I can add that during the next weekend. If you are interested you can have a look at the current draft at https://github.com/petrockblog/ControlBlockService2/blob/feature/snesreset/src/controlblock/SNESGamepad.cpp. With that feature implemented you can then connect the original reset button to the ControlBlock. The ControlBlock, in turn, will issue an ESC key press, if the reset button is pressed.
-
Hello guys,
glad to hear thats now implemented into controlblock. I have a question how to wire the reset button to the controlblock? I mean wich port I have to use. -
The documentation needs to be extended with this functionality, I agree.
The reset button should be attached to GPIO "Player 2 - B".
-
Allright thank you :)
-
@petrockblog said in Reset Button with ControlBlock?:
The reset button should be attached to GPIO "Player 2 - B".
Sorry, if this is a stupid question, but what about the second wire? Where should this be attached to? GPIO "GND" on the control block?
-
@ahaertig
I have attach it to the control block with player one ground. But not testet yet. Waiting for a little part to finish the build. Ill report you if iam done. -
Ok it doesnt work dont know why but i will investigate this tomorrow. played to much today with the old games :D
-
Connecting it to GND on the ControlBlock is the way to go.
If you cannot solve that issue, you could post some pictures here so that we might get an idea about your hardware setup.
-
@petrockblog
Checked the connection with the multimeter its correct wired so far.
But still not working dont now why. Some pictures for you
-
Did you ever found out what the problem was? I have a momentary switch connected to GPIO "Player 2 - B" and Ground on the Controlblock but it does nothing. I have checked for continuity and the switch is functioning like it should but software wise it does nothing?
-
Seeing as this wasn't answered in months i'll debug it myself tonight and rewrite some things if i have to.
-
For the SNES gamepad type the ESC keyboard key is simulated, see also https://github.com/petrockblog/ControlBlockService2/blob/master/src/controlblock/gamepads/SNESGamepad.cpp#L108. Maybe that points you into the right direction.
-
@petrockblog The "Reset" function on the ControlBlock does not work as advertised. Please look into this. I believe the firmware in the ControlBlock does not properly bind with Retropie. Has someone got this function working?
-
I will create a video that demonstrated that feature. I hope that it will also clarify some questions regarding the hardware setup and configuration. I will post that video here as soon as it is published in the next days here!
-
@petrockblog That will greatly help a lot of us who would want to see this working. Thanks.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.