<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="arkretrn">
        <counters>
            <coins index="0" number="8" />
            <coins index="1" number="3" />
        </counters>
        <input>
            <port tag=":DIAL.0" type="P1_DIAL" mask="4095" defvalue="0">
                <newseq type="increment">
                    JOYCODE_1_DPADRIGHT OR JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_BUTTON6 OR JOYCODE_1_ZAXIS_NEG_SWITCH
                </newseq>
                <newseq type="decrement">
                    JOYCODE_1_DPADLEFT OR JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_BUTTON5 OR JOYCODE_1_RZAXIS_NEG_SWITCH
                </newseq>
            </port>
            <port tag=":DIAL.1" type="P2_DIAL" mask="4095" defvalue="0">
                <newseq type="standard">
                    NONE
                </newseq>
                <newseq type="increment">
                    JOYCODE_2_DPADRIGHT OR JOYCODE_2_XAXIS_RIGHT_SWITCH OR JOYCODE_2_BUTTON6 OR JOYCODE_2_ZAXIS_NEG_SWITCH
                </newseq>
                <newseq type="decrement">
                    JOYCODE_2_DPADLEFT OR JOYCODE_2_XAXIS_LEFT_SWITCH OR JOYCODE_2_BUTTON5 OR JOYCODE_2_RZAXIS_NEG_SWITCH
                </newseq>
            </port>
            <port tag=":EEPROMIN" type="SERVICE" mask="2" defvalue="2">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":EEPROMIN" type="COIN1" mask="16" defvalue="16">
                <newseq type="standard">
                    JOYCODE_1_BUTTON8 OR KEYCODE_5
                </newseq>
            </port>
            <port tag=":EEPROMIN" type="COIN3" mask="64" defvalue="64">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":EEPROMIN" type="COIN4" mask="128" defvalue="128">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P1_BUTTON1" mask="1" defvalue="1">
                <newseq type="standard">
                    KEYCODE_LCONTROL OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1
                </newseq>
            </port>
            <port tag=":IN.0" type="P1_BUTTON2" mask="2" defvalue="2">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P1_BUTTON3" mask="4" defvalue="4">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P1_BUTTON4" mask="8" defvalue="8">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P2_BUTTON1" mask="16" defvalue="16">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P2_BUTTON2" mask="32" defvalue="32">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P2_BUTTON3" mask="64" defvalue="64">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="P2_BUTTON4" mask="128" defvalue="128">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="SERVICE2" mask="1024" defvalue="1024">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="SERVICE3" mask="2048" defvalue="2048">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="START1" mask="4096" defvalue="4096">
                <newseq type="standard">
                    JOYCODE_1_BUTTON7 OR KEYCODE_1
                </newseq>
            </port>
            <port tag=":IN.0" type="START3" mask="16384" defvalue="16384">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.0" type="START4" mask="32768" defvalue="32768">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P1_JOYSTICK_UP" mask="1" defvalue="1">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P1_JOYSTICK_DOWN" mask="2" defvalue="2">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P1_JOYSTICK_LEFT" mask="4" defvalue="4">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P1_JOYSTICK_RIGHT" mask="8" defvalue="8">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P2_JOYSTICK_UP" mask="16" defvalue="16">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P2_JOYSTICK_DOWN" mask="32" defvalue="32">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P2_JOYSTICK_LEFT" mask="64" defvalue="64">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.1" type="P2_JOYSTICK_RIGHT" mask="128" defvalue="128">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P3_BUTTON1" mask="256" defvalue="256">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P3_BUTTON2" mask="512" defvalue="512">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P3_BUTTON3" mask="1024" defvalue="1024">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P3_BUTTON4" mask="2048" defvalue="2048">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P4_BUTTON1" mask="4096" defvalue="4096">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P4_BUTTON2" mask="8192" defvalue="8192">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P4_BUTTON3" mask="16384" defvalue="16384">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.4" type="P4_BUTTON4" mask="32768" defvalue="32768">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P3_JOYSTICK_UP" mask="1" defvalue="1">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P3_JOYSTICK_DOWN" mask="2" defvalue="2">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P3_JOYSTICK_LEFT" mask="4" defvalue="4">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P3_JOYSTICK_RIGHT" mask="8" defvalue="8">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P4_JOYSTICK_UP" mask="16" defvalue="16">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P4_JOYSTICK_DOWN" mask="32" defvalue="32">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P4_JOYSTICK_LEFT" mask="64" defvalue="64">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port tag=":IN.5" type="P4_JOYSTICK_RIGHT" mask="128" defvalue="128">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>
