RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    GPIO and the mkarcadejoystick module.

    Scheduled Pinned Locked Moved Help and Support
    mkarcadejoysticmodulesgpio
    13 Posts 2 Posters 3.7k Views
    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.
    • P
      PacoVelobs
      last edited by PacoVelobs

      Hi.

      I saw that one of the last Github commit the add of the mkarcadejoystick module.
      I was able to install an test it using the jstest program but can't use it in games.
      What's the trick?

      Also, why using only 24 of the 26 usable pins?

      Many thanks in advance!

      EDIT:

      • RPi3
      • Fresh install from this morning using a premade SD image
      • Followed guide: https://github.com/recalbox/mk_arcade_joystick_rpi
      • And: https://github.com/RetroPie/RetroPie-Setup/blob/6b2dfcc73fdedf75e07e3c0bd93a8fc4c80ea2f8/scriptmodules/supplementary/mkarcadejoystick.sh
      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @PacoVelobs
        last edited by

        @PacoVelobs did you configure in emulationstation? Regarding pins, documentation is here https://github.com/recalbox/mk_arcade_joystick_rpi

        Please read the link in my signature and provide more information when requesting support as agreed when registering on the forum.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • P
          PacoVelobs
          last edited by

          Hi.

          Thanks for the fast answer!
          I updated my post with the useful information.

          Note that it used to work fine with the Recalbox.

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by

            See my question regarding emulation station.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • P
              PacoVelobs
              last edited by

              I would gladly edit any config file but I've no idea what to do.

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by BuZz

                Did you try and configure the controls in emulationstation? From the GUI.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • P
                  PacoVelobs
                  last edited by

                  Yes.

                  But the buttons do not show up.

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by

                    Please can you explain in more detail. Step by step.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by

                      Also please post the output of udevadm info --name /dev/input/js0

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • P
                        PacoVelobs
                        last edited by

                        pi@retropie:~ $ udevadm info --name /dev/input/js0
                        P: /devices/virtual/input/input0/js0
                        N: input/js0
                        E: DEVNAME=/dev/input/js0
                        E: DEVPATH=/devices/virtual/input/input0/js0
                        E: ID_INPUT=1
                        E: ID_INPUT_JOYSTICK=1
                        E: ID_SERIAL=noserial
                        E: MAJOR=13
                        E: MINOR=0
                        E: SUBSYSTEM=input
                        E: TAGS=:seat:uaccess:
                        E: USEC_INITIALIZED=28672
                        
                        1. I made a fresh RetroPie install this morning,
                        2. Made a full update using RetroPi setup,
                        3. Installed the mkarcadejoystick module from the driver package manager,
                        4. Reboot,
                        5. Wired some buttons and played with the jstest program to see if everything went all right: it did,
                        6. Launched a nes game (pacman) and nothing happened.
                        1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators
                          last edited by

                          So you didn't configure the controller in Emulationstation and used another controller to launch the game or you did configure it ?

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • P
                            PacoVelobs
                            last edited by

                            Well, I finally found the GPIO configuration in the EmulationStation settings.
                            Sorry for the noise, it works pretty well!

                            Thanks for your awesome work!

                            1 Reply Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators
                              last edited by BuZz

                              np. Configuring controllers is explained here - https://github.com/retropie/retropie-setup/wiki/First-Installation - configuring additional controllers is under the "start" menu in ES (as you have found). Once configured in ES other emulators are set up automatically etc.

                              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                              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.