At default, I use SELECT+X call the mame GUI,but it can’t select the UI. At finally, I find out the file “mameControllers.py”, at line 219 to 222
xml_input.appendChild(generateComboPortElement(pad, config, 'standard', pad.index, "UI_DOWN", "DOWN", mappings_use["JOYSTICK_DOWN"], pad.inputs[mappings_use["JOYSTICK_UP"]], False, "", "")) # Down
xml_input.appendChild(generateComboPortElement(pad, config, 'standard', pad.index, "UI_LEFT", "LEFT", mappings_use["JOYSTICK_LEFT"], pad.inputs[mappings_use["JOYSTICK_LEFT"]], False, "", "")) # Left
xml_input.appendChild(generateComboPortElement(pad, config, 'standard', pad.index, "UI_UP", "UP", mappings_use["JOYSTICK_UP"], pad.inputs[mappings_use["JOYSTICK_UP"]], False, "", "")) # Up
xml_input.appendChild(generateComboPortElement(pad, config, 'standard', pad.index, "UI_RIGHT", "RIGHT", mappings_use["JOYSTICK_RIGHT"], pad.inputs[mappings_use["JOYSTICK_LEFT"]], False, "", "")) # Right
!!!mappings_use of pad.input UI_RIGHT and UI_DOWN was wrong!!!
At older version, I can remap the Gereral input setting of MAME UI, I don’t wanna use SELECT+X to call MAME GUI. At newest version, I remapped the Gereral input setting, but when I start up game again, it will regen the wrong default.cfg