@la From what I understand from your post, the device is a remote control. Can it also act work like a gamepad controller ? Because this is what RetroPie recognizes and configures to navigate the Emulationstation menus.
Ok, thanks for the information. The buttons you guys suggested look better than I had envisioned. I didn't have any specific dimensions but I was more looking for something round so I can drill through the side plate vs. something square which I don't have equipment to do properly. :)
@petrockblog said in GamepadBlock and 6-button genesis/megadrive controllers:
Yes - the 6 button controller for Genesis can be used with the GamepadBlock. You can switch to 6 button mode with the button combination "A+B+C+Start+Up".
It is important to note that the switch and the optional status LED need to be connected to the 2x2 pins header in any case. The signal break outs S1 and S2 are not meant for the switch and the LED, but rather for the communication between the PowerBlock and The RPi. Here is a summary for the connection between the break outs and the RPi:
S1: pin 12
S2: pin 11
5V OUT +: pin 2 or pin 4
5V OUT -: pin 6 or pin 9
Sounds like you've got everything set up fine in EmulationStation, but not in retroArch.
Make sure you're using "lr-" versions of an emulator, then try going into the retroArch menu (Select+X). You should be able to configure your buttons in there.
@suleske I found several inexpensive and simple circuits I could build. This little board has some added features (e.g. setting the key press switch delay), so I bought it: https://www.ebay.com/itm/262199569276
The ControlBlock also finds on the model b. However, one difference between B and B+ is that B needs a bit more power than B+. Depending on your power supply this might lead to instabilities with the power switching component on the ControlBlock, because the MOSFET on it adds a small voltage drop.
Hope that helps?
I have just released a post about the virtual COM port of the GamepadBlock. I hope that answers your questions! You can find it at https://blog.petrockblock.com/2017/11/11/using-virtual-com-port-gamepadblock/
@ortsac hate to hijack this, do you have pictures of your completed project? You may have built exactly what I need to build myself for the misses. I am looking to also emplace a Pi3 into an authentic NES console, for use just for NES and SNES emulation. I would like to bounce some ideas of you if possible as well as get some feedback/guidance of any issues you may have ran across.
The new GamepadBlock supports switching between the various controller modes via a virtual COM port.
For the ControlBlock a Bash script could be written that changes the controlblockservice.cfg file and reloads the ControlBlock service. I have not had time to work on that yet, though.
@petrockblog I think you can best answer on this ;)
I saw your switch built in a NESPi case - it should fit perfectly in.
But what will happen in the following scenarios:
I use a momentary switch and press the button to powerdown (I think it's clear what will happen)
I use a momentary switch, do a shutdown via software (Quit >> Shutdown system)
The Mausberry switch fails in this case, because it will miss the physical button press and therefore needs a GPIO signal sended to the Mausberry circuit (Take a look here).
If you don't do this modification the Raspberry will shutdown as usual but the Mausberry switch is still active and does not respond to any button switch. So you have to cut main power or reset the circuit to make it work again.
After the installation of the PowerBlock and the ControlBlock drivers you need to enable the driver in a second step. I realise that this is not intuitive so that I created a patch for the RetroPie Setup. In the future, the drivers will be enabled with the installation.