<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="default">
        <input>
            <port type="P1_JOYSTICKRIGHT_UP">
                <newseq type="standard">
                    KEYCODE_R
                </newseq>
            </port>
            <port type="P1_JOYSTICKRIGHT_DOWN">
                <newseq type="standard">
                    KEYCODE_F
                </newseq>
            </port>
            <port type="P1_JOYSTICKRIGHT_LEFT">
                <newseq type="standard">
                    KEYCODE_D
                </newseq>
            </port>
            <port type="P1_JOYSTICKRIGHT_RIGHT">
                <newseq type="standard">
                    KEYCODE_G
                </newseq>
            </port>
            <port type="P1_JOYSTICKLEFT_UP">
                <newseq type="standard">
                    KEYCODE_UP
                </newseq>
            </port>
            <port type="P1_JOYSTICKLEFT_DOWN">
                <newseq type="standard">
                    KEYCODE_DOWN
                </newseq>
            </port>
            <port type="P1_JOYSTICKLEFT_LEFT">
                <newseq type="standard">
                    KEYCODE_LEFT
                </newseq>
            </port>
            <port type="P1_JOYSTICKLEFT_RIGHT">
                <newseq type="standard">
                    KEYCODE_RIGHT
                </newseq>
            </port>
            <port type="START1">
                <newseq type="standard">
                    KEYCODE_1 OR KEYCODE_F KEYCODE_X
                </newseq>
            </port>
            <port type="COIN1">
                <newseq type="standard">
                    KEYCODE_5 OR KEYCODE_F KEYCODE_Z
                </newseq>
            </port>
            <port type="UI_RECORD_MOVIE">
                <newseq type="standard">
                    NONE
                </newseq>
            </port>
            <port type="UI_CANCEL">
                <newseq type="standard">
                    KEYCODE_ESC OR KEYCODE_F KEYCODE_Z KEYCODE_LALT
                </newseq>
            </port>
        </input>
    </system>
<system name="asteroid.c">
        <video>
            <target index="0" backdrops="1" overlays="1" bezels="1" zoom="1" />
        </video>
        <input>
            <port type="P1_BUTTON3" mask="16" index="5" defvalue="0">
                <newseq type="standard">
                    KEYCODE_K
                </newseq>
            </port>
            <port type="P1_BUTTON4" mask="32" index="17" defvalue="0">
                <newseq type="standard">
                    KEYCODE_J
                </newseq>
            </port>
            <port type="P1_BUTTON2" mask="64" index="18" defvalue="0">
                <newseq type="standard">
                    KEYCODE_F
                </newseq>
            </port>
            <port type="P1_BUTTON1" mask="128" index="19" defvalue="0">
                <newseq type="standard">
                    KEYCODE_D
                </newseq>
            </port>
        </input>
    </system>
    <system name="djmain.c">
        <input>
            <port type="P1_BUTTON1" mask="16" index="1" defvalue="16">
                <newseq type="standard">
                    KEYCODE_S
                </newseq>
            </port>
            <port type="P1_BUTTON2" mask="8" index="2" defvalue="8">
                <newseq type="standard">
                    KEYCODE_E
                </newseq>
            </port>
            <port type="P1_BUTTON3" mask="4" index="3" defvalue="4">
                <newseq type="standard">
                    KEYCODE_D
                </newseq>
            </port>
            <port type="P1_BUTTON4" mask="2" index="4" defvalue="2">
                <newseq type="standard">
                    KEYCODE_R
                </newseq>
            </port>
            <port type="P1_BUTTON5" mask="1" index="5" defvalue="1">
                <newseq type="standard">
                    KEYCODE_F
                </newseq>
            </port>
            <port type="P1_DIAL" mask="255" index="57" defvalue="0">
                <newseq type="standard">
                    MOUSECODE_1_XAXIS
                </newseq>
            </port>
        </input>
    </system>
<system name="midtunit.c">
              <input>

                            <port type="P1_BUTTON5">
                                          <newseq type="standard">KEYCODE_X</newseq>
                            </port>

                            <port type="P1_BUTTON6">
                                          <newseq type="standard">KEYCODE_Z</newseq>
                            </port>
              </input>
</system>

<system name="midwunit.c">
              <input>

                            <port type="P1_BUTTON5">
                                          <newseq type="standard">KEYCODE_X</newseq>
                            </port>

                            <port type="P1_BUTTON6">
                                          <newseq type="standard">KEYCODE_Z</newseq>
                            </port>
              </input>
</system>
    <system name="invaders.c">
        <video>
            <target index="0" view="Midway Upright Artwork" backdrops="1" overlays="1" bezels="1" zoom="1" />
        </video>
        <counters>
            <coins index="0" number="3" />
        </counters>
        <input>
            <port type="P1_BUTTON1" mask="16" index="13" defvalue="0">
                <newseq type="standard">
                    KEYCODE_K
                </newseq>
            </port>
            <port type="P1_JOYSTICK_LEFT" mask="32" index="14" defvalue="0">
                <newseq type="standard">
                    KEYCODE_D
                </newseq>
            </port>
            <port type="P1_JOYSTICK_RIGHT" mask="64" index="15" defvalue="0">
                <newseq type="standard">
                    KEYCODE_F
                </newseq>
            </port>
            <port type="P1_BUTTON1" mask="1" index="53" defvalue="0">
                <newseq type="standard">
                    KEYCODE_K
                </newseq>
            </port>
            <port type="P1_JOYSTICK_LEFT" mask="2" index="54" defvalue="0">
                <newseq type="standard">
                    KEYCODE_D
                </newseq>
            </port>
            <port type="P1_JOYSTICK_RIGHT" mask="4" index="55" defvalue="0">
                <newseq type="standard">
                    KEYCODE_F
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>
