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

    Player 2 controller configured in EmulationStation, detected in game, but not mappable in MAME

    Scheduled Pinned Locked Moved Help and Support
    mamep2 controlsremapconfigurecontroller
    45 Posts 2 Posters 7.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.
    • EfriimE
      Efriim @leitmotiv
      last edited by

      @leitmotiv
      The blue motif is an asset and menu driver, included since at least a year ago. To change it in retroarch go to settings >> Drivers >> Menu >> xmb; or keep the original rgui look.

      So the User2 was N/A?

      Sorry if I don't remember, have you configured the input with this controller in emulationstation?

      And then back to retroarch
      Settings >> Input > Max Users :: 2-5
      Settings >> Input > User 2 Binds > User 2 Device Index :: Enabled

      leitmotivL 2 Replies Last reply Reply Quote 0
      • leitmotivL
        leitmotiv @Efriim
        last edited by leitmotiv

        @Efriim There was no field input as you described. So it wasn't N/A or anything because it wasn't listed as an entry. There wasn't a User 1 Controller Register either.

        yeah Exlene is configured with Emulationstation. I can get it to work in everything now (AdvMAME, Snes, NegoGeo, mame2003) but not Mame2010.

        I see that Max Users is set to 5. User 2 Binds for Device Index is listed as USB Gamepad already, but not disabled.

        Retroarch can detect mappings in the User 2 settings for P2. I've mapped Coin and Start.

        EfriimE 1 Reply Last reply Reply Quote 0
        • leitmotivL
          leitmotiv @Efriim
          last edited by

          @Efriim Let me clarify. The controller works in 2010 games. But it won't map in the MAME interface. It's just not detected there. Which is a problem for games like MK where the control bindings are all messed up in retroarch and are missing half of the moves!

          1 Reply Last reply Reply Quote 0
          • EfriimE
            Efriim @leitmotiv
            last edited by

            @leitmotiv
            Oh controller register was taken lighter the subscript that lists the Controller input name register handler thing: Should just use an example. Sony Playstation (R) 3 Controller

            1 Reply Last reply Reply Quote 0
            • leitmotivL
              leitmotiv
              last edited by

              I see what you are saying. For some reason the blue menu version of Retroarch is accessible in systems like the NES. I pulled a game up there to see what you were talking about, and I see how it lists the PS3 controller for User 1 and USB gamepad for User 2. But in the green border version which is pulled up in Mame2010, it doesn't show this. In other parts of the settings though it recognizes it as USB gamepad.

              EfriimE 1 Reply Last reply Reply Quote 0
              • EfriimE
                Efriim @leitmotiv
                last edited by Efriim

                @leitmotiv
                Okay, so did you get the tab menu in mame2003 to open? When I scroll through it it has the input automatically mapped through retroarch, so if the control works in retroarch it should work work here too. I'm using the UDEV input and joypad for Retroarch Settings Drivers, I don't think the others worked here.

                Configuring the Controller Inputs in EmulationStation, by pressing start could be an important process. This is done for each different controller separately, and many emulators including retroarch are automatically configured through this.

                leitmotivL 1 Reply Last reply Reply Quote 0
                • leitmotivL
                  leitmotiv @Efriim
                  last edited by leitmotiv

                  @Efriim yeah 2003 tab key now works. 2010 tab opens too, but does not detect P2 remaps. That's the remaining problem.

                  The P2 controller is detected for the User 2 binding remaps in retroarch... but I can't use it to navigate retroarch. The P2 controller is detected in game, but the controls are all messed up for MK which is why I'm having to resort to MAME remapping, but it's not detected in MAME. Only PS3 for P1 controls is detected.

                  1 Reply Last reply Reply Quote 0
                  • EfriimE
                    Efriim
                    last edited by Efriim

                    Oh I see, Mame2010 is much different in the way it maps input.
                    additionally lr-mame2003plus and advmame do not have similar compatibility, so this is the only emulator for that romset.

                    leitmotivL 1 Reply Last reply Reply Quote 0
                    • leitmotivL
                      leitmotiv @Efriim
                      last edited by

                      @Efriim So you're saying, it's probably not doable?

                      EfriimE 1 Reply Last reply Reply Quote 0
                      • EfriimE
                        Efriim @leitmotiv
                        last edited by Efriim

                        @leitmotiv
                        Well, what happens when the exlene controller is player 1. Are you able to map any of the buttons?
                        Maybe you could make an inference to the remaining maps in the roms\arcade\mame2010\default.cfg (default.cfg/rom.cfg)

                        However if the inputs aren't read in the GUI mapper then it is maybe improbable that I will have a solution.
                        There is the advanced controller mappings which is a section from the wiki of this website. This about creating a virtual input and mapping a controller through it, it could be difficult or even problematic with your current setup.

                        leitmotivL 1 Reply Last reply Reply Quote 0
                        • leitmotivL
                          leitmotiv @Efriim
                          last edited by leitmotiv

                          @Efriim When I put the Exlene controller in P1 port, it detects it just fine. When I put it back in P2 port, not at all.

                          It seems like the only way I'm going to get it hard mapped, is by opening up the MK.cfg file in /mame2010/cfg/ But when looking at it, I see it doesn't have much mapped for P1 controller either.

                          EfriimE 1 Reply Last reply Reply Quote 0
                          • EfriimE
                            Efriim @leitmotiv
                            last edited by

                            @leitmotiv
                            I think it borrows from the default.cfg and then from a core layer config, if they were done manually then it would be saved in the contents of the mk.cfg.

                            It is strange about the controller for player two, you don't by chance have the "xboxdrv" driver installed and enabled? This will create virtual controllers and that could be the source of the player 2 discrepancies.

                            leitmotivL 1 Reply Last reply Reply Quote 0
                            • leitmotivL
                              leitmotiv @Efriim
                              last edited by

                              @Efriim Yeah xboxdriv is installed. What does that do and why is it on there? Is it part of the core install?

                              EfriimE 1 Reply Last reply Reply Quote 0
                              • EfriimE
                                Efriim @leitmotiv
                                last edited by Efriim

                                @leitmotiv
                                If I understood it more I would tell you.
                                If it were just a discrepancy of a name for the driver of xbox controllers, but it seems to have other uses and I don't know if it even is a xbox controller driver.

                                When enabled it creates an assigned number of virtual controllers, gamepads can be mapped through these and there is a technical guide to advanced controller mapping on the website here regarding these two things.

                                It is not part of the core install, I think the xpad driver works for xbox controllers.

                                Though I still don't know for sure if this is only of significance to player two or if at all. The way I think it applies to some of the controller problems is that player two will instead be a virtual controller and the controller that you'd like to be player two will instead be player 5 or something. But these things... there are a few layers and I know maybe 1/5 of them, you'll have to try uninstalling it at least and with luck control assignments will be naturally working for you.

                                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.