Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: shateredsoul on April 29, 2010, 03:31:03 am

Title: Mame , buttons do not match .cfg file when i go into tab... help
Post by: shateredsoul on April 29, 2010, 03:31:03 am
I am trying to reprogram my .cfg to match my new layout, but when I go into games they are not reflecting the button layout in my controller file

When I press tab and go into the general controls some don't match my controller .cfg I'm not sure how to get it to match (I have a different button layout for neogeo).  =(

I'm using mameui64 .136u3

Title: Re: what the *** happened to my mame controls?
Post by: shateredsoul on April 29, 2010, 03:47:51 am
When I check tab player 2 controls, coin, start, button 1-6, are perfect.  When check player 1 controls they don't match my ctrl .cfg at all.  In fact all the buttons are joystick buttons... It seems like player one is the issue, some match and some don't. Keys 1-6 are all joypad buttons when I have them set as keyboard keys but i changed them through the tap option, but when I launch neo geo games they don't match my layout (except player 2... =/)

????? :dunno


Code: [Select]
<port type="P1_JOYSTICK_UP">
                <newseq type="standard">KEYCODE_UP</newseq>
             </port>
             <port type="P1_JOYSTICK_DOWN">
                <newseq type="standard">KEYCODE_DOWN</newseq>
             </port>
             <port type="P1_JOYSTICK_LEFT">
                <newseq type="standard">KEYCODE_LEFT</newseq>
             </port>
             <port type="P1_JOYSTICK_RIGHT">
                <newseq type="standard">KEYCODE_RIGHT</newseq>
             </port>
             <port type="P2_JOYSTICK_UP">
                <newseq type="standard">KEYCODE_J</newseq>
             </port>
             <port type="P2_JOYSTICK_DOWN">
                <newseq type="standard">KEYCODE_K</newseq>
             </port>
             <port type="P2_JOYSTICK_LEFT">
                <newseq type="standard">KEYCODE_L</newseq>
             </port>
             <port type="P2_JOYSTICK_RIGHT">
                <newseq type="standard">KEYCODE_M</newseq>
                              </port>
             <port type="P3_JOYSTICK_UP">
                <newseq type="standard">JOYCODE_1_YAXIS_UP_SWITCH OR JOYCODE_1_HATSWITCHU</newseq>
             </port>
             <port type="P3_JOYSTICK_DOWN">
                <newseq type="standard">JOYCODE_1_YAXIS_DOWN_SWITCH OR JOYCODE_1_HATSWITCHD</newseq>
             </port>
             <port type="P3_JOYSTICK_LEFT">
                <newseq type="standard">JOYCODE_1_XAXIS_LEFT_SWITCH OR JOYCODE_1_HATSWITCHL</newseq>
             </port>
             <port type="P3_JOYSTICK_RIGHT">
                <newseq type="standard">JOYCODE_1_XAXIS_RIGHT_SWITCH OR JOYCODE_1_HATSWITCHR</newseq>        
             </port>        
             <port type="P4_JOYSTICK_UP">
                <newseq type="standard">JOYCODE_2_YAXIS_UP_SWITCH OR JOYCODE_2_HATSWITCHU</newseq>
             </port>
             <port type="P4_JOYSTICK_DOWN">
                <newseq type="standard">JOYCODE_2_YAXIS_DOWN_SWITCH OR JOYCODE_2_HATSWITCHD</newseq>
             </port>
             <port type="P4_JOYSTICK_LEFT">
                <newseq type="standard">JOYCODE_2_XAXIS_LEFT_SWITCH OR JOYCODE_2_HATSWITCHL</newseq>
             </port>
             <port type="P4_JOYSTICK_RIGHT">
                <newseq type="standard">JOYCODE_2_XAXIS_RIGHT_SWITCH OR JOYCODE_2_HATSWITCHR</newseq>
             </port>

             <port type="P1_BUTTON1">
                <newseq type="standard">KEYCODE_F OR MOUSECODE_1_BUTTON0</newseq>
             </port>
             <port type="P1_BUTTON2">
                <newseq type="standard">KEYCODE_N OR MOUSECODE_1_BUTTON1</newseq>
             </port>
             <port type="P1_BUTTON3">
                <newseq type="standard">KEYCODE_T</newseq>
             </port>
             <port type="P1_BUTTON4">
                <newseq type="standard">KEYCODE_U</newseq>
             </port>
             <port type="P1_BUTTON5">
                <newseq type="standard">KEYCODE_Y</newseq>
             </port>
             <port type="P1_BUTTON6">
                <newseq type="standard">KEYCODE_X</newseq>
             </port>
             <port type="P2_BUTTON1">
                <newseq type="standard">KEYCODE_A</newseq>
             </port>
             <port type="P2_BUTTON2">
                <newseq type="standard">KEYCODE_S</newseq>
             </port>
             <port type="P2_BUTTON3">
                <newseq type="standard">KEYCODE_D</newseq>
             </port>
             <port type="P2_BUTTON4">
                <newseq type="standard">KEYCODE_W</newseq>
             </port>
             <port type="P2_BUTTON5">
                <newseq type="standard">KEYCODE_E</newseq>
             </port>
             <port type="P2_BUTTON6">
Title: Re: Mame , buttons do not match .cfg file when i go into tab... help
Post by: shateredsoul on April 29, 2010, 05:00:56 am
I think I figured it out... I deleted all the .cfg files :-[
Title: Re: Mame , buttons do not match .cfg file when i go into tab... help
Post by: bkenobi on April 29, 2010, 06:21:32 pm
.cfg files will override a .ctrl file.  You must delete the cfg file or at least remove the control entries from each of them.