Using Controlblock with arcade and SNES wired

Welcome Page Forums RetroPie Project GPIO Adapter, ControlBlock etc. Using Controlblock with arcade and SNES wired

This topic contains 4 replies, has 2 voices, and was last updated by Profile photo of ptitneo ptitneo 2 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #99335
    Profile photo of ptitneo
    ptitneo
    Participant

    Hello world, first post in here!

    I’m working on my own little project of converting an iCade into a standalone RPi2 emulation machine, and I received my shiny new Controlblock yesterday.

    LED, toggle switch and arcade controls all work great so far (thanks petrockblock :)) but I was thinking of adding a couple of SNES ports to the cabinet, to allow 2 player games and a more faithful experience for console games.

    Looking at the wiring instructions on http://blog.petrockblock.com/2014/12/29/controlblock-power-switch-and-io-for-the-raspberry-pi/#UsingArcadeControllers_with_the_ControlBlock, it looks like I should be able to wire both 1 player arcade and SNES ports easily.

    So my question is: has anyone here tried that already?

    I’m pretty much like Jon Snow as far as retropie is concerned; how could I switch the Controlblock driver from one mode to the other? I assume some command line would be required when launching the SNES emulator to stop the Controlblock service, switch the config file, and restart it. Would that be possible? Can I revert that back to arcade when exiting to ES? Can I do that on a per-game basis?

    The best thing would be for the Controlblock driver to detect the SNES controller automatically, or if not possible, to read an extra GPIO pin to decide which mode to use so that I could use a physical switch to toggle between the two modes 🙂

    Many thanks !

    #99372
    Profile photo of petrockblog
    petrockblog
    Keymaster

    To switch the game pad type you would have to switch it in the ControlBlock config file at /etc/controlblockconfig.cfg and run “sudo service controlblockservice restart”.

    #99381
    Profile photo of ptitneo
    ptitneo
    Participant

    Yep, but would not be possible to do this automatically when running, say, the SNES emulator from ES? And revert it when going back to ES. My iCade doesn’t have room for a full keyboard…

    #99993
    Profile photo of petrockblog
    petrockblog
    Keymaster

    You would have to write a bash script and adapt the EmulationStation file ~/.emulationstation/es_systems.cfg accordingly.

    #100490
    Profile photo of ptitneo
    ptitneo
    Participant

    Sounds good, I’ll try that. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar