Recalbox Forum

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

    PIGRRL 2.0 CUSTOM GAMEPAD

    GamePad/GPIO/USB encoder
    pigrrl 2.0 gamepad
    3
    4
    1695
    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.
    • bigbear
      bigbear last edited by

      I'm the process of putting together an adaFruit PiGRRL 2.0 project - essentially a portable arcade - https://learn.adafruit.com/pigrrl-2/overview

      The project is developed around the use of RetroPie but I would prefer to use Recalbox.

      The controller is a custom adaFruit Gamepad which requires an application called retrogame to convert button presses to keyboard strokes.
      adaFruit Gamepad: https://learn.adafruit.com/pigrrl-2/gamepad
      adaFruit Retrograme: https://github.com/adafruit/Adafruit-Retrogame

      The github page for Retrogame has a section which talks specifically about RetroPie 2.0+ Compatibility:

      RetroPie 2.0+ Compatibility

      Note that by default retrogame won't work with SDL2 applications that depend on evdev for input events. Specifically this means applications like the latest version of RetroPie and EmulationStation won't be able to see key events generated by retrogame. However you can fix this issue by adding a small custom udev rule to make retrogame keyboard events visible to SDL2.

      Connect to your Raspberry Pi in a terminal/SSH session and execute the following command to create and edit the file /etc/udev/rules.d/10-retrogame.rules:

      How relevant is this in the context of Recalbox?

      I have tried installing the retrograme binary myself and am able to get it to work ok within EmulationStation but as soon as I launch a game button clicks don't register.

      Any suggestions on what I can try would be greatly appreciated.

      Cheers

      Gerard

      Substring 1 Reply Last reply Reply Quote 0
      • acris
        acris last edited by

        Hello @bigbear
        May be help
        https://github.com/recalbox/recalbox-os/wiki/Touches-du-clavier-via-GPIO-(FR)

        bigbear 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @bigbear last edited by

          @bigbear hi
          What kind of inputs does it naturally generate ?

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          1 Reply Last reply Reply Quote 0
          • bigbear
            bigbear @acris last edited by

            Hi @acris

            I gave this a go with no luck. I'm also using an Adafruit 2,8" TFT which is using it's own GPIO pins and I suspect that mk_arcade might be trying to use the same pins.

            Do you know if it is possible to configure the pins that mk_arcade is using?

            Cheers

            Gerard

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

            Want to support us ?

            77
            Online

            99.6k
            Users

            28.1k
            Topics

            187.1k
            Posts

            Copyright © 2021 recalbox.com