Mame 227 Core exits on controller id 2 select button press

I have spent a few hours on this and can’t find a solution. I’m using windows, retroarch and the latest mame core (227). The PC is connected to an Arcade Legends 1up cabinet through OTG (and hdmi of course). The cabinet controls work fine with other cores, but the mame core specifically is giving me a lot of issues. Control #2 is actually the player one left side. Both select and start are mapped to the player 1 start button so it adds credits and starts the game.

The problem is that when I press the Control #2 start button, the mame core exits instantly. There is nothing I can see which binds the button to exiting the core. This issue alone is rendering the core unusable to me because I can’t coin up or start player one.

Any help is appreciated.

Rob

could be a crash ? did you check logs ?

I did not see anything in the retroarch log to indicate any type of error. To clarify, the button press is the same as pressing the esc key where it goes back to the mame UI. Even if I clear the button to mapping (select and start) in retroarch input the behavior is still the same.

I’m not sure if it helps, but here’s the ‘Control Panel.cfg’ i saved in retroarch.

input_driver = “dinput” input_device = “Control Panel” input_vendor_id = “1317” input_product_id = “42156” input_b_btn = “0” input_y_btn = “5” input_select_btn = “9” input_start_btn = “9” input_up_btn = “h0up” input_down_btn = “h0down” input_left_btn = “h0left” input_right_btn = “h0right” input_a_btn = “1” input_x_btn = “2” input_l2_btn = “3” input_r2_btn = “4” input_gun_trigger_btn = “0” input_gun_offscreen_shot_btn = “1” input_l_btn = “3” input_r_btn = “4”

Rob

I found the issue. UI Cancel had automapped to ESC, Select and Joy 1. I changed that global setting and it’s working great now.

Now all I need to do is figure out how to emulate mouse with joystick for shooting games. Mostly for flycast core, but I’m not sure it can be done, let alone for 2 separate controllers.

Rob