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 Joystick

    Scheduled Pinned Locked Moved Help and Support
    gpio controller
    4 Posts 2 Posters 1.1k 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.
    • M
      m1k3ol
      last edited by

      Is this still a valid tutorial? (For mk_arcade_joystick_rpi)

      https://www.raspberrypi.org/forums/viewtopic.php?t=83317

      It's from like 2014 and older images, I wonder if it's maybe as easy as recalbox now (it got integrated there)...or at least if it's still a standard procedure nowadays...

      1 Reply Last reply Reply Quote 0
      • simonsterS
        simonster
        last edited by

        MK_arcade_joystick driver is available in the Retropie Setup application.

        The wiring has ground common on all switches and should be connected to the GPIO in different ways depending on the version of Pi you have

        For the original Pi with 26pin header:

        https://github.com/recalbox/mk_arcade_joystick_rpi/raw/master/wiki/images/mk_joystick_arcade_GPIOs.png

        If you have a Pi with a 40 pin header such as a Pi 2/3 the diagram is : https://github.com/recalbox/mk_arcade_joystick_rpi/raw/master/wiki/images/mk_joystick_arcade_GPIOsb+.png

        1 Reply Last reply Reply Quote 0
        • M
          m1k3ol
          last edited by

          @simonster thanks a lot!

          I was able to find (after a lot of digging) all of this yesterday, but yeah, no tutorial needed anymore other than doing that

          It's also worth to mention that doing it only activates 1 arcade stick, it's necessary to sudo nano /etc/modprobe.d/mk_arcade_joystick_rpi.conf so that it ends with map=1,2 instead of just 1, that's the option that enables both for the GPIO

          Thanks!

          simonsterS 1 Reply Last reply Reply Quote 0
          • simonsterS
            simonster @m1k3ol
            last edited by

            @m1k3ol

            I did my setup manually, but I saw the option a few months ago.

            When you configure input in es, do P1 first, then go back and do P2. This will then map both controllers in the auto configuration script, otherwise it only creates the map for player 1

            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.