Recalbox 7.0

No Controller in any game - emustation is fine



  • 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??


  • Banned

    @alfajackal what version of recalbox ?

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



  • @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?


  • Banned

    @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



  • @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! 🙂


  • Banned

    @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.



Want to support us ?

195
Online

79.1k
Users

20.3k
Topics

149.1k
Posts