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

    Two Player Joystick showing up as One

    Scheduled Pinned Locked Moved Help and Support
    joystickxin-moxin moubuntu18.04
    12 Posts 2 Posters 1.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.
    • D
      dirty_monkee
      last edited by

      Re: Conflicting joysticks?
      Right.. So I have a PC running Ubuntu (18.04 LTS) with retropi installed.

      My two player arcade joysticks (THT two player Arcade/Xin-Mo) are only registering as one joystick (Up is up on both players and down is down on both players and so on). I have tried updating Kernel but it didn't work. When it came to patching it was asking which file I wanted to patch and didn't know where to go from there.

      I tried the solution provided by @absolut1978 but once I ran "cat /sys/mmodules/usbhid/parameters/quirks" yet it failed to find folder/directory. The solution provided by @com_gunner "sudo rmmod usbhid && sudo modprobe usbhid quirks=0x0810:0xe301:0x00000040" using by own vendor/product ID worked and showed two players yet don't save upon restart/reboot.

      Please help.

      I am at my wits end. I have made, painted & hand drawn cabinet art spending a lot of my time on this project to come to a complete stop here.

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

        @dirty_monkee said in Two Player Joystick showing up as One:

        I tried the solution provided by @absolut1978 but once I ran "cat /sys/mmodules/usbhid/parameters/quirks" yet it failed to find folder/directory.

        It's /sys/modules/usbhid/parameters/quirks (single m after /sys), you probably mis-spelled it.

        The solution provided by @com_gunner "sudo rmmod usbhid && sudo modprobe usbhid quirks=0x0810:0xe301:0x00000040" using by own vendor/product ID worked and showed two players yet don't save upon restart/reboot.

        To set kernel module parameters permanently you create a new file in the /etc/modprobe.d folder with the format

        options usbhid quirks=0x0810:0xe301:0x00000040
        

        So create a file /etc/modprobe.d/xin-mo.conf with the proper contents (i.e. add the correct verndor/model ids to the quirks module parameter), save it and reboot.

        1 Reply Last reply Reply Quote 0
        • D
          dirty_monkee
          last edited by dirty_monkee

          @mitu
          Perfect that worked. The directory was “module” not“modules” however....

          I’ve setup joysticks in emulation station and can navigate the menu but can’t set the hot key button (to exit game) as a button from joystick 2 (Button 11 on player 2)

          Nor once the game has loaded can I envoke retroarch settings in order to bind/setup player two controls. (Can’t do this from keyboard either)

          Thanks for you help so far

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

            @dirty_monkee Only Player 1 can start the RetroArch GUI. I don't have such a controller, but I my guess would be that you can't create - at least from the ES configuration GUI - different configurations for both gamepads. Once you configured the 1st player, the same configuration applies to the 2nd (and vice-versa), because both identify with the same name.

            D 1 Reply Last reply Reply Quote 0
            • D
              dirty_monkee @mitu
              last edited by

              @mitu
              Yeah. I have tried configuring player one but still can’t get the retroarch settings up once in a game. Player two does not automatically set up.

              Perhaps I should cut my losses and purchase another joystick encoder?

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

                @dirty_monkee said in Two Player Joystick showing up as One:

                Perhaps I should cut my losses and purchase another joystick encoder?

                I don't have any experiences with this - it should work I think - , but maybe other forum members can help diagnose the issue here. It could be just a configuration problem.
                Can you post the RetroArch log file (/dev/shm/runcommand.log) with verbose logging enabled ?

                1 Reply Last reply Reply Quote 0
                • D
                  dirty_monkee
                  last edited by

                  @mito
                  Thanks for your help so far. I’m going to have another crack at it later when work stops getting in the way. Failing me getting it working is the forum etiquette to start a new post or continue with this one?

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

                    @dirty_monkee You can just continue on this one, though I'd suggest editing your 1st post and changing the title to include Xin-Mo and arcade controls, this might catch the attention of some forum regulars that have experience with these gamepads.

                    1 Reply Last reply Reply Quote 0
                    • D
                      dirty_monkee
                      last edited by

                      @mitu
                      Right so I am struggling to change the title of the first post.

                      I have now successfully setup joysticks for both players and can exit emulator and retroarch GUI. I now have a problem with the input for player two saving. I can save other options but not these I try to save game remap and configs I do get an error that it cant save to opt/retropie/configs/fba/retroarch.cfg

                      Once I exit the game and relaunch it don't save the inputs.

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

                        @dirty_monkee You have enabled the Config Save on Exit. Don't do that, instead use the Core/Game control remapping feature in RetroArch to save your controller configurations - https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping.

                        1 Reply Last reply Reply Quote 0
                        • D
                          dirty_monkee
                          last edited by

                          @mitu
                          So I’ve had some levels of success with this via the link and YouTube videos I’ve been watching by Floob.

                          I think my problem is this. I have run jstest for both player js0 and js1 and found all the buttons (0-9 for player one & 0-10 for player). Retroarch is showing numbers over 10 (14, 16 etc) so I can’t set, for example button 6 to gamepad button C!

                          1 Reply Last reply Reply Quote 0
                          • D
                            dirty_monkee
                            last edited by

                            Right!!

                            If there’s anyone still there.

                            I’ve managed to change them so retroarch sees my numbered buttons. It still won’t save. When I go into input for user two and click bind default all it changes to how I want it. But it just won’t save!!

                            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.