how to disable l3 key mapped to f2 in mame?
-
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) -
@gabrielmm2 Give more details about your system - https://retropie.org.uk/forum/topic/3/read-this-first. Which MAME emulator and what controller ?
-
@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
-
@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. -
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
-
@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)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 F2I have set Service Menu: None.
But mame stills brings service menu when I press l3 thumb button.
-
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
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.