Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    No Controller in any game - emustation is fine

    GamePad/GPIO/USB encoder
    emustation controller gpio
    2
    6
    1461
    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.
    • AlfaJackal
      AlfaJackal last edited by AlfaJackal

      Hey all!

      I have a GameBoy Zero (with Rpi3b) and buttons soldered to the GPIOs. I remapped them with adafruit retrogame to my keyboard.

      Everything works very well in emulationstation! But after launching a game, doesn’t matter which one, I am not able to use the controller.

      What am I doing wrong??

      voljega 1 Reply Last reply Reply Quote 0
      • voljega
        voljega Banned @AlfaJackal last edited by

        @alfajackal what version of recalbox ?

        did you configure your controller in EmulationStation ?
        did you activate GPIO in recalbox.conf ?

        AlfaJackal 1 Reply Last reply Reply Quote 0
        • AlfaJackal
          AlfaJackal @voljega last edited by

          @voljega

          Yes, I configured it in ES.
          No, I didn't activate GPIO in recalbox.conf. If I set controllers.gpio.enabled to 1it does not work because the system then will double press a button (keyboard and Controller) so I am unable to configure the controller correct in ES.

          Due to this french instruction it also says "deactivate GPIO" in recalbox.conf: https://github.com/recalbox/recalbox-os/wiki/Touches-du-clavier-via-GPIO-(FR) Or did I translate it wrong?

          voljega 1 Reply Last reply Reply Quote 0
          • voljega
            voljega Banned @AlfaJackal last edited by voljega

            @alfajackal Maybe i'm misding something what is the use of the keyboard part ?
            Why not map directly buttons and pad to gpio ?

            Beside keyboard as a gamepad is not supported in recalbox, most emulators won't work

            The wiki page you linked is very old and seems to be only used for very specific cases

            AlfaJackal 1 Reply Last reply Reply Quote 0
            • AlfaJackal
              AlfaJackal @voljega last edited by AlfaJackal

              @voljega

              I actually took this tool from adafruit: https://github.com/adafruit/Adafruit-Retrogame/blob/master/README.md

              With this you can easily remap your GPIOs to a virtual keyboard without resoldering it. I don't know any other way to do that. If I try to configure my controller without "retrogame" and with controllers.gpio.enabled I am not able to use every button.

              I think this is the reason why retrogame does not work:

              Beside keyboard as a gamepad is not supported in recalbox, most emulators won't work

              But in the meantime I figured out, that I had to to the follwing. Now the buttons start, x and y work, but not the whole set. I also opened an issue on github as that place may be a bit more specific for a possible solution.

              Anyway. Here is how the GPIOs are connected to my buttons:

              A 	> 21
              B 	> 16
              Start 	> 13
              Select 	> 18
              Right 	> 22
              Down 	> 05
              Up 	> 04
              Left 	> 14
              X	> 20
              Y	> 26
              

              Here is also an example config from Adafruit Tools retrogame: https://raw.githubusercontent.com/adafruit/Adafruit-Retrogame/master/configs/retrogame.cfg.zero
              If you could provide me any other "HowTo" that enables me to use all of my buttons in recalbox without rewiring it, I would really appreciate it.

              By the way: In retropie everything works like a charm. But I don't want to use it! 🙂

              voljega 1 Reply Last reply Reply Quote 0
              • voljega
                voljega Banned @AlfaJackal last edited by

                @alfajackal said in No Controller in any game - emustation is fine:

                With this you can easily remap your GPIOs to a virtual keyboard without resoldering it.

                but first post :

                @alfajackal said in No Controller in any game - emustation is fine:

                I have a GameBoy Zero (with Rpi3b) and buttons soldered to the GPIOs.

                So sorry, but I don't really get what you did and why it was necessary compared to regular GPIO... but as I said I don't know much about taht.
                Besides all links you provide are for retropie, and recalbox is not retropie...

                If someone used the same setup goes through here, he might be able to help you, but I don't know more than that.

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

                Want to support us ?

                84
                Online

                99.6k
                Users

                28.1k
                Topics

                187.1k
                Posts

                Copyright © 2021 recalbox.com