Jump to content
LaunchBox Community Forums

MAME and the evil controller config


DeadVoivod

Recommended Posts

This is one thing I don't understand. Every time I start MAME, whatever version, the controls are reset to NONE. Even though my default.cfg contains all the mapped entries for controls, when I go to the settings inside MAME, it says NONE. Why does it not take it from the default.cfg? 

Ok, I noticed after starting it again, it puts NONE into the code:

<system name="default">
        <input>
            <port type="P1_JOYSTICK_UP">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>

And even if I remove the NONE line completely, it adds it straight away again with the next launch.

Tried now again to put the default.cfg to read only, but I remember doing that some time ago, and that also failed due to I don't know what. 

Edited by DeadVoivod
Link to comment
Share on other sites

Is your device dynamic? (Sometimes attached, sometimes not? Or is Windows changing it’s ID)

Once you set up static IDs for Mame devices, I find moving my config changes into a ctlr file fixes the issues with Mame resetting inputs for dynamic devices. It just ignores them if the device isn’t attached and doesn’t change the file.

Link to comment
Share on other sites

Hm? I'm using 2 8BitDo controllers via bluetooth, they are never attached, and I know that Windows likes to change the one which is DInput today to XInput tomorrow and vice versa. 

How can I give it a static ID in Windows? It really seems to mess both of them up all them time. They are also both the same controllers. They are 8BitDo SN30 Pro+ controllers (one is SN edition, the other G edition). Obviously Windows recognizes them as both the same. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...