RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs

    Using ControlBlock with GPIO output instead of input?

    ControlBlock, PowerBlock & Co.
    controlblock
    2
    2
    65
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • biggestsonicfan
      biggestsonicfan last edited by biggestsonicfan

      Greetings,

      So ControlBlock appears to be exactly what I need for an RPi powered project, however I get the impression the hat is used to take existing I/O controllers and use them to generate inputs for RPi applications (such as RetroPi, emulators, whathaveyou...). However, I would very much like to do the opposite and use ControlBlock to control. I understand things like this exist such as TAStm32, but that's not really what I'm looking for. I was wondering if the source code could be forked and modified to handle sending inputs to a console instead of receiving inputs from a controller?

      Anyone ever tinkered with this idea?

      1 Reply Last reply Reply Quote 0
      • petrockblog
        petrockblog Global Moderator last edited by

        Hi, interesting project idea!
        In case of simulating a controller towards a console it depends on the protocol and submission speeds.
        Generally, you can control the GPIO pins of the ControlPins via the SPI interface of the Raspberry. As long as SPI is fast enough for your use case, things should work.
        Hope that helps!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.