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

    AdvMAME not detecting controller

    Scheduled Pinned Locked Moved Help and Support
    advmamecontrollerps3joystickdoes not work
    26 Posts 4 Posters 3.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.
    • mituM
      mitu Global Moderator
      last edited by

      What joystick/gamepad you have and how is it connected (USB/Bluetooth/GPIO) ?

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

        PS3 noted above, connected by USB

        1 Reply Last reply Reply Quote 0
        • stoney66S
          stoney66
          last edited by

          @leitmotiv Does the controller work in Emulation Station? If yes then the system recognizes it. You can run jstest from cli to check all the buttons etc.

          https://retropie.org.uk/forum/topic/543/joystiqs-buttons-and-jstest

          Which advmame version are you running? I use 3.9 which is advmame.rc file, you have to map the controls separately. You should be able to hit tab and map the controls from the main menu. There should be two options, Input (General) and Input (This game). I am using xbox 360 via usb and my setting is device_joystick auto

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

            EmulationStation is just the menu in which I scroll through the different systems and games yeah? Yeah my controller works for everything there and any game I play with, except AdvMAME. I have three versions of AdvMAME installed. AdvMAME itself is 3.9.

            I can hit tab when I boot a game up. I see the area to map controls but it does not detect my button inputs.

            1 Reply Last reply Reply Quote 0
            • stoney66S
              stoney66
              last edited by

              yeah ok just making sure the controller is working outside of advmame was all. Have you tried loading the driver for the PS3 controller? I think that is only needed if you are using bluetooth though.

              1 Reply Last reply Reply Quote 0
              • stoney66S
                stoney66
                last edited by

                just FYI saw another post on PS3 and the guy put device_joystick sdl to make it work

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

                  Just tried editing to device_joystick sdl in the .rc file and that didn't work either. I'm editing all three advmame .rc files for the three different versions .94, 1.4 and 3.9.

                  I know how to remap using the mame by pressing tab key, but it shows the controls are already there, but it just doesn't detect my controller.

                  I'm not sure what a jstest is. That link wasn't entirely clear. But if it's referring to the controller detection and initial setup, I did that a long time ago. I have many game systems that all use the PS3 controller including Arcade games using FBA, MAME 2000 thru 2015. AdvMAME is the only thing not detecting the controller.

                  The PS3 controller driver was never loaded. But we don't use bluetooth.

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

                    @leitmotiv Advmame has a joystick/gamepad test utility - advj - can you try running it from the command line to see if it detects the gamepad ? Run it with /opt/retropie/emulators/advmame/bin/advj.

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

                      running it right now... says Joy 0 and Joy 1 is PS3 controller, but it's still working...

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

                        How long is this supposed to take? Seems like it's stalling out for a simple test.

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

                          @leitmotiv I think it doesn't exit by itself, you have to interrupt it - press CTRL+C.

                          sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                          • sirhenrythe5thS
                            sirhenrythe5th @mitu
                            last edited by sirhenrythe5th

                            I used PS3 Controllers for AdvanceMame for three years and had no problems

                            But i miss a step here.
                            Before you can map the buttons in "input/general" you have to config the buttons for the TAB-MENUE itself.
                            You do that in "input/general/Interface" by using a keyboard and set the actions to pad-buttons.
                            There you have to set the buttons for all directions and at least for Button "A" to use the Joystick within the TAB-Menue.

                            I recommend to set analog + digital Inputs for directions, AdvanceMame supports multi-buttons for one action.
                            So you can decide per game how you want to control it

                            -- Retro-Achievements Username: SirALX --
                            RetroRatio: 1.88
                            Started Games beaten: 2,47%
                            Site Rank: 4382/93743 ranked users (TOP 4.76%)
                            Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

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

                              All right so...

                              I went into input/general/interface. I tried editing controls for UI interface as well as P1 and P2 controls. None of it worked. It would detect the controller in that menu only. But not with the game. Also, it would not detect the right D-pad button in UI or either of the P1 or P2 controls.

                              Also, this is with it still set to device_joystick sdl

                              1 Reply Last reply Reply Quote 0
                              • stoney66S
                                stoney66
                                last edited by

                                I assume you have two PS3 controllers connected via USB then? Have you tried just 1 connected if so?

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

                                  Nope, just the one. Though I really should have another.

                                  1 Reply Last reply Reply Quote 0
                                  • stoney66S
                                    stoney66
                                    last edited by

                                    lol I hear ya. I'm not much help here I guess, I have a few different controllers and they all have worked fine with advmame 1.4 and 3.8/9. Did you also try using 1.4 when launching a rom instead of 3.9?

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

                                      I didn't. The specific game I was booting up doesn't work with any other core except AdvMAME .94

                                      1 Reply Last reply Reply Quote 0
                                      • stoney66S
                                        stoney66
                                        last edited by

                                        ah ok.. I've never used .94 only 1.4 and 3.9 which both worked great. Which game are you trying?

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

                                          The .94 game was Exvania. I will try the other cores here in a bit.

                                          1 Reply Last reply Reply Quote 0
                                          • stoney66S
                                            stoney66
                                            last edited by

                                            ok what I have for Exvania doesn't work with 3.9, but does with 1.4 and joystick works fine. Have you tried other roms and other cores like 3.9 to see. My goto is always to test Galaga :)

                                            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.