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

    how to disable l3 key mapped to f2 in mame?

    Scheduled Pinned Locked Moved Help and Support
    mame config
    7 Posts 4 Posters 2.9k 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.
    • G
      gabrielmm2
      last edited by gabrielmm2

      Hi guys I'm struggling trying to disable the f2 key in mame but I can't. it appears mame recognizes L3 key from retropad as F2 key. it's very annoying while playing accidentally touching L3 and open the service menu. is there any way to disable this key? I tried Mame options general input service menu set to None but it doesn't work, also I can't figure out a way to create a remap file for this emulator.

      I edited the retroarch.cfg inside the mame folder and change the line that maps L3 to another key but in game it stills works as f2

      To replicate the problem, launch a game that uses mame2003 or 2010 core and press whatever key is bound to l3 on your gamepad, this should trigger service menu. I would like to disable this.
      Raspberry Pi 3 (RPi3) Model B
      32 sandisk GB Micro SD Card (Class 10)
      CanaKit 2.5A Power Supply
      Built from retropie base. updated to retropie 4.3
      cores tested: mame2003 mame2010
      retroarch.cfg default binds.
      controllers tested: ps3 controller via bluetooth.(i have an xbox360 and ps4 controller too, haven't tested with those yet)

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

        @gabrielmm2 Give more details about your system - https://retropie.org.uk/forum/topic/3/read-this-first. Which MAME emulator and what controller ?

        G 1 Reply Last reply Reply Quote 0
        • G
          gabrielmm2 @mitu
          last edited by

          @mitu hi I edited my op with the info required (first time to post) let me know anything you might need to replicate the problem

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

            @gabrielmm2 I can't say I can replicate the problem, since it's most likely a configuration issue on your end. Reset your input configuration and then re-map your controller. What's a L3 button ?
            Remapping is done from within RetroArch - start RGUI, configure your input, then use 'Save Core Remap File' - https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping.

            1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator
              last edited by

              at least for mame2003, f2/service mode is not not bound to l3 (clicking left analog stick in), but only f2: https://github.com/libretro/mame2003-libretro/blob/78720e819c1fe0ad516e0a478f43f52d1fa092cf/src/inptport.h#L248

              i'm not sure why this is happening, i guess something changed in mame menu? this link gives info on how to reset that: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#mame-menu

              G 1 Reply Last reply Reply Quote 1
              • G
                gabrielmm2 @dankcushions
                last edited by

                @dankcushions I tried lr-mame2003 and the l3 key is not bound there, the problem occurs with lr-mame2010

                in /configs/mame-libretro/retroarch.cfg I have:
                input_player1_l3_btn = "nul" (bound default)

                in /configs/mame-libretro/MAME2010/s1945.rmp I added
                input_player16_l3_btn = "9"
                (remmaping to any another key except the l3 default, but stills mame2010 thinks l3 is the f2 key)

                0_1520129473813_fedad25e-adff-4b6d-845a-d18333ef31e6-image.png

                in this example when I press "start" button on my gamepad mame bind is:
                1 Player Start: Kbd P1 Start
                when I press "l3"(left thumb) button on my gamepad mame bind is:
                2 Player Start: Kbd F2

                I have set Service Menu: None.

                But mame stills brings service menu when I press l3 thumb button.

                K 1 Reply Last reply Reply Quote 0
                • K
                  kounabi22 @gabrielmm2
                  last edited by

                  @gabrielmm2

                  i was have same problem solve it by enter the retroarch inside the game go to controls and then leave black the service button choice

                  Currently running Retropie 4.7.19 on a Pi 4B 2GB
                  Overclock Settings: CPU 2000, GPU 600.

                  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.