• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

This is driving me mad!!!

Scheduled Pinned Locked Moved Help and Support
controllersreversed
16 Posts 4 Posters 6.0k 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.
  • E
    edmaul69 @TMNTturtlguy
    last edited by 8 May 2017, 23:05

    Yes. I should have stated that better. As @TMNTturtlguy said, if things are different swap the wires around on player two to match player one.

    1 Reply Last reply Reply Quote 1
    • N
      Niall76
      last edited by 8 May 2017, 23:09

      Hi guys many thanks for your help, they are both zero delay usb encoders, but one has individual wires to each point ie up down left and right, and the other as all its connection wires in one piece which plugs directly into the board, if you know what I mean!! These are for the joysticks themselves doesn't seem to be any problem with the buttons,.just the joysticks

      E 1 Reply Last reply 8 May 2017, 23:11 Reply Quote 0
      • E
        edmaul69 @Niall76
        last edited by 8 May 2017, 23:11

        @Niall76 i think you have one of your joysticks upside down.

        1 Reply Last reply Reply Quote 1
        • T
          TMNTturtlguy
          last edited by 8 May 2017, 23:34

          @Niall76 I am not sure what your pin connectors look like but you should be able to trace the wires through to determine how they are wired.

          1 Reply Last reply Reply Quote 0
          • M
            meleu @Niall76
            last edited by 9 May 2017, 02:00

            @Niall76 your description indicates that both encoders have the same name for the OS. In this case, RetroPie/RetroArch uses the same file in /opt/retropie/configs/all/retroarch-joypads/JOYSTICK_NAME.cfg. And then the last joystick you configure will always overwrite the previous config you made. That's why the most recent config make one joystick works fine but mess the other controller.

            Fixing the connections of the problematic joystick is the most correct action to take. But if you're unable to do that, here's my suggestion:

            Premises:

            • it's a bartop, then the first joystick will be always the player1 and the second one, the player2.
            • you can't fix the connections of the stick.
            • you'll use retroarch most of the time.

            Proposed solution

            1. Configure your joystick for player1.

            2. Open your /opt/retropie/configs/all/retroarch-joypads/JOYSTICK_NAME.cfg and look for the *_axis lines, like these:

            input_up_axis = "-1"
            input_down_axis = "+1"
            input_left_axis = "-0"
            input_right_axis = "+0"
            
            1. Now insert player1_ after each input_. Example: input_up_axis will be input_player1_up_axis.

            2. Now copy'n'paste the 4 lines (up, down, left and right) and in the new copied lines, substitute player1 by player2.

            3. In the player2 lines, use the values you need to make it work not reversed. Example:

            # d-pad for player1
            input_player1_up_axis = "-1"
            input_player1_down_axis = "+1"
            input_player1_left_axis = "-0"
            input_player1_right_axis = "+0"
            
            # d-pad for player2
            input_player2_up_axis = "-0"
            input_player2_down_axis = "+0"
            input_player2_left_axis = "-1"
            input_player2_right_axis = "+1"
            

            I hope it helps.

            Cheers!

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 1
            • M
              meleu
              last edited by 9 May 2017, 02:04

              @Niall76 And if you go mad again, take a look at this post. ;-)

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              N 1 Reply Last reply 9 May 2017, 18:46 Reply Quote 1
              • N
                Niall76 @meleu
                last edited by 9 May 2017, 18:46

                @meleu great advice much appreciated! I will try checking the wiring etc first, its a very strange one, esp when I configure one and the other goes into reverse and Vice versa, if that doesn't work I will do what you mentioned, but I wont let it get the better of me😊

                E 1 Reply Last reply 9 May 2017, 19:43 Reply Quote 0
                • E
                  edmaul69 @Niall76
                  last edited by edmaul69 5 Sept 2017, 20:43 9 May 2017, 19:43

                  @Niall76 just turn one of the joysticks around.

                  1 Reply Last reply Reply Quote 1
                  • N
                    Niall76
                    last edited by 9 May 2017, 22:31

                    Hi everyone an update, I've checked the wiring, disassembled the controller I thought there might be problems with so put it back together, seems to be going ok, both joysticks toggle through the menus fine, I've a couple if mega drive games on it, and thankfully 2 player controls worked ok!!!!

                    But...... I have a couple of Mame games, when I try 2 player the same problem comes up, 1 joystick is ok, the other is reversed. I've tried what the previous poster said about inputing the controls up down left right etc but when I start a game I seen a msg pop up something like Core doesn't support saved states.

                    So my main menu controls are fine with both controllers, as is Sega mega drive, but the problems start with Mame. What can I do?

                    E T 2 Replies Last reply 9 May 2017, 22:35 Reply Quote 0
                    • E
                      edmaul69 @Niall76
                      last edited by 9 May 2017, 22:35

                      @Niall76 did you try to configure the controls previously in mame? If so you need to delete that config file wherever it got saved.

                      N 1 Reply Last reply 9 May 2017, 22:56 Reply Quote 1
                      • T
                        TMNTturtlguy @Niall76
                        last edited by 9 May 2017, 22:36

                        @Niall76 what name emulator are you trying to use?

                        1 Reply Last reply Reply Quote 0
                        • N
                          Niall76 @edmaul69
                          last edited by 9 May 2017, 22:56

                          @edmaul69 hi there no I don't think I have done anything specific to mame, I'm not sure how to configure controllers specifically for mame. The emulator I am using is mame liberato, or something like that

                          T 1 Reply Last reply 9 May 2017, 23:35 Reply Quote 0
                          • T
                            TMNTturtlguy @Niall76
                            last edited by 9 May 2017, 23:35

                            @Niall76 to help you we need to know what name emulator you are using. Check out the docs section on this forum under arcade. You can check what emulator is set by pressing the A button when the rom is loading.

                            1 Reply Last reply Reply Quote 0
                            16 out of 16
                            • First post
                              16/16
                              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.

                              This community forum collects and processes your personal information.
                              consent.not_received