RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Project help needed

    Scheduled Pinned Locked Moved Ideas and Development
    gamingstationprojectraspberrypiretro
    37 Posts 7 Posters 10.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.
    • L
      Luxous
      last edited by

      So.....

      yesterday all 7 stations arrived, ive installed retropie on them all and also various consoles and games, custom splash screen etc etc

      my problem is that ive bought arcade joysticks and buttons, pair share the same "dual usb encoder" both joysticks and all buttons connect to this encoder then i plug in the usb. ive tried numerous times to have emulation station listen to controls yet when i start a game, most buttons dont work, when i hit start for exmple some characters jump - its driving me insane :)

      any help much appreciated

      CapemanC pjftP 2 Replies Last reply Reply Quote 0
      • CapemanC
        Capeman @Luxous
        last edited by

        @Luxous What kind of encoder? Can you post a link to the brand and model?

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

        L 1 Reply Last reply Reply Quote 0
        • pjftP
          pjft @Luxous
          last edited by

          @Luxous Just to confirm, did you remap the controllers in EmulationStation, and are you using the libretro (lr- prefix) emulators?

          L 1 Reply Last reply Reply Quote 0
          • L
            Luxous @Capeman
            last edited by

            @Capeman thanks https://www.amazon.co.uk/gp/product/B06XFSTZLK/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

            1 Reply Last reply Reply Quote 0
            • L
              Luxous @pjft
              last edited by

              @pjft i reset controls, as i had assumed i had messed up, ssh in and ran script to wipe controls, ran emulation station, one set of controls work, the second set have no effect at all

              with regards to the libretro (lr- prefix) emulators, im unsure how to do that?

              1 Reply Last reply Reply Quote 0
              • T
                thedeathstar
                last edited by

                For your controllers:

                First thing I'd do is start up your pi with only the non-working controller plugged in and see if it recognizes it as a new controller that you need to configure.

                Second, there's a test you can do to see what controllers are plugged in, and see what button presses correspond to numeric inputs on the pi. I'm guessing this video is still applicable:

                If the two controllers give different inputs you might need to rewire your buttons. If certain buttons or the controller aren't recognized I would suggest going over your wiring with a fine tooth comb to make sure you didn't miss anything.

                For the power on/off:

                One option other than the powerblock is shown here:

                I haven't tried it, so maybe someone else would be able to tell you if that's as robust of a solution as the more expensive hardware. At least you can test that with one of your extra buttons, and not have to worry about spending more money for now.

                Another option would be something like this: https://mausberry-circuits.myshopify.com/products/shutdown-circuit-use-your-own-switch

                The benefit (in my mind at least) is that I think it fully cuts power to the pi, but it requires an on/off switch.

                L 1 Reply Last reply Reply Quote 0
                • L
                  Luxous @thedeathstar
                  last edited by

                  @thedeathstar thanks for the info, the arcade set ive got is two complete sets of buttons and joysticks but they share the same double encoder, so there is only one usb into the pi, this is why i think its only finding it as a single controller

                  1 Reply Last reply Reply Quote 0
                  • L
                    Luxous
                    last edited by

                    SO ....

                    today i took one of the encoders off of the other button sets and connected the two separate sets of joysticks and buttons via two encoders, the pi then seen i had two sets of controllers.

                    i wipe the controllers settings and i go through emulation station programming joystick 1, everythings fine.

                    once in emulation station i then hit menu, configure joystick 2, everything seems to be working, only its not... it then throws off all controls for joystick one. only the bottons though not the joystick

                    T 1 Reply Last reply Reply Quote 0
                    • CapemanC
                      Capeman
                      last edited by

                      I recommend you switch out to using a keyboard based encoder like the iPac 2. Those cheapo chinese encoders that come in those bundle kits are usually pretty low quality, and with no documentation there's no way to easily troubleshoot them. The iPac is more expensive, but infinitely easier to work with since it's recognized as a keyboard and not multiple gamepads.

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

                      1 Reply Last reply Reply Quote 0
                      • T
                        thedeathstar @Luxous
                        last edited by

                        @Luxous A possibility is that you could find the input numbers for the buttons for each users controls (using both controls in one usb controller still) and then set up the controller config file for each system using those inputs. Those config files are set here: /opt/retropie/configs/whatever system you are setting up for/retroarch.cfg

                        The code you would change would be something like:
                        player2_a = 1
                        player2_b = 2, etc.

                        You would leave the player 1 controls, and just change the player 2 controls. This may not even work though because it may require player2 to be a separate controller.

                        On the other hand, you could do a similar thing using two of your current controllers for each system. The controllers may not be consistent with each other , but you could get the input number for each one and set the player two controls to those inputs.

                        1 Reply Last reply Reply Quote 0
                        • T
                          thedeathstar
                          last edited by

                          if the second way works, you could get away with not having to buy new control boards for all of your systems.

                          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.