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

    Raspberrypi zero !WH

    Scheduled Pinned Locked Moved Help and Support
    joystick maping
    7 Posts 3 Posters 761 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.
    • G
      Gnomx
      last edited by

      Hi there.
      I'm new user here.
      I'm gonna use my old rpi0 as simply arcade emulator.
      So , to achieve it , I need to configure GPIO as input encoder 2 joystick , 8 button per player and HK button.
      Can some one link or explain me ho to do this?
      attached below a pic of GPIO wanted :
      mk_joystick_arcade_GPIOsb+.png

      Thanks a lot & take care about yourself and others around you.

      CapemanC 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @Gnomx said in Raspberrypi zero !WH:

        Can some one link or explain me ho to do this?

        Are you asking how to wire your buttons/joysticks or how to configure the GPIO to take the inputs and make it work as a controller ?
        The latter can be done by using the mk_arcade_joystick_rpi driver, which is included in RetroPie. For the former, I'll let somebody else chime in, since I don't have experience with the soldering/electronics part.

        G 1 Reply Last reply Reply Quote 0
        • G
          Gnomx @mitu
          last edited by

          @mitu said in Raspberrypi zero !WH:

          @Gnomx said in Raspberrypi zero !WH:

          Can some one link or explain me ho to do this?

          Are you asking how to wire your buttons/joysticks or how to configure the GPIO to take the inputs and make it work as a controller ?
          The latter can be done by using the mk_arcade_joystick_rpi driver, which is included in RetroPie. For the former, I'll let somebody else chime in, since I don't have experience with the soldering/electronics part.

          Hi.
          Yes I mean active GPIO in order do this. Can you explain how do it?
          About solder and wiring , I get it.

          Many thanks

          mituM 1 Reply Last reply Reply Quote 0
          • CapemanC
            Capeman @Gnomx
            last edited by

            @Gnomx use ADAFRUIT RETROGAME software to encode buttons over gpio, it’s the easiest solution I’ve found and works great

            Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

            1 Reply Last reply Reply Quote 1
            • mituM
              mitu Global Moderator @Gnomx
              last edited by mitu

              @Gnomx said in Raspberrypi zero !WH:

              Yes I mean active GPIO in order do this. Can you explain how do it?

              Follow the link in my previous post to look at how the GPIO driver (mk_arcade_joystick_rpi) works and how it's configured. You can install it from the RetroPie-Setup packages (it's in the drivers section), so you can omit the installation part explained in the driver's documentation.

              If you wish to use other method of GPIO-to-joystick mapping, there are other solutions, as @Capeman mentioned there's the ADAFRUIT RetroGame program (look it op) or GPIONext which offers similar functionality.

              G 1 Reply Last reply Reply Quote 0
              • G
                Gnomx @mitu
                last edited by Gnomx

                @mitu said in Raspberrypi zero !WH:

                @Gnomx said in Raspberrypi zero !WH:

                Yes I mean active GPIO in order do this. Can you explain how do it?

                Follow the link in my previous post to look at how the GPIO driver (mk_arcade_joystick_rpi) works and how it's configured. You can install it from the RetroPie-Setup packages (it's in the drivers section), so you can omit the installation part explained in the driver's documentation.

                If you wish to use other method of GPIO-to-joystick mapping, there are other solutions, as @Capeman mentioned there's the ADAFRUIT RetroGame program (look it op) or GPIONext which offers similar functionality.

                Ok thanks.
                I think MK is ok for my purpose , but it's just for RPi 2th gen ,right?
                SO as Capeman says , im gonna install ADAFRUIT RETROGAME , i should use existing pinout , or can use all pin on board?
                Next,if I'm on old Rp0 without wifi connection , is it possible make an offline install?

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Gnomx
                  last edited by

                  @Gnomx said in Raspberrypi zero !WH:

                  I think MK is ok for my purpose , but it's just for RPi 2th gen ,right?

                  No, it applies to any models after the 2 - the 1st model had less GPIO pins available.

                  SO as Capeman says , im gonna install ADAFRUIT RETROGAME , i should use existing pinout , or can use all pin on board?

                  I'm not sure, you should check the RetroGame's schematics, they might have a preferred wiring schema.

                  Next,if I'm on old Rp0 without wifi connection , is it possible make an offline install?

                  It depends on what packages you already have installed, but you can connect the PI Zero to the internet using a microUSB cable to your PC and configuring USB/Ethernet gadget mode (https://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/).

                  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.