The NEW Build Your Own Arcade Controls
Main => Software Forum => Linux => Topic started by: baldgeek on January 20, 2020, 07:45:02 pm
-
So based on the USB device order, the sticks on my panel are not mapped to player 1 and player 2 the way I want them.
How can I use the controller mapping described at https://docs.mamedev.org/advanced/devicemap.html
I tried editing cfg/default.cfg and that doesn't work.
-
So I figured it , thanks to helpful folks a /r/MAME on reddit.
Here is the xml file I ended up using:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default">
<input>
<mapdevice device="0300000009d200001205000011010000" controller="JOYCODE\_2" />
<mapdevice device="0300000009d200001105000011010000" controller="JOYCODE\_1" />
</input>
</system>
</mameconfig>